daisysp::ATone¶
#include <atone.h>
Public Functions¶
Name | |
---|---|
ATone() | |
~ATone() | |
void | Init(float sample_rate) |
float | Process(float & in) |
void | SetFreq(float & freq) |
float | GetFreq() |
Detailed Description¶
A first-order recursive high-pass filter with variable frequency response. Original Author(s): Barry Vercoe, John FFitch, Gabriel Maldonado
Year: 1991
Original Location: Csound – OOps/ugens5.c
Ported from soundpipe by Ben Sergentanis, May 2020
Public Functions Documentation¶
function ATone¶
function ~ATone¶
function Init¶
Parameters:
- sample_rate - The sample rate of the audio engine being run.
Initializes the ATone module.
function Process¶
Parameters:
- in - input signal
Processes one sample through the filter and returns one sample.
function SetFreq¶
Parameters:
- freq - frequency value in Hz. Range: Any positive value.
Sets the cutoff frequency or half-way point of the filter.
function GetFreq¶
Return: the current value for the cutoff frequency or half-way point of the filter.
get current frequency
---¶
Updated on 2024-01-03 at 19:38:46 +0000