linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / Ringz.schelp
blob88ff69db7e1f3fc0faef46d55359419380c6147c
1 class:: Ringz
2 summary:: Ringing filter.
3 related:: Classes/Formlet, Classes/RHPF, Classes/RLPF, Classes/Resonz
4 categories::  UGens>Filters>Linear
7 Description::
9 This is the same as  link::Classes/Resonz:: , except that instead of a
10 resonance parameter, the bandwidth is specified in a 60dB ring decay
11 time. One Ringz is equivalent to one component of the
12 link::Classes/Klank::  UGen.
15 classmethods::
17 method::ar, kr
19 argument::in
21 The input signal.
24 argument::freq
26 Resonant frequency in Hertz.
29 argument::decaytime
31 The 60 dB decay time of the filter.
34 argument::mul
36 Output will be multiplied by this value.
39 argument::add
41 This value will be added to the output.
44 Examples::
46 code::
47 { Ringz.ar(Dust.ar(3, 0.3), 2000, 2) }.play
49 { Ringz.ar(WhiteNoise.ar(0.005), 2000, 0.5) }.play
51 // modulate frequency
52 { Ringz.ar(WhiteNoise.ar(0.005), XLine.kr(100,3000,10), 0.5) }.play
54 { Ringz.ar(Impulse.ar(6, 0, 0.3), XLine.kr(100,3000,10), 0.5) }.play
56 // modulate ring time
57 { Ringz.ar(Impulse.ar(6, 0, 0.3), 2000, XLine.kr(4, 0.04, 8)) }.play
59 // modulate ring time opposite direction
60 { Ringz.ar(Impulse.ar(6, 0, 0.3), 2000, XLine.kr(0.04, 4, 8)) }.play
64     var exciter;
65     exciter = WhiteNoise.ar(0.001);
66     Mix.arFill(10, {
67         Ringz.ar(exciter,
68         XLine.kr(exprand(100.0,5000.0), exprand(100.0,5000.0), 20),
69         0.5)
70     })
71 }.play