Skip to content

daisysp::Soap

More...

#include <soap.h>

Public Functions

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

Detailed Description

class daisysp::Soap;

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 Soap

inline Soap()

function ~Soap

inline ~Soap()

function Init

void 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 Process(
    float in
)

Process the input signal, updating all of the outputs


function SetCenterFreq

void SetCenterFreq(
    float f
)

Sets the center frequency of the filter.


function SetFilterBandwidth

void SetFilterBandwidth(
    float b
)

Sets the low frequency threshold of the filter.


function Bandpass

inline float Bandpass()

Return: bandpass output of the filter

Bandpass output


function Bandreject

inline float Bandreject()

Return: bandreject output of the filter

Bandreject output

---

Updated on 2024-01-03 at 19:38:46 +0000