Debian Codegraph @

opcodes/hilbert2.xml

raw symbols SCIP
1
2 <refentry id="hilbert2">
3 <indexterm id="IndexHilbert2"><primary>hilbert2</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Specialized Filters</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>hilbert2</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>hilbert2</refname>
11 <refpurpose>
12 A Hilbert transformer.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 A DFT-based implementation of a Hilbert transformer.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>ar1, ar2 <command>hilbert2</command> asig, ifftsize, ihopsize</synopsis>
26 </refsect1>
27
28
29 <refsect1>
30 <title>Initialisation</title>
31
32 <para>
33 <emphasis>ifftsize</emphasis> -- DFT analysis size
34 </para>
35
36 <para>
37 <emphasis>ihopsize</emphasis> -- analysis hopsize
38 </para>
39 </refsect1>
40
41 <refsect1>
42 <title>Performance</title>
43 <para>
44 <emphasis>asig</emphasis> -- input signal
45 </para>
46
47 <para>
48 <emphasis>ar1</emphasis> -- real output of <emphasis>asig</emphasis>
49 </para>
50
51 <para>
52 <emphasis>ar2</emphasis> -- imag output of <emphasis>asig</emphasis>
53 </para>
54
55 <para>
56 <emphasis>hilbert2</emphasis> is a DFT-based implementation of
57 the Hilbert Transform producing two outputs in quadrature (90
58 degree phase difference across the spectrum). Unlike the
59 IIR-based <emphasis>hilbert</emphasis> opcode,
60 <emphasis>hilbert2</emphasis>
61 has a linear frequency response. Given that it employs a
62 streaming algorithm, a delay of fftsize samples will be imposed
63 between input and output.
64 </para>
65 </refsect1>
66
67
68 <refsect1>
69 <title>Example</title>
70
71 <para>
72 Here is an example of the hilbert2 opcode. It uses the file <ulink url="examples/hilbert2.csd"><citetitle>hilbert2.csd</citetitle></ulink>.
73
74 <example>
75 <title>Example of the hilbert2 opcode.</title>
76
77 <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>
78 <xi:include href="examples-xml/hilbert2.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
79 </example>
80 </para>
81
82 </refsect1>
83
84 <refsect1>
85 <title>See also</title>
86 <para><link linkend="SigmodSpeciali"><citetitle>Specialized Filters: Other filters</citetitle></link></para>
87 </refsect1>
88
89 <refsect1>
90 <title>Credits</title>
91 <para>
92 <simplelist>
93 <member>Author: Victor Lazzarini</member>
94 <member>2017</member>
95 </simplelist>
96 </para>
97
98 </refsect1>
99 </refentry>