Jamoma API
0.6.0.a19
|
Low pass filter class. More...
#include <LowPass.h>
Public Member Functions | |
LowPass () | |
Class constructor. | |
void | cutOff (long newCutOff) |
Set cutoff frequency. | |
virtual void | print () const |
Print out info about this filter. | |
virtual | ~LowPass () |
Class destructor. | |
Public Member Functions inherited from Filter | |
Filter () | |
Class constructor. | |
double | tick (double input) |
Given an input sample, returns a filtered output sample. | |
void | clear () |
Reinitialize filter's memory. | |
virtual | ~Filter () |
Virtual destructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from Filter | |
double | percentToGain (double gainPercentage) |
Convert percentage to linear gain. | |
Protected Attributes inherited from Filter | |
double | sr_ |
Pi divided by the sample rate. | |
double | b1_ |
Filter coefficient. | |
double | b2_ |
Filter coefficient. | |
double | a0_ |
Filter coefficient. | |
double | a1_ |
Filter coefficient. | |
double | a2_ |
Filter coefficient. | |
Static Protected Attributes inherited from Filter | |
static const double | MAX_ = 1.0 |
Max gain value. | |
static const double | MIN_ = 0.0000001 |
Min gain value. | |
Low pass filter class.
A 2nd order low pass filter.
Based on: Biquad.h by Gary Scavone and Perry Cook, and hml_shelf~.c by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2006
by Tristan Matthews and Nils Peters, 2007-2008.