EQui lets you quickly create a parametric EQ on the output of a given UGen. It takes a target, which must understand the set message as setting a NamedControl (so a Synth or and Ndef, or similar). The UGen: -equi method creates the necessary EQ UGens processing the receiver. The use of a prefix arg allows the creation of multiple EQuis within the same Synth. The EQ UGens are from the BEQSuite, and consist of a BLowShelf, three BPeakEQs, and a BHishelf. ht to Wouter Snoei whose MasterEQ formed the basis for this!
Create a new EQui.
parent |
An optional parent View. |
bounds | |
target |
A Synth or similar object (e.g. Ndef) that will receive changes in this EQui's parameters. Generally one or more UGens in this will have received the UGen-equi message with the same prefix used here. |
params |
An optional instance of EQuiParams containing initial parameter values. |
prefix |
An optional String to use as a prefix to Control names. This is only necessary to distinguish when using multiple EQuis with the same synth. |
sampleRate |
The sample rate at which target is running. If not specified, this will use Server.default.options.sampleRate. This is necessary to calculate responses correctly. |
A new EQui.
Get or set this EQui's target (see above).
intarget |
Sync this EQui with the current state of its target.
Set this EQui's parameters to new values without setting the target, or triggering the action.
inparams |
An instance of EQuiParams. |
Get or set this EQui's EQuiParams. The getter returns a copy.
inparams |
An instance of EQuiParams. |
Set one or more named parameters to new values, triggering the action. Possible parameters are 'loShelfFreq', 'loShelfGain', 'loShelfRs', 'loPeakFreq', 'loPeakGain', 'loPeakRq', 'midPeakFreq', 'midPeakGain', 'midPeakRq', 'hiPeakFreq', 'hiPeakGain', 'hiPeakRq', 'hiShelfFreq', 'hiShelfGain', and 'hiShelfRs'.
... pairs |
Pairs of parameter names and values. Names must be preceded by a prefix if one was supplied in *new. |