Debian Codegraph @

opcodes/nestedap.xml

raw symbols SCIP
1
2 <refentry id="nestedap">
3 <indexterm id="IndexNestedap"><primary>nestedap</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Reverberation</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>nestedap</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>nestedap</refname>
13 <refpurpose>
14 Three different nested all-pass filters.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Three different nested all-pass filters, useful for implementing reverbs.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>ares <command>nestedap</command> asig, imode, imaxdel, idel1, igain1 [, idel2] [, igain2] \
28 [, idel3] [, igain3] [, istor]</synopsis>
29 </refsect1>
30
31 <refsect1>
32 <title>Initialization</title>
33 <para>
34 <emphasis>imode</emphasis> -- operating mode of the filter:
35 <itemizedlist>
36 <listitem>
37 <para>1 = simple all-pass filter</para>
38 </listitem>
39
40 <listitem>
41 <para>2 = single nested all-pass filter</para>
42 </listitem>
43
44 <listitem>
45 <para>3 = double nested all-pass filter</para>
46 </listitem>
47 </itemizedlist>
48 </para>
49
50 <para>
51 <emphasis>idel1</emphasis>, <emphasis>idel2</emphasis>, <emphasis>idel3</emphasis> -- delay times of the filter stages. Delay times are in seconds and must be greater than zero. <emphasis>idel1</emphasis> must be greater than the sum of <emphasis>idel2</emphasis> and <emphasis>idel3</emphasis>.
52 </para>
53
54 <para>
55 <emphasis>igain1</emphasis>, <emphasis>igain2</emphasis>, <emphasis>igain3</emphasis> -- gain of the filter stages.
56 </para>
57
58 <para>
59 <emphasis>imaxdel</emphasis> -- will be necessary if k-rate delays are implemented. Not currently used.
60 </para>
61
62 <para>
63 <emphasis>istor</emphasis> -- Skip initialization if non-zero (default: 0).
64 </para>
65 </refsect1>
66
67 <refsect1>
68 <title>Performance</title>
69 <para>
70 <emphasis>asig</emphasis> -- input signal
71 </para>
72
73 <para>
74 If <emphasis>imode</emphasis> = 1, the filter takes the form:
75 <mediaobject>
76 <imageobject>
77 <imagedata fileref="images/imode1.png" format="PNG"/>
78 </imageobject>
79
80 <textobject>
81 <phrase>Picture of nestedap imode 1 filter.</phrase>
82 </textobject>
83
84 <caption>
85 <para>Picture of imode 1 filter.</para>
86 </caption>
87 </mediaobject>
88 </para>
89
90 <para>
91 If <emphasis>imode</emphasis> = 2, the filter takes the form:
92 <mediaobject>
93 <imageobject>
94 <imagedata fileref="images/imode2.png" format="PNG"/>
95 </imageobject>
96
97 <textobject>
98 <phrase>Picture of nestedap imode 2 filter.</phrase>
99 </textobject>
100
101 <caption>
102 <para>Picture of imode 2 filter.</para>
103 </caption>
104 </mediaobject>
105 </para>
106
107 <para>
108 If <emphasis>imode</emphasis> = 3, the filter takes the form:
109 <mediaobject>
110 <imageobject>
111 <imagedata fileref="images/imode3.png" format="PNG"/>
112 </imageobject>
113
114 <textobject>
115 <phrase>Picture of nestedap imode 3 filter.</phrase>
116 </textobject>
117
118 <caption>
119 <para>Picture of imode 3 filter.</para>
120 </caption>
121 </mediaobject>
122 </para>
123 </refsect1>
124
125 <refsect1>
126 <title>Examples</title>
127 <para>
128 Here is an example of the nestedap opcode. It uses the file <ulink url="examples/nestedap.csd"><citetitle>nestedap.csd</citetitle></ulink>, and <ulink url="examples/drumsMlp.wav"><citetitle>drumsMlp.wav</citetitle></ulink>.
129 <example>
130 <title>Example of the nestedap opcode.</title>
131 <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>
132 <xi:include href="examples-xml/nestedap.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
133 </example>
134 </para>
135 </refsect1>
136
137 <refsect1>
138 <title>See also</title>
139 <para><link linkend="SigmodReverbtn"><citetitle>Reverberation</citetitle></link></para>
140 </refsect1>
141
142 <refsect1>
143 <title>Credits</title>
144 <para>
145 <simplelist>
146 <member>Author: &namehans;</member>
147 <member>February 1999</member>
148 </simplelist>
149 </para>
150
151 <para>New in Csound version 3.53</para>
152 <para>The example was updated May 2002, thanks to &namehans;</para>
153 </refsect1>
154 </refentry>