| 1 | |
| 2 | <refentry id="mvclpf1"> |
| 3 | <indexterm id="IndexMvclpf1"><primary>mvclpf1</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Modifiers:Standard Filters:Resonant</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>mvclpf1</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>mvclpf1</refname> |
| 11 | <refpurpose> |
| 12 | Moog voltage-controlled lowpass filter emulation. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | Mvclpf1 is an digital implementation of the 4th-order (24 dB/oct) Moog ladder filter |
| 20 | originally written by Fons Andriaensen. According to the author, |
| 21 | mvclpf1 "is a fairly simple design, and it does not even pretend to come |
| 22 | close the 'real thing'. It uses a very crude approximation of the non-linear |
| 23 | resistor in the first filter section only. [...] [I]t is [a] cheap (in |
| 24 | terms of CPU usage) general purpose 24 dB/oct lowpass |
| 25 | filter that could be useful". |
| 26 | |
| 27 | </para> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Syntax</title> |
| 32 | <synopsis>asig <command>mvclpf1</command> ain, xcf, xres[,istor]</synopsis> |
| 33 | </refsect1> |
| 34 | |
| 35 | <refsect1> |
| 36 | <title>Initialization</title> |
| 37 | <para> |
| 38 | <emphasis>istor</emphasis> --initial disposition of internal |
| 39 | data space. Since filtering incorporates a feedback loop of |
| 40 | previous output, the initial status of the storage space used is |
| 41 | significant. A zero value will clear the space; a non-zero |
| 42 | value will allow previous information to remain. The default |
| 43 | value is 0. |
| 44 | </para> |
| 45 | </refsect1> |
| 46 | |
| 47 | <refsect1> |
| 48 | <title>Performance</title> |
| 49 | <para> |
| 50 | <emphasis>ain</emphasis> -- input signal. |
| 51 | </para> |
| 52 | <para> |
| 53 | <emphasis>xcf</emphasis> -- filter |
| 54 | cutoff frequency. The useful range is around six octaves below |
| 55 | and above middle C (pch 8.00). |
| 56 | </para> |
| 57 | |
| 58 | <para> |
| 59 | <emphasis>xres</emphasis> -- |
| 60 | resonance, limited to the interval [0,1]. |
| 61 | </para> |
| 62 | </refsect1> |
| 63 | |
| 64 | <refsect1> |
| 65 | <title>Examples</title> |
| 66 | <para> |
| 67 | Here is an example of the mvclpf1 opcode. It uses the file <ulink url="examples/mvclpf1.csd"><citetitle>mvclpf1.csd</citetitle></ulink>. |
| 68 | <example> |
| 69 | <title>Example of the mvclpf1 opcode.</title> |
| 70 | <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> |
| 71 | <xi:include href="examples-xml/mvclpf1.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 72 | </example> |
| 73 | </para> |
| 74 | </refsect1> |
| 75 | |
| 76 | <refsect1> |
| 77 | <title>See also</title> |
| 78 | <para><link linkend="SigmodStandard"><citetitle>Standard Filters: Resonant Low-pass filters</citetitle></link></para> |
| 79 | </refsect1> |
| 80 | |
| 81 | <refsect1> |
| 82 | <title>Credits</title> |
| 83 | <para> |
| 84 | <simplelist> |
| 85 | <member>Author: Fons Andriaensen, </member> |
| 86 | <member> ported to Csound by &namevictor;</member> |
| 87 | <member>January 2016</member> |
| 88 | </simplelist> |
| 89 | </para> |
| 90 | <para>New in version 6.07</para> |
| 91 | <para>January 2016.</para> |
| 92 | </refsect1> |
| 93 | </refentry> |