libnxter  0.1
Data Structures | Functions
HighPassFilter.nxc File Reference

High 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  HighPassFilterContext
 High Pass filter contex. More...


void HighPassFilterInit (HighPassFilterContext &context, int RC, int samplingRate)
 Initializes the given high 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 HighPassFilter (HighPassFilterContext &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

High Pass filter implementation.

Definition in file HighPassFilter.nxc.