-
Notifications
You must be signed in to change notification settings - Fork 313
Closed
Description
FluidSynth version
Affects 2.3 (and presumably older) and 2.4 versions of FluidSynth including current master and iir-tests branches.
Describe the bug
By default FluidSynth cuts off a voice after the volume envelope release has reached -96 dB (as I recall... I'm going off of memory here). Normally the volume envelope being at -96 dB would be an inaudible cutoff, but when high filter Q is used, the filter hasn't stopped "ringing" at this point, and so the still audible sound is abruptly cut off, resulting in a click.
Steps to reproduce
- Download and extract the following zip file:
high_Q_note_cutoff_test.zip - Load the .sf2 file into FluidSynth and play the .mid file. I have also included an audio file
fluidsynth_iir-tests.flacshowing the result of this test using FluidSynth's current iir-tests branch.
Current behavior
The voice cuts off while the filter is still resonating, causing an audible click. You can see this quite clearly by viewing the waveform in Audacity:

Expected behavior
The voice shouldn't be cut off until the filter output has also reached -96 dB.
Additional context
Related to bug #1415.
Reactions are currently unavailable