Difference between revisions of "Luamidi:getMessage"
From GiderosMobile
Line 8: | Line 8: | ||
s, n, v, d = luamidi.getMessage(i) | s, n, v, d = luamidi.getMessage(i) | ||
</source> | </source> | ||
− | Gets message from IN port i in the following format: status, note, velocity, delta time. For explanation see [https://www.recordingblogs.com/wiki/midi-event midi messages]. | + | Gets message from IN port i in the following format: s, n, v, d (status, note, velocity, delta time). For explanation see [https://www.recordingblogs.com/wiki/midi-event midi messages]. |
{{LuaMidi}} | {{LuaMidi}} |
Revision as of 12:25, 27 June 2022
Available since: Gideros 2018.12
Class: Lua Midi
Description
Gets the next incoming message from the queue from to chosen IN port.
s, n, v, d = luamidi.getMessage(i)
Gets message from IN port i in the following format: s, n, v, d (status, note, velocity, delta time). For explanation see midi messages.