Debian Codegraph @

scoregens/genwave.xml

raw symbols SCIP
1 <refentry id="GENwave">
2 <indexterm id="IndexGENwave"><primary>GENwave</primary></indexterm>
3 <refmeta>
4 <refentrytitle>GENwave</refentrytitle>
5 </refmeta>
6
7 <refnamediv>
8 <refname>"wave"</refname>
9 <refpurpose>
10 Generates a compactly supported wavelet function.
11 </refpurpose>
12 </refnamediv>
13
14 <refsect1>
15 <title>Description</title>
16 <para>
17 Creates a compactly supported wavelet, scaling function or wavelet
18 packet. The output function is obtained by deconvolution of
19 corresponding mirror filter impulse response. This procedure is
20 applied in an iterative fashion.
21 </para>
22 <para>
23 The filter bank used in classic discrete wavelet transform grows
24 only towards low frequencies. Meanwhile wavelet packet transform
25 introduces any possible direction of tree's growth. The sequence
26 of mirror filters used in deconvolution is determined by binary
27 form of seq value. "0" corresponds to low-pass filter and "1" to
28 high-pass.
29 </para>
30 <para>
31 The number of iteration steps is determined by filter's length
32 and size of function table. I.e. for filter length 8 and table
33 size 256 there are log2(256/8) = 5 iterations available.
34 </para>
35 </refsect1>
36 <refsect1>
37 <title>Syntax</title>
38 <synopsis><command>f</command> # time size "wave" fnsf seq rescale</synopsis>
39 </refsect1>
40
41 <refsect1>
42 <title>Initialization</title>
43 <para>
44 <emphasis>size</emphasis> -- number of points in the table. Must
45 be a power of 2 or power-of-2 plus 1 (see <link
46 linkend="f"><citetitle>f statement</citetitle></link>).
47 </para>
48
49 <para>
50 <emphasis>fnsf</emphasis> -- pre-existing table with scaling
51 function coefficients.
52 </para>
53 <para>
54 <emphasis>seq</emphasis> -- non-negative integer number which
55 corresponds to sequence of low-pass and high-pass mirror filters
56 during deconvolution procedure.
57 </para>
58 <para>
59 <emphasis>rescale</emphasis> -- if not zero the table is not rescaled
60 </para>
61
62 </refsect1>
63
64 <refsect1>
65 <title>Examples</title>
66 <para>
67 Here is an example of the GENwave routine. It uses the file
68 <ulink
69 url="examples/genwave.csd"><citetitle>genwave.csd</citetitle></ulink>.
70 <example>
71 <title>Example of the GENwave routine.</title>
72 <para>
73 See the sections <link
74 linkend="UsingRealTime"><citetitle>Real-time
75 Audio</citetitle></link> and <link
76 linkend="CommandFlags"><citetitle>Command Line
77 Flags</citetitle></link> for more information on using
78 command line flags.
79 </para>
80 <xi:include href="examples-xml/genwave.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
81 </example>
82 </para>
83 </refsect1>
84
85 <refsect1>
86 <title>See Also</title>
87 <para>
88 Ingrid Daubechies. Ten Lectures on Wavelets, SIAM 1992.
89 </para>
90 <para>
91 Pedro A.G. Batista. An Introduction to Sound Synthesis with
92 Wavelet Packets, Csound Book CD Chapters, MIT 2000.
93 </para>
94 <para>
95 Victor M. Wickerhauser. Acoustic Signal Compression with Wavelet
96 Packets, Yale 1992.
97 </para>
98 </refsect1>
99
100 <refsect1>
101 <title>Credits</title>
102 <para>Written by Gleb Rogozinsky</para>
103 <para>Saint-Petersburg University of Film and Television</para>
104 <para>Saint-Petersburg, Russia</para>
105 <para>April 2012</para>
106 </refsect1>
107 </refentry>