1class:: GlitchHPF
2summary:: backward compatibility
3related:: Classes/HPF
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::mul
23Output will be multiplied by this value.
24
25argument::add
26This value will be added to the output.
27
28
29Examples::
30
31code::
32//code that utilizes the glitch.
33//warning!  extremely loud.
34//note: might not sound the same on all soundcards
35(
36{GlitchHPF.ar(
37	BrownNoise.ar(1.dup),
38	0.5,
39	Saw.kr(1, 10)
40)}.play;
41)
42::
43