class:: GlitchHPF
summary:: backward compatibility
related:: Classes/HPF
categories:: UGens>Filters>Linear, UGens>Filters>GlitchUGens


Description::

after 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.


classmethods::

method::ar, kr

argument::in
The input signal.

argument::freq
Cutoff frequency in Hertz.

argument::mul
Output will be multiplied by this value.

argument::add
This value will be added to the output.


Examples::

code::
//code that utilizes the glitch.
//warning!  extremely loud.
//note: might not sound the same on all soundcards
(
{GlitchHPF.ar(
	BrownNoise.ar(1.dup),
	0.5,
	Saw.kr(1, 10)
)}.play;
)
::
