int ch = e->channel, note, prog, bk; 
int ch = e->channel, note; 
void recompute_channel_filter(MidiEvent *e){	int ch = e->channel, note, prog, bk;	double coef = 1.0f, reso = 0;	ToneBankElement *elm;	if(channel[ch].special_sample > 0) {return;}	note = MIDI_EVENT_NOTE(e);	prog = channel[ch].program;	bk = channel[ch].bank;	elm = &tonebank[bk]->tone[prog];	/* Soft Pedal */	if(channel[ch].soft_pedal > 63) {		if(note > 49) {	/* tre corde */			coef *= 1.0 - 0.20 * ((double)channel[ch].soft_pedal - 64) / 63.0f;		} else {	/* una corda (due corde) */			coef *= 1.0 - 0.25 * ((double)channel[ch].soft_pedal - 64) / 63.0f;		}	}	if(!ISDRUMCHANNEL(ch)) {		/* NRPN Filter Cutoff */		coef *= pow(1.26, (double)(channel[ch].param_cutoff_freq) / 8.0f);		/* NRPN Resonance */		reso = (double)channel[ch].param_resonance * RESONANCE_COEFF;	}	channel[ch].cutoff_freq_coef = coef;	channel[ch].resonance_dB = reso;/*	ctl->cmsg(CMSG_INFO,VERB_NOISY,"Cutoff Frequency (CH:%d VAL:%f)",ch,coef);	ctl->cmsg(CMSG_INFO,VERB_NOISY,"Resonance (CH:%d VAL:%f)",ch,reso);*/}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/b8714539ddf60390403eefbc5f7cb00b5a2ccfc2/playmidi.c/buggy/timidity/playmidi.c