Skip to content

Class daisysp::Comb

ClassList > daisysp > Comb

More...

  • #include <comb.h>

Public Functions

Type Name
Comb ()
void Init (float sample_rate, float * buff, size_t size)
float Process (float in)
void SetFreq (float freq)
void SetPeriod (float looptime)
void SetRevTime (float revtime)
~Comb ()

Detailed Description

Comb filter module

Public Functions Documentation

function Comb

inline daisysp::Comb::Comb () 

function Init

void daisysp::Comb::Init (
    float sample_rate,
    float * buff,
    size_t size
) 

Initializes the Comb module.

Parameters:

  • sample_rate - The sample rate of the audio engine being run.
  • buff - input buffer, kept in either main() or global space
  • size - size of buff

function Process

float daisysp::Comb::Process (
    float in
) 

processes the comb filter


function SetFreq

inline void daisysp::Comb::SetFreq (
    float freq
) 

Sets the frequency of the comb filter in Hz


function SetPeriod

void daisysp::Comb::SetPeriod (
    float looptime
) 

Sets the period of the comb filter in seconds


function SetRevTime

inline void daisysp::Comb::SetRevTime (
    float revtime
) 

Sets the decay time of the comb filter


function ~Comb

inline daisysp::Comb::~Comb () 


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