A class that provides a basic 5-band parametric EQ with additional high/low shelf/pass filters.
More...
|
| ParametricEqualizer () |
| Create a default parametric equalizer with 5 parametric filter bands. More...
|
|
Gain | getOutputGain () const |
| Return the linear output gain for this parametric equalizer. More...
|
|
Gain | getOutputGainDB () const |
| Return the output gain in decibels for this parametric equalizer. More...
|
|
void | setOutputGain (Gain newGain) |
| Set the linear output gain for this parametric equalizer. More...
|
|
void | setOutputGainDB (Gain newGain) |
| Set the output gain in decibels for this parametric equalizer. More...
|
|
Size | getParametricCount () const |
| Return the number of parametric EQ filters that make up this parametric equalizer. More...
|
|
void | setParametricCount (Size newNumberOfParametrics) |
| Set the number of parametric EQ filters that make up this parametric equalizer. More...
|
|
Bool | getParametricIsEnabled (Index parametricIndex) const |
| Return whether or not the parametric filter within this equalizer at the specified index is enabled. More...
|
|
void | setParametricIsEnabled (Index parametricIndex, Bool newIsEnabled) |
| Set whether or not the parametric filter within this equalizer at the specified index is enabled. More...
|
|
Gain | getParametricGain (Index parametricIndex) const |
| Return the linear gain of the parametric filter within this equalizer at the specified index. More...
|
|
Gain | getParametricGainDB (Index parametricIndex) const |
| Return the gain in decibels of the parametric filter within this equalizer at the specified index. More...
|
|
void | setParametricGain (Index parametricIndex, Gain newGain) |
| Set the linear gain of the parametric filter within this equalizer at the specified index. More...
|
|
void | setParametricGainDB (Index parametricIndex, Gain newGain) |
| Set the gain in decibels of the parametric filter within this equalizer at the specified index. More...
|
|
Float | getParametricFrequency (Index parametricIndex) const |
| Return the center frequency of the parametric filter within this equalizer at the specified index. More...
|
|
void | setParametricFrequency (Index parametricIndex, Float newFrequency) |
| Set the center frequency of the parametric filter within this equalizer at the specified index. More...
|
|
Float | getParametricQ (Index parametricIndex) const |
| Return the Q factor of the parametric filter within this equalizer at the specified index. More...
|
|
void | setParametricQ (Index parametricIndex, Float newQ) |
| Set the Q factor of the parametric filter within this equalizer at the specified index. More...
|
|
Float | getParametricBandwidth (Index parametricIndex) const |
| Return the bandwidth in octaves of the parametric filter within this equalizer at the specified index. More...
|
|
void | setParametricBandwidth (Index parametricIndex, Float newBandwidth) |
| Set the bandwidth in octaves of the parametric filter within this equalizer at the specified index. More...
|
|
Float | getHighPassFrequency () const |
| Return the corner frequency of this parametric equalizer's high pass filter. More...
|
|
void | setHighPassFrequency (Float newFrequency) |
| Set the corner frequency of this parametric equalizer's high pass filter. More...
|
|
Size | getHighPassOrder () const |
| Return the order of this parametric equalizer's high pass filter. More...
|
|
void | setHighPassOrder (Size newOrder) |
| Set the order of this parametric equalizer's high pass filter. More...
|
|
Bool | getHighPassIsEnabled () const |
| Return whether or not the high pass filter of this parametric equalizer is enabled. More...
|
|
void | setHighPassIsEnabled (Bool newIsEnabled) |
| Set whether or not the high pass filter of this parametric equalizer is enabled. More...
|
|
Float | getLowPassFrequency () const |
| Return the corner frequency of this parametric equalizer's low pass filter. More...
|
|
void | setLowPassFrequency (Float newFrequency) |
| Set the corner frequency of this parametric equalizer's low pass filter. More...
|
|
Size | getLowPassOrder () const |
| Return the order of this parametric equalizer's low pass filter. More...
|
|
void | setLowPassOrder (Size newOrder) |
| Set the order of this parametric equalizer's low pass filter. More...
|
|
Bool | getLowPassIsEnabled () const |
| Return whether or not the low pass filter of this parametric equalizer is enabled. More...
|
|
void | setLowPassIsEnabled (Bool newIsEnabled) |
| Set whether or not the low pass filter of this parametric equalizer is enabled. More...
|
|
Float | getLowShelfFrequency () const |
| Return the corner frequency of this parametric equalizer's low shelf filter. More...
|
|
void | setLowShelfFrequency (Float newFrequency) |
| Set the corner frequency of this parametric equalizer's low shelf filter. More...
|
|
Gain | getLowShelfGain () const |
| Return the linear gain of this parametric equalizer's low shelf filter. More...
|
|
Gain | getLowShelfGainDB () const |
| Return the gain in decibels of this parametric equalizer's low shelf filter. More...
|
|
void | setLowShelfGain (Gain newGain) |
| Set the linear gain of this parametric equalizer's low shelf filter. More...
|
|
void | setLowShelfGainDB (Gain newGain) |
| Set the gain in decibels of this parametric equalizer's low shelf filter. More...
|
|
Float | getLowShelfSlope () const |
| Return the slope of this parametric equalizer's low shelf filter. More...
|
|
void | setLowShelfSlope (Float newSlope) |
| Set the slope of this parametric equalizer's low shelf filter. More...
|
|
Bool | getLowShelfIsEnabled () const |
| Return whether or not the low shelf filter of this parametric equalizer is enabled. More...
|
|
void | setLowShelfIsEnabled (Bool newIsEnabled) |
| Set whether or not the low shelf filter of this parametric equalizer is enabled. More...
|
|
Float | getHighShelfFrequency () const |
| Return the corner frequency of this parametric equalizer's high shelf filter. More...
|
|
void | setHighShelfFrequency (Float newFrequency) |
| Set the corner frequency of this parametric equalizer's high shelf filter. More...
|
|
Gain | getHighShelfGain () const |
| Return the linear gain of this parametric equalizer's high shelf filter. More...
|
|
Gain | getHighShelfGainDB () const |
| Return the gain in decibels of this parametric equalizer's high shelf filter. More...
|
|
void | setHighShelfGain (Gain newGain) |
| Set the linear gain of this parametric equalizer's high shelf filter. More...
|
|
void | setHighShelfGainDB (Gain newGain) |
| Set the gain in decibels of this parametric equalizer's high shelf filter. More...
|
|
Float | getHighShelfSlope () const |
| Return the slope of this parametric equalizer's high shelf filter. More...
|
|
void | setHighShelfSlope (Float newSlope) |
| Set the slope of this parametric equalizer's high shelf filter. More...
|
|
Bool | getHighShelfIsEnabled () const |
| Return whether or not the high shelf filter of this parametric equalizer is enabled. More...
|
|
void | setHighShelfIsEnabled (Bool newIsEnabled) |
| Set whether or not the high shelf filter of this parametric equalizer is enabled. More...
|
|
virtual UTF8String | getName () const |
| Return a human-readable name for this parametric equalizer. More...
|
|
virtual UTF8String | getManufacturer () const |
| Return the manufacturer name of this parametric equalizer. More...
|
|
virtual FilterVersion | getVersion () const |
| Return an object representing the version of this parametric equalizer. More...
|
|
virtual FilterCategory | getCategory () const |
| Return an object that describes the category of effect that this filter implements. More...
|
|
virtual Bool | allowsInPlaceProcessing () const |
| Return whether or not this parametric equalizer can process audio data in-place. More...
|
|
virtual Size | getParameterCount () const |
| Return the total number of generic accessible parameters this filter has. More...
|
|
virtual Bool | getParameterInfo (Index parameterIndex, FilterParameterInfo &info) const |
| Get information about the parameter at the specified index. More...
|
|
virtual | ~SoundFilter () |
| Destroy this sound filter object. More...
|
|
SoundResult | read (SoundBuffer &outputBuffer, Size numSamples) |
| Fill the specified output buffer with the requested number of samples, based on internal filter state. More...
|
|
SoundResult | read (SoundFrame &outputFrame, Size numSamples) |
| Fill the specified output frame with the requested number of samples, based on internal filter state. More...
|
|
SoundResult | write (const SoundBuffer &inputBuffer, Size numSamples) |
| Process the specified input buffer samples and do something with them. More...
|
|
SoundResult | write (const SoundFrame &inputFrame, Size numSamples) |
| Process the specified input frame samples and do something with them. More...
|
|
SoundResult | process (const SoundBuffer &inputBuffer, SoundBuffer &outputBuffer, Size numSamples) |
| Apply this filter to the specified input buffer data, placing the result in the output buffer. More...
|
|
SoundResult | process (const SoundBuffer &inputBuffer, SoundFrame &outputFrame, Size numSamples) |
| Apply this filter to the specified input buffer data, placing the result in the output frame. More...
|
|
SoundResult | process (const SoundFrame &inputFrame, SoundFrame &outputFrame, Size numSamples) |
| Apply this filter to the specified input frame data, placing the result in the output frame. More...
|
|
SoundResult | process (const SoundFrame &inputBuffer, SoundBuffer &outputBuffer, Size numSamples) |
| Apply this filter to the specified input frame data, placing the result in the output buffer. More...
|
|
void | reset () |
| Signal to the filter that the audio stream is restarting. More...
|
|
UInt64 | getFrameIndex () const |
| Return the index of the next frame to be processed (or the current one if currently processing). More...
|
|
Size | getInputCount () const |
| Return the current number of audio inputs that this filter has. More...
|
|
virtual UTF8String | getInputName (Index inputIndex) const |
| Return a human-readable name of the filter audio input at the specified index. More...
|
|
Size | getOutputCount () const |
| Return the current number of audio outputs that this filter has. More...
|
|
virtual UTF8String | getOutputName (Index outputIndex) const |
| Return a human-readable name of the filter audio output at the specified index. More...
|
|
Size | getMIDIInputCount () const |
| Return the current number of MIDI inputs that this filter has. More...
|
|
virtual UTF8String | getMIDIInputName (Index inputIndex) const |
| Return a human-readable name of the filter MIDI input at the specified index. More...
|
|
Size | getMIDIOutputCount () const |
| Return the current number of MIDI outputs that this filter has. More...
|
|
virtual UTF8String | getMIDIOutputName (Index outputIndex) const |
| Return a human-readable name of the filter MIDI output at the specified index. More...
|
|
virtual Time | getLatency () const |
| Return a Time value indicating the latency of this sound filter in seconds. More...
|
|
virtual Bool | getParameterIndex (const UTF8String ¶meterName, Index ¶meterIndex) const |
| Query the index of the parameter with the specified name. More...
|
|
virtual Bool | getParameterValueName (Index parameterIndex, const FilterParameter &value, UTF8String &name) const |
| Get any special name associated with the specified value of an indexed parameter. More...
|
|
Bool | getParameter (Index parameterIndex, FilterParameter &value) const |
| Place the value of the parameter at the specified index in the output parameter. More...
|
|
Bool | getParameter (Index parameterIndex, Bool &value) const |
| Place the value of the parameter at the specified index in the output parameter. More...
|
|
Bool | getParameter (Index parameterIndex, Int64 &value) const |
| Place the value of the parameter at the specified index in the output parameter. More...
|
|
Bool | getParameter (Index parameterIndex, Float32 &value) const |
| Place the value of the parameter at the specified index in the output parameter. More...
|
|
Bool | getParameter (Index parameterIndex, Float64 &value) const |
| Place the value of the parameter at the specified index in the output parameter. More...
|
|
template<typename ParameterType > |
Bool | getParameter (const UTF8String &name, ParameterType &value) const |
| Place the value of the parameter with the specified name in the output parameter. More...
|
|
template<typename ParameterType > |
Bool | getParameter (const char *name, ParameterType &value) const |
| Place the value of the parameter with the specified name in the output parameter. More...
|
|
Bool | setParameter (Index parameterIndex, const FilterParameter &value) |
| Attempt to set the parameter value at the specified index. More...
|
|
Bool | setParameter (Index parameterIndex, Bool value) |
| Attempt to set the parameter value at the specified index. More...
|
|
Bool | setParameter (Index parameterIndex, Int64 value) |
| Attempt to set the parameter value at the specified index. More...
|
|
Bool | setParameter (Index parameterIndex, Float32 value) |
| Attempt to set the parameter value at the specified index. More...
|
|
Bool | setParameter (Index parameterIndex, Float64 value) |
| Attempt to set the parameter value at the specified index. More...
|
|
template<typename ParameterType > |
Bool | setParameter (const UTF8String &name, ParameterType value) |
| Attempt to set the parameter value with the specified name. More...
|
|
template<typename ParameterType > |
Bool | setParameter (const char *name, ParameterType value) |
| Attempt to set the parameter value with the specified name. More...
|
|
virtual Bool | writeState (DataOutputStream &stream) const |
| Write the current state of this sound filter to a data output stream. More...
|
|
virtual Bool | readState (DataInputStream &stream) |
| Read a previously saved filter state from the specified data input stream and replace the filter's state. More...
|
|
virtual Size | getPresetCount () const |
| Return the number of standard configuration presets that this sound filter has. More...
|
|
virtual Bool | getPreset (Index presetIndex, FilterPreset &preset) const |
| Get the standard preset for this sound filter with the specified index. More...
|
|
Bool | getIsSynchronized () const |
| Return whether or not this sound filter performs thread synchronization. More...
|
|
void | setIsSynchronized (Bool newIsSynchronized) |
| Set whether or not this sound filter performs thread synchronization. More...
|
|