Voss Connection Detection  1
Detect a connector click using realtime code on Bela hardware
Filter Class Reference

Convert raw samples to a channel of filtered samples. More...

#include <filter.h>

Public Member Functions

 Filter (const float fs)
 
void filter (const RawFrame &rawframe, FilteredFrame &filteredframe)
 Filter a single raw frame to obtain a filtered frame. More...
 
 ~Filter ()
 

Detailed Description

Convert raw samples to a channel of filtered samples.

Definition at line 108 of file filter.h.

Constructor & Destructor Documentation

◆ Filter()

Filter::Filter ( const float  fs)

Definition at line 8 of file filter.cpp.

◆ ~Filter()

Filter::~Filter ( )

Definition at line 149 of file filter.cpp.

Member Function Documentation

◆ filter()

void Filter::filter ( const RawFrame rawframe,
FilteredFrame filteredframe 
)

Filter a single raw frame to obtain a filtered frame.

Parameters
[in]rawframeThe raw frame entering
[out]filteredframeThe filtered frame as output

Pleaser refer to NUMBER_RAW_CHANNELS for the contents and order.

Apply filtering in-place

Definition at line 91 of file filter.cpp.


The documentation for this class was generated from the following files: