Debian Codegraph @

opcodes/vtable1k.xml

raw symbols SCIP
1
2 <refentry id="vtable1k">
3 <indexterm id="IndexVtable1k"><primary>vtable1k</primary></indexterm>
4 <refentryinfo><title>Vectorial:Tables</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>vtable1k</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>vtable1k</refname>
11 <refpurpose>
12 Read a vector (several scalars simultaneously) from a table.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 This opcode reads vectors from tables at k-rate.
20 </para>
21 </refsect1>
22 <refsect1>
23 <title>Syntax</title>
24 <synopsis><command>vtable1k</command> kfn,kout1 [, kout2, kout3, .... , koutN ]</synopsis>
25 </refsect1>
26 <!--
27 <refsect1>
28 <title>Initialization</title>
29 <para>
30 </para>
31 </refsect1>-->
32
33 <refsect1>
34 <title>Performance</title>
35 <para>
36 <emphasis>kfn</emphasis> - table number
37 </para>
38 <para>
39 <emphasis>kout1...koutN</emphasis> - output vector elements
40 </para>
41 <para>
42 <emphasis>vtable1k</emphasis> is a reduced version of <link linkend="vtablek"><citetitle>vtablek</citetitle></link>, it only allows to access the first vector (it is equivalent to vtablek with kndx = zero, but a bit faster). It is useful to easily and quickly convert a set of values stored in a table into a set of k-rate variables to be used in normal opocodes, instead of using individual <link linkend="table"><citetitle>table</citetitle></link> opcodes for each value.
43 </para>
44 <note>
45 <para>
46 <emphasis>vtable1k</emphasis> is an unusual opcode as it produces its output on the right side arguments of the opcode.
47 </para>
48 </note>
49 </refsect1>
50
51 <refsect1>
52 <title>Examples</title>
53 <para>
54 Here is an example of the vtable1k opcode. It uses the files <ulink url="examples/vtable1k.csd"><citetitle>vtable1k.csd</citetitle></ulink>.
55
56 <example>
57 <title>Example of the vtable1k opcode.</title>
58 <xi:include href="examples-xml/vtable1k.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
59
60 </example>
61 </para>
62 </refsect1>
63
64 <refsect1>
65 <title>See also</title>
66 <para><link linkend="vectorialtables"><citetitle>Tables of vectors operators</citetitle></link></para>
67 </refsect1>
68
69 <refsect1>
70 <title>Credits</title>
71 <para>Written by Gabriel Maldonado.</para>
72 <para>New in Csound 5.06</para>
73 </refsect1>
74 </refentry>