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

ctlout Reference

Transmit MIDI controller messages

ctlout

Examples

Arguments

controller [number]

Optional

In middle inlet: a number will set the controller number for ctlout.

channel [number]

Optional

In right inlet: a number will set the MIDI channel for ctlout.

Inlets

value [number]

In left inlet: a number will set the control value for a given controller number and MIDI channel.

controller [number]

In middle inlet: a number will set the controller number for ctlout.

channel [number]

In right inlet: a number will set the MIDI channel for ctlout.

port [number]

select port

Outlets

midiout [number]

connect to midiout

Dynamic Attributes

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

channel [number]

In right inlet: a number will set the MIDI channel for ctlout.

controller [number]

In middle inlet: a number will set the controller number for ctlout.

port [number]

select port

value [number]

In left inlet: a number will set the control value for a given controller number and MIDI channel.

See Also

Name Description
midiin Output raw MIDI data
ctlout Transmit MIDI controller messages
ctlin MIDI controller input
pgmin MIDI program change input
midiout MIDI output stream
touchout Generate MIDI aftertouch messages