Class daisysp::Mode¶
#include <mode.h>
Public Functions¶
Type | Name |
---|---|
void | Clear () |
void | Init (float sample_rate) |
Mode () |
|
float | Process (float in) |
void | SetFreq (float freq) |
void | SetQ (float q) |
~Mode () |
Detailed Description¶
Resonant Modal Filter
Public Functions Documentation¶
function Clear¶
Clears the filter, returning the output to 0.0
function Init¶
Initializes the instance of the module. sample_rate: frequency of the audio engine in Hz
function Mode¶
function Process¶
Processes one input sample through the filter, and returns the output.
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)
function ~Mode¶
The documentation for this class was generated from the following file external-docs/DaisySP/DaisySP-LGPL/Source/Filters/mode.h