33 namespace cinder {
namespace audio {
Mode mMode
Definition: FilterNode.h:78
float getWidth() const
Returns the width of the filtering.
Definition: FilterNode.h:130
GLenum mode
Definition: GLee.h:3042
size_t mNiquist
Definition: FilterNode.h:76
FilterBandPassNode(const Format &format=Format())
Constructs a FilterBandPassNode with optional format.
Definition: FilterNode.h:120
void setWidth(float width)
Sets the width of the filtering.
Definition: FilterNode.h:128
virtual ~FilterBiquadNode()
Definition: FilterNode.h:47
void setMode(Mode mode)
Sets the mode, which updates the coefficients so that the frequency response is that of a common type...
Definition: FilterNode.h:50
float getCenterFreq() const
Returns the center frequency of the filter in hertz.
Definition: FilterNode.h:126
float getQ() const
Definition: FilterNode.h:60
GLenum GLsizei width
Definition: GLee.h:969
A high-pass filtering Node. This is a subclass of FilterBiquadNode and manages its configuration appr...
Definition: FilterNode.h:100
General class for filtering nodes based on a biquad (two pole, two zero) filter.
Definition: FilterNode.h:40
FilterHighPassNode(const Format &format=Format())
Constructs a FilterHighPassNode with optional format.
Definition: FilterNode.h:103
void setCenterFreq(float freq)
Sets the center frequency of the filter in hertz.
Definition: FilterNode.h:124
A band-pass filtering Node. This is a subclass of FilterBiquadNode and manages its configuration appr...
Definition: FilterNode.h:117
std::shared_ptr< class FilterHighPassNode > FilterHighPassNodeRef
Definition: FilterNode.h:36
void initialize() override
Called before audio buffers need to be used. There is always a valid Context at this point...
Definition: FilterNode.cpp:35
float getResonance() const
Returns the resonance of the filter in decibels.
Definition: FilterNode.h:96
float getCutoffFreq() const
Returns the cutoff frequency in hertz.
Definition: FilterNode.h:109
std::shared_ptr< class FilterBandPassNode > FilterBandPassNodeRef
Definition: FilterNode.h:37
GLdouble GLdouble GLdouble GLdouble q
Definition: GLee.h:1522
float getCutoffFreq() const
Returns the cutoff frequency in hertz.
Definition: FilterNode.h:92
float mGain
Definition: FilterNode.h:79
float getGain() const
Returns the gain of the filter in decibels.
Definition: FilterNode.h:64
GLuint buffer
Definition: GLee.h:2065
A low-pass filtering Node. This is a subclass of FilterBiquadNode and manages its configuration appro...
Definition: FilterNode.h:83
float mFreq
Definition: FilterNode.h:79
void setCutoffFreq(float freq)
Sets the cutoff frequency in hertz, above which frequencies are attenuated.
Definition: FilterNode.h:90
float getResonance() const
Returns the resonance of the filter in decibels.
Definition: FilterNode.h:113
void process(Buffer *buffer) override
Override to perform audio processing on buffer.
Definition: FilterNode.cpp:52
float getFreq() const
Returns the current frequency in hertz.
Definition: FilterNode.h:56
float mQ
Definition: FilterNode.h:79
virtual ~FilterHighPassNode()
Definition: FilterNode.h:104
Fundamental building block for creating an audio processing graph.
Definition: Node.h:59
void setFreq(float freq)
Sets the frequency in hertz. This is interpreted differently depending on what the current Mode is...
Definition: FilterNode.h:54
void setResonance(float resonance)
Sets the resonance of the filter in decibels.
Definition: FilterNode.h:111
Mode getMode() const
Returns the current mode.
Definition: FilterNode.h:52
virtual ~FilterBandPassNode()
Definition: FilterNode.h:121
void setGain(float gain)
Sets the gain of the filter in decibels. Not used in all Mode's.
Definition: FilterNode.h:62
GLenum GLsizei GLenum format
Definition: GLee.h:969
BufferT< double > mBufferd
Definition: FilterNode.h:75
std::vector< dsp::Biquad > mBiquads
Definition: FilterNode.h:73
Mode
The modes that are available as 'preset' coefficients, which set the frequency response to a common t...
Definition: FilterNode.h:43
FilterLowPassNode(const Format &format=Format())
Constructs a FilterLowPassNode with optional format.
Definition: FilterNode.h:86
std::shared_ptr< class FilterLowPassNode > FilterLowPassNodeRef
Definition: FilterNode.h:35
void setResonance(float resonance)
Sets the resonance of the filter in decibels.
Definition: FilterNode.h:94
void setQ(float q)
Sets the q, or 'quality', parameter of the Biquad, which can be thought of as the sharpness of the fi...
Definition: FilterNode.h:58
void updateBiquadParams()
Definition: FilterNode.cpp:65
void uninitialize() override
Called once the contents of initialize are no longer relevant, i.e. connections have changed...
Definition: FilterNode.cpp:47
FilterBiquadNode(Mode mode=Mode::LOWPASS, const Format &format=Format())
Constructs a FilterBiquadNode, initializing the mode to mode (default = Mode::LOWPASS). Can optionally provide format.
Definition: FilterNode.cpp:30
virtual ~FilterLowPassNode()
Definition: FilterNode.h:87
std::atomic< bool > mCoeffsDirty
Definition: FilterNode.h:74
void setCutoffFreq(float freq)
Sets the cutoff frequency in hertz, below which frequencies are attenuated.
Definition: FilterNode.h:107