VVSDK
1.0
The VVAmbisonic Library
|
#include <MitRegFilter.h>
Public Member Functions | |
CMitRegFilter (void) | |
~CMitRegFilter (void) | |
void | setSamplingRate (float sr) |
void | setParameters (float freq, float width, float gain) |
void | doFilter (float *node, long sampleFrames) |
Public Member Functions inherited from CIIRFilter | |
CIIRFilter () | |
CIIRFilter (int form) | |
~CIIRFilter () | |
void | SetXML (CXMLElement *xml) |
void | setCoefficients (CFilterCoefficients *coef) |
bool | canProcess () |
void | clearBuffers () |
void | setCoefficientFileName (long sr, char *fileName) |
Public Member Functions inherited from CFilter | |
CFilter () | |
virtual | ~CFilter () |
void | setName (const char *newName) |
const char * | getName () |
virtual int | getNumChannels () |
Protected Member Functions | |
void | init () |
void | updateCoefficients () |
Protected Attributes | |
float | m_freq |
float | m_width |
float | m_gain |
double | a0 |
double | a1 |
double | a2 |
double | b0 |
double | b1 |
double | b2 |
double | s0 |
double | s1 |
double | K |
double | a1z |
double | a2z |
double | b0z |
double | b1z |
double | Kz |
bool | firstTime |
Protected Attributes inherited from CIIRFilter | |
int | m_nForm |
CFilterCoefficients * | m_coefficients |
int | m_nFiltSizeA |
int | m_nFiltSizeB |
float | m_fInBuffer [MAXFILTSIZE] |
float | m_fOutBuffer [MAXFILTSIZE] |
short | m_nBufPos |
float * | m_fACoefficients |
float * | m_fBCoefficients |
float | m_fScale |
Protected Attributes inherited from CFilter | |
float | m_fSamplingRate |
char | m_strName [81] |
CFilterCoefficients * | coefs |
int | numChannels |
Mitra-Regalia form parametric filter Parameter changes are interpolated for smooth realtime changes
CMitRegFilter::CMitRegFilter | ( | void | ) |
Constructor
CMitRegFilter::~CMitRegFilter | ( | void | ) |
Destructor
|
virtual |
Process audio blocks
Reimplemented from CIIRFilter.
|
protectedvirtual |
Reimplemented from CIIRFilter.
void CMitRegFilter::setParameters | ( | float | freq, |
float | width, | ||
float | gain | ||
) |
Sets the filter parameters
|
virtual |
Sets the sampling rate
Reimplemented from CIIRFilter.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |