Difference between revisions of "Luamidi:getMessage"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Gets the next incoming message from the queue from to chosen IN port. | Gets the next incoming message from the queue from to chosen IN port. | ||
− | < | + | <syntaxhighlight lang="lua"> |
s, n, v, d = luamidi.getMessage(i) | s, n, v, d = luamidi.getMessage(i) | ||
− | </ | + | </syntaxhighlight> |
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]. | 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}} |
Latest revision as of 14:31, 13 July 2023
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.