Hi
THIS IS VERY EXPERIMENTAL and probably in the wrong department and not what Pd is about and not finished, but it is a patch
GM Program Changer.zip

Gm Program Changer, with the basic 128 instruments in the 16 categories and a channel changer using the popup external. Also a rudimentary way of accessing the generators within a soundfont (*.sf2) via NRPN. Rudimentary means BE CAREFUL in this case as all notes-off/controllers-off does not necessarily work in this case and the quickest way out is to close fluidsynth/Qsynth or other soundfont player when things go wobbly

Every sliders range is -8192 to 8192, however the effective range may be 0-127, therefore shift-drag may be the go. Pitch adjustments are 100 cents/semitone 1200 = 1 octave. Section 8 of sfspec24.pdf is useful here. However no save or load yet, so this is basically a learning toy

A way to use this patch to control a soundfont player

Assumes Linux, Jack (QjackCtl), alsa for midi and the existence of fluidsynth

Download the very excellent soundfont SGM-V2.01.sf2 (around 250MB uncompressed) from http://www.geocities.jp/shansoundfont/. Copy to /usr/share/sounds/sf2/SGM-V2.01.sf2. Then In a terminal type:- fluidsynth /usr/share/sounds/sf2/SGM-V2.01.sf2 to fire up fluidsynth. open QjackCtl make the connections in audio [fluidsynth #### to system], then in alsa connect your [midi-in to pure data] and [pure data to fluidsynth] Alternatively setup Qsynth with the SGM-V2.01.sf2 and connect jack similarly

Cheers
Balwyn