| 1 |
|
| 2 |
<refentry id="tigoto"> |
| 3 |
<indexterm id="IndexTigoto"><primary>tigoto</primary></indexterm> |
| 4 |
<refentryinfo><title>Instrument Control:Program Flow Control</title></refentryinfo> |
| 5 |
<refmeta> |
| 6 |
<refentrytitle>tigoto</refentrytitle> |
| 7 |
</refmeta> |
| 8 |
|
| 9 |
<refnamediv> |
| 10 |
<refname>tigoto</refname> |
| 11 |
|
| 12 |
<refpurpose> |
| 13 |
Transfer control at i-time when a new note is being tied onto a previously held note |
| 14 |
</refpurpose> |
| 15 |
</refnamediv> |
| 16 |
|
| 17 |
<refsect1> |
| 18 |
<title>Description</title> |
| 19 |
<para> |
| 20 |
Similar to <link linkend="igoto"><citetitle>igoto</citetitle></link> but effective only during an i-time pass at which a new note is being <quote>tied</quote> onto a previously held note. (See <link linkend="i"><citetitle>i Statement</citetitle></link>) It does not work when a tie has not taken place. Allows an instrument to skip initialization of units according to whether a proposed tie was in fact successful. (See also <link linkend="tival"><citetitle>tival</citetitle></link>). |
| 21 |
</para> |
| 22 |
</refsect1> |
| 23 |
|
| 24 |
<refsect1> |
| 25 |
<title>Syntax</title> |
| 26 |
<synopsis><command>tigoto</command> 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 tigoto opcode. It uses the file <ulink url="examples/tigoto.csd"><citetitle>tigoto.csd</citetitle></ulink>. |
| 37 |
<example> |
| 38 |
<title>Example of the tigoto 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/tigoto.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 41 |
</example> |
| 42 |
</para> |
| 43 |
<para> |
| 44 |
Here is another example of the tigoto opcode. It uses the file <ulink url="examples/tigoto2.csd"><citetitle>tigoto2.csd</citetitle></ulink>. |
| 45 |
<example> |
| 46 |
<title>Second example of the tigoto opcode.</title> |
| 47 |
<xi:include href="examples-xml/tigoto2.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 48 |
</example> |
| 49 |
</para> |
| 50 |
</refsect1> |
| 51 |
|
| 52 |
<refsect1> |
| 53 |
<title>See also</title> |
| 54 |
<para><link linkend="ControlPgmctl"><citetitle>Program Flow Control</citetitle></link></para> |
| 55 |
</refsect1> |
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
</refentry> |