Merge pull request #506 from andrewcsmith/patch-2
[supercollider.git] / HelpSource / Classes / HPF.schelp
blobf4d55c184400e6d0218ba428c7bf54de2f17a74b
1 class:: HPF
2 summary:: 2nd order Butterworth highpass filter.
3 related:: Classes/BPF, Classes/BRF, Classes/LPF
4 categories::  UGens>Filters>Linear
7 Description::
8 A second order high pass filter.
11 classmethods::
13 method::ar, kr
15 argument::in
17 The input signal.
20 argument::freq
22 Cutoff frequency in Hertz.
25 argument::mul
27 Output will be multiplied by this value.
30 argument::add
32 This value will be added to the output.
35 Examples::
37 code::
38 { HPF.ar(Saw.ar(200,0.1), FSinOsc.kr(XLine.kr(0.7,300,20),0,3600,4000), 5) }.play;
41 {       var ctl = HPF.kr(LFSaw.kr(5), SinOsc.kr(XLine.kr(0.07,30,20), 0, 35, 40)) ;
42         SinOsc.ar(ctl * 200 + 500);
43 }.play;
47 {       var ctl = HPF.kr(LFSaw.kr(5,0.1), MouseX.kr(2, 200, 1));
48         SinOsc.ar(ctl * 200 + 400) * 0.1;
49 }.play;