Debian Codegraph @

opcodes/tonek.xml

raw symbols SCIP
1
2 <refentry id="tonek">
3 <indexterm id="IndexTonek"><primary>tonek</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Standard Filters:Control</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>tonek</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>tonek</refname>
13 <refpurpose>
14 A first-order recursive low-pass filter with variable frequency response.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 A first-order recursive low-pass filter with variable frequency response.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>kres <command>tonek</command> ksig, khp [, iskip]</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <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.
34 </para>
35 </refsect1>
36
37 <refsect1>
38 <title>Performance</title>
39 <para>
40 <emphasis>kres</emphasis> -- the output signal at control-rate.
41 </para>
42
43 <para>
44 <emphasis>ksig</emphasis> -- the input signal at control-rate.
45 </para>
46
47 <para>
48 <emphasis>khp</emphasis> -- the response curve's half-power point, in Hertz. Half power is defined as peak power / root 2.
49 </para>
50
51 <para>
52 <emphasis>tonek</emphasis> is like <link linkend="tone"><citetitle>tone</citetitle></link> except its
53 output is at control-rate rather than audio rate.
54 </para>
55 </refsect1>
56
57 <refsect1>
58 <title>Examples</title>
59 <para>
60 Here is an example of the tonek opcode. It uses the file <ulink url="examples/tonek.csd"><citetitle>tonek.csd</citetitle></ulink>.
61 <example>
62 <title>Example of the tonek opcode.</title>
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/tonek.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: Control signal filters</citetitle></link></para>
72 </refsect1>
73
74 <refsect1>
75 <title>Credits</title>
76 <para>
77 <simplelist>
78 <member>Author: Robin Whittle</member>
79 <member>Australia</member>
80 <member>May 1997</member>
81 </simplelist>
82 </para>
83 </refsect1>
84 </refentry>