Debian Codegraph @

opcodes/window.xml

raw symbols SCIP
1 <refentry id="window">
2 <indexterm id="IndexWindow"><primary>window</primary></indexterm>
3
4 <refentryinfo><title>Array Operations: Fast Fourier Transform</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>window</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>window</refname>
11 <refpurpose>
12 Applies a window to an array.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Applies a given window shape to a vector stored in an array. The output is an array with the windowed vector.
20 </para>
21 </refsect1>
22 <refsect1>
23 <title>Initialization</title>
24 <para>
25 <emphasis>itype</emphasis> -- optional window type: 0 = Hamming, 1 = Hanning (von Hann) (defaults to 1).
26 </para>
27 </refsect1>
28
29 <refsect1>
30 u <title>Syntax</title>
31 <synopsis>kout[] <command>window</command> kin[][, koff, itype]</synopsis>
32 </refsect1>
33
34 <refsect1>
35 <title>Performance</title>
36 <para>
37 <emphasis>kout[]</emphasis> -- output array containing the windowed output. It will be created if it does not exist.
38 </para>
39 <para>
40 <emphasis>kin[]</emphasis> -- input array containing the input vector.
41 </para>
42 <para>
43 <emphasis>koff</emphasis> -- offset to make window start at position koff (non-negative only, defaults to 0).
44 </para>
45 </refsect1>
46
47 <refsect1>
48 <title>Examples</title>
49 <para>
50 Here is an example of the window opcode. It uses the file <ulink
51 url="examples/window.csd"><citetitle>window.csd</citetitle></ulink>.</para>
52
53 <example>
54 <title>Example of the window opcode.</title>
55
56 <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>
57 <xi:include href="examples-xml/window.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
58 </example>
59 </refsect1>
60
61 <refsect1>
62 <title>See Also</title>
63 <para><link linkend="vectorial"><citetitle></citetitle>Vectorial opcodes</link></para>
64 <para><link linkend="arrayOpcodes"><citetitle></citetitle>array opcodes</link></para>
65 <para><link linkend="arraysfft"><citetitle></citetitle>Array-based spectral opcodes</link></para>
66 </refsect1>
67
68 <refsect1>
69 <title>Credits</title>
70 <para>
71 <simplelist>
72 <member>Author: &namevictor;</member>
73 <member>NUI Maynooth</member>
74 <member>2014</member>
75 </simplelist>
76 </para>
77 <para>New in version 6.04</para>
78 </refsect1>
79 </refentry>