Debian Codegraph @

opcodes/tabsum.xml

raw symbols SCIP
1
2 <refentry id="tabsum">
3 <indexterm id="IndexTabsum"><primary>tabsum</primary></indexterm>
4
5 <refentryinfo><title>Table Control:Table Queries</title></refentryinfo>
6 <refmeta>
7 <refentrytitle>tabsum</refentrytitle>
8 </refmeta>
9
10 <refnamediv>
11 <refname>tabsum</refname>
12 <refpurpose>
13 Adding values in a range of a table.
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>
20 Sums the values in an f-table in a consecutive range.
21 </para>
22 </refsect1>
23
24 <refsect1>
25 <title>Syntax</title>
26 <synopsis>kr <command>tabsum</command> ifn[[, kmin] [, kmax]]</synopsis>
27 </refsect1>
28
29 <refsect1>
30 <title>Initialization</title>
31 <para>
32 <emphasis>ifn</emphasis> -- table number
33 </para>
34 </refsect1>
35
36 <refsect1>
37 <title>Performance</title>
38 <para>
39 <emphasis>kr</emphasis> -- input signal to write.
40 </para>
41 <para>
42 <emphasis>kmin, kmax</emphasis> -- range of the table to sum.
43 If omitted or zero they default to 0
44 to length of the table.
45 </para>
46 </refsect1>
47
48 <refsect1>
49 <title>Examples</title>
50 <para>
51 Here is an example of the tabsum opcode. It uses the file <ulink url="examples/tabsum.csd"><citetitle>tabsum.csd</citetitle></ulink>.
52 <example>
53 <title>Example of the tabsum opcode.</title>
54 <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>
55 <xi:include href="examples-xml/tabsum.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
56 </example>
57 </para>
58 </refsect1>
59
60 <refsect1>
61 <title>See Also</title>
62 <para>
63 <link linkend="vectorial"><citetitle></citetitle>Vectorial opcodes</link>
64 </para>
65 </refsect1>
66
67 <refsect1>
68 <title>Credits</title>
69 <para>
70 <simplelist>
71 <member>Author: &namejohn;</member>
72 <member>Codemist Ltd</member>
73 <member>2009</member>
74 </simplelist>
75 </para>
76 <para>New in version 5.11</para>
77 </refsect1>
78 </refentry>