1class:: GlitchRHPF
2summary:: backward compatibility
3related:: Classes/RHPF
4categories:: UGens>Filters>Linear, UGens>Filters>GlitchUGens
5
6
7Description::
8
9after sc3.4 HPF and RHPF were changed to use double-precision floats (svn revision: 10300 - 8sep2010). GlitchHPF and GlitchRHPF can be used as drop-in replacements to get the old behavior back. Good for very noise and glitchy sounds.
10
11
12classmethods::
13
14method::ar, kr
15
16argument::in
17The input signal.
18
19argument::freq
20Cutoff frequency in Hertz.
21
22argument::rq
23The reciprocal of Q (bandwidth / cutoffFreq).
24
25argument::mul
26Output will be multiplied by this value.
27
28argument::add
29This value will be added to the output.
30
31
32Examples::
33
34code::
35//code that utilizes the glitch.
36//warning!  extremely loud.
37//note: might not sound the same on all soundcards
38(
39{GlitchRHPF.ar(
40	BrownNoise.ar(1.dup),
41	0.5,
42	Saw.kr(1, 10)
43)}.play;
44)
45::
46