| 1 | |
| 2 | <refentry id="tival"> |
| 3 | <indexterm id="IndexTival"><primary>tival</primary></indexterm> |
| 4 | <refentryinfo><title>Instrument Control:Initialization and Reinitialization</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>tival</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>tival</refname> |
| 13 | |
| 14 | <refpurpose> |
| 15 | Puts the value of the instrument's internal <quote>tie-in</quote> flag into the named i-rate variable. |
| 16 | </refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | <refsect1> |
| 20 | <title>Syntax</title> |
| 21 | <synopsis>ir <command>tival</command></synopsis> |
| 22 | </refsect1> |
| 23 | |
| 24 | <refsect1> |
| 25 | <title>Description</title> |
| 26 | <para> |
| 27 | Puts the value of the instrument's internal <quote>tie-in</quote> flag into the named i-rate variable. |
| 28 | </para> |
| 29 | </refsect1> |
| 30 | |
| 31 | <refsect1> |
| 32 | <title>Initialization</title> |
| 33 | <para> |
| 34 | Puts the value of the instrument's internal <quote>tie-in</quote> flag into the named i-rate variable. Assigns 1 if this note has been <quote>tied</quote> onto a previously held note (see <link linkend="i"><citetitle>i statement</citetitle></link>); assigns 0 if no tie actually took place. (See also <link linkend="tigoto"><citetitle>tigoto</citetitle></link>.) |
| 35 | </para> |
| 36 | </refsect1> |
| 37 | |
| 38 | <refsect1> |
| 39 | <title>Examples</title> |
| 40 | <para> |
| 41 | Here is an example of the tival opcode. It uses the file <ulink url="examples/tival.csd"><citetitle>tival.csd</citetitle></ulink>. |
| 42 | <example> |
| 43 | <title>Example of the tival opcode.</title> |
| 44 | <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> |
| 45 | <xi:include href="examples-xml/tival.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 46 | </example> |
| 47 | <para> |
| 48 | A musical examples featuring the tival opcode: <ulink url="examples/musical/TivalNstrnum_Yi.csd"><citetitle>TivalNstrnum_Yi.csd</citetitle></ulink> by Steven Yi. |
| 49 | </para> |
| 50 | </para> |
| 51 | </refsect1> |
| 52 | |
| 53 | <refsect1> |
| 54 | <title>See also</title> |
| 55 | <para><link linkend="ControlReinitn"><citetitle>Initialization and Reinitialization</citetitle></link></para> |
| 56 | <para> More on this opcode: <ulink url="http://www.csoundjournal.com/2005fall/tiedNotes.html"><citetitle>http://www.csoundjournal.com/2005fall/tiedNotes.html</citetitle></ulink> , written by Steven Yi </para> |
| 57 | </refsect1> |
| 58 | |
| 59 | </refentry> |