Difference between revisions of "Luamidi:noteOn"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2018.12<br/> '''Class:''' Lua Midi<br/> === Description === xxx. <source lang="lua"> luamidi:noteOn() </source> {{LuaMidi}}")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
=== Description ===
 
=== Description ===
xxx.
+
 
<source lang="lua">
+
Sends a Note On message to chosen OUT port.
luamidi:noteOn()
+
 
</source>
+
<syntaxhighlight lang="lua">
 +
luamidi.noteOn(i, n, v, ch)
 +
</syntaxhighlight>
 +
 
 +
Sends a note on message to OUT port i with note n. You can also set the velocity (v) and channel (ch), these are optional.
 +
This is essentially equivalent to luamidi.sendMessage(144, i, n, v or 127, ch).
  
 
{{LuaMidi}}
 
{{LuaMidi}}

Latest revision as of 14:30, 13 July 2023

Available since: Gideros 2018.12
Class: Lua Midi

Description

Sends a Note On message to chosen OUT port.

luamidi.noteOn(i, n, v, ch)

Sends a note on message to OUT port i with note n. You can also set the velocity (v) and channel (ch), these are optional. This is essentially equivalent to luamidi.sendMessage(144, i, n, v or 127, ch).