HPF: table of contents
Filter:
Classes | UGens > Filters > Linear

HPF : LPF : Filter : PureUGen : UGen : AbstractFunction : Object

2nd order Butterworth highpass filter.
Source: Filter.sc

Description

A second order high pass filter.

Class Methods

HPF.ar(in: 0, freq: 440, mul: 1, add: 0)

From superclass: LPF

HPF.kr(in: 0, freq: 440, mul: 1, add: 0)

From superclass: LPF

Arguments:

in

The input signal.

freq

Cutoff frequency in Hertz. WARNING: due to the nature of its implementation frequency values close to 0 may cause glitches and/or extremely loud audio artifacts!

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

{ HPF.ar(Saw.ar(200, 0.1), FSinOsc.kr(XLine.kr(0.7, 300, 20), 0, 3600, 4000), 5) }.play;

(
{     var ctl = HPF.kr(LFSaw.kr(5), SinOsc.kr(XLine.kr(0.07, 30, 20), 0, 35, 40)) ;
    SinOsc.ar(ctl * 200 + 500);
}.play;
)

(
{     var ctl = HPF.kr(LFSaw.kr(5, 0.1), MouseX.kr(2, 200, 1));
    SinOsc.ar(ctl * 200 + 400) * 0.1;
}.play;
)