OpenMusic Reference
pgmout

pgmout
(midi module) -- sends a MIDI program (patch) change message
Syntax
pgmout prog chans &optional port
Inputs
| name | data type(s) | comments |
|---|---|---|
| values | an integer | defaults to 2 |
| chans | an integer or list thereof | defaults to 1 |
| port | an integer or list thereof | The MIDI port to send on |
Output
| output | data type(s) | comments |
|---|---|---|
| first | nil | This output will always return nil; the program change message is sent out anyway. |
Description
pgmout sends a program change of value prog on the channel (or channels, if chans is a list) specified. The optional input port allows you to specify which MIDI port the message(s) will go out on.
![]() |
OM and MIDI |
|---|---|
OM can be configured to communicate with any MIDI device. See the chapter on configuring Midishare for more information.
| Prev | Home | Next |
|---|---|---|
| permutations | Up | pitchbend |
