LyonPassiveEar Class Reference
[Processing]

Lyon filterbank. More...

#include <LyonPassiveEar.h>

Inherits Marsyas::MarSystem.


Private Member Functions

void myUpdate (MarControlPtr sender)
mrs_bool setParametersIntern ()
 return true if the filterbank has to be (re-)created and set internal parameters

Static Private Member Functions

static FilterlyonCreateFilter (mrs_realvec firCoeffs, mrs_realvec iirCoeffs, mrs_string name)
 create a new filter
static mrs_real lyonFreqResp (mrs_realvec firCoeffs, mrs_realvec iirCoeffs, mrs_real freq, mrs_real sRate, mrs_bool inDb=true)
 compute magnitude at a specific freq from a second order filter
static mrs_realvec lyonSecondOrderFilter (mrs_real midFreq, mrs_real q, mrs_real sRate)
 compute second order filter coefficients
static mrs_real lyonSetGain (mrs_realvec firCoeffs, mrs_realvec iirCoeffs, mrs_real newGain, mrs_real freq, mrs_real sRate)
 adjust the filter gain

Private Attributes

mrs_real fs_
 sample rate
SeriespassiveEar_
 the actual filter cascade plus the post-processing (agc, channeldiff, etc.)


Detailed Description

Lyon filterbank.

Lyon Passive Ear computation. Based on the code from the Auditory Toolbox by Malcolm Slaney.

Controls:

Definition at line 63 of file LyonPassiveEar.h.


Member Function Documentation

void myUpdate ( MarControlPtr  sender  )  [private, virtual]


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

Generated on Wed May 23 00:02:23 2012 for Marsyas by  doxygen 1.5.6