Debian Codegraph @

opcodes/timout.xml

raw symbols SCIP
1
2 <refentry id="timout">
3 <indexterm id="IndexTimout"><primary>timout</primary></indexterm>
4 <refentryinfo><title>Instrument Control:Program Flow Control</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>timout</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>timout</refname>
11
12 <refpurpose>
13 Conditional branch during p-time depending on elapsed note time.
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>
20 Conditional branch during p-time depending on elapsed note time. <emphasis>istrt</emphasis> and <emphasis>idur</emphasis> specify time in seconds. The branch to <emphasis>label</emphasis> will become effective at time <emphasis>istrt</emphasis>, and will remain so for just <emphasis>idur</emphasis> seconds. Note that <emphasis>timout</emphasis> can be reinitialized for multiple activation within a single note (see example under <link linkend="reinit"><citetitle>reinit</citetitle></link>).
21 </para>
22 </refsect1>
23
24 <refsect1>
25 <title>Syntax</title>
26 <synopsis><command>timout</command> istrt, idur, label</synopsis>
27
28 <para>
29 where <emphasis>label</emphasis> is in the same instrument block and is not an expression.
30 </para>
31 </refsect1>
32
33 <refsect1>
34 <title>Examples</title>
35 <para>
36 Here is an example of the timout opcode. It uses the file <ulink url="examples/timout.csd"><citetitle>timout.csd</citetitle></ulink>.
37 <example>
38 <title>Example of the timout opcode.</title>
39 <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>
40 <xi:include href="examples-xml/timout.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
41 </example>
42 </para>
43 </refsect1>
44
45 <refsect1>
46 <title>See also</title>
47 <para><link linkend="ControlPgmctl"><citetitle>Program Flow Control</citetitle></link></para>
48 </refsect1>
49
50 <!-- <refsect1>
51 <title>Credits</title>
52 <para>Added a note by Jim Aikin.</para>
53 </refsect1>-->
54 </refentry>