Difference between revisions of "Luamidi:getMessage"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2018.12<br/> '''Class:''' Lua Midi<br/> === Description === xxx. <source lang="lua"> luamidi:getMessage() </source> {{LuaMidi}}")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
=== Description ===
 
=== Description ===
xxx.
+
Gets the next incoming message from the queue from to chosen IN port.
<source lang="lua">
+
<syntaxhighlight lang="lua">
luamidi:getMessage()
+
s, n, v, d = luamidi.getMessage(i)
</source>
+
</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].
  
 
{{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.