Lua Midi

From GiderosMobile

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 gets the Midi IN port name
luamidi:getMessage gets the next incoming message from the queue from to chosen IN port
luamidi:getOutPortName gets the Midi OUT port name
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 opens the Midi IN port
luamidi:openout opens the Midi OUT port
luamidi:sendMessage sends a message to the chosen OUT port
luamidi:setQueueSizeLimit sets the Midi queue size limit

Events

Constants