HISE Docs

MidiAutomationHandler


Class methods

getAutomationDataObject

Returns an object that contains the MIDI automation data.

MidiAutomationHandler.getAutomationDataObject()



setAutomationDataFromObject

Sets the MIDI automation from the automation data object.

MidiAutomationHandler.setAutomationDataFromObject(var automationData)



setConsumeAutomatedControllers

Sets whether a automated MIDI CC message should be consumed by the automation handler (default is enabled).

MidiAutomationHandler.setConsumeAutomatedControllers(bool shouldBeConsumed)



setControllerNumberNames

Replaces the names in the popup.

MidiAutomationHandler.setControllerNumberNames(var ccName, var nameArray)



setControllerNumbersInPopup

Sets the numbers that are displayed in the MIDI automation popup.

MidiAutomationHandler.setControllerNumbersInPopup(var numberArray)



setExclusiveMode

Enables the "exclusive" mode for MIDI automation (only one active parameter for each controller).

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.

MidiAutomationHandler.setUpdateCallback(var callback)