A newer version of Max is available. Click here to access the latest version of the Max documentation

pgmin Reference

MIDI program change input

pgmin

Examples

Inlets

input [number]

The pgmin object receives its input from a MIDI program message received from a MIDI input device.

Outlets

value [number]

The output is the incoming program number (within the range 0 - 127) on the specified MIDI channel.

channel [number]

The output is the incoming MIDI channel (within the range 1 - 16) for the accompanying MIDI program change message.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

input [number]

The pgmin object receives its input from a MIDI program message received from a MIDI input device.

See Also

Name Description
midiin Output raw MIDI data
pgmin Receive MIDI program changes
pgmout generate MIDI program change messages
ctlin MIDI controller input
midiin MIDI input stream
touchin MIDI channel pressure input