1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
5 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
7 <meta name=
"Generator" content=
"Cocoa HTML Writer">
8 <meta name=
"CocoaVersion" content=
"824.41">
9 <style type=
"text/css">
10 p
.p1
{margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Helvetica
}
11 p
.p2
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; min-height: 14.0px}
12 p
.p3
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
}
13 p
.p4
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; color: #9d1c12}
14 p
.p5
{margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Helvetica
}
15 span
.s1
{font: 18.0px Helvetica
}
16 span
.s2
{color: #0026b4}
17 span
.s3
{color: #002fe0}
18 span
.Apple-tab-span
{white-space:pre
}
22 <p class=
"p1"><span class=
"s1"><b>MoogFF
<span class=
"Apple-tab-span"> </span></b></span><b>Moog VCF implementation, designed by Federico Fontana
</b></p>
23 <p class=
"p2"><br></p>
24 <p class=
"p3"><b>MoogFF.ar(in, freq, gain, reset)
</b></p>
25 <p class=
"p2"><br></p>
26 <p class=
"p3">A digital implementation of the Moog VCF (filter).
</p>
27 <p class=
"p2"><br></p>
28 <p class=
"p3"><b><span class=
"Apple-tab-span"> </span>in
</b> - the input signal
</p>
29 <p class=
"p3"><span class=
"Apple-tab-span"> </span><b>freq
</b> - the cutoff frequency
</p>
30 <p class=
"p3"><span class=
"Apple-tab-span"> </span><b>gain
</b> - the filter resonance gain, between zero and
4</p>
31 <p class=
"p3"><span class=
"Apple-tab-span"> </span><b>reset
</b> - when greater than zero, this will reset the state of the digital filters at the beginning of a computational block.
</p>
32 <p class=
"p2"><br></p>
33 <p class=
"p3">The design of this filter is described in the conference paper Fontana, F. (
2007)
<b><i>Preserving the Digital Structure of the Moog VCF
</i></b>. In Proc. ICMC07, Copenhagen,
25-
31 August
2007</p>
34 <p class=
"p2"><br></p>
35 <p class=
"p2"><br></p>
36 <p class=
"p3"><b>Examples
</b></p>
37 <p class=
"p2"><br></p>
38 <p class=
"p3">s.boot;
</p>
39 <p class=
"p4">// Play it with the mouse...
</p>
40 <p class=
"p3">x = {
<span class=
"s2">MoogFF
</span>.ar(
<span class=
"s2">WhiteNoise
</span>.ar(
01.1),
<span class=
"s2">MouseY
</span>.kr(
100,
10000,
1),
<span class=
"s2">MouseX
</span>.kr(
0,
4)) }.play(s);
</p>
41 <p class=
"p3">x.free;
</p>
42 <p class=
"p2"><br></p>
43 <p class=
"p4">// Mmmm, throbby
</p>
44 <p class=
"p3">x = {
<span class=
"s2">MoogFF
</span>.ar(
<span class=
"s2">Pulse
</span>.ar([
40,
121],[
0.3,
0.7]),
<span class=
"s2">SinOsc
</span>.kr(
<span class=
"s2">LFNoise0
</span>.kr(
0.42).range(
0.001,
2.2)).range(
30,
4200),
0.83 *
4)}.play(s);
</p>
45 <p class=
"p3">x.free;
</p>
46 <p class=
"p2"><br></p>
47 <p class=
"p2"><br></p>
48 <p class=
"p5"><i>Original Java code created by F. Fontana - August
2007 -
</i><a href=
"mailto:federico.fontana@univr.it"><span class=
"s3"><i>federico.fontana@univr.it
</i></span></a></p>
49 <p class=
"p5"><i>Ported to C++ for SuperCollider by Dan Stowell
</i></p>