Debian Codegraph @

opcodes/pvsbandp.xml

raw symbols SCIP
1
2 <refentry id="pvsbandp">
3 <indexterm id="IndexPvsbandp"><primary>pvsbandp</primary></indexterm>
4 <refentryinfo><title>Spectral Processing:Streaming</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>pvsbandp</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>pvsbandp</refname>
11 <refpurpose>
12 A band pass filter working in the spectral domain.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Filter the pvoc frames, passing bins whose frequency is within a
20 band, and with linear interpolation for transitional bands.
21 </para>
22 </refsect1>
23
24 <refsect1>
25 <title>Syntax</title>
26 <synopsis>fsig <command>pvsbandp</command> fsigin, xlowcut, xlowfull, \
27 xhighfull, xhighcut[, ktype]</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Performance</title>
32 <para>
33 <emphasis>fsig</emphasis> -- output pv stream
34 </para>
35 <para>
36 <emphasis>fsigin</emphasis> -- input pv stream.
37 </para>
38 <para>
39 <emphasis>xlowcut, xlowfull, xhighfull, xhighcut</emphasis> --
40 define a trapezium shape for the band that is passed. The a-rate
41 versions only apply to the sliding case.
42 </para>
43 <para>
44 <emphasis>ktype</emphasis> -- specifies the shape of the
45 transitional band. If at the default value of zero the shape is
46 as below, with linear transition in amplitude. Other values
47 yield and exponential shape:
48 <literallayout>
49 (1 - exp( r*type )) / (1 - exp(type))
50 </literallayout>
51 This includes a linear dB shape when <emphasis>ktype</emphasis> is
52 <emphasis>log</emphasis>(10) or about 2.30.
53 </para>
54
55 <para>
56 The opcode performs a band-pass filter with a spectral envelope
57 shaped like
58 <literallayout>
59 klowfull __________________________ khighfull
60 / \
61 / \
62 / \
63 / \
64 / \
65 ________/ \______________
66 klowcut khighcut
67 </literallayout>
68
69 </para>
70
71 </refsect1>
72
73 <refsect1>
74 <title>Examples</title>
75 <para>
76 Here is an example of the pvsbandp opcode. It uses the file <ulink url="examples/pvsbandp.csd"><citetitle>pvsbandp.csd</citetitle></ulink>.
77
78 <example>
79 <title>Example of the pvsbandp opcode.</title>
80 <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>
81 <xi:include href="examples-xml/pvsbandp.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
82 </example>
83 </para>
84 </refsect1>
85
86 <refsect1>
87 <title>See also</title>
88 <para><link linkend="SpectralRealTime"><citetitle>Tools for Real-time Spectral Processing (pvs opcodes)</citetitle></link></para>
89 </refsect1>
90
91 <refsect1>
92 <title>Credits</title>
93 <para>
94 <simplelist>
95 <member>Author: &namejohn;</member>
96 <member>December 2007 </member>
97 </simplelist>
98 </para>
99 </refsect1>
100 </refentry>