Debian Codegraph @

opcodes/count_i.xml

raw symbols SCIP
1
2 <refentry id="count_i">
3 <indexterm id="IndexCount_i"><primary>count_i</primary></indexterm>
4 <refentryinfo><title>Instrument Control:Sensing and Control</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>count_i</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>count_i</refname>
11 <refpurpose>
12 Get the next value from a counter.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>Plugin opcode in counter.</para>
19 <para>
20 Get the next value from a counter a init time by adding the increment and
21 keeping the counter in the declared range.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>ival <command>count_i</command> icnt</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <emphasis>icnt</emphasis> -- the handle of a counter object from
34 a call to <emphasis>cntCreate</emphasis>.
35 </para>
36 </refsect1>
37
38 <refsect1>
39 <title>Performance</title>
40 <para>
41 Calculate the next value from the counter object and return that
42 value.
43 </para>
44 <para>
45 <emphasis>ival</emphasis> -- returned value.
46 </para>
47 </refsect1>
48
49 <refsect1>
50 <title>Examples</title>
51 <para>
52 Here is an example of the count_i opcode. It uses the file <ulink url="examples/counter.csd"><citetitle>counter.csd</citetitle></ulink>.
53 <example>
54 <title>Example of the count_i opcode.</title>
55 <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>
56 <xi:include href="examples-xml/counter.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
57 </example>
58 </para>
59 </refsect1>
60
61 <refsect1>
62 <title>See also</title>
63 <para><link linkend="ControlPgmctl"><citetitle>Program Flow Control: Counter</citetitle></link></para>
64 </refsect1>
65
66 <refsect1>
67 <title>Credits</title>
68 <para>By: &namejohn; June 2020</para>
69 <para>New in version 6.15</para>
70 </refsect1>
71
72 </refentry>