switch(delay_status.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; }  /* pre-calculate LPF coefficients */ if(cutoff_freq < play_mode->rate / 2) { calc_lowpass_coefs_24db(delay_status.lpf_coef,cutoff_freq,0,play_mode->rate); 
if(delay_status.pre_lpf) { dBGain = gs_system_effect_hsf_gain_table[delay_status.pre_lpf]; /* calculate highpass shelving filter's coefficients */ calc_highshelf_coefs(delay_status.high_coef, 20, dBGain, play_mode->rate); 
void recompute_delay_status(){	int cutoff_freq;	delay_status.sample_c = delay_status.time_center * play_mode->rate / 1000;	delay_status.sample_l = delay_status.sample_c * delay_status.time_ratio_left;	delay_status.sample_r = delay_status.sample_c * delay_status.time_ratio_right;	if(delay_status.sample_c > play_mode->rate) {delay_status.sample_c = play_mode->rate;}	if(delay_status.sample_l > play_mode->rate) {delay_status.sample_l = play_mode->rate;}	if(delay_status.sample_r > play_mode->rate) {delay_status.sample_r = play_mode->rate;}	delay_status.level_ratio_c = (double)delay_status.level * (double)delay_status.level_center / 16129.0;	delay_status.level_ratio_l = (double)delay_status.level * (double)delay_status.level_left / 16129.0;	delay_status.level_ratio_r = (double)delay_status.level * (double)delay_status.level_right / 16129.0;	delay_status.feedback_ratio = (double)(delay_status.feedback - 64) * 0.0153125;	delay_status.send_reverb_ratio = (double)delay_status.send_reverb / 127.0;	if(delay_status.level_left || delay_status.level_right && delay_status.type == 0) {		delay_status.type = 1;	}	switch(delay_status.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;	}	/* pre-calculate LPF coefficients */	if(cutoff_freq < play_mode->rate / 2) {		calc_lowpass_coefs_24db(delay_status.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