Class daisysp::ATone¶
#include <atone.h>
Public Functions¶
Type | Name |
---|---|
ATone () |
|
float | GetFreq () |
void | Init (float sample_rate) |
float | Process (float & in) |
void | SetFreq (float & freq) |
~ATone () |
Detailed Description¶
A first-order recursive high-pass filter with variable frequency response.
Public Functions Documentation¶
function ATone¶
function GetFreq¶
get current frequency
Returns:
the current value for the cutoff frequency or half-way point of the filter.
function Init¶
Initializes the ATone module.
Parameters:
sample_rate
- The sample rate of the audio engine being run.
function Process¶
Processes one sample through the filter and returns one sample.
Parameters:
in
- input signal
function SetFreq¶
Sets the cutoff frequency or half-way point of the filter.
Parameters:
freq
- frequency value in Hz. Range: Any positive value.
function ~ATone¶
The documentation for this class was generated from the following file external-docs/DaisySP/DaisySP-LGPL/Source/Filters/atone.h