ISKernel:midi (Object Type)
Jump to navigation
Jump to search
Contents
Description
midi | |
Defined By | Inner Space |
Inherits | none |
Reduces To | midi |
Variable Object Type | none |
Uses Sub-Types | no |
C/C++ Type |
Accesses the MIDI system
Members
- uint NumAttachedDevices: Number of MIDI devices currently attached
- jsonobject AttachedDevice[#]: A JSON object describing the #th attached MIDI device (1-based)
- jsonarray AttachedDevices: A JSON array describing all attached MIDI devices
- midiindevice InDevice[#]: A MIDI In Device by its ID number (NOT the same number as Attached devices)
- midiindevice InDevice[portName]: A MIDI In Device by its port name (a value provided to the OpenDeviceIn method)
- jsonarray InDevices: A JSON array describing all open MIDI In devices
Methods
- OpenDeviceIn[#,portName]: Opens the #th attached MIDI device (1-based), with controls mapped through LavishGUI 2. The specified portName is assigned to the device and can be used with the InDevice member
- OpenDeviceIn[#,portName,object,method]: Opens the #th attached MIDI device (1-based), with controls mapped through a LavishScript object method. The specified portName is assigned to the device and can be used with the InDevice member
- OpenAllDevicesIn: Opens all MIDI In devices, with controls mapped through LavishGUI 2. The port names will be generated as MIDI 1, MIDI 2, etc
- CloseAllDevicesIn: Closes all open MIDI In devices