Skip to content

Class daisysp::Soap

ClassList > daisysp > Soap

More...

  • #include <soap.h>

Public Functions

Type Name
float Bandpass ()
float Bandreject ()
void Init (float sample_rate)
void Process (float in)
void SetCenterFreq (float f)
void SetFilterBandwidth (float b)
Soap ()
~Soap ()

Detailed Description

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

Public Functions Documentation

function Bandpass

inline float daisysp::Soap::Bandpass () 

Bandpass output

Returns:

bandpass output of the filter


function Bandreject

inline float daisysp::Soap::Bandreject () 

Bandreject output

Returns:

bandreject output of the filter


function Init

void daisysp::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.


function Process

void daisysp::Soap::Process (
    float in
) 

Process the input signal, updating all of the outputs


function SetCenterFreq

void daisysp::Soap::SetCenterFreq (
    float f
) 

Sets the center frequency of the filter.


function SetFilterBandwidth

void daisysp::Soap::SetFilterBandwidth (
    float b
) 

Sets the low frequency threshold of the filter.


function Soap

inline daisysp::Soap::Soap () 

function ~Soap

inline daisysp::Soap::~Soap () 


The documentation for this class was generated from the following file external-docs/DaisySP/Source/Filters/soap.h