daisysp::Mode¶
#include <mode.h>
Public Functions¶
Name | |
---|---|
Mode() | |
~Mode() | |
void | Init(float sample_rate) |
float | Process(float in) |
void | Clear() |
void | SetFreq(float freq) |
void | SetQ(float q) |
Detailed Description¶
Resonant Modal Filter
Extracted from soundpipe to work as a Daisy Module,
originally extracted from csound by Paul Batchelor.
Original Author(s): Francois Blanc, Steven Yi
Year: 2001
Location: Opcodes/biquad.c (csound)
Public Functions Documentation¶
function Mode¶
function ~Mode¶
function Init¶
Initializes the instance of the module. sample_rate: frequency of the audio engine in Hz
function Process¶
Processes one input sample through the filter, and returns the output.
function Clear¶
Clears the filter, returning the output to 0.0
function SetFreq¶
Sets the resonant frequency of the modal filter. Range: Any frequency such that sample_rate / freq < PI (about 15.2kHz at 48kHz)
function SetQ¶
Sets the quality factor of the filter. Range: Positive Numbers (Good values range from 70 to 1400)
---¶
Updated on 2024-01-03 at 19:38:46 +0000