Debian Codegraph @

opcodes/eqfil.xml

raw symbols SCIP
1
2 <refentry id="eqfil">
3 <indexterm id="Indexeqfil"><primary>eqfil</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Specialized Filters</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>eqfil</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>eqfil</refname>
11 <refpurpose>
12 Equalizer filter
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 The opcode eqfil is a 2nd order tunable equalisation filter based on Regalia and Mitra
20 design ("Tunable Digital Frequency Response Equalization Filters", IEEE Trans.
21 on Ac., Sp. and Sig Proc., 35 (1), 1987). It provides a peak/notch filter for
22 building parametric/graphic equalisers.
23 </para>
24 <para>
25 The amplitude response for this filter will be flat (=1) for <emphasis>kgain</emphasis>=1. With <emphasis>kgain</emphasis> bigger than 1, there
26 will be a peak at the centre frequency, whose width is given by the <emphasis>kbw</emphasis> parameter, but
27 outside this band, the response will tend towards 1. Conversely, if <emphasis>kgain</emphasis> is smaller than 1, a notch will
28 be created around the CF.
29 </para>
30 </refsect1>
31
32 <refsect1>
33 <title>Syntax</title>
34 <synopsis>asig <command>eqfil</command> ain, kcf, kbw, kgain[, istor]</synopsis>
35 </refsect1>
36
37 <refsect1>
38 <title>Initialization</title>
39 <para>
40 <emphasis>istor</emphasis> --initial disposition of internal data space. Since
41 filtering incorporates a feedback loop of previous output,
42 the initial status of the storage space used is significant.
43 A zero value will clear the space; a non-zero value will allow
44 previous information to remain. The default value is 0.
45 </para>
46 </refsect1>
47
48 <refsect1>
49 <title>Performance</title>
50 <para>
51 <emphasis>asig</emphasis> -- filtered output signal.
52 </para>
53 <para>
54 <emphasis>ain</emphasis> -- input signal.
55 </para>
56 <para>
57 <emphasis>kcf</emphasis> -- filter centre frequency.
58 </para>
59
60 <para>
61 <emphasis>kbw</emphasis> -- peak/notch bandwidth (Hz).
62 </para>
63 <para>
64 <emphasis>kgain</emphasis> -- peak/notch gain.
65 </para>
66 </refsect1>
67
68 <refsect1>
69 <title>Examples</title>
70 <para>
71 Here is an example of the eqfil opcode. It uses the file <ulink url="examples/eqfil.csd"><citetitle>eqfil.csd</citetitle></ulink>.
72 <example>
73 <title>Example of the eqfil opcode.</title>
74 <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>
75 <xi:include href="examples-xml/eqfil.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
76 </example>
77 </para>
78 </refsect1>
79
80 <refsect1>
81 <title>See also</title>
82 <para><link linkend="SigmodSpeciali"><citetitle>Specialized Filters: Parametric EQ</citetitle></link></para>
83 </refsect1>
84
85 <refsect1>
86 <title>Credits</title>
87 <para>
88 <simplelist>
89 <member>Author: &namevictor;</member>
90 <member>April 2007</member>
91 </simplelist>
92 </para>
93 <para>New in version 5.06</para>
94 </refsect1>
95 </refentry>