52 lines
627 B
Racket
52 lines
627 B
Racket
#lang scribble/manual
|
|
@(require (for-label racket))
|
|
|
|
@title{BRZ2}
|
|
Two zero fixed midcut.@section{related}
|
|
Classes/BPZ2, Classes/HPZ2, Classes/LPZ2
|
|
@section{categories}
|
|
UGens>Filters>Linear
|
|
|
|
|
|
@section{description}
|
|
|
|
|
|
A special case fixed filter. Implements the formula:
|
|
|
|
|
|
@racketblock[
|
|
out(i) = 0.5 * (in(i) + in(i - 2)).
|
|
::
|
|
|
|
|
|
This filter cuts out frequencies around ½ of the Nyquist frequency.
|
|
|
|
|
|
]
|
|
@section{classmethods}
|
|
|
|
|
|
@section{method}
|
|
ar, kr
|
|
|
|
@section{argument}
|
|
in
|
|
|
|
The input signal.
|
|
|
|
|
|
@section{Examples}
|
|
|
|
|
|
|
|
@racketblock[
|
|
//Compare:
|
|
|
|
{ WhiteNoise.ar(0.25) }.play;
|
|
|
|
{ BRZ2.ar(WhiteNoise.ar(0.25)) }.play;
|
|
::
|
|
|
|
]
|
|
|
|
|