Difference between revisions of "Lua Midi"
From GiderosMobile
Line 19: | Line 19: | ||
[[luamidi:enumerateinports]] ''xxx''<br/><!--GIDEROSMTD:luamidi:enumerateinports() xxx--> | [[luamidi:enumerateinports]] ''xxx''<br/><!--GIDEROSMTD:luamidi:enumerateinports() xxx--> | ||
[[luamidi:enumerateoutports]] ''xxx''<br/><!--GIDEROSMTD:luamidi:enumerateoutports() xxx--> | [[luamidi:enumerateoutports]] ''xxx''<br/><!--GIDEROSMTD:luamidi:enumerateoutports() xxx--> | ||
− | [[luamidi:getInPortName]] '' | + | [[luamidi:getInPortName]] ''gets the Midi IN port name''<br/><!--GIDEROSMTD:luamidi:getInPortName() gets the Midi IN port name--> |
[[luamidi:getMessage]] ''xxx''<br/><!--GIDEROSMTD:luamidi:getMessage() xxx--> | [[luamidi:getMessage]] ''xxx''<br/><!--GIDEROSMTD:luamidi:getMessage() xxx--> | ||
− | [[luamidi:getOutPortName]] '' | + | [[luamidi:getOutPortName]] ''gets the Midi OUT port name''<br/><!--GIDEROSMTD:luamidi:getOutPortName() gets the Midi OUT port name--> |
[[luamidi:getinportcount]] ''gets the number of Midi IN ports''<br/><!--GIDEROSMTD:luamidi:getinportcount() gets the number of Midi IN ports--> | [[luamidi:getinportcount]] ''gets the number of Midi IN ports''<br/><!--GIDEROSMTD:luamidi:getinportcount() gets the number of Midi IN ports--> | ||
[[luamidi:getoutportcount]] ''gets the number of Midi OUT ports''<br/><!--GIDEROSMTD:luamidi:getoutportcount() gets the number of Midi OUT ports--> | [[luamidi:getoutportcount]] ''gets the number of Midi OUT ports''<br/><!--GIDEROSMTD:luamidi:getoutportcount() gets the number of Midi OUT ports--> | ||
[[luamidi:noteOff]] ''xxx''<br/><!--GIDEROSMTD:luamidi:noteOff() xxx--> | [[luamidi:noteOff]] ''xxx''<br/><!--GIDEROSMTD:luamidi:noteOff() xxx--> | ||
[[luamidi:noteOn]] ''xxx''<br/><!--GIDEROSMTD:luamidi:noteOn() xxx--> | [[luamidi:noteOn]] ''xxx''<br/><!--GIDEROSMTD:luamidi:noteOn() xxx--> | ||
− | [[luamidi:openin]] '' | + | [[luamidi:openin]] ''opens the Midi IN port''<br/><!--GIDEROSMTD:luamidi:openin() opens the Midi IN port--> |
− | [[luamidi:openout]] '' | + | [[luamidi:openout]] ''opens the Midi OUT port''<br/><!--GIDEROSMTD:luamidi:openout() opens the Midi OUT port--> |
[[luamidi:sendMessage]] ''xxx''<br/><!--GIDEROSMTD:luamidi:sendMessage() xxx--> | [[luamidi:sendMessage]] ''xxx''<br/><!--GIDEROSMTD:luamidi:sendMessage() xxx--> | ||
− | [[luamidi:setQueueSizeLimit]] '' | + | [[luamidi:setQueueSizeLimit]] ''sets the Midi queue size limit''<br/><!--GIDEROSMTD:luamidi:setQueueSizeLimit() sets the Midi queue size limit--> |
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| |
Revision as of 08:28, 24 March 2022
Supported platforms:
Available since: Gideros 2018.12
Description
Provides a simple interface for MIDI I/O.
To add Midi support to your application you call:
require "luamidi"
Methodsluamidi:base0 xxx |
EventsConstants |