| 1 | |
| 2 | <refentry id="vclpf"> |
| 3 | <indexterm id="IndexVclpf"><primary>vclpf</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Modifiers:Standard Filters:Resonant</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>vclpf</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>vclpf</refname> |
| 11 | <refpurpose> |
| 12 | Resonant 4pole linear lowpass filter |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | Vclpf is an digital implementation of a standard 4-pole linear |
| 20 | analogue filter, similar to the Moog, Arp, and SSM2040/2044 filters, |
| 21 | consisting of four identical 1-pole filters with a feedback |
| 22 | (resonance or regeneration) path. Unlike the moogladder opcode, |
| 23 | this filter does not have any non-linearities, but its |
| 24 | implementation preserves the analogue filter topology. |
| 25 | |
| 26 | The code is based on the work of Federico Fontana, described in |
| 27 | the paper "PRESERVING THE STRUCTURE OF THE MOOG VCF IN THE |
| 28 | DIGITAL DOMAIN" (Proceedings of ICMC 2007). |
| 29 | </para> |
| 30 | </refsect1> |
| 31 | |
| 32 | <refsect1> |
| 33 | <title>Syntax</title> |
| 34 | <synopsis>asig <command>vclpf</command> ain, xcf, xres[, istor]</synopsis> |
| 35 | </refsect1> |
| 36 | |
| 37 | <refsect1> |
| 38 | <title>Initialization</title> |
| 39 | <para> |
| 40 | <emphasis>istor</emphasis> --initial disposition of internal |
| 41 | data space. Since filtering incorporates a feedback loop of |
| 42 | previous output, the initial status of the storage space used is |
| 43 | significant. A zero value will clear the space; a non-zero |
| 44 | value will allow previous information to remain. The default |
| 45 | value is 0. |
| 46 | </para> |
| 47 | </refsect1> |
| 48 | |
| 49 | <refsect1> |
| 50 | <title>Performance</title> |
| 51 | <para> |
| 52 | <emphasis>asig</emphasis> -- input signal. |
| 53 | </para> |
| 54 | <para> |
| 55 | <emphasis>xcf</emphasis> -- filter |
| 56 | cutoff frequency (a- or k-rate) |
| 57 | </para> |
| 58 | |
| 59 | <para> |
| 60 | <emphasis>xres</emphasis> -- |
| 61 | resonance, between 0 and 1. Higher values will make the filter |
| 62 | self-oscillate (a- or k-rate). |
| 63 | </para> |
| 64 | </refsect1> |
| 65 | |
| 66 | <refsect1> |
| 67 | <title>Examples</title> |
| 68 | <para> |
| 69 | Here is an example of the vclpf opcode. It uses the file <ulink url="examples/vclpf.csd"><citetitle>vclpf.csd</citetitle></ulink>. |
| 70 | <example> |
| 71 | <title>Example of the vclpf opcode.</title> |
| 72 | <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> |
| 73 | <xi:include href="examples-xml/vclpf.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 74 | </example> |
| 75 | </para> |
| 76 | </refsect1> |
| 77 | |
| 78 | <refsect1> |
| 79 | <title>See also</title> |
| 80 | <para><link linkend="SigmodStandard"><citetitle>Standard Filters: Resonant Low-pass filters</citetitle></link></para> |
| 81 | </refsect1> |
| 82 | |
| 83 | <refsect1> |
| 84 | <title>Credits</title> |
| 85 | <para> |
| 86 | <simplelist> |
| 87 | <member>Author: &namevictor;</member> |
| 88 | <member>Feb 2021</member> |
| 89 | </simplelist> |
| 90 | </para> |
| 91 | </refsect1> |
| 92 | </refentry> |