Jamoma API  0.6.0.a19
HiMidLow Class Reference

HiMidLow filter class. More...

#include <HiMidLow.h>

+ Inheritance diagram for HiMidLow:
+ Collaboration diagram for HiMidLow:

Public Member Functions

 HiMidLow ()
 Class constructor.
 
void lowShelfFrequency (double lf)
 Set low shelf's center frequency.
 
void highShelfFrequency (double hf)
 Set high shelf's center frequency.
 
void lowGain (double newLg)
 Sets low gain.
 
void midGain (double newMg)
 Sets mid gain.
 
void highGain (double newHg)
 Set high gain.
 
virtual void print () const
 Prints information about this filter.
 
virtual ~HiMidLow ()
 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.
 

Detailed Description

HiMidLow filter class.

A High Mid Low shelf filter. Shelf centre frequencies are mutable.

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.

A High Mid Low shelf filter. Shelf centre frequencies are immutable.

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.

Definition at line 22 of file HiMidLow.h.


The documentation for this class was generated from the following files: