#23 Support for Bank Select / Program Change


It would be useful to be able to change instruments remotely, from a MIDI controller or a MIDI sequencer. This could be done, as in hardware synthesizers, by handling the following MIDI messages (which are, for now, ignored): “CC0 (Bank Select MSB)” to load the specified bank, and “Program Change” to load the specified instrument in the current bank.

The attached patch is an attempt at implementing that behavior, let me know what you think of it. The changes can also be pulled from the “program-change” branch of my repository (git pull git://git.incenp.org/zynaddsubfx.git program-change).


  • Mark McCurry

    Mark McCurry - 2011-10-31
    • labels: 1166873 -->
    • status: open --> closed
  • Mark McCurry

    Mark McCurry - 2011-10-31

    Pulled from your git repo.

    Added one call to applyparameters() to ensure that PADsynth based instruments are loaded correctly.
    Besides this producing realtime issues, it seems to be fine.

    Thanks for the feature addition.

  • Mark McCurry

    Mark McCurry - 2011-10-31
    • status: closed --> closed-accepted
  • laforge777

    laforge777 - 2012-01-13

    I love this patch! Don't understand why this essential feature isn't in the git.

  • Mark McCurry

    Mark McCurry - 2012-01-14

    > Don't understand why this essential feature isn't in the git.
    Unless there is something different in the .diff, this feature was integrated into the git repo (master branch) a while back (ie 2011-10-30).

  • laforge777

    laforge777 - 2012-01-15

    Oh i stand corrected it is in there and works fine. Might have been a little confused because the GUI isn't updated when pressing CC 145 but that's just aesthetics.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks