Warning: Instrument not found on channel
Ghabry opened this issue · 3 comments
Ghabry commented
Another problem in program_change command (or in the SF2 parser?): The MIDI sounds different because of instrument substitution.
When playing this MIDI
http://www.sortmusic.com/_v/vangelis-midi-file,ti1492%3A%20Conquest%20Of%20Paradise,len.html
With this soundfont
https://stash.reaper.fm/v/23360/Scc1t2.sf2
Output of upstream fluidsynth:
fluidsynth: warning: Instrument not found on channel 3 [bank=127 prog=1], substituted [bank=0 prog=1]
Output of FluidLite:
fluidsynth: warning: Instrument not found on channel 0 [bank=127 prog=62], substituted [bank=0 prog=62]
fluidsynth: warning: Instrument not found on channel 1 [bank=127 prog=54], substituted [bank=0 prog=54]
fluidsynth: warning: Instrument not found on channel 2 [bank=127 prog=49], substituted [bank=0 prog=49]
fluidsynth: warning: Instrument not found on channel 3 [bank=16383 prog=1], substituted [bank=0 prog=1]
fluidsynth: warning: Instrument not found on channel 4 [bank=127 prog=45], substituted [bank=0 prog=45]
fluidsynth: warning: Instrument not found on channel 5 [bank=127 prog=47], substituted [bank=0 prog=47]
fluidsynth: warning: Instrument not found on channel 6 [bank=127 prog=90], substituted [bank=0 prog=90]
fluidsynth: warning: Instrument not found on channel 7 [bank=127 prog=15], substituted [bank=0 prog=15]
fluidsynth: warning: Instrument not found on channel 8 [bank=127 prog=121], substituted [bank=0 prog=121]
fluidsynth: warning: Instrument not found on channel 10 [bank=767 prog=124], substituted [bank=0 prog=124]
fluidsynth: warning: Instrument not found on channel 11 [bank=127 prog=9], substituted [bank=0 prog=9]
netpipe commented
what code did you use to play the midi ?
netpipe commented
https://fossies.org/linux/vlc/modules/codec/fluidsynth.c found this, looks good
netpipe commented
https://github.com/netpipe/AgAudio , i should have fluidlite midi soon hopefully