Debian Codegraph @

opcodes/vdelay.xml

raw symbols SCIP
1
2 <refentry id="vdelay">
3 <indexterm id="IndexVdelay"><primary>vdelay</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Delay</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>vdelay</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>vdelay</refname>
11 <refpurpose>
12 An interpolating variable time delay.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 This is an interpolating variable time delay, it is not very different from the existing implementation (<link linkend="deltapi"><citetitle>deltapi</citetitle></link>), it is only easier to use.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>ares <command>vdelay</command> asig, adel, imaxdel [, iskip]</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Initialization</title>
30 <para>
31 <emphasis>imaxdel</emphasis> -- Maximum value of delay in milliseconds. If <emphasis>adel</emphasis> gains a value greater than <emphasis>imaxdel</emphasis> it is folded around <emphasis>imaxdel</emphasis>. This should not happen.
32 </para>
33
34 <para>
35 <emphasis>iskip</emphasis> -- Skip initialization if present and non&shy;zero
36 </para>
37 </refsect1>
38
39 <refsect1>
40 <title>Performance</title>
41 <para>
42 With this unit generator it is possible to do Doppler effects or chorusing and flanging.
43 </para>
44
45 <para>
46 <emphasis>asig</emphasis> -- Input signal.
47 </para>
48
49 <para>
50 <emphasis>adel</emphasis> -- Current value of delay in milliseconds. Note that linear functions have no pitch change effects. Fast changing values of <emphasis>adel</emphasis> will cause discontinuities in the waveform resulting noise.
51 </para>
52 </refsect1>
53
54 <refsect1>
55 <title>Examples</title>
56 <para>
57 Here is an example of the vdelay opcode. It uses the file <ulink url="examples/vdelay.csd"><citetitle>vdelay.csd</citetitle></ulink>.
58 <example>
59 <title>Example of the vdelay opcode.</title>
60 <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>
61 <xi:include href="examples-xml/vdelay.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
62 </example>
63 Two important points here. First, the delay time must be always positive. And second, even though the delay time can be controlled in k-rate, it is not advised to do so, since sudden time changes will create clicks.
64 </para>
65 </refsect1>
66
67 <refsect1>
68 <title>See also</title>
69 <para><link linkend="SigmodDelay"><citetitle>Delay</citetitle></link></para>
70 </refsect1>
71
72 <refsect1>
73 <title>Credits</title>
74 <para>
75 <simplelist>
76 <member>Author: &nameparis;</member>
77 <member>MIT, Cambridge</member>
78 <member>1995</member>
79 </simplelist>
80 </para>
81 </refsect1>
82 </refentry>