2 summary:: FOF-like filter.
3 related:: Classes/RHPF, Classes/RLPF, Classes/Resonz, Classes/Ringz
4 categories:: UGens>Filters>Linear
9 This is a resonant filter whose impulse response is like that of a sine
10 wave with a link::Classes/Decay2:: envelope over it. It is possible to
11 control the attacktime and decaytime.
13 Formlet is equivalent to:
15 Ringz(in, freq, decaytime) - Ringz(in, freq, attacktime)
18 The great advantage to this filter over FOF is that there is no limit to
19 the number of overlapping grains since the grain is just the impulse
20 response of the filter.
31 Resonant frequency in Hertz.
34 60 dB attack time in seconds.
37 60 dB decay time in seconds.
44 Note that if attacktime == decaytime then the signal cancels out and if
45 attacktime > decaytime then the impulse response is inverted.
51 { Formlet.ar(Impulse.ar(20, 0.5), 1000, 0.01, 0.1) }.play;
53 { Formlet.ar(Blip.ar(XLine.kr(10,400,8), 1000, 0.1), 1000, 0.01, 0.1) }.play;
56 // modulating formant frequency
59 in = Blip.ar(SinOsc.kr(5,0,20,300), 1000, 0.1);
60 Formlet.ar(in, XLine.kr(1500,700,8), 0.005, 0.04);
65 // mouse control of frequency and decay time.
68 in = Blip.ar(SinOsc.kr(5,0,20,300), 1000, 0.1);
70 MouseY.kr(700,2000,1),
71 0.005, MouseX.kr(0.01,0.2,1));
76 // mouse control of frequency and decay time.
82 0.005, MouseX.kr(0.1,2,1)
84 SinOsc.ar(freq * 200 + [500, 600] - 100) * 0.2