Function to obtain the ModulationMatrixRow object of the specified modulation matrix row. The modulation matrix row is determined by the Zone object of the zone and the index of the modulation matrix row.
Available in: Controller, Processor.
The index of the modulation matrix row in the range from 1 to 32.
-- get the element object of the first zone in the program
zone = this.program:findZones(true)
-- get the element object of the first modulation matrix row
modRow = zone:getModulationMatrixRow(1)
-- print the row number of the specified modulation matrix row
Function to assign the output of a zone or bus to the specified output bus. The sending zone or bus is determined by its Element object. The receiving output bus is specified by its Bus object. Setting the output bus to nil enables the default signal routing for the zone or bus.
Output busses that are higher up in the hierarchy of the Program Tree can be assigned freely. If the sending bus and the receiving output bus have the same parent layer, the output bus must come later in the signal flow.
Available in: Controller.
The Bus object of the bus that you want to assign, or nil.
-- assign the output of the zone to the Master output bus of the plug-in
zone = this.parent:getZone()
masterbus = this.program.instance:getBus(1)
print("Output of "..zone.name.." is assigned to "..masterbus.name..".")