Hi Francesco, I think the issue is created with the converstion tool from the .abc to the .mid file.
All midi Program Changes (also those for track/chn 1,2,3) are placed to track 4. When playing the first Note On of track 1,2,3 at that point in time the Program Change settings of track 1,2,3 are undefined for the playing program. Therefore the default setting Piano is used. Later (not timewise later but from an execution of the playing software) when playing track 4 the Program Change of track 1,2,3/chn 1,2,3 are set to be 21 which will modify the sound to organ for all notes to be played later. To my knowledge a Program Change of a track/chn should be set within the track and not outside the track. Moving the Program Change to the appropriate track solves the issue. I have checked the issue because we at Notation Software (www.notation.com) use the fluidsynth libraries, too. From the fluidsynth perspective I believe fluidsynth is fine. Our software acts as such that Program Change is only allowed within the same track. With our software in your example track 1,2,3 play as piano throughout, track 4 as organ throughout. Hope this analysis help Reinhold -----Ursprungliche Nachricht----- Von: fluid-dev [mailto:fluid-dev-bounces+reinhold=notation....@nongnu.org] Im Auftrag von Francesco Ariis Gesendet: Dienstag, 2. Mai 2017 11:31 An: fluid-dev@nongnu.org Betreff: [fluid-dev] Program change problems with fluidsynth Hello fluidsynth users/devs, today I tried to render a midi file (attached) with fluidsynth via command line: fluidsynth -a alsa -F audio.ogg -T oga /usr/share/sounds/sf2/FluidR3_GM.sf2 hymn1.mid I attach the first few seconds of the audio file too. As you can hear, the first note (the first beat I should say) is a piano sound, while subsequent notes are a church organ. When I render it with another software (say, llms, attached), every note is a church organ. What happens? In case it might be helpful: the midi was generated from an .abc file, which I attach too. If you need more infos, don't hesitate to ask -F _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev