Skip to content

Class daisysp::Biquad

ClassList > daisysp > Biquad

More...

  • #include <biquad.h>

Public Functions

Type Name
Biquad ()
void Init (float sample_rate)
float Process (float in)
void SetCutoff (float cutoff)
void SetRes (float res)
~Biquad ()

Detailed Description

Two pole recursive filter

Public Functions Documentation

function Biquad

inline daisysp::Biquad::Biquad () 

function Init

void daisysp::Biquad::Init (
    float sample_rate
) 

Initializes the biquad module.

Parameters:

  • sample_rate - The sample rate of the audio engine being run.

function Process

float daisysp::Biquad::Process (
    float in
) 

Filters the input signal

Returns:

filtered output


function SetCutoff

inline void daisysp::Biquad::SetCutoff (
    float cutoff
) 

Sets filter cutoff in Hz

Parameters:

  • cutoff : Set filter cutoff.

function SetRes

inline void daisysp::Biquad::SetRes (
    float res
) 

Sets resonance amount

Parameters:

  • res : Set filter resonance.

function ~Biquad

inline daisysp::Biquad::~Biquad () 


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