HISE Docs

ScriptModulationMatrix



Class methods

addModulatorTarget

Adds a global modulator at the given mod chain for sample accurate modulation. Edit on GitHub

ScriptModulationMatrix.addModulatorTarget(var targetData)



addParameterTarget

Adds a (low resolution) parameter modulation slot. Edit on GitHub

ScriptModulationMatrix.addParameterTarget(var targetData)



canConnect

Checks whether the modulation connection can be made. Edit on GitHub

ScriptModulationMatrix.canConnect(String source, String target)



clearAllConnections

Removes all connections. Edit on GitHub

ScriptModulationMatrix.clearAllConnections()



connect

Adds (or removes) a connection from the source to the target. Edit on GitHub

ScriptModulationMatrix.connect(String sourceId, String targetId, bool addConnection)



fromBase64

Loads the state from a previously exported Base64 string. Edit on GitHub

ScriptModulationMatrix.fromBase64(String b64)



getComponentId

Get the component ID for the given modulation target ID. Edit on GitHub

ScriptModulationMatrix.getComponentId(String targetId)



getConnectionData

Get the connection data for the given component. Edit on GitHub

ScriptModulationMatrix.getConnectionData(String componentId)



getIntensitySliderData

Creates a range object that can be passed into setTableRowData to update the slider range. Edit on GitHub

ScriptModulationMatrix.getIntensitySliderData(String sourceId, String targetId)



getModValue

Get the current modulation value for the connected component. Edit on GitHub

ScriptModulationMatrix.getModValue(var component)



getSourceList

Return a list of all sources. Edit on GitHub

ScriptModulationMatrix.getSourceList()



getTargetId

Get the target ID for the given component. Edit on GitHub

ScriptModulationMatrix.getTargetId(String componentId)



getTargetList

Return a list of all targets. Edit on GitHub

ScriptModulationMatrix.getTargetList()



getValueModeData

Creates a JSON object that can be passed into the setTableRowData to update the combobox. Edit on GitHub

ScriptModulationMatrix.getValueModeData(String sourceId, String targetId)



setConnectionCallback

Set a callback that will be executed whenever the matrix state changes. Edit on GitHub

ScriptModulationMatrix.setConnectionCallback(var updateFunction)



setEditCallback

Set a callback that will be executed when the user clicks on "Edit connections". Edit on GitHub

ScriptModulationMatrix.setEditCallback(var editFunction)



setNumModulationSlots

Sets the amount of modulation targets created for each [voice start, time-variant, envelope] modulation type. Edit on GitHub

ScriptModulationMatrix.setNumModulationSlots(var numSlotArray)



setUseUndoManager

Enables the undo manager for all modulation edit actions. Edit on GitHub

ScriptModulationMatrix.setUseUndoManager(bool shouldUseUndoManager)



toBase64

Creates a Base64 string of all connections. Edit on GitHub

ScriptModulationMatrix.toBase64()



updateConnectionData

Update the connections in the list. Edit on GitHub

ScriptModulationMatrix.updateConnectionData(var connectionList)



updateIntensity

Update the intensity for the given connection. Edit on GitHub

ScriptModulationMatrix.updateIntensity(String source, String target, float intensityValue)



updateValueMode

Update the value mode from the combobox item ID. Edit on GitHub

ScriptModulationMatrix.updateValueMode(String source, String target, String valueMode)