Jamoma API  0.6.0.a19
LowPass.h
1 // LowPass.h
2 /***************************************************/
3 /*! \class LowPass
4  \brief Low pass filter class
5 
6  A 2nd order low pass filter.
7 
8  Based on:
9  Biquad.h by Gary Scavone and Perry Cook, and
10  hml_shelf~.c by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2006
11 
12  by Tristan Matthews and Nils Peters, 2007-2008.
13  */
14 /***************************************************/
15 
16 #ifndef _LOWPASS_H_
17 #define _LOWPASS_H_
18 
19 #include "Filter.h"
20 #include "Properties.h"
21 
22 class LowPass: public Filter {
23  private:
24  long cutOff_;
25  void init();
26  public:
27  //! Class constructor.
28  LowPass();
29 
30  //! Set cutoff frequency.
31  void cutOff(long newCutOff);
32 
33  //! Print out info about this filter.
34  virtual void print() const;
35 
36  //! Class destructor.
37  virtual ~LowPass() {};
38 };
39 
40 #endif
41 // vim:sw=4:et:cindent:
void cutOff(long newCutOff)
Set cutoff frequency.
Definition: LowPass.cpp:28
Filter class.
Definition: Filter.h:22
virtual ~LowPass()
Class destructor.
Definition: LowPass.h:37
LowPass()
Class constructor.
Definition: LowPass.cpp:23
Low pass filter class.
Definition: LowPass.h:22
virtual void print() const
Print out info about this filter.
Definition: LowPass.cpp:113