Luamidi:sendMessage

From GiderosMobile
Revision as of 15:28, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2018.12
Class: Lua Midi

Description

Sends a message to chosen OUT port. <syntaxhighlight lang="lua"> luamidi.sendMessage(i, s, n, v, ch) </source> Sends a message to OUT port i in the following format: s, n, v (status, note, velocity). You can optionally set ch (the channel). Note that channel is added to the status, so the above with some value ch set is essentially equivalent to luamidi.sendMessage(i, s+ch, n, v) For explanation see midi messages.