Closed brndd closed 2 years ago
That warning is not relevant, channel 9 is percussion only.
Also, moved the issue since I think it fits this repo more
I have a suspicion the warning could be a result of some kind of misparsing or the instrument code mangling events, because it doesn't occur when playing the same MIDI file back from the command line using Fluidsynth with fluidsynth -a pulseaudio /usr/share/soundfonts/default.sf2 touhou_8_stage4a_boss_reimu.mid
. It also doesn't happen when I play the file back using the WIP server-side MIDI playback I'm working on.
No, this is most likely MidiProgram
on the renderer being changed to 1 (the default for the super synth) which causes it to set the channel 9 instrument to 1, which is not valid with its default bank 128.
When using the super synthesizer to play the attached MIDI file, the following error is produced in the console and the playback substitutes the lead synth instrument in the song for a piano.
[WARN] midi.fluidsynth: Instrument not found on channel 9 [bank=128 prog=1], substituted [bank=128 prog=0]
touhou_8_stage4a_boss_reimu.zip