Create a MacroHandler
with:
const var MacroHandler = Engine.createMacroHandler()
Class methods
getMacroDataObject
Returns an object that contains the macro connection data. Edit on GitHub
MacroHandler.getMacroDataObject()
setExclusiveMode
Enables the "exclusive" mode for MIDI automation (only one active parameter for each controller). Edit on GitHub
MacroHandler.setExclusiveMode(bool shouldBeExclusive)
setMacroDataFromObject
Rebuilds the macro connections from the JSON object. Edit on GitHub
MacroHandler.setMacroDataFromObject(var jsonData)
setUpdateCallback
Set a callback to be notified when a macro connection changes. Edit on GitHub
MacroHandler.setUpdateCallback(var callback)