libnxter
0.1
|
Low Pass filter implementation. More...
Go to the source code of this file.
Data Structures | |
struct | LowPassFilterContext |
Low Pass filter contex. More... | |
Functions | |
void | LowPassFilterInit (LowPassFilterContext &context, int RC, int samplingRate) |
Initializes a low pass filter context with the given RC constant and sampling rate. RC is given as 2 * PI * Freq (in cycles per second. Sampling rate is in samples per second. | |
int | LowPassFilter (LowPassFilterContext &context, int sampleInput) |
Steps through the filter using the current sample sampleInput. This must be called at the sampling rate given during initialization. | |
Low Pass filter implementation.
Definition in file LowPassFilter.nxc.