Difference between revisions of "Lua Midi"

From GiderosMobile
(Created page with "__NOTOC__ <!-- GIDEROSOBJ:luamidi--> '''Supported platforms:''' File:Platform mac.pngFile:Platform pc.png<br/> '''Available since:''' Gideros 2018.12<br/> === Descrip...")
 
Line 15: Line 15:
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== Methods ===
 
=== Methods ===
[[luamidi:getinportcount]] ''gets the number of Midi IN ports''<br/><!--GIDEROSMTD:luamidi:getinportcount() gets the number of Midi IN ports-->
+
[[luamidi:base0]] ''xxx''<br/><!--GIDEROSMTD:luamidi:base0() xxx-->
[[luamidi:getoutportcount]] ''gets the number of Midi OUT ports''<br/><!--GIDEROSMTD:luamidi:getoutportcount() gets the number of Midi OUT ports-->
+
[[luamidi:base1]] ''xxx''<br/><!--GIDEROSMTD:luamidi:base1() 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:enumerateinports]] ''xxx''<br/><!--GIDEROSMTD:luamidi:enumerateinports() xxx-->
 
 
 
[[luamidi:getInPortName]] ''xxx''<br/><!--GIDEROSMTD:luamidi:getInPortName() xxx-->
 
[[luamidi:getInPortName]] ''xxx''<br/><!--GIDEROSMTD:luamidi:getInPortName() xxx-->
 +
[[luamidi:getMessage]] ''xxx''<br/><!--GIDEROSMTD:luamidi:getMessage() xxx-->
 
[[luamidi:getOutPortName]] ''xxx''<br/><!--GIDEROSMTD:luamidi:getOutPortName() xxx-->
 
[[luamidi:getOutPortName]] ''xxx''<br/><!--GIDEROSMTD:luamidi:getOutPortName() xxx-->
 +
[[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:noteOff]] ''xxx''<br/><!--GIDEROSMTD:luamidi:noteOff() xxx-->
 +
[[luamidi:noteOn]] ''xxx''<br/><!--GIDEROSMTD:luamidi:noteOn() xxx-->
 +
[[luamidi:openin]] ''xxx''<br/><!--GIDEROSMTD:luamidi:openin() xxx-->
 
[[luamidi:openout]] ''xxx''<br/><!--GIDEROSMTD:luamidi:openout() xxx-->
 
[[luamidi:openout]] ''xxx''<br/><!--GIDEROSMTD:luamidi:openout() xxx-->
[[luamidi:openin]] ''xxx''<br/><!--GIDEROSMTD:luamidi:openin() xxx-->
 
[[luamidi:noteOn]] ''xxx''<br/><!--GIDEROSMTD:luamidi:noteOn() xxx-->
 
[[luamidi:noteOff]] ''xxx''<br/><!--GIDEROSMTD:luamidi:noteOff() xxx-->
 
 
[[luamidi:sendMessage]] ''xxx''<br/><!--GIDEROSMTD:luamidi:sendMessage() xxx-->
 
[[luamidi:sendMessage]] ''xxx''<br/><!--GIDEROSMTD:luamidi:sendMessage() xxx-->
[[luamidi:getMessage]] ''xxx''<br/><!--GIDEROSMTD:luamidi:getMessage() xxx-->
 
[[luamidi:base0]] ''xxx''<br/><!--GIDEROSMTD:luamidi:base0() xxx-->
 
[[luamidi:base1]] ''xxx''<br/><!--GIDEROSMTD:luamidi:base1() xxx-->
 
 
[[luamidi:setQueueSizeLimit]] ''xxx''<br/><!--GIDEROSMTD:luamidi:setQueueSizeLimit() xxx-->
 
[[luamidi:setQueueSizeLimit]] ''xxx''<br/><!--GIDEROSMTD:luamidi:setQueueSizeLimit() xxx-->
  

Revision as of 08:22, 24 March 2022

Supported platforms: Platform mac.pngPlatform pc.png
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"

Methods

luamidi:base0 xxx
luamidi:base1 xxx
luamidi:enumerateinports xxx
luamidi:enumerateoutports xxx
luamidi:getInPortName xxx
luamidi:getMessage xxx
luamidi:getOutPortName xxx
luamidi:getinportcount gets the number of Midi IN ports
luamidi:getoutportcount gets the number of Midi OUT ports
luamidi:noteOff xxx
luamidi:noteOn xxx
luamidi:openin xxx
luamidi:openout xxx
luamidi:sendMessage xxx
luamidi:setQueueSizeLimit xxx

Events

Constants