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

noteout Reference

transmit MIDI note messages

noteout

Examples

Inlets

notenumber [number]

In left inlet: A number received in this inlet is the pitch value of a MIDI note message to be transmitted on the specified channel.

velocity [number]

In the second inlet: The number is stored as the velocity of a note message, to be used with pitch values received in the left inlet. Numbers are limited between 0 and 127. 0 is considered a note-off message, 1-127 are note-on messages.

releasevelocity [number]

In the third inlet: The number is stored as the release velocity value for the transmitted note-off message.

channel [number]

In the fourth inlet: The number is stored as the channel number on which to transmit the MIDI note messages.

port [number]

select port

Outlets

midiout [number]

This outlet can be used to connect the noteout object to a midiout object.

Dynamic Attributes

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

channel [number]

In the fourth inlet: The number is stored as the channel number on which to transmit the MIDI note messages.

notenumber [number]

In left inlet: A number received in this inlet is the pitch value of a MIDI note message to be transmitted on the specified channel.

port [number]

select port

releasevelocity [number]

In the third inlet: The number is stored as the release velocity value for the transmitted note-off message.

velocity [number]

In the second inlet: The number is stored as the velocity of a note message, to be used with pitch values received in the left inlet. Numbers are limited between 0 and 127. 0 is considered a note-off message, 1-127 are note-on messages.

See Also

Name Description
midiout Transmit raw MIDI data
noteout Transmit MIDI note messages
notein Receive MIDI note messages
midiout MIDI output stream
ctlout Transmit MIDI controller messages