rsc3/doc-schelp/HelpSource/Classes/BPZ2.schelp

36 lines
476 B
Text
Raw Normal View History

2022-08-24 13:53:18 +00:00
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;
::