OpenMusic Reference
midi-o

midi-o
(midi module) -- sends midi data
Syntax
midi-o bytes &optional port
Inputs
| name | data type(s) | comments |
|---|---|---|
| bytes | a list of integers | |
| port | an integer or list thereof | The MIDI port to send on |
Output
| output | data type(s) | comments |
|---|---|---|
| first | nil | This output will always return nil; the data is sent out anyway. |
Description
midi-o is a general-purpose method of sending midi data. It sends the data in bytes out to whatever MIDI devices are connected. Sending (144 60 64) for example will send a Note On message of MIDI note 60 (middle C) on channel 1 with a key velocity of 64. Setting the key velocity to 0 - (144 60 0)turns the note off.
![]() |
OM and MIDI |
|---|---|
OM can be configured to communicate with any MIDI device. See the chapter on configuring Midishare for more information.
| Prev | Home | Next |
|---|---|---|
| mf-info | Up | mktree |
