No preset found on channel 9 when playing midi with newly created soundfont

混江龙づ霸主 提交于 2019-12-07 09:22:56

问题


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 

回答1:


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.



来源:https://stackoverflow.com/questions/23564706/no-preset-found-on-channel-9-when-playing-midi-with-newly-created-soundfont

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!