Debian Codegraph @

opcodes/aresonk.xml

raw symbols SCIP
1
2 <refentry id="aresonk">
3 <indexterm id="IndexAresonk"><primary>aresonk</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Standard Filters:Control</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>aresonk</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>aresonk</refname>
13 <refpurpose>
14 A notch filter whose transfer functions are the complements of the reson opcode.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 A notch filter whose transfer functions are the complements of the reson opcode.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>kres <command>aresonk</command> ksig, kcf, kbw [, iscl] [, iskip]</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <emphasis>iscl</emphasis> (optional, default=0) -- coded scaling factor for resonators. A value of 1 signifies a peak response factor of 1, i.e. all frequencies other than kcf are attenuated in accordance with the (normalized) response curve. A value of 2 raises the response factor so that its overall RMS value equals 1. (This intended equalization of input and output power assumes all frequencies are physically present; hence it is most applicable to white noise.) A zero value signifies no scaling of the signal, leaving that to some later adjustment (see <link linkend="balance"><citetitle>balance</citetitle></link>). The default value is 0.
34 </para>
35
36 <para>
37 <emphasis>iskip</emphasis> (optional, default=0) -- initial disposition of internal data space. Since filtering incorporates a feedback loop of previous output, the initial status of the storage space used is significant. A zero value will clear the space; a non-zero value will allow previous information to remain. The default value is 0.
38 </para>
39 </refsect1>
40
41 <refsect1>
42 <title>Performance</title>
43 <para>
44 <emphasis>kres</emphasis> -- the output signal at control-rate.
45 </para>
46
47 <para>
48 <emphasis>ksig</emphasis> -- the input signal at control-rate.
49 </para>
50
51 <para>
52 <emphasis>kcf</emphasis> -- the center frequency of the filter, or frequency position of the peak response.
53 </para>
54
55 <para>
56 <emphasis>kbw</emphasis> -- bandwidth of the filter (the Hz difference between the upper and lower half-power points).
57 </para>
58
59 <para>
60 <emphasis>aresonk</emphasis> is a filter whose transfer functions is the complement of <link linkend="resonk"><citetitle>resonk</citetitle></link>. Thus <emphasis>aresonk</emphasis> is a notch filter whose transfer functions represents the <quote>filtered out</quote> aspects of their complements. However, power scaling is not normalized in <emphasis>aresonk</emphasis> but remains the true complement of the corresponding unit.
61 </para>
62 </refsect1>
63
64 <refsect1>
65 <title>Examples</title>
66 <para>
67 Here is an example of the aresonk opcode. It uses the file <ulink url="examples/aresonk.csd"><citetitle>aresonk.csd</citetitle></ulink>.
68
69 <example>
70 <title>Example of the aresonk opcode.</title>
71
72
73
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/aresonk.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="SigmodStandard"><citetitle>Standard Filters: Control signal filters</citetitle></link></para>
83 </refsect1>
84
85 </refentry>