switch(chorus_param.chorus_pre_lpf) { case 0:	cutoff_freq = 0;	break; case 1:	cutoff_freq = 8000;	break; case 2:	cutoff_freq = 5000;	break; case 3:	cutoff_freq = 3150;	break; case 4:	cutoff_freq = 2000;	break; case 5:	cutoff_freq = 1250;	break; case 6:	cutoff_freq = 800;	break; case 7:	cutoff_freq = 500;	break; }  if(cutoff_freq < play_mode->rate / 2) {	/* pre-calculate LPF coefficients */ calc_lowpass_coefs_24db(chorus_param.lpf_coef,cutoff_freq,0,play_mode->rate); 
if(chorus_param.chorus_pre_lpf) { dBGain = gs_system_effect_hsf_gain_table[chorus_param.chorus_pre_lpf]; /* calculate highpass shelving filter's coefficients */ calc_highshelf_coefs(chorus_param.high_coef, 20, dBGain, play_mode->rate); 
void recompute_chorus_status(){	int cutoff_freq;	chorus_param.delay_in_sample = pre_delay_time_table[chorus_param.chorus_delay] * (double)play_mode->rate / 1000.0;	chorus_param.depth_in_sample = chorus_param.delay_in_sample * chorus_param.chorus_depth / 127;	chorus_param.cycle_in_sample = play_mode->rate / rate1_table[chorus_param.chorus_rate];	chorus_param.feedback_ratio = (double)chorus_param.chorus_feedback * 0.0077165;	chorus_param.level_ratio = (double)chorus_param.chorus_level / 127.0;	chorus_param.send_reverb_ratio = (double)chorus_param.chorus_send_level_to_reverb / 127.0;	chorus_param.send_delay_ratio = (double)chorus_param.chorus_send_level_to_delay / 127.0;	switch(chorus_param.chorus_pre_lpf) {	case 0:	cutoff_freq = 0;	break;	case 1:	cutoff_freq = 8000;	break;	case 2:	cutoff_freq = 5000;	break;	case 3:	cutoff_freq = 3150;	break;	case 4:	cutoff_freq = 2000;	break;	case 5:	cutoff_freq = 1250;	break;	case 6:	cutoff_freq = 800;	break;	case 7:	cutoff_freq = 500;	break;	}	if(cutoff_freq < play_mode->rate / 2) {	/* pre-calculate LPF coefficients */		calc_lowpass_coefs_24db(chorus_param.lpf_coef,cutoff_freq,0,play_mode->rate);	}}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/0e3784def1829ab465a906659129a80082008267/readmidi.c/clean/timidity/readmidi.c