VVSDK
1.0
The VVAmbisonic Library
|
#include <NFCFilter.h>
Public Member Functions | |
CNFCFilter () | |
CNFCFilter (float dCenterFreq) | |
~CNFCFilter () | |
void | setSamplingRate (float sr) |
void | doFilter (float *node, long sampleFrames) |
void | setCenterFreq (float dCenterFreq) |
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_dCenterFreq |
float | m_dBGain |
double | a1 |
double | b0 |
double | b1 |
double | y0 |
double | x0 |
double | x1 |
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 |
Near field compensation filter A first order highpass filter used for near field correction in ambisonic decoders
CNFCFilter::CNFCFilter | ( | ) |
Constructor
CNFCFilter::CNFCFilter | ( | float | dCenterFreq | ) |
Constructor setting cutoff frequency
CNFCFilter::~CNFCFilter | ( | ) |
Destructor
|
virtual |
Process audio blocks
Reimplemented from CIIRFilter.
|
protectedvirtual |
Reimplemented from CIIRFilter.
void CNFCFilter::setCenterFreq | ( | float | dCenterFreq | ) |
Sets cutoff frequency
|
virtual |
Sets sampling rate
Reimplemented from CIIRFilter.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |