* timidity/reverb.[ch], timidity/readmidi.c, timidity/playmidi.c:
Fix about Insertion Effect.
Sort out codes.
+ Fix lowpass filter for system effect.
2003-12-16 Saito <saito2@digitalme.com>
case 0x07: /* Reverb Pre-LPF */
ctl->cmsg(CMSG_INFO,VERB_NOISY,"Reverb Pre-LPF (%d)",val);
if(reverb_status.pre_lpf != val) {
- reverb_status.pre_lpf = val;
+ reverb_status.pre_lpf = val & 0x7;
recompute_reverb_status_gs();
}
break;
break;
case 0x0E: /* Chorus Pre-LPF */
ctl->cmsg(CMSG_INFO,VERB_NOISY,"Chorus Pre-LPF (%d)",val);
- chorus_param.chorus_pre_lpf = val;
+ chorus_param.chorus_pre_lpf = val & 0x7;
recompute_chorus_status_gs();
break;
case 0x0F: /* Chorus Level */
break;
case 0x17: /* Delay Pre-LPF */
ctl->cmsg(CMSG_INFO,VERB_NOISY,"Delay Pre-LPF (%d)",val);
- delay_status.pre_lpf = val;
+ delay_status.pre_lpf = val & 0x7;
recompute_delay_status_gs();
break;
case 0x18: /* Delay Time Center */