Removes a frequency range from raw floating point audio.
More...
#include <mipaudiofilter.h>
List of all members.
Public Member Functions |
| bool | init (int sampRate, int channels, MIPTime interval) |
| | Initializes the filter.
|
| void | setLowFilter (float frequency) |
| | This will remove frequencies below frequency from the audio messages.
|
| void | setHighFilter (float frequency) |
| | This will remove frequencies above frequency from the audio messages.
|
| void | setMiddleFilter (float lowFrequency, float highFrequency) |
| | This will remove frequencies between lowFrequency and highFrequency from the audio messages.
|
| void | clearLowFilter () |
| | Disables the low frequency filter.
|
| void | clearHighFilter () |
| | Disables the high frequency filter.
|
| void | clearMiddleFilter () |
| | Disables the frequency range filter.
|
Detailed Description
Removes a frequency range from audio messages. It accepts floating point raw audio messages and produces similar audio messages.
Member Function Documentation
| void MIPAudioFilter::clearHighFilter |
( |
| ) |
[inline] |
| void MIPAudioFilter::clearLowFilter |
( |
| ) |
[inline] |
| void MIPAudioFilter::clearMiddleFilter |
( |
| ) |
[inline] |
| bool MIPAudioFilter::init |
( |
int |
sampRate, |
|
|
int |
channels, |
|
|
MIPTime |
interval |
|
) |
| |
Initializes the audio filter.
- Parameters:
-
| sampRate | Prepares buffers and calculations for audio with this sampling rate. |
| channels | The number of channels in the audio messages. |
| interval | The time interval contained in each audio message. |
| void MIPAudioFilter::setHighFilter |
( |
float |
frequency | ) |
[inline] |
| void MIPAudioFilter::setLowFilter |
( |
float |
frequency | ) |
[inline] |
| void MIPAudioFilter::setMiddleFilter |
( |
float |
lowFrequency, |
|
|
float |
highFrequency |
|
) |
| [inline] |
The documentation for this class was generated from the following file: