voice[i].fc.orig_reso_dB = (double)voice[i].sample->resonance / 10.0f; 
voice[i].fc.orig_reso_dB = (double)voice[i].sample->resonance / 10.0f - 3.01f; if (voice[i].fc.orig_reso_dB < 0.0f) {voice[i].fc.orig_reso_dB = 0.0f;} 
void init_voice_filter(int i){  double gain;  memset(&(voice[i].fc), 0, sizeof(FilterCoefficients));  if(opt_lpf_def && voice[i].sample->cutoff_freq) {	  voice[i].fc.orig_freq = voice[i].sample->cutoff_freq;	  voice[i].fc.orig_reso_dB = (double)voice[i].sample->resonance / 10.0f;	  if(opt_lpf_def == 2 || opt_effect_quality >= 3) {		  voice[i].fc.gain = 1.0;		  voice[i].fc.type = 2;	  } else if(opt_lpf_def == 1) {		  voice[i].fc.gain = pow(10.0f, -voice[i].fc.orig_reso_dB / 2.0f / 20.0f);		  voice[i].fc.type = 1;	  }  } else {	  voice[i].fc.type = 0;  }}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/cabf9cb41d3c9ca0cc0993e7d3ded1fc3a5c00c9/playmidi.c/clean/timidity/playmidi.c