Replies: 1 comment 1 reply
-
Yes, the SoundFont spec allows you to do this. fluidsynth implements the SoundFont spec, ergo fluidsynth can do it. However, you need to put off your programmer glasses and put on your SoundFont designer glasses: In the SoundFont(s) you want to use, you must specify the initial Pan position of each and every instrument zone (i.e. sample) of your drum instrument(s). Coming back to your Kick / Snare example, you would open the drum-instrument containing those two sample by using your favorite SoundFont editor. You would select the zone which contains the Kick sample and set its Pan to -50. Similarly, you would select the zone which contains the Snare and set its Pan to +50. Doing it on a SoundFont level is some amount of work, yes. But this solution is portable among SoundFont compatible synths. When going the conventional programming way by sending CCs, you'll run into the error you've described. If you insist on a programmatical solution, you might want to have a look at MIDI Polyphonic Expression. It allows you to control notes indiviually (because it dynamically assigns them to their own MIDI channel). However, MPE is currently not implemented in fluidsynth and I don't know about details.
Pls. do not confuse the channel mode with the bank selection behavior. Even though |
Beta Was this translation helpful? Give feedback.
-
Greetings, I'm trying to figure out how/whether I can get use FluidSynth to simulate a stereo drumkit where each "note" of a percussion preset can reside in a unique stereo position. Any pointers are much appreciated!
Here's what I've learned so far:
But
Potential Solution
I have discovered the different modes for synth.midi-bank-select=mma and have used this to successfully change the behavior of channel 0. Now I have two drumkit channels (0 and 9), each with a unique stereo location. If I now try for three drumkit channels by sending CC messages (0 and 32), I neither see an error message nor hear my drums on channel 1 (I get the default piano value).
In pseudo-code:
I've seen some indication that GM supports up-to two percussion channels. I wonder if that's what's at issue here?
Any pointers are much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions