MidiProgramChange

HC Sound programming Midi MidiProgramChange
MidiMessage MidiNoteOn

MidiProgramChange channel program


command to change the program (the timbre) of the Midi channel channel to program.

channel must be an integer in the range 0..15.

program must be an integer in the range 0..127.

Example:

MidiOpen 0
MidiProgramChange 0 127
MidiNoteOn 0 58 127
MidiClose

Example:

References:

MidiMessage MidiNoteOn