Debian Codegraph @

opcodes/butterhp.xml

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