S. Christian Collins skrev:
My 2 cents: I'm pretty sure the Creative synths don't ignore note-off,
and I don't think it's necessary, because this should be taken care of
in the SoundFont design, IMO. In the SoundFont's percussion bank, the
release phase of each sample allows the drum to be sustained even when
the note is released very quickly, and this is how GeneralUser GS and
pretty much every other GM bank behaves.
As I said in a comment to http://fluidsynth.resonance.org/trac/ticket/1
, the problem is that we never get through the attack phase. So I still
think delaying the note-off could be a good workaround. But Christian
could perhaps suggest a good default value for the delay?
Perhaps something like this would be adequate:
midi.mode = raw, gm, no-off-percuss
raw: Don't do any special percussion channel handling
gm: Ignore note-offs for all but fast Whistle and Guiro on percussion
channel
no-off-percuss: Ignore all note-offs on percussion channel
Assuming midi.mode (or better, synth.midi-mode) will be used to change
between gm, gs, xg etc, it does not make sense to add no-off-percuss to
that series since it might control more things (e g ignore bank
selection in GM mode).
Better to use a separate setting for this problem then, something like
synth.note-off-percuss=delay/ignore/process. And for now, hardcode
percussion channel to 10 (as already done in a few places).