36 lines
476 B
Text
36 lines
476 B
Text
|
class:: BPZ2
|
||
|
summary:: Two zero fixed midpass.
|
||
|
related:: Classes/BRZ2, 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 0 Hz and the Nyquist frequency.
|
||
|
|
||
|
|
||
|
classmethods::
|
||
|
|
||
|
method::ar, kr
|
||
|
|
||
|
argument::in
|
||
|
|
||
|
The input signal.
|
||
|
|
||
|
Examples::
|
||
|
|
||
|
code::
|
||
|
//Compare:
|
||
|
|
||
|
{ WhiteNoise.ar(0.25) }.play;
|
||
|
|
||
|
{ BPZ2.ar(WhiteNoise.ar(0.25)) }.play;
|
||
|
::
|
||
|
|