VVSDK
1.0
The VVAmbisonic Library
|
#include <FFTFilter.h>
Public Member Functions | |
CFFTFilter () | |
CFFTFilter (bool minPhase) | |
virtual | ~CFFTFilter () |
void | setCoefficients (CFilterCoefficients *coef) |
void | setSamplingRate (float sr) |
bool | canProcess () |
void | setMinPhase (bool newMinPhase) |
bool | getMinPhase () |
void | doFilter (float *node, long sampleframes) |
void | clearBuffers () |
CFFTFilter () | |
CFFTFilter (bool minPhase) | |
virtual | ~CFFTFilter () |
void | setCoefficients (CFilterCoefficients *coef) |
void | setSamplingRate (float sr) |
bool | canProcess () |
void | setMinPhase (bool newMinPhase) |
bool | getMinPhase () |
void | doFilter (float *node, long sampleframes) |
void | clearBuffers () |
Protected Member Functions | |
void | init () |
void | init () |
CFilter () | |
virtual | ~CFilter () |
void | setName (const char *newName) |
const char * | getName () |
virtual int | getNumChannels () |
Protected Attributes | |
CFilterCoefficients * | m_coefficients |
unsigned int | m_nFiltSize |
bool | m_bMinPhase |
FFTReal * | m_fft |
FFTReal::flt_t | m_fBuffer [MAXFFTFILTSIZE] |
FFTReal::flt_t | m_fSaveBuffer [MAXFFTFILTSIZE] |
FFTReal::flt_t | m_fOutBuffer [MAXFFTFILTSIZE] |
unsigned int | m_nBufPos |
FFTReal::flt_t | m_fFreqCoefs [MAXFFTFILTSIZE] |
FFTReal::flt_t | m_fCoefficients [MAXFFTFILTSIZE] |
FFTReal::flt_t | m_fFreqBuf [MAXFFTFILTSIZE] |
Protected Attributes inherited from CFilter | |
float | m_fSamplingRate |
char | m_strName [81] |
CFilterCoefficients * | coefs |
int | numChannels |
FFT convolution filter using FFTReal class
CFFTFilter::CFFTFilter | ( | ) |
Constructor
CFFTFilter::CFFTFilter | ( | bool | minPhase | ) |
Constructor setting minimum phase setting
|
virtual |
Destructor
CFFTFilter::CFFTFilter | ( | ) |
Constructor
CFFTFilter::CFFTFilter | ( | bool | minPhase | ) |
Constructor setting minimum phase setting
|
virtual |
Destructor
|
virtual |
Determines if coefficients exist for the current sampling rate
Reimplemented from CFilter.
|
virtual |
Determines if coefficients exist for the current sampling rate
Reimplemented from CFilter.
|
virtual |
Clear internal buffers
Reimplemented from CFilter.
|
virtual |
Clear internal buffers
Reimplemented from CFilter.
|
virtual |
Process audio blocks
Reimplemented from CFilter.
|
virtual |
Process audio blocks
Reimplemented from CFilter.
bool CFFTFilter::getMinPhase | ( | ) |
Gets the current minimum phase setting
bool CFFTFilter::getMinPhase | ( | ) |
Gets the current minimum phase setting
|
protectedvirtual |
Reimplemented from CFilter.
|
protectedvirtual |
Reimplemented from CFilter.
|
virtual |
Sets coefficients to convolve with
Reimplemented from CFilter.
|
virtual |
Sets coefficients to convolve with
Reimplemented from CFilter.
void CFFTFilter::setMinPhase | ( | bool | newMinPhase | ) |
Sets minimum phase value. Coefficients will be min phase converted via septrum if true
void CFFTFilter::setMinPhase | ( | bool | newMinPhase | ) |
Sets minimum phase value. Coefficients will be min phase converted via septrum if true
|
virtual |
Sets sampling rate
Reimplemented from CFilter.
|
virtual |
Sets sampling rate
Reimplemented from CFilter.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |