Transmit raw MIDI data
| Name | Type | Opt | Description |
|---|---|---|---|
| MIDI-port (a through z) | symbol | opt | Specifies the port for transmitting MIDI data. If there is no argument, midiout transmits out port (or the first output port listed in the MIDI Setup dialog.) |
| MIDI-port (MIDI name) | symbol | opt | The name of a MIDI output device may be used as the first argument to specify the port. |
| int | MIDI-message-byte [int] |
The number is transmitted as a byte of a MIDI message to the specified port. |
| float | MIDI-message-byte [float] |
Converted to . |
| list | MIDI-message-bytes [list] |
The numbers are transmitted sequentially as individual bytes of a MIDI message to the specified port. |
| anything | MIDI-port (a through z) [list] |
Performs the same function as . |
| (mouse) | Double-clicking on a midiout object shows a pop-up menu for choosing a MIDI port or device. | |
| port | MIDI-port (a through z) [symbol] |
The word , followed by a letter or the name of a MIDI output port or device, specifies the port used to transmit the MIDI messages. The word is optional and may be omitted. |

| Name | Description |
|---|---|
| midiformat | Prepare data in the form of a MIDI message |
| midiin | Output received raw MIDI data |
| midiinfo | Set a pop-up menu with names of MIDI devices |
| noteout | Transmit MIDI note messages |
| sxformat | Prepare MIDI system exclusive messages |
| xbendout | Format extra precision MIDI pitch bend messages |
| xnoteout | Format MIDI note messages with release velocity |
| Max MIDI Tutorial 1: Basic MIDI | Max MIDI Tutorial 1: Basic MIDI |