OFX_OutputFX:
Filter:
OutputFX/Classes (extension) | Control > Effects

OFX_OutputFX
ExtensionExtension

a configurable chain of effects on the main outputs of a server

Description

A OFX_OutputFX can apply effects to the main output channels of a server. One can only make a single OFX_OutputFX for each server. Each OFX_OutputFX contains a OFX_Chain which handles the named effects slots and their state.

First examples:

Class Methods

.all

dictionary for all mainFX, one per server.

.default

the OFX_OutputFX instance for the default server.

.maxNumChans

the maximum number of channels supported. (currently unused)

.clear

clear the mainFX at name

Arguments:

name

.new

Arguments:

server

the server on which the OFX_OutputFX 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.

Instance Methods

.key

the key at which the mainFX is stored; usually this is the server name.

.proxyChain

the OFX_Chain that has the order of the effects that can be used

.proxy

the NodeProxy inside the the proxyChain.

Methods that get forwarded to proxyChain/proxy:

.add

kick in effect

Arguments:

key

name of effect

wet

wet-level of effect

func

an optional func that can locally replace the global func with that name.

.remove

kick out effect

Arguments:

key

name of effect

.set

set named parameters of the active slots

.slotsInUse

get the currently used slots of the proxyChain

.slotNames

get and set the slotNames of the proxyChain

.server

the server on which this OFX_OutputFX operates

.numChannels

the number of output channels of the OFX_OutputFX

.busIndex

the index of the bus on which the OFX_OutputFX operates

.group

the group in which this mainFX proxy runs. this is after the default group.

.checkingBadValues

flag whether the mainFX is checking the final output for bad values. see also CheckBadValues

.checkBad

set flag whether to check final output, and if needed start the synth

.badSynth

the synth that does the bad value checking.

.wakeUp

Wake up the OFX_OutputFX proxy. This happens automatically after CmdPeriod.

.clear

clear this OFX_OutputFX; usually so one can remake it.

.pxChain

alias for the proxyChain (the proxyChain inst var was called pxChain earlier).

.show

.hide

show or hide the OFX_OutputFX proxy in Ndef.all for that server. the proxy is hidden by default.

.gui

Not implemented yet

Arguments:

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.

Examples