Debian Codegraph @

opcodes/autocorr.xml

raw symbols SCIP
1 <refentry id="autocorr">
2 <indexterm id="IndexAutocorr"><primary>autocorr</primary></indexterm>
3
4 <refentryinfo><title>Array Operations: Autocorrelation</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>autocorr</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>autocorr</refname>
11 <refpurpose>
12 Autocorrelation of a sequence.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 This opcode takes in an input array and computes its autocorrelation.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>kout[] <command>autocorr</command> kin[]</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Performance</title>
30 <para>
31 <emphasis>kout[]</emphasis> -- output array containing the
32 autocorrelation output. It will be created if it does not exist.
33 </para>
34 <para>
35 <emphasis>kin[]</emphasis> -- input array containing the
36 sequence for autocorrelation.
37 </para>
38 </refsect1>
39
40 <refsect1>
41 <title>Examples</title>
42 <para>
43 Here is an example of the autocorr opcode. It uses the file
44 <ulink url="examples/autocorr.csd"><citetitle>autocorr.csd</citetitle></ulink>.</para>
45
46 <example>
47 <title>Example of the autocorr opcode.</title>
48
49 <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>
50 <xi:include href="examples-xml/autocorr.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
51 </example>
52 </refsect1>
53
54 <refsect1>
55 <title>See Also</title>
56 <para>
57 <link linkend="vectorial"><citetitle></citetitle>Vectorial opcodes</link>,
58 <link linkend="arrayOpcodes"><citetitle></citetitle>array opcodes</link>
59 </para>
60 </refsect1>
61
62 <refsect1>
63 <title>Credits</title>
64 <para>
65 <simplelist>
66 <member>Author: &namevictor;</member>
67 <member>NUI Maynooth</member>
68 <member>2021</member>
69 </simplelist>
70 </para>
71 <para>New in version 6.16</para>
72 </refsect1>
73 </refentry>