<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="control">
  <refmeta>
    <refentrytitle>control</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>control</refname>
    <refpurpose>
      Configurable slider controls for realtime user input.
      <indexterm id="IndexControl"><primary>control</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Configurable slider controls for realtime user input. Requires Winsound or TCL/TK. <emphasis>control</emphasis> reads a slider's value.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>kr <command>control</command> knum</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>knum</emphasis> -- number of the slider to be read.
    </para>

    <para>
      Calling <emphasis>control</emphasis> will create a new slider on the screen. There is no theoretical limit to the number of sliders. Windows and TCL/TK use only integers for slider values, so the values may need rescaling. GUIs usually pass values at a fairly slow rate, so it may be advisable to pass the output of control through <emphasis>port</emphasis>.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Examples</title>
    <para>
      See the <link linkend="setctrl"><citetitle>setctrl</citetitle></link> opcode for an example.
    </para>
  </refsect1>
 
  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="setctrl"><citetitle>setctrl</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namejohn;</member>
        <member>University of Bath, Codemist. Ltd.</member>
        <member>Bath, UK</member>
        <member>May, 2000</member>
      </simplelist>
    </para>

    <para>New in Csound version 4.06</para>
  </refsect1>
</refentry>
