if(svf->freq != svf->last_freq || svf->res_dB != svf->last_res_dB 
if (svf->freq != svf->last_freq || svf->res_dB != svf->last_res_dB 
void calc_filter_moog_dist(filter_moog_dist *svf){	double res, fr, p, q, f;	if (svf->freq > play_mode->rate / 2) {svf->freq = play_mode->rate / 2;}	else if(svf->freq < 20) {svf->freq = 20;}	if(svf->freq != svf->last_freq || svf->res_dB != svf->last_res_dB		 || svf->dist != svf->last_dist) {		if(svf->last_freq == 0) {	/* clear delay-line */			svf->b0 = svf->b1 = svf->b2 = svf->b3 = svf->b4 = 0.0f;		}		svf->last_freq = svf->freq, svf->last_res_dB = svf->res_dB,			svf->last_dist = svf->dist;		res = pow(10.0f, (svf->res_dB - 96.0f) / 20.0f);		fr = 2.0f * (double)svf->freq / (double)play_mode->rate;		q = 1.0f - fr;		p = fr + 0.8f * fr * q;		f = p + p - 1.0f;		q = res * (1.0f + 0.5f * q * (1.0f - q + 5.6f * q * q));		svf->f = f;		svf->p = p;		svf->q = q;		svf->d = 1.0f + svf->dist;	}}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/a06480a7c58fbc8239169c732756804b6c47f134/reverb.c/buggy/timidity/reverb.c