docs » plugins.core.midi.manager
MIDI Manager Plugin.
- Variables - Configurable values
- defaultGroup
- maxItems
- Functions - API calls offered directly by the extension
- activeGroup
- clear
- devices
- getIcon
- groupStatus
- init
- midiCallback
- setItem
- start
- update
- updateAction
- virtualDevices
- Fields - Variables which can only be accessed from an object returned by a constructor
- buttons
- enabled
| Signature | plugins.core.midi.manager.defaultGroup -> string |
|---|---|
| Type | Variable |
| Description | The default group. |
| Signature | plugins.core.midi.manager.maxItems -> number |
|---|---|
| Type | Variable |
| Description | The maximum number of Touch Bar items per group. |
| Signature | plugins.core.midi.manager.activeGroup() -> none |
|---|---|
| Type | Function |
| Description | Returns the active group. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.midi.manager.clear() -> none |
|---|---|
| Type | Function |
| Description | Clears the Touch Bar items. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.midi.manager.devices() -> table |
|---|---|
| Type | Function |
| Description | Gets a table of Physical MIDI Device Names. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.midi.manager.getIcon(button, group) -> string |
|---|---|
| Type | Function |
| Description | Returns a specific Touch Bar Icon. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.midi.manager.groupStatus(groupID, status) -> none |
|---|---|
| Type | Function |
| Description | Updates a group's visibility status. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.midi.manager.init(deps, env) -> none |
|---|---|
| Type | Function |
| Description | Initialises the MIDI Plugin |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.midi.manager.midiCallback(object, deviceName, commandType, description, metadata) -> none |
|---|---|
| Type | Function |
| Description | MIDI Callback |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.midi.manager.setItem(item, button, group, value) -> none |
|---|---|
| Type | Function |
| Description | Stores a MIDI value in Preferences. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.midi.manager.start() -> boolean |
|---|---|
| Type | Function |
| Description | Stops the MIDI Plugin |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.midi.manager.update() -> none |
|---|---|
| Type | Function |
| Description | Updates the MIDI Watchers. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.midi.manager.updateAction(button, group, action) -> none |
|---|---|
| Type | Function |
| Description | Updates a Touch Bar action. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.midi.manager.virtualDevices() -> table |
|---|---|
| Type | Function |
| Description | Gets a table of Virtual MIDI Source Names. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.midi.manager.buttons <cp.prop: table> |
|---|---|
| Type | Field |
| Description | Contains all the saved Touch Bar Buttons |
| Signature | plugins.core.midi.manager.enabled <cp.prop: boolean> |
|---|---|
| Type | Field |
| Description | Enable or disable MIDI Support. |