A MainFX can apply effects to the main output channels of a server. One can only make a single MainFX for each server. Each mainFX contains a ProxyChain which handles the named effects slots and their state.
Note that MainFX can be used with ProxyChainPreset, see ProxyChainPreset, in the bottom examples.
First examples:
dictionary for all mainFX, one per server.
the MainFX instance for the default server.
the maximum number of channels supported. (currently unused)
clear the mainFX at name
name |
server |
the server on which the MainFX chain will run; default is server.numOutputBusChannels |
numChannels |
the number of channels it will work on |
slotNames |
the names of the filters/functions to be used, in order of execution; |
busIndex |
the bus index where it will process audio. |
the key at which the mainFX is stored; usually this is the server name.
the ProxyChain that has the order of the effects that can be used
the NodeProxy inside the the proxyChain.
kick in effect
key |
name of effect |
wet |
wet-level of effect |
func |
an optional func that can locally replace the global func with that name. |
kick out effect
key |
name of effect |
set named parameters of the active slots
get the currently used slots of the proxyChain
get and set the slotNames of the proxyChain
the server on which this MainFX operates
the number of output channels of the MainFX
the index of the bus on which the MainFX operates
the group in which this mainFX proxy runs. this is after the default group.
flag whether the mainFX is checking the final output for bad values. see also CheckBadValues
set flag whether to check final output, and if needed start the synth
the synth that does the bad value checking.
Wake up the MainFX proxy. This happens automatically after CmdPeriod.
clear this MainFX; usually so one can remake it.
alias for the proxyChain (the proxyChain inst var was called pxChain earlier).
show or hide the MainFX proxy in Ndef.all for that server. the proxy is hidden by default.
make a MainFXGui for the MainFX.
name |
the name the gui will show |
numItems |
the number of buttons / sliders for parameters the gui will have |
buttonList |
an optional list of buttons. by default, this is the list of slotNames. |
parent |
the parent view or window on which to place the gui |
bounds |
the bounds of the gui |
makeSkip |
a flag whether to make and start a skipjack for the gui update mechanism. |