Debian Codegraph @

opcodes/butterbr.xml

raw symbols SCIP
1
2 <refentry id="butterbr">
3 <indexterm id="IndexButterbr"><primary>butterbr</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Standard Filters</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>butterbr</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>butterbr</refname>
13 <refpurpose>
14 A band-reject Butterworth filter.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Implementation of a second-order band-reject Butterworth filter. This opcode can also be written as <link linkend="butbr"><citetitle>butbr</citetitle></link>.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>ares <command>butterbr</command> asig, xfreq, xband [, iskip]</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <emphasis>iskip</emphasis> (optional, default=0) -- Skip initialization if present and non-zero.
34 </para>
35 </refsect1>
36
37 <refsect1>
38 <title>Performance</title>
39 <para>
40 These filters are Butterworth second-order IIR filters. They are slightly slower than the original filters in Csound, but they offer an almost flat passband and very good precision and stopband attenuation.
41 </para>
42
43 <para>
44 <emphasis>asig</emphasis> -- Input signal to be filtered.
45 </para>
46
47 <para>
48 <emphasis>xfreq</emphasis> -- Cutoff or center frequency for each of the filters.
49 </para>
50
51 <para>
52 <emphasis>xband</emphasis> -- Bandwidth of the bandpass and bandreject filters.
53 </para>
54 </refsect1>
55
56 <refsect1>
57 <title>Examples</title>
58 <para>
59 Here is an example of the butterbr opcode. It uses the file <ulink url="examples/butterbr.csd"><citetitle>butterbr.csd</citetitle></ulink>.
60
61 <example>
62 <title>Example of the butterbr opcode.</title>
63
64
65
66 <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>
67 <xi:include href="examples-xml/butterbr.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
68 </example>
69 </para>
70 </refsect1>
71
72 <refsect1>
73 <title>See also</title>
74 <para><link linkend="SigmodStandard"><citetitle>Standard filters: Butterworth filters</citetitle></link></para>
75 </refsect1>
76
77 <refsect1>
78 <title>Credits</title>
79 <para>
80 <simplelist>
81 <member>Author: &nameparis;</member>
82 <member>MIT, Cambridge</member>
83 <member>1995</member>
84 </simplelist>
85 </para>
86 <para>Existed in 3.30</para>
87 <para>Audio rate parameters introduced in version 6.02</para>
88 <para>October 2013.</para>
89 </refsect1>
90 </refentry>