Question

I have created a soundfont with Polyphone to create a new instrument "bagana".

It just has 1 instrument "Bagana", with 1 present "Bagana".

I tried playing a midi file (just a piano piece) with FluidSynth, it worked. When I direct it through the new soundfront it says:

fluidsynth: warning: No preset found on channel 9 [bank=128 prog=0]

Is there a problem with the soundfont not being loaded?

This is the sf2 file and this and this are the midi files I am trying to play.

I am running the midi with this command:

>>fluidsynth -C0 -R1 -l -a alsa -F out.wav ./bagana.sf2 /home/dorien/UA/projects/bagana/Reunion_Example.mid 
Was it helpful?

Solution

For General MIDI compatibility, the default sound font instrument assignments are bank 0, program 0 ("Acoustic Grand Piano") for channels 0–8 and 10–15, and bank 128, program 0 ("Default Drum Set") for channel 9.

Apparently, your sound font does not have the latter.

This does not matter if your MIDI file does not assume General MIDI compatible instruments and does not try to play drum sounds on channel 9.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top