Difference between revisions of "Luamidi:sendMessage"
From GiderosMobile
| Line 6: | Line 6: | ||
Sends a message to chosen OUT port.  | Sends a message to chosen OUT port.  | ||
<source lang="lua">  | <source lang="lua">  | ||
| − | luamidi.sendMessage(i, s, n, v)  | + | luamidi.sendMessage(i, s, n, v, ch)  | 
</source>  | </source>  | ||
| − | Sends a message to OUT port i in the following format: status, note, velocity. For explanation see   | + | Sends a message to OUT port i in the following format: s, n, v (status, note, velocity). You can optionally set the channel.  | 
| + | For explanation see [https://www.recordingblogs.com/wiki/midi-event midi messages].  | ||
{{LuaMidi}}  | {{LuaMidi}}  | ||
Revision as of 12:24, 27 June 2022
Available since: Gideros 2018.12
Class: Lua Midi
Description
Sends a message to chosen OUT port.
luamidi.sendMessage(i, s, n, v, ch)
Sends a message to OUT port i in the following format: s, n, v (status, note, velocity). You can optionally set the channel. For explanation see midi messages.