MidiAutomationHandler
Get and set Midi automation data with the MidiAutomationHandler
.
Class methods
getAutomationDataObject
Returns an object that contains the MIDI automation data. Edit on GitHub
MidiAutomationHandler.getAutomationDataObject()
setAutomationDataFromObject
Sets the MIDI automation from the automation data object. Edit on GitHub
MidiAutomationHandler.setAutomationDataFromObject(var automationData)
setConsumeAutomatedControllers
Sets whether a automated MIDI CC message should be consumed by the automation handler (default is enabled). Edit on GitHub
MidiAutomationHandler.setConsumeAutomatedControllers(bool shouldBeConsumed)
setControllerNumberNames
Replaces the names in the popup. Edit on GitHub
MidiAutomationHandler.setControllerNumberNames(var ccName, var nameArray)
setControllerNumbersInPopup
Sets the numbers that are displayed in the MIDI automation popup. Edit on GitHub
MidiAutomationHandler.setControllerNumbersInPopup(var numberArray)
setExclusiveMode
Enables the "exclusive" mode for MIDI automation (only one active parameter for each controller). Edit on GitHub
MidiAutomationHandler.setExclusiveMode(bool shouldBeExclusive)
setUpdateCallback
Set a function (with one parameter containing the automation data as JSON) that will be executed whenever the MIDI automation changes. Edit on GitHub
MidiAutomationHandler.setUpdateCallback(var callback)