Debian Codegraph @

opcodes/fmanal.xml

raw symbols SCIP
1
2 <refentry id="fmanal">
3 <indexterm id="IndexFmanal"><primary>fmanal</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Specialized Filters</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>fmanal</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>fmanal</refname>
11 <refpurpose>
12 AM/FM analysis from quadrature signal.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 This opcode attempts to extract the AM and FM signals off a
20 quadrature signal (e.g. from a Hilbert transform).
21 </para>
22 </refsect1>
23
24 <refsect1>
25 <title>Syntax</title>
26 <synopsis>am, af <command>fmanal</command> are, aim</synopsis>
27 </refsect1>
28
29 <refsect1>
30 <title>Performance</title>
31 <para>
32 <emphasis>are</emphasis> -- real (cosine-phase) input signal
33 </para>
34
35 <para>
36 <emphasis>aim</emphasis> -- imaginary (sine-phase) input signal
37 </para>
38
39 <para>
40 <emphasis>am</emphasis> -- amplitude modulation envelope
41 </para>
42
43 <para>
44 <emphasis>af</emphasis> -- frequency modulation envelope
45 </para>
46
47 <para>
48 <emphasis>fmanal</emphasis> takes a signal in quadrature (real,
49 imag) and outputs the estimate AM and FM signals. The former is
50 the modulus of each input sample pair (|re + j*im|) and the
51 latter the derivative of arg(re + j*im). Each sample of the
52 output is the estimated instantaneous amplitude and frequency of
53 the input signal.
54 </para>
55 </refsect1>
56
57
58 <refsect1>
59 <title>Example</title>
60
61 <para>
62 Here is an example of the fmanal opcode. It uses the file <ulink url="examples/fmanal.csd"><citetitle>fmanal.csd</citetitle></ulink>.
63
64 <example>
65 <title>Example of the fmanal opcode.</title>
66
67 <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>
68 <xi:include href="examples-xml/fmanal.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
69 </example>
70 </para>
71
72 </refsect1>
73
74 <refsect1>
75 <title>See also</title>
76 <para><link linkend="SigmodSpeciali"><citetitle>Specialized Filters: Other filters</citetitle></link></para>
77 </refsect1>
78
79 <refsect1>
80 <title>Credits</title>
81 <para>
82 <simplelist>
83 <member>Author: Victor Lazzarini</member>
84 <member>2017</member>
85 </simplelist>
86 </para>
87
88 </refsect1>
89 </refentry>