/* SF2 - Scale Tuning */ if ((st = sp->scale_tuning) != 100) { ratio = pow((double) f / sp->root_freq, st / 100.0); f = sp->root_freq * ratio + 0.5; 
/* GUS,SF2 - Scale Tuning */ if ((sf = sp->scale_factor) != 1024) { sn = sp->scale_freq; ratio = pow(2.0, (note - sn) * (sf - 1024) / 12288.0); f = f * ratio + 0.5; 
int32 get_note_freq(Sample *sp, int note){	int32 f;	int16 st;	double ratio;		f = freq_table[note];	/* SF2 - Scale Tuning */	if ((st = sp->scale_tuning) != 100) {		ratio = pow((double) f / sp->root_freq, st / 100.0);		f = sp->root_freq * ratio + 0.5;	}	return f;}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/c4ea9ade6f8009d3640b65e6b308e39ac63871d0/playmidi.c/buggy/timidity/playmidi.c