| 1 | |
| 2 | <refentry id="lowresx"> |
| 3 | <indexterm id="IndexLowresx"><primary>lowresx</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Modifiers:Standard Filters:Resonant</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>lowresx</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>lowresx</refname> |
| 13 | <refpurpose> |
| 14 | Simulates layers of serially connected resonant lowpass filters. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | <emphasis>lowresx</emphasis> is equivalent to more layers of <link linkend="lowres"><citetitle>lowres</citetitle></link> with the same arguments serially connected. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis>ares <command>lowresx</command> asig, xcutoff, xresonance [, inumlayer] [, iskip]</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Initialization</title> |
| 32 | <para> |
| 33 | <emphasis>inumlayer</emphasis> -- number of elements in a |
| 34 | <emphasis>lowresx</emphasis> stack. Default value is 4. There is |
| 35 | no maximum. |
| 36 | </para> |
| 37 | |
| 38 | <para> |
| 39 | <emphasis>iskip</emphasis> -- initial disposition of internal |
| 40 | data space. A zero value will clear the space; a non-zero value |
| 41 | will allow previous information to remain. The default value is |
| 42 | 0. |
| 43 | </para> |
| 44 | </refsect1> |
| 45 | |
| 46 | <refsect1> |
| 47 | <title>Performance</title> |
| 48 | <para> |
| 49 | <emphasis>asig</emphasis> -- input signal |
| 50 | </para> |
| 51 | |
| 52 | <para> |
| 53 | <emphasis>xcutoff</emphasis> -- filter cutoff frequency point |
| 54 | </para> |
| 55 | |
| 56 | <para> |
| 57 | <emphasis>xresonance</emphasis> -- resonance amount |
| 58 | </para> |
| 59 | |
| 60 | <para> |
| 61 | <emphasis>lowresx</emphasis> is equivalent to more layer of |
| 62 | <link linkend="lowres"><citetitle>lowres</citetitle></link> with |
| 63 | the same arguments serially connected. Using a stack of a larger |
| 64 | number of filters allows a sharper cutoff. This is faster than |
| 65 | using a larger number of instances of |
| 66 | <emphasis>lowres</emphasis> in a Csound orchestra because only |
| 67 | one initialization and k cycle are needed at time and the audio |
| 68 | loop falls entirely inside the cache memory of processor. Based |
| 69 | on an orchestra by &namehans; |
| 70 | </para> |
| 71 | </refsect1> |
| 72 | |
| 73 | <refsect1> |
| 74 | <title>Examples</title> |
| 75 | <para> |
| 76 | Here is an example of the lowresx opcode. It uses the file <ulink url="examples/lowresx.csd"><citetitle>lowresx.csd</citetitle></ulink>. |
| 77 | <example> |
| 78 | <title>Example of the lowresx opcode.</title> |
| 79 | <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> |
| 80 | <xi:include href="examples-xml/lowresx.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 81 | </example> |
| 82 | </para> |
| 83 | </refsect1> |
| 84 | |
| 85 | <refsect1> |
| 86 | <title>See also</title> |
| 87 | <para><link linkend="SigmodStandard"><citetitle>Standard Filters: Resonant Low-pass filters</citetitle></link></para> |
| 88 | </refsect1> |
| 89 | |
| 90 | <refsect1> |
| 91 | <title>Credits</title> |
| 92 | <para> |
| 93 | <simplelist> |
| 94 | <member>Author: &namegabriel; (adapted by &namejohn;)</member> |
| 95 | <member>Italy</member> |
| 96 | </simplelist> |
| 97 | </para> |
| 98 | |
| 99 | <para>New in Csound version 3.49</para> |
| 100 | <para>Audio rate parameters introduced in version 6.02</para> |
| 101 | <para>November 2013.</para> |
| 102 | </refsect1> |
| 103 | </refentry> |