libnxter  0.1
Data Structures | Functions
LowPassFilter.nxc File Reference

Low Pass filter implementation. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  LowPassFilterContext
 Low Pass filter contex. More...


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.

Detailed Description

Low Pass filter implementation.

Definition in file LowPassFilter.nxc.