ISKernel:midi (Object Type)

From Lavish Software Wiki
Revision as of 21:04, 27 September 2019 by Lax (talk | contribs)
Jump to navigation Jump to search

Description

Object Type Vitals
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)
  • 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)

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 Input devices, with controls mapped through LavishGUI 2. The port names will be generated as MIDI 1, MIDI 2, etc
  • CloseAllDevicesIn: Closes all open MIDI Input devices

See Also