EQ(input, freq=1000, q=1, boost=-3.00, type=0, mul=1, add=0)
Equalizer filter.
EQ is a biquadratic digital filter designed for equalization. It provides peak/notch and lowshelf/highshelf filters for building parametric equalizers.
Parent class : PyoObject
Parameters:
input : PyoObject Input signal to filter. freq : float or PyoObject, optional Cutoff or center frequency of the filter. Defaults to 1000. q : float or PyoObject, optional Q of the filter, defined as freq/bandwidth. Should be between 1 and 500. Defaults to 1. boost : float or PyoObject, optional Gain, expressed in dB, to add or remove at the center frequency. Default to -3. type : int, optional Filter type. Three possible values : 0 = peak/notch (default) 1 = lowshelf 2 = highshelf
Methods:
setInput(x, fadetime) : Replace the `input` attribute. setFreq(x) : Replace the `freq` attribute. setQ(x) : Replace the `q` attribute. setBoost(x) : Replace the `boost` attribute. setType(x) : Replace the `type` attribute.
Attributes:
input : PyoObject. Input signal to filter. freq : float or PyoObject. Cutoff or center frequency of the filter. q : float or PyoObject. Q of the filter. boost : float or PyoObject. Boost of the filter at center frequency. type : int. Filter type.
Examples:
>>> s = Server().boot() >>> s.start() >>> amp = Fader(1, 1, mul=.3).play() >>> src = Noise(amp) >>> fr = Sine(.2, 0, 500, 1500) >>> boo = Sine(4, 0, 6) >>> out = EQ(src, freq=fr, q=1, boost=boo, type=0).out()
Methods details:
EQ.setInput(x, fadetime=0.05): Replace the `input` attribute. Parameters: x : PyoObject New signal to process. fadetime : float, optional Crossfade time between old and new input. Defaults to 0.05. EQ.setFreq(x): Replace the `freq` attribute. Parameters: x : float or PyoObject New `freq` attribute. EQ.setQ(x): Replace the `q` attribute. Should be between 1 and 500. Parameters: x : float or PyoObject New `q` attribute. EQ.setBoost(x): Replace the `boost` attribute, expressed in dB. Parameters: x : float or PyoObject New `boost` attribute. EQ.setType(x): Replace the `type` attribute. Parameters: x : int New `type` attribute. 0 = peak, 1 = lowshelf, 2 = highshelf