Add, remove, insert units. Mute, solo and change levels on the fader.
get the unit by slot number
i |
slot number |
an MxUnitApp
put an object (Instr, Ndef, Spline etc) in the slot, replacing anything that might be there
i |
slot number |
source |
the object to add |
an MxUnitApp whose .source is the object you added
remove unit at the index
i |
slot number |
this
insert object at the index, moving other units down. cables are connected by unit, not by the slot number, so nothing is disturbed
i |
slot number |
source |
obejct to add |
MxUnitApp whose .source is the object you added
gets an MxQuery of all units in the channel, not including any nil slots. Because some slots may be empty, the index numbers in the query set are not the same as the slot numbers.
add one or more objects to the end of the channel
... sources |
one or more objects |
an MxUnitApp or an array of them
Duplicate the item from one slot to another. Connections are not preserved (yet).
fromIndex |
integer |
toIndex |
integer |
MxUnitApp
the MxChannelFader is an audio unit with level, mute, solo and circuit breaker protection (bad values and sudden peaks). This returns that unit. You can connect to it: unit.out >> channel.fader
MxChannelFader
Mute the channel fader
this
is muted ?
boolean
Unmute the fader.
this
Toggle mute
this
Solo fader
this
Unsolo fader
this
is soloed ?
boolean
get or set level by dB
db |
dB |
dB
This objects current channelNumber. Note that you can freely rearrange channels so this does change.
integer