VVSDK  1.0
The VVAmbisonic Library
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CLowShelfFilter Class Reference

#include <LowShelfFilter.h>

Inheritance diagram for CLowShelfFilter:
CIIRFilter CFilter

Public Member Functions

 CLowShelfFilter ()
 
 CLowShelfFilter (float f1, float f2)
 
virtual ~CLowShelfFilter ()
 
void setSamplingRate (float sr)
 
void setFreqs (float f1, float f2)
 
- Public Member Functions inherited from CIIRFilter
 CIIRFilter ()
 
 CIIRFilter (int form)
 
 ~CIIRFilter ()
 
void SetXML (CXMLElement *xml)
 
void setCoefficients (CFilterCoefficients *coef)
 
bool canProcess ()
 
void doFilter (float *node, long sampleFrames)
 
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_fF1
 
float m_fF2
 
- Protected Attributes inherited from CIIRFilter
int m_nForm
 
CFilterCoefficientsm_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]
 
CFilterCoefficientscoefs
 
int numChannels
 

Detailed Description

Pole zero low shelf filter

Constructor & Destructor Documentation

CLowShelfFilter::CLowShelfFilter ( )

Constructor

CLowShelfFilter::CLowShelfFilter ( float  f1,
float  f2 
)

Constructor settings frequencies

CLowShelfFilter::~CLowShelfFilter ( )
virtual

Destructor

Member Function Documentation

void CLowShelfFilter::init ( )
protectedvirtual

Reimplemented from CIIRFilter.

void CLowShelfFilter::setFreqs ( float  f1,
float  f2 
)

Sets the transition band frequencies

void CLowShelfFilter::setSamplingRate ( float  sr)
virtual

Sets the sampling rate

Reimplemented from CIIRFilter.

void CLowShelfFilter::updateCoefficients ( )
protected

Member Data Documentation

float CLowShelfFilter::m_fF1
protected
float CLowShelfFilter::m_fF2
protected

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