Debian Codegraph @

opcodes/atonex.xml

raw symbols SCIP
1 
2 <refentry id="atonex">
3 <indexterm id="IndexAtonex"><primary>atonex</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Standard Filters</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>atonex</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>atonex</refname>
13 <refpurpose>
14 Emulates a stack of filters using the atone opcode.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 <emphasis>atonex</emphasis> is equivalent to a filter consisting of more layers of <link linkend="atone"><citetitle>atone</citetitle></link> with the same arguments, serially connected. Using a stack of a larger number of filters allows a sharper cutoff. They are faster than using a larger number instances in a Csound orchestra of the old opcodes, because only one initialization and k- cycle are needed at time and the audio loop falls entirely inside the cache memory of processor.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>ares <command>atonex</command> asig, khp [, inumlayer] [, iskip]</synopsis>
28 <synopsis>ares <command>atonex</command> asig, ahp [, inumlayer] [, iskip]</synopsis>
29 </refsect1>
30
31 <refsect1>
32 <title>Initialization</title>
33 <para>
34 <emphasis>inumlayer</emphasis> (optional) -- number of elements in the filter stack. Default value is 4.
35 </para>
36
37 <para>
38 <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.
39 </para>
40 </refsect1>
41
42 <refsect1>
43 <title>Performance</title>
44 <para>
45 <emphasis>asig</emphasis> -- input signal
46 </para>
47
48 <para>
49 <emphasis>khp</emphasis>/<emphasis>ahp</emphasis> -- the response curve's half-power point. Half power is defined as peak power / root 2.
50 </para>
51
52 </refsect1>
53 <refsect1>
54 <title>Examples</title>
55 <para>
56 Here is an example of the atonex opcode. It uses the file <ulink url="examples/atonex.csd"><citetitle>atonex.csd</citetitle></ulink>.
57
58 <example>
59 <title>Example of the atonex opcode.</title>
60
61
62
63 <xi:include href="examples-xml/atonex.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
64 </example>
65 </para>
66 </refsect1>
67
68 <refsect1>
69 <title>See also</title>
70 <para><link linkend="SigmodStandard"><citetitle>Standard filters: Hi-pass filters</citetitle></link></para>
71 </refsect1>
72
73 <refsect1>
74 <title>Credits</title>
75 <para>
76 <simplelist>
77 <member>Author: &namegabriel; (adapted by &namejohn;)</member>
78 <member>Italy</member>
79 </simplelist>
80 </para>
81 <para>New in Csound version 3.49</para>
82 <para>Audio rate parameters introduced in version 6.02</para>
83 <para>October 2013.</para>
84 </refsect1>
85 </refentry>