name: Mel


g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_numeric.a

#include <Mel.h>

boolean compute(VectorFloat& mel, const VectorFloat& freq);
quick start:

VectorFloat freq(1);
VectorFloat mel;

freq(0) = 1000;
Mel::compute(mel, freq);

The Mel class implements a function that is commonly used to map frequency in Hz to a scale that is more perceptually-meaningful. The units of this scale are referred to as mel (short for melody), a unit used to measure pitch. The approximation for the Mel scale that is implemented in this class is given by:
  Mel = 2595 log10 (1 + freq / 700.0)
For more details about this transformation, see:
See the Bark class for an alternate way to approximate this scale.


public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

private methods: