libmfcc.c
double GetCenterFrequency(unsigned int filterBand)
{
	double centerFrequency = 0.0f;
	double exponent;

	if(filterBand == 0)
	{
		centerFrequency = 0;
	}
	else if(filterBand >= 1 && filterBand <= 14)
	{
		centerFrequency = (200.0f * filterBand) / 3.0f;
	}
	else
	{
		exponent = filterBand - 14.0f;
		centerFrequency = pow(1.0711703, exponent);
		centerFrequency *= 1073.4;
	}
	
	return centerFrequency;
}
/*
 * Compute the center frequency (fc) of the specified filter band (l) (Eq. 4)
 * This where the mel-frequency scaling occurs. Filters are specified so that their
 * center frequencies are equally spaced on the mel scale
 * Used for internal computation only - not the be called directly
 */
Compute the center frequency (fc) of the specified filter band (l) (Eq. 4)
This where the mel-frequency scaling occurs. Filters are specified so that their
center frequencies are equally spaced on the mel scale
Used for internal computation only - not the be called directly
Compute the center frequency ( fc ) of the specified filter band ( l ) ( Eq . 4 ) This where the mel - frequency scaling occurs . Filters are specified so that their center frequencies are equally spaced on the mel scale Used for internal computation only - not the be called directly
double GetCenterFrequency(unsigned int filterBand)
{
	double centerFrequency = 0.0f;
	double exponent;
	if(filterBand == 0)
	{
		centerFrequency = 0;
	}
	else if(filterBand >= 1 && filterBand <= 14)
	{
		centerFrequency = (200.0f * filterBand) / 3.0f;
	}
	else
	{
		exponent = filterBand - 14.0f;
		centerFrequency = pow(1.0711703, exponent);
		centerFrequency *= 1073.4;
	}
	return centerFrequency;
}
double GetCenterFrequency ( unsigned int filterBand ) { double centerFrequency = 0.0f ; double exponent ; if ( filterBand == 0 ) { centerFrequency = 0 ; } else if ( filterBand >= 1 && filterBand <= 14 ) { centerFrequency = ( 200.0f * filterBand ) / 3.0f ; } else { exponent = filterBand - 14.0f ; centerFrequency = pow ( 1.0711703 , exponent ) ; centerFrequency *= 1073.4 ; } return centerFrequency ; }
Compute the center frequency (fc) of the specified filter band (l) (Eq.
Compute the center frequency ( fc ) of the specified filter band ( l ) ( Eq .