Thank you for the answer.
I am using fluidsynth as linked library within my Qt C++ based desktop application. Basically upon receiving midi messages I just call related fluidsynth note on/off functions. Now I would like to group these midi messages so that when midi channel = 10 then that note should be played let's say on left channel, and when midi channel is 5 then it should play on right audio channel for example.
Is it possible to do that from calling libfluidsynth library functions?
It's hard to help without knowing how you use fluidsynth. The easiest
way to achieve what you ask for, is to issue a MIDI CC 10 = 0 on all
midi channels that shall play on the left, and a MIDI CC 10 = 127 on
all midi channels that shall play on the right.