EMIPLIB
Public Member Functions

MIPAudioFilter Class Reference

Removes a frequency range from raw floating point audio. More...

#include <mipaudiofilter.h>

Inheritance diagram for MIPAudioFilter:
Inheritance graph
[legend]
Collaboration diagram for MIPAudioFilter:
Collaboration graph
[legend]

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:
sampRatePrepares buffers and calculations for audio with this sampling rate.
channelsThe number of channels in the audio messages.
intervalThe 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: