#include <AudioMask.H>
Public Member Functions | |
AudioMask (int sampFreq, int fBankCount) | |
~AudioMask (void) | |
Deconstructor. | |
void | setCFreq (int which, double value) |
void | exciteTerhardt (double **filterBankOutput, int sampleCount) |
void | exciteBeerends (double **filterBankOutput, int sampleCount) |
Public Attributes | |
double * | mask |
The audio mask. | |
double | max |
The maximum value of the mask. | |
Protected Attributes | |
int | fs |
Sample frequency. |
Evaluates the Dr M.R. Flax (2000) hybrid simultaneous audio mask Handles the evaluation of the simultaneous audio mask given a filter bank sub-banded output and sample count
AudioMask::AudioMask | ( | int | sampFreq, | |
int | fBankCount | |||
) |
Constructs the memory and factors for calculating the audio mask @ sampFreq The sample frequency @ fBankCount The number of filter sub-bands
void AudioMask::exciteTerhardt | ( | double ** | filterBankOutput, | |
int | sampleCount | |||
) |
Method for finding the Preceptual Audio Mask using the Terhardt model @ filterBankOutput The output of the filter bank @ sampleCount The number of samples
void AudioMask::setCFreq | ( | int | which, | |
double | value | |||
) | [inline] |
Method for setting the centre freqs @ which The sub-band @ value The correcponding central frequency
Reimplemented from MooreSpread.