| 1 | |
| 2 | <refentry id="turnoff3"> |
| 3 | <indexterm id="IndexTurnoff3"><primary>turnoff3</primary></indexterm> |
| 4 | <refentryinfo><title>Instrument Control:Duration Control</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>turnoff3</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>turnoff3</refname> |
| 11 | |
| 12 | <refpurpose> |
| 13 | Turn off instance(s) of other instruments at performance time in |
| 14 | the queue of scheduled events. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | Turn off instance(s) of other instruments at performance time in |
| 22 | the queue of scheduled events. |
| 23 | |
| 24 | </para> |
| 25 | </refsect1> |
| 26 | |
| 27 | <refsect1> |
| 28 | <title>Syntax</title> |
| 29 | <synopsis><command>turnoff3</command> kinsno |
| 30 | </synopsis> |
| 31 | </refsect1> |
| 32 | |
| 33 | <refsect1> |
| 34 | <title>Performance</title> |
| 35 | <para> |
| 36 | <emphasis>kinsno</emphasis> |
| 37 | -- instrument to be turned off (can be fractional) if zero or |
| 38 | negative, no instrument is turned off |
| 39 | </para> |
| 40 | |
| 41 | </refsect1> |
| 42 | |
| 43 | <refsect1> |
| 44 | <title>Examples</title> |
| 45 | <para> |
| 46 | The following example uses the turnoff3 opcode. |
| 47 | |
| 48 | <example> |
| 49 | <title>Example of the turnoff3 opcode.</title> |
| 50 | |
| 51 | |
| 52 | <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> |
| 53 | <xi:include href="examples-xml/turnoff3.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 54 | </example> |
| 55 | </para> |
| 56 | </refsect1> |
| 57 | |
| 58 | <refsect1> |
| 59 | <title>See also</title> |
| 60 | <para><link linkend="ControlDurctl"><citetitle>Duration Control Statements</citetitle></link></para> |
| 61 | </refsect1> |
| 62 | |
| 63 | <refsect1> |
| 64 | <title>Credits</title> |
| 65 | <para> |
| 66 | <simplelist> |
| 67 | <member>Author: &namejohn;</member> |
| 68 | <member>2020</member> |
| 69 | </simplelist> |
| 70 | </para> |
| 71 | <para>New in Csound 6.16</para> |
| 72 | </refsect1> |
| 73 | |
| 74 | </refentry> |