Debian Codegraph @

opcodes/delayk.xml

raw symbols SCIP
1
2 <refentry id="delayk">
3 <indexterm id="IndexDelayk"><primary>delayk</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Delay</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>delayk</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>delayk</refname>
13 <refpurpose>
14 Delays an input signal by some time interval.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 k-rate delay opcodes
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>kr <command>delayk </command> ksig, idel[, imode]</synopsis>
28 <synopsis>kr <command>vdel_k </command> ksig, kdel, imdel[, imode]</synopsis>
29 </refsect1>
30
31 <refsect1>
32 <title>Initialization</title>
33 <para>
34 <emphasis>idel</emphasis> -- delay time (in seconds) for
35 delayk. It is rounded to the nearest integer multiple of a k-cycle
36 (i.e. 1/kr).
37 </para>
38
39 <para>
40 <emphasis>imode</emphasis> -- sum of 1 for skipping initialization
41 (e.g. in tied notes) and 2 for holding the first input value during the
42 initial delay, instead of outputting zero. This is mainly of use
43 when delaying envelopes that do not start at zero.
44 </para>
45
46 <para>
47 <mediaobject>
48 <imageobject>
49 <imagedata fileref="images/delayk.png" format="PNG"/>
50 </imageobject>
51 </mediaobject>
52 </para>
53
54 <para>
55 <emphasis>imdel</emphasis> -- maximum delay time for vdel_k, in seconds.
56 </para>
57
58 </refsect1>
59
60 <refsect1>
61 <title>Performance</title>
62 <para>
63 <emphasis>kr</emphasis> -- the output signal. Note: neither of the
64 opcodes interpolate the output.
65 </para>
66
67 <para>
68 <emphasis>ksig</emphasis> -- the input signal.
69 </para>
70
71 <para>
72 <emphasis>kdel</emphasis> -- delay time (in seconds) for
73 vdel_k. It is rounded to the nearest integer multiple of a k-cycle
74 (i.e. 1/kr).
75 </para>
76
77 </refsect1>
78
79 <refsect1>
80 <title>Examples</title>
81 <para>
82 Here is an example of the delayk opcode. It uses the file <ulink url="examples/delayk.csd"><citetitle>delayk.csd</citetitle></ulink>.
83
84 <example>
85 <title>Example of the delayk opcode.</title>
86
87 <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>
88 <xi:include href="examples-xml/delayk.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
89 </example>
90 </para>
91 </refsect1>
92
93 <refsect1>
94 <title>See also</title>
95 <para><link linkend="SigmodDelay"><citetitle>Delay</citetitle></link></para>
96 </refsect1>
97
98 <refsect1>
99 <title>Credits</title>
100 <para>&nameistvan;.</para>
101 </refsect1>
102 </refentry>