SuperCollider CLASSES (extension)

GlitchRHPF
ExtensionExtension

backward compatibility
Inherits from: Filter : PureUGen : UGen : AbstractFunction : Object

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.

Class Methods

*ar (in: 0, freq: 440, rq: 1, mul: 1, add: 0)

*kr (in: 0, freq: 440, rq: 1, mul: 1, add: 0)

Arguments:

in

The input signal.

freq

Cutoff frequency in Hertz.

rq

The reciprocal of Q (bandwidth / cutoffFreq).

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

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