 if(depth >= 64 && depth <= 85) { cent = (double)(depth - 64) * 6.25 / 21.0 + 1.0; } else if(depth >= 86 && depth <= 117) { cent = (double)(depth - 86) * 13.0 / 31.0 + 72.0; } else if(depth >= 118 && depth <= 127) { cent = 4.0 * (double)(depth - 118) * (double)(depth - 118) + 152.0; } else { cent = 1.0; } 
cent = (double)(depth - 64) * 0.15;  
static int32 gs_cnv_vib_depth(int depth){	double cent;		if(depth >= 64 && depth <= 85) {		cent = (double)(depth - 64) * 6.25 / 21.0 + 1.0;	} else if(depth >= 86 && depth <= 117) {		cent = (double)(depth - 86) * 13.0 / 31.0 + 72.0;	} else if(depth >= 118 && depth <= 127) {		cent = 4.0 * (double)(depth - 118) * (double)(depth - 118) + 152.0;	} else {		cent = 1.0;	}	return (int32)(cent * 256.0 / 400.0);}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/1e1543c8878bdb8c290ae385f8dc2651198def08/playmidi.c/clean/timidity/playmidi.c