Difference between revisions of "Luamidi:noteOn"

From GiderosMobile
Line 12: Line 12:
  
 
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.
 
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, ch).
+
This is essentially equivalent to luamidi.sendMessage(144, i, n, v or 127, ch).
  
 
{{LuaMidi}}
 
{{LuaMidi}}

Revision as of 12:28, 27 June 2022

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).