| 1 | |
| 2 | <refentry id="ctrlselect"> |
| 3 | <indexterm id="IndexCtrlselect"><primary>ctrlselect</primary></indexterm> |
| 4 | <refentryinfo><title>Real-time MIDI:Input</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>ctrlselect</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>ctrlselect</refname> |
| 11 | <refpurpose> |
| 12 | Loads a preset of values for MIDI controllers. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | Loads a preset of values for MIDI controllers from a previous |
| 20 | ctrlpreset call. |
| 21 | </para> |
| 22 | </refsect1> |
| 23 | |
| 24 | <refsect1> |
| 25 | <title>Syntax</title> |
| 26 | <synopsis> <command>ctrlselect</command> kpre</synopsis> |
| 27 | </refsect1> |
| 28 | |
| 29 | <refsect1> |
| 30 | <title>Initialization</title> |
| 31 | <para> |
| 32 | At initialisation time the existence of the internal data structure is checked. |
| 33 | </para> |
| 34 | |
| 35 | </refsect1> |
| 36 | |
| 37 | <refsect1> |
| 38 | <title>Performance</title> |
| 39 | <para> |
| 40 | <emphasis>kpre</emphasis> -- the numeric tag for the preset, as |
| 41 | returned by ctrlpreset. |
| 42 | </para> |
| 43 | </refsect1> |
| 44 | |
| 45 | <refsect1> |
| 46 | <title>Examples</title> |
| 47 | <para> |
| 48 | Here is an example of the ctrlselect opcode. It uses the file <ulink url="examples/ctrls.csd"><citetitle>ctrls.csd</citetitle></ulink>. |
| 49 | <example> |
| 50 | <title>Example of the ctrlselect opcode.</title> |
| 51 | <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> |
| 52 | <xi:include href="examples-xml/ctrls.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 53 | </example> |
| 54 | </para> |
| 55 | </refsect1> |
| 56 | |
| 57 | <refsect1> |
| 58 | <title>See also</title> |
| 59 | <para><link linkend="MidiInput"><citetitle>MIDI input and Initialization</citetitle></link></para> |
| 60 | </refsect1> |
| 61 | |
| 62 | <refsect1> |
| 63 | <title>Credits</title> |
| 64 | <para> |
| 65 | <simplelist> |
| 66 | <member>Authors: &namejohn; and Richard Boulanger</member> |
| 67 | </simplelist> |
| 68 | </para> |
| 69 | |
| 70 | <para>New in Csound version 6.16</para> |
| 71 | </refsect1> |
| 72 | </refentry> |