Debian Codegraph @

opcodes/interleave.xml

raw symbols SCIP
1 <refentry id="interleave">
2 <indexterm id="IndexInterleave"><primary>interleave</primary></indexterm>
3
4 <refentryinfo><title>Array Opcodes</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>interleave</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>interleave</refname>
11 <refpurpose>
12 Interleaves arrays into a a single one by placing the input data
13 in alternate positions.
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>
20 Takes input arrays, a and b and interleaves their data
21 (placing values in alternating positions).
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>kout[] <command>interleave</command> kin1[], kin2[]</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Performance</title>
32 <para>
33 <emphasis>kout[]</emphasis> -- output array containing the
34 interleaved output. It will be created if it does not exist.
35 </para>
36 <para>
37 <emphasis>kin1[], kin2[]</emphasis> -- input arrays containing
38 the values to be interleaved.
39 </para>
40 </refsect1>
41
42 <refsect1>
43 <title>Examples</title>
44 <para>
45 Here is an example of the interleave opcode. It uses the file <ulink
46 url="examples/interleave.csd"><citetitle>interleave.csd</citetitle></ulink>.</para>
47
48 <example>
49 <title>Example of the interleave opcode.</title>
50
51 <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>
52 <xi:include href="examples-xml/interleave.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
53 </example>
54 </refsect1>
55
56 <refsect1>
57 <title>See also</title>
58 <para><link linkend="arrayOpcodes"><citetitle>Array opcodes</citetitle></link></para>
59 </refsect1>
60
61 <refsect1>
62 <title>Credits</title>
63 <para>
64 <simplelist>
65 <member>Author: &namevictor;</member>
66 <member>NUI Maynooth</member>
67 <member>2018</member>
68 </simplelist>
69 </para>
70 <para>New in version 6.12</para>
71 </refsect1>
72 </refentry>