| 1 | |
| 2 | <refentry id="moogladder2"> |
| 3 | <indexterm id="IndexMoogladder2"><primary>moogladder2</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Modifiers:Standard Filters:Resonant</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>moogladder2</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>moogladder2</refname> |
| 11 | <refpurpose> |
| 12 | Moog ladder lowpass filter. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | Moogladder2 is an new digital implementation of the Moog ladder filter based on |
| 20 | the work of Antti Huovilainen, described in the paper "Non-Linear Digital |
| 21 | Implementation of the Moog Ladder Filter" (Proceedings of DaFX04, Univ of Napoli). |
| 22 | This implementation uses approximations to the tanh function and so is |
| 23 | faster but less accurate than <emphasis>moogladder</emphasis>. |
| 24 | </para> |
| 25 | </refsect1> |
| 26 | |
| 27 | <refsect1> |
| 28 | <title>Syntax</title> |
| 29 | <synopsis>asig <command>moogladder2</command> ain, kcf, kres[, istor]</synopsis> |
| 30 | <synopsis>asig <command>moogladder2</command> ain, acf, kres[, istor]</synopsis> |
| 31 | <synopsis>asig <command>moogladder2</command> ain, kcf, ares[, istor]</synopsis> |
| 32 | <synopsis>asig <command>moogladder2</command> ain, acf, ares[, 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>asig</emphasis> -- input signal. |
| 51 | </para> |
| 52 | <para> |
| 53 | <emphasis>kcf</emphasis>/<emphasis>acf</emphasis> -- filter cutoff frequency |
| 54 | </para> |
| 55 | |
| 56 | <para> |
| 57 | <emphasis>kres</emphasis>/<emphasis>ares</emphasis> -- |
| 58 | resonance, generally < 1, but not limited to it. Higher than |
| 59 | 1 resonance values might cause aliasing, analogue synths |
| 60 | generally allow resonances to be above 1. |
| 61 | </para> |
| 62 | </refsect1> |
| 63 | |
| 64 | <refsect1> |
| 65 | <title>Examples</title> |
| 66 | <para> |
| 67 | Here is an example of the moogladder2 opcode. It uses the file <ulink url="examples/moogladder2.csd"><citetitle>moogladder2.csd</citetitle></ulink>. |
| 68 | <example> |
| 69 | <title>Example of the moogladder2 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/moogladder2.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: &namevictor;</member> |
| 86 | <member>Author: &namejohn;</member> |
| 87 | <member>April 2016</member> |
| 88 | </simplelist> |
| 89 | </para> |
| 90 | <para>New in version 6.07</para> |
| 91 | </refsect1> |
| 92 | </refentry> |