Debian Codegraph @

opcodes/pvscent.xml

raw symbols SCIP
1
2 <refentry id="pvscent">
3 <indexterm id="IndexPvscent"><primary>pvscent</primary></indexterm>
4 <refentryinfo><title>Spectral Processing:Streaming</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>pvscent</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>pvscent</refname>
11 <refpurpose>
12 Calculate the spectral centroid of a signal.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Calculate the spectral centroid of a signal from its discrete Fourier transform.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>kcent <command>pvscent</command> fsig</synopsis>
26 <synopsis>acent <command>pvscent</command> fsig</synopsis>
27 </refsect1>
28
29 <refsect1>
30 <title>Performance</title>
31 <para>
32 <emphasis>kcent</emphasis> -- the spectral centroid
33 </para>
34 <para>
35 <emphasis>acent</emphasis> -- the spectral centroid
36 </para>
37 <para>
38 <emphasis>fsig</emphasis> -- an input pv stream
39 </para>
40 </refsect1>
41
42 <refsect1>
43 <title>Examples</title>
44 <para>
45 Here is an example of the use of the <emphasis>pvscent</emphasis> opcode. It uses the file <ulink url="examples/pvscent.csd"><citetitle>pvscent.csd</citetitle></ulink>.
46 <example>
47 <title>Example of the <emphasis>pvscent</emphasis> opcode.</title>
48 <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>
49 <xi:include href="examples-xml/pvscent.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
50 </example>
51 </para>
52 </refsect1>
53
54 <refsect1>
55 <title>See also</title>
56 <para><link linkend="SpectralRealTime"><citetitle>Tools for Real-time Spectral Processing (pvs opcodes)</citetitle></link></para>
57 </refsect1>
58
59 <refsect1>
60 <title>Credits</title>
61 <para>
62 <simplelist>
63 <member>Author: &namejohn;</member>
64 <member>March 2005</member>
65 </simplelist>
66 </para>
67
68 <para>New plugin in version 5</para>
69 <para>March 2005.</para>
70 </refsect1>
71 </refentry>