On 2011-05-11 22:11, Jonathan Slenders wrote:
Hi all,
What is the proper way to make sure that all notes on all channels are
turned off.
I have a MIDI player instance, but when I stop the player, certain notes
continue to play, because the noteoff command has not yet been send.
This will turn all notes of on channel 0, but because the MIDI file also
play notes on other channels, this does not work.
fluid_synth_cc(synth, 0, 123, 0);
Is there any better solution than doing a for loop over all possible
channels?
Actually, in current trunk (not yet released), you can use
fluid_synth_all_notes_off(synth, -1)
// David
_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev