double f, fst;	/* fraction of seminote */ 
double f, fst;	/* fraction of semitone */ 
static void set_single_note_tuning(int part, int a, int b){	static int tp;	/* tuning program number */	static int kn;	/* MIDI key number */	static int st;	/* the nearest equal-tempered semitone */	double f, fst;	/* fraction of seminote */		switch (part) {	case 0:		tp = a;		break;	case 1:		kn = a;		st = b;		break;	case 2:		if (st == 0x7f && a == 0x7f && b == 0x7f)	/* no change */			break;		f = 440 * pow(2.0, (st - 69) / 12.0);		fst = pow(2.0, (a << 7 | b | ((a & 0x40) ? 0xc000 : 0)) / 98304.0);		freq_table_tuning[tp][kn] = f * fst * 1000 + 0.5;		break;	}}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/63788a67b485065d81e0254553d0709ceb540707/playmidi.c/buggy/timidity/playmidi.c