libmfcc.c
double GetMagnitudeFactor(unsigned int filterBand)
{
	double magnitudeFactor = 0.0f;
	
	if(filterBand >= 1 && filterBand <= 14)
	{
		magnitudeFactor = 0.015;
	}
	else if(filterBand >= 15 && filterBand <= 48)
	{
		magnitudeFactor = 2.0f / (GetCenterFrequency(filterBand + 1) - GetCenterFrequency(filterBand -1));
	}

	return magnitudeFactor;
}
/* 
 * Compute the band-dependent magnitude factor for the given filter band (Eq. 3)
 * Used for internal computation only - not the be called directly
 */
Compute the band-dependent magnitude factor for the given filter band (Eq. 3)
Used for internal computation only - not the be called directly
Compute the band - dependent magnitude factor for the given filter band ( Eq . 3 ) Used for internal computation only - not the be called directly
double GetMagnitudeFactor(unsigned int filterBand)
{
	double magnitudeFactor = 0.0f;
	if(filterBand >= 1 && filterBand <= 14)
	{
		magnitudeFactor = 0.015;
	}
	else if(filterBand >= 15 && filterBand <= 48)
	{
		magnitudeFactor = 2.0f / (GetCenterFrequency(filterBand + 1) - GetCenterFrequency(filterBand -1));
	}
	return magnitudeFactor;
}
double GetMagnitudeFactor ( unsigned int filterBand ) { double magnitudeFactor = 0.0f ; if ( filterBand >= 1 && filterBand <= 14 ) { magnitudeFactor = 0.015 ; } else if ( filterBand >= 15 && filterBand <= 48 ) { magnitudeFactor = 2.0f / ( GetCenterFrequency ( filterBand + 1 ) - GetCenterFrequency ( filterBand - 1 ) ) ; } return magnitudeFactor ; }
Compute the band-dependent magnitude factor for the given filter band (Eq.
Compute the band - dependent magnitude factor for the given filter band ( Eq .