Debian Codegraph @

opcodes/pvsbandr.xml

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