Difference between revisions of "ISKernel:midi (Object Type)"
Jump to navigation
Jump to search
(Created page with "== Description == {{ObjectType-Vitals|midi|Inner Space|none|midi|none|no|}} Accesses the ISKernel:MIDI system == Members == *ObjectType:uint '''NumAttachedDevic...") |
|||
Line 12: | Line 12: | ||
* '''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''']''': 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 | * '''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 == | == See Also == |
Revision as of 21:04, 27 September 2019
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)
- 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