Lua Midi

From GiderosMobile
Revision as of 07:57, 24 March 2022 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ <!-- GIDEROSOBJ:luamidi--> '''Supported platforms:''' File:Platform mac.pngFile:Platform pc.png<br/> '''Available since:''' Gideros 2018.12<br/> === Descrip...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:getinportcount gets the number of Midi IN ports
luamidi:getoutportcount gets the number of Midi OUT ports
luamidi:enumerateoutports xxx
luamidi:enumerateinports xxx

luamidi:getInPortName xxx
luamidi:getOutPortName xxx
luamidi:openout xxx
luamidi:openin xxx
luamidi:noteOn xxx
luamidi:noteOff xxx
luamidi:sendMessage xxx
luamidi:getMessage xxx
luamidi:base0 xxx
luamidi:base1 xxx
luamidi:setQueueSizeLimit xxx

Events

Constants