Debian Codegraph @

opcodes/tabrec.xml

raw symbols SCIP
1
2 <refentry id="tabrec">
3 <indexterm id="IndexTabRec"><primary>tabrec</primary></indexterm>
4 <refentryinfo><title>Table Control:Read/Write Operations</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>tabrec</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>tabrec</refname>
11 <refpurpose>
12 Recording of control signals.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Records control-rate signals on trigger-temporization basis.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis><command>tabrec</command> ktrig_start, ktrig_stop, knumtics, kfn, kin1 [,kin2,...,kinN]</synopsis>
26 </refsect1>
27
28 <!--<refsect1>
29 <title>Initialization</title>
30 </refsect1>-->
31
32 <refsect1>
33 <title>Performance</title>
34 <para>
35 <emphasis>ktrig_start</emphasis> -- start recording when
36 non-zero.
37 </para>
38 <para>
39 <emphasis>ktrig_stop</emphasis> -- stop recording when <emphasis>knumtics</emphasis>
40 trigger impulses are received by this input argument.
41 </para>
42 <para>
43 <emphasis>knumtics</emphasis> -- stop recording or reset playing
44 pointer to zero when the number of tics defined by this argument
45 is reached.
46 </para>
47 <para>
48 <emphasis>kfn</emphasis> -- table where k-rate signals are recorded.
49 </para>
50 <para>
51 <emphasis>kin1,...,kinN</emphasis> -- input signals to record.
52 </para>
53 <para>
54 The <emphasis>tabrec</emphasis> and <link linkend="tabplay"><citetitle>tabplay</citetitle></link>
55 opcodes allow to record/playback control signals on
56 trigger-temporization basis.
57 </para>
58 <para>
59 <emphasis>tabrec</emphasis> opcode records a group of k-rate
60 signals by storing them into <emphasis>kfn</emphasis> table. Each time <emphasis>ktrig_start</emphasis> is
61 triggered, <emphasis>tabrec</emphasis> resets the table pointer to zero and begins to
62 record. Recording phase stops after <emphasis>knumtics</emphasis> trigger impulses
63 have been received by <emphasis>ktrig_stop</emphasis> argument.
64 </para>
65 <para>
66 These opcodes can be used like a sort of ``middle-term'' memory
67 that ``remembers'' generated signals. Such memory can be used to
68 supply generative music with a coherent iterative compositional structure.
69 </para>
70 </refsect1>
71
72 <refsect1>
73 <title>Examples</title>
74 <para>
75 Here is an example of the tabrec opcode. It uses the file <ulink url="examples/tabrec.csd"><citetitle>tabrec.csd</citetitle></ulink>.
76
77 <example>
78 <title>Example of the tabrec opcode.</title>
79 <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>
80 <xi:include href="examples-xml/tabrec.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
81 </example>
82 </para>
83 </refsect1>
84
85 <refsect1>
86 <title>See also</title>
87 <para><link linkend="TableReadwrit"><citetitle>Read/Write Operations</citetitle></link></para>
88 </refsect1>
89
90 <refsect1>
91 <title>Credits</title>
92 <para>Written by &namegabriel;.</para>
93 <para>Example written by Iain McCurdy</para>
94 </refsect1>
95 </refentry>