Debian Codegraph @

opcodes/specdiff.xml

raw symbols SCIP
1
2 <refentry id="specdiff">
3 <indexterm id="IndexSpecdiff"><primary>specdiff</primary></indexterm>
4 <refentryinfo><title>Spectral Processing:Non-Standard</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>specdiff</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>specdiff</refname>
11 <refpurpose>
12 Finds the positive difference values between consecutive spectral frames.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Finds the positive difference values between consecutive spectral frames.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>wsig <command>specdiff</command> wsigin</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Performance</title>
30 <para>
31 <emphasis>wsig</emphasis> -- the output spectrum.
32 </para>
33
34 <para>
35 <emphasis>wsigin</emphasis> -- the input spectra.
36 </para>
37
38 <para>
39 Finds the positive difference values between consecutive spectral frames. At each new frame of <emphasis>wsigin</emphasis>, each magnitude value is compared with its predecessor, and the positive changes written to the output spectrum. This unit is useful as an energy onset detector.
40 </para>
41 </refsect1>
42
43 <refsect1>
44 <title>Examples</title>
45 <para>
46 <informalexample>
47 <programlisting>
48 wsig2 <emphasis role="opc">specdiff</emphasis> wsig1 <emphasis role="comment">; sense onsets</emphasis>
49 wsig3 <emphasis role="opc">specfilt</emphasis> wsig2, 2 <emphasis role="comment">; absorb slowly</emphasis>
50 <emphasis role="opc">specdisp</emphasis> wsig2, 0.1 <emphasis role="comment">; &amp; display both spectra</emphasis>
51 <emphasis role="opc">specdisp</emphasis> wsig3, 0.1</programlisting>
52 </informalexample>
53 </para>
54 </refsect1>
55
56 <refsect1>
57 <title>See Also</title>
58 <para>
59 <link linkend="specaddm"><citetitle>specaddm</citetitle></link>,
60 <link linkend="specfilt"><citetitle>specfilt</citetitle></link>,
61 <link linkend="spechist"><citetitle>spechist</citetitle></link>,
62 <link linkend="specscal"><citetitle>specscal</citetitle></link>
63 </para>
64 </refsect1>
65 </refentry>