Debian Codegraph @

opcodes/wguide2.xml

raw symbols SCIP
1
2 <refentry id="wguide2">
3 <indexterm id="IndexWguide2"><primary>wguide2</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Waveguides</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>wguide2</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>wguide2</refname>
11 <refpurpose>
12 A model of beaten plate consisting of two parallel delay-lines and two first-order lowpass filters.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 A model of beaten plate consisting of two parallel delay-lines and two first-order lowpass filters.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>ares <command>wguide2</command> asig, xfreq1, xfreq2, kcutoff1, kcutoff2, \
26 kfeedback1, kfeedback2</synopsis>
27 </refsect1>
28
29 <refsect1>
30 <title>Performance</title>
31 <para>
32 <emphasis>asig</emphasis> -- the input of excitation noise
33 </para>
34
35 <para>
36 <emphasis>xfreq1, xfreq2</emphasis> -- the frequency (i.e. the inverse of delay time) Changed to x-rate in Csound version 3.59.
37 </para>
38
39 <para>
40 <emphasis>kcutoff1, kcutoff2</emphasis> -- the filter cutoff frequency in Hz.
41 </para>
42
43 <para>
44 <emphasis>kfeedback1, kfeedback2</emphasis> -- the feedback factor
45 </para>
46
47 <para>
48 <emphasis>wguide2</emphasis> is a model of beaten plate consisting of two parallel delay-lines and two first-order lowpass filters. The two feedback lines are mixed and sent to the delay again each cycle.
49 </para>
50
51 <para>
52 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.
53 </para>
54
55 <para>
56 <mediaobject>
57 <imageobject>
58 <imagedata fileref="images/wguide2.png" format="PNG"/>
59 </imageobject>
60
61 <textobject>
62 <phrase>wguide2.</phrase>
63 </textobject>
64
65 <caption>
66 <para>wguide2.</para>
67 </caption>
68 </mediaobject>
69 </para>
70 <note>
71 <para>
72 As a rule of thumb, to avoid making <emphasis>wguide2</emphasis> unstable, the sum of the two feedback values should be below 0.5.
73 </para>
74 </note>
75 </refsect1>
76
77 <refsect1>
78 <title>Examples</title>
79 <para>
80 Here is an example of the wguide2 opcode. It uses the file <ulink url="examples/wguide2.csd"><citetitle>wguide2.csd</citetitle></ulink>.
81 <example>
82 <title>Example of the wguide2 opcode.</title>
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/wguide2.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>