Debian Codegraph @

opcodes/moogvcf.xml

raw symbols SCIP
1
2 <refentry id="moogvcf">
3 <indexterm id="IndexMoogvcf"><primary>moogvcf</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Standard Filters:Resonant</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>moogvcf</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>moogvcf</refname>
11 <refpurpose>
12 A digital emulation of the Moog diode ladder filter configuration.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 A digital emulation of the Moog diode ladder filter configuration.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>ares <command>moogvcf</command> asig, xfco, xres [,iscale, iskip]</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Initialization</title>
30 <para>
31 <emphasis>iscale</emphasis> (optional, default=1) -- internal
32 scaling factor. Use if <emphasis>asig</emphasis> is not in the
33 range +/-1. Input is first divided by <emphasis>iscale</emphasis>,
34 then output is mutliplied <emphasis>iscale</emphasis>. Default
35 value is 1. (New in Csound version 3.50)
36 </para>
37 <para>
38 <emphasis>iskip</emphasis> (optional, default=0) -- if non zero
39 skip the initialisation of the filter. (New in Csound version
40 4.23f13 and 5.0)
41 </para>
42 </refsect1>
43
44 <refsect1>
45 <title>Performance</title>
46 <para>
47 <emphasis>asig</emphasis> -- input signal
48 </para>
49
50 <para>
51 <emphasis>xfco</emphasis> -- filter cut-off frequency in Hz. As of version 3.50, may i-,k-, or a-rate.
52 </para>
53
54 <para>
55 <emphasis>xres</emphasis> -- amount of resonance. Self-oscillation occurs when <emphasis>xres</emphasis> is approximately one. As of version 3.50, may a-rate, i-rate, or k-rate.
56 </para>
57
58 <para>
59 <emphasis>moogvcf</emphasis> is a digital emulation of the Moog diode ladder filter configuration. This emulation is based loosely on the paper <quote>Analyzing the Moog VCF with Considerations for Digital Implementation</quote> by Stilson and Smith (CCRMA). This version was originally coded in Csound by Josep Comajuncosas. Some modifications and conversion to C were done by &namehans;.
60 </para>
61
62 <warning>
63 <para>Before version 6.02 this filter required that the input signal be normalized to one. This can be easily achieved using <link linkend="Zerodbfs"><citetitle>0dbfs</citetitle></link>, like this:
64 <literallayout>ares <command>moogvcf</command> asig, kfco, kres, 0dbfs</literallayout></para>
65 <para>You can also use <link linkend="moogvcf2"><citetitle>moogvcf2</citetitle></link> which defaults scaling to <link linkend="Zerodbfs"><citetitle>0dbfs</citetitle></link>. </para>
66 </warning>
67 </refsect1>
68
69 <refsect1>
70 <title>Examples</title>
71 <para>
72 Here is an example of the moogvcf opcode. It uses the file <ulink url="examples/moogvcf.csd"><citetitle>moogvcf.csd</citetitle></ulink>.
73 <example>
74 <title>Example of the moogvcf opcode.</title>
75 <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
76 <xi:include href="examples-xml/moogvcf.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
77 </example>
78 </para>
79 </refsect1>
80
81 <refsect1>
82 <title>See also</title>
83 <para><link linkend="SigmodStandard"><citetitle>Standard Filters: Resonant Low-pass filters</citetitle></link></para>
84 </refsect1>
85
86 <refsect1>
87 <title>Credits</title>
88 <para>
89 <simplelist>
90 <member>Author: &namehans;</member>
91 <member>October 1998</member>
92 </simplelist>
93 </para>
94 <para>New in Csound version 3.49</para>
95 </refsect1>
96 </refentry>