Input MIDI messages
Syntax
MidiInput options
Options
- -driver
- The name of a MIDI device to use for input. MIDI input device names are of the form /midiIn/n
- Type: String
- -channel
- Filter incoming messages by channel
- Type: Integer
- -status
- Filter incoming messages by status (message type)
- Type: String
- -parameter
- Filter incoming messages by parameter value (e.g., specific note or control number)
- Type: Integer
Outlets
- channelOut
- Channel of incoming MIDI message (0-15)
- Type: Integer
- statusOut
- Status (message type), a number between 8 and 14
- Type: Integer
- firstOut
- First value byte of MIDI message (0-127)
- Type: Integer
- secondOut
- Second byte of MIDI message (0-127)
- Type: Integer
Comments
You can double click the MidiInput transform to see a list of available MIDI input devices, and select a device and optional channel, status and parameter filter values.
The valid strings for the -status option are:
noteoff: Note-off messages
noteon: Note-on messages
polyaftertouch, poly: Polyphonic aftertouch
control: Control change
program: Program change
aftertouch: Channel aftertouch (standard aftertouch)
pitchbend: Pitch bend
all: All messages (default)
Known Issues
MIDI Input is currently available on Windows and Linux platforms.
See Also
MidiOutput
MidiPack
MidiPackBytes
Notes and MIDI