Hello Ien, FluidSynth does some pre-calculations on sample data to determine when the sound becomes "imperceptible" ("reaches the noise floor"). I'm not really familiar with this code and have often wondered how well it works. For example, in the case of Swami, I don't believe I'm pre-calculating these values and I've questioned whether this is working right (in the case of Swami's use of FluidSynth at least). At any rate, if an instrument has a long release time, FluidSynth will try to optimize things to turn off the voice when it is no longer "perceptible". It will also prioritize voices to terminate if it runs out of the allocated polyphony. It seems you are saying that a sound continues past the note off though, which likely has to do with the instrument's release time. Are you certain that FluidSynth is maintaining the voice past the end of the designated release interval?
Best regards, Element Green On Wed, May 18, 2016 at 9:07 AM, Ien Cheng <i...@alum.mit.edu> wrote: > Hi everyone - > > I'm seeing an odd problem where the synth is not stopping the sound after > note off with certain "loud" soundfonts. Specifically, with the standard GM > grand piano soundfont, everything works great, notes on and notes off as > expected. > > Switch to a soundfont that has a sharper or fuller sound (like a 8bit > arcade sound or a full choral ahh sound) and the synth doesn't turn off the > notes -- or it sounds like the echo or tail of the sound just continues > indefinitely even after the note off. > > I notice that if I reduce the gain, the problem goes away. > > Is this some kind of flooding or other problem? > > Apologies if I'm not asking correctly or with the right terminology! Any > help or tips appreciated. > > --Ien > > _______________________________________________ > fluid-dev mailing list > fluid-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/fluid-dev > >
_______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev