Debian Codegraph @

opcodes/tab_i.xml

raw symbols SCIP
1
2 <refentry id="tab_i">
3 <indexterm id="IndexTab_i"><primary>tab_i</primary></indexterm>
4
5 <refentryinfo><title>Signal Generators:Table Access</title></refentryinfo>
6 <refmeta>
7 <refentrytitle>tab_i</refentrytitle>
8 </refmeta>
9
10 <refnamediv>
11 <refname>tab_i</refname>
12 <refpurpose>
13 Fast table opcodes.
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>
20 Fast table opcodes. Faster than
21 <link linkend="table"><citetitle>table</citetitle></link> because it does not
22 allow wrap-around and limit. Has
23 been implemented in order to provide fast access to
24 arrays.
25 <!-- Support non-power of two tables (can be generated by any -->
26 <!-- GEN function by giving a negative length value). -->
27 </para>
28 </refsect1>
29
30 <refsect1>
31 <title>Syntax</title>
32 <synopsis>ir <command>tab_i</command> indx, ifn[, ixmode]</synopsis>
33 </refsect1>
34
35 <refsect1>
36 <title>Initialization</title>
37 <para>
38 <emphasis>ifn</emphasis> -- table number
39 </para>
40 <para>
41 <emphasis>ixmode</emphasis> -- defaults to zero. If zero
42 <emphasis>indx</emphasis> range matches the length of the table;
43 if non zero <emphasis>indx</emphasis> has a 0 to 1 range.
44 </para>
45 <para>
46 <emphasis>indx</emphasis> -- table index
47 </para>
48 </refsect1>
49
50 <refsect1>
51 <title>Performance</title>
52 <para>
53 <emphasis>indx</emphasis> -- table index.
54 </para>
55 <para>
56 <emphasis>tab_i</emphasis> opcode is similar to
57 <emphasis>table</emphasis> but are faster, and use rounding of the index.
58 </para>
59 <!-- <para> -->
60 <!-- Special care of index value must be taken into account. Index -->
61 <!-- values out of the table allocated space will crash Csound. -->
62 <!-- </para> -->
63 </refsect1>
64
65 <!-- <refsect1> -->
66 <!-- <title>Examples</title> -->
67 <!-- <para> -->
68 <!-- Here is an example of the tab opcode. It uses the file <ulink url="examples/tab.csd"><citetitle>tab.csd</citetitle></ulink>. -->
69 <!-- <example> -->
70 <!-- <title>Example of the tab opcode.</title> -->
71 <!-- <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> -->
72 <!-- <xi:include href="examples-xml/tab.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> -->
73 <!-- </example> -->
74 <!-- </para> -->
75 <!-- </refsect1> -->
76
77 <refsect1>
78 <title>See Also</title>
79 <para><link linkend="SiggenTableacc"><citetitle>Table Access</citetitle></link></para>
80 </refsect1>
81
82 <refsect1>
83 <title>Credits</title>
84 <para>Written by &namegabriel;.</para>
85 </refsect1>
86 </refentry>