/* mHz to abscent conversion: abscent = log2(MHz / 8176) * 1200  */
static int freq_to_note(int mhz)
/* mHz to abscent conversion: abscent = log2(MHz / 8176) * 1200  */
static int freq_to_note(int mhz)
{
	return snd_sf_linear_to_log(mhz, OFFSET_ABSCENT, ABSCENT_RATIO);
}