38 lines
493 B
Text
38 lines
493 B
Text
|
class:: BRZ2
|
||
|
summary:: Two zero fixed midcut.
|
||
|
related:: Classes/BPZ2, Classes/HPZ2, Classes/LPZ2
|
||
|
categories:: UGens>Filters>Linear
|
||
|
|
||
|
|
||
|
Description::
|
||
|
|
||
|
A special case fixed filter. Implements the formula:
|
||
|
|
||
|
code::
|
||
|
out(i) = 0.5 * (in(i) + in(i - 2)).
|
||
|
::
|
||
|
|
||
|
|
||
|
This filter cuts out frequencies around ½ of the Nyquist frequency.
|
||
|
|
||
|
|
||
|
classmethods::
|
||
|
|
||
|
method::ar, kr
|
||
|
|
||
|
argument::in
|
||
|
|
||
|
The input signal.
|
||
|
|
||
|
|
||
|
Examples::
|
||
|
|
||
|
code::
|
||
|
//Compare:
|
||
|
|
||
|
{ WhiteNoise.ar(0.25) }.play;
|
||
|
|
||
|
{ BRZ2.ar(WhiteNoise.ar(0.25)) }.play;
|
||
|
::
|
||
|
|