midi_pc program_num (midi)
Sends a MIDI program change message to all connected devices on all channels. Use the port:
and channel:
opts to restrict which MIDI ports and channels are used.
Program number can be passed as a note such as :e3
and decimal values will be rounded down or up to the nearest whole number - so values between 3.5 and 4 will be rounded up to 4 and values between 3.49999… and 3 will be rounded down to 3.
MIDI 1.0 Specification - Channel Voice Messages - Program change
Introduced in v3.0.2
# Example 1 | |
|
|
# Example 2 | |
|
|
# Example 3 | |
|
|
# Example 4 | |
|
|
# Example 5 | |
|
|