| 1 | |
| 2 | <refentry id="wguide1"> |
| 3 | <indexterm id="IndexWguide1"><primary>wguide1</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Modifiers:Waveguides</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>wguide1</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>wguide1</refname> |
| 13 | <refpurpose> |
| 14 | A simple waveguide model consisting of one delay-line and one first-order lowpass filter. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | A simple waveguide model consisting of one delay-line and one first-order lowpass filter. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis>ares <command>wguide1</command> asig, xfreq, kcutoff, kfeedback</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Performance</title> |
| 32 | <para> |
| 33 | <emphasis>asig</emphasis> -- the input of excitation noise. |
| 34 | </para> |
| 35 | |
| 36 | <para> |
| 37 | <emphasis>xfreq</emphasis> -- the frequency (i.e. the inverse of delay time) Changed to x-rate in Csound version 3.59. |
| 38 | </para> |
| 39 | |
| 40 | <para> |
| 41 | <emphasis>kcutoff</emphasis> -- the filter cutoff frequency in Hz. |
| 42 | </para> |
| 43 | |
| 44 | <para> |
| 45 | <emphasis>kfeedback</emphasis> -- the feedback factor. |
| 46 | </para> |
| 47 | |
| 48 | <para> |
| 49 | <emphasis>wguide1</emphasis> is the most elemental waveguide model, consisting of one delay-line and one first-order lowpass filter. |
| 50 | </para> |
| 51 | |
| 52 | <para> |
| 53 | Implementing waveguide algorithms as opcodes, instead of orc instruments, allows the user to set <emphasis>kr</emphasis> different than <emphasis>sr</emphasis>, allowing better performance particulary when using real-time. |
| 54 | </para> |
| 55 | |
| 56 | <para> |
| 57 | <mediaobject> |
| 58 | <imageobject> |
| 59 | <imagedata fileref="images/wguide1.png" format="PNG"/> |
| 60 | </imageobject> |
| 61 | |
| 62 | <textobject> |
| 63 | <phrase>wguide1.</phrase> |
| 64 | </textobject> |
| 65 | |
| 66 | <caption> |
| 67 | <para>wguide1.</para> |
| 68 | </caption> |
| 69 | </mediaobject> |
| 70 | </para> |
| 71 | </refsect1> |
| 72 | |
| 73 | <refsect1> |
| 74 | <title>Examples</title> |
| 75 | <para> |
| 76 | Here is an example of the wguide1 opcode. It uses the file <ulink url="examples/wguide1.csd"><citetitle>wguide1.csd</citetitle></ulink>. |
| 77 | |
| 78 | <example> |
| 79 | <title>Example of the wguide1 opcode.</title> |
| 80 | |
| 81 | |
| 82 | |
| 83 | <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> |
| 84 | <xi:include href="examples-xml/wguide1.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 85 | </example> |
| 86 | </para> |
| 87 | </refsect1> |
| 88 | |
| 89 | <refsect1> |
| 90 | <title>See also</title> |
| 91 | <para><link linkend="SiggenWavguide"><citetitle>Waveguide Physical Modeling</citetitle></link></para> |
| 92 | <para><link linkend="SigmodWavguide"><citetitle>Waveguides</citetitle></link></para> |
| 93 | </refsect1> |
| 94 | |
| 95 | <refsect1> |
| 96 | <title>Credits</title> |
| 97 | <para> |
| 98 | <simplelist> |
| 99 | <member>Author: &namegabriel;</member> |
| 100 | <member>Italy</member> |
| 101 | <member>October 1998</member> |
| 102 | </simplelist> |
| 103 | </para> |
| 104 | |
| 105 | <para>New in Csound version 3.49</para> |
| 106 | </refsect1> |
| 107 | </refentry> |