Debian Codegraph @

opcodes/mfb.xml

raw symbols SCIP
1 <refentry id="mfb">
2 <indexterm id="IndexMfb"><primary>mfb</primary></indexterm>
3
4 <refentryinfo><title>Array Operations: Mel scale filterbank</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>mfb</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>mfb</refname>
11 <refpurpose>
12 Mel scale filterbank for spectral magnitudes.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Applies a Mel scale filterbank to an array containing a series of magnitude bins.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>kout[] <command>mfb</command> kin[],klow,khigh,ibands</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Initialization</title>
30 <para>
31 <emphasis>ibands</emphasis> -- number of bands in the Mel filter bank. Determines the size of
32 the output array.
33 </para>
34 </refsect1>
35
36 <refsect1>
37 <title>Performance</title>
38 <para>
39 <emphasis>kout[]</emphasis> -- output array containing the MFB with ibands bands. It will be created if it does not exist.
40 </para>
41 <para>
42 <emphasis>kin[]</emphasis> -- input array containing the input magnitude bins.
43 </para>
44 <para>
45 <emphasis>klow</emphasis> -- lowest frequency (rounded to the nearest bin centre frequency).
46 </para>
47 <para>
48 <emphasis>khigh</emphasis> -- highest lowest frequency (rounded to the nearest bin centre frequency).
49 </para>
50 </refsect1>
51
52 <refsect1>
53 <title>Examples</title>
54 <para>
55 Here is an example of the mfb opcode. It uses the file <ulink
56 url="examples/mfb.csd"><citetitle>mfb.csd</citetitle></ulink>.</para>
57
58 <example>
59 <title>Example of the mfb opcode.</title>
60
61 <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>
62 <xi:include href="examples-xml/mfb.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
63 </example>
64 </refsect1>
65
66 <refsect1>
67 <title>See Also</title>
68 <para>
69 <link linkend="vectorial"><citetitle></citetitle>Vectorial opcodes</link>,
70 <link linkend="arrayOpcodes"><citetitle></citetitle>array opcodes</link>,
71 <link linkend="dct"><citetitle>dct</citetitle></link>
72 </para>
73 </refsect1>
74
75 <refsect1>
76 <title>Credits</title>
77 <para>
78 <simplelist>
79 <member>Author: &namevictor;</member>
80 <member>NUI Maynooth</member>
81 <member>2016</member>
82 </simplelist>
83 </para>
84 <para>New in version 6.08</para>
85 </refsect1>
86 </refentry>