Debian Codegraph @

opcodes/tabw_i.xml

raw symbols SCIP
1
2 <refentry id="tabw_i">
3 <indexterm id="IndexTabw_i"><primary>tabw_i</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Table Access</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>tabw_i</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>tabw_i</refname>
11 <refpurpose>
12 Fast table opcodes.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Fast table opcodes. Faster than
20 <link linkend="tablew"><citetitle>tablew</citetitle></link> because it does not
21 allow wrap-around and limit. Has
22 been implemented in order to provide fast access to
23 arrays.
24 <!-- Support non-power of two tables (can be generated by any -->
25 <!-- GEN function by giving a negative length value). -->
26 </para>
27 </refsect1>
28
29 <refsect1>
30 <title>Syntax</title>
31 <synopsis><command>tabw_i</command> isig, indx, ifn [,ixmode]</synopsis>
32 </refsect1>
33
34 <refsect1>
35 <title>Initialization</title>
36 <para>
37 <emphasis>ifn</emphasis> -- table number
38 </para>
39 <para>
40 <emphasis>ixmode</emphasis> -- defaults to zero. If zero
41 <emphasis>indx</emphasis> range matches the length of the table;
42 if non zero <emphasis>xndx</emphasis> has a 0 to 1 range.
43 </para>
44 <para>
45 <emphasis>isig</emphasis> -- input value to write.
46 </para>
47 <para>
48 <emphasis>indx</emphasis> -- table index
49 </para>
50 </refsect1>
51
52 <refsect1>
53 <title>Performance</title>
54 <para>
55 <emphasis>tabw_i</emphasis> opcode is similar to <emphasis>tablew</emphasis>
56 but is faster, and use rounding of
57 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>