DaisySP
|
#include <soap.h>
Public Member Functions | |
void | Init (float sample_rate) |
void | Process (float in) |
void | SetCenterFreq (float f) |
void | SetFilterBandwidth (float b) |
float | Bandpass () |
float | Bandreject () |
Second Order All Pass Filter
This is from Tom Erbe's synth notes. The filter can be configured to be a band pass or band reject
Ported by: Brian Tice
|
inline |
Bandpass output
|
inline |
Bandreject output
void Soap::Init | ( | float | sample_rate | ) |
Initializes the filter float sample_rate - sample rate of the audio engine being run, and the frequency that the Process function will be called.
void Soap::Process | ( | float | in | ) |
Process the input signal, updating all of the outputs
void Soap::SetCenterFreq | ( | float | f | ) |
Sets the center frequency of the filter.
void Soap::SetFilterBandwidth | ( | float | b | ) |
Sets the low frequency threshold of the filter.