<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="outs2">
  <refmeta>
    <refentrytitle>outs2</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>outs2</refname>
    <refpurpose>
      Writes samples to stereo channel 2 of an external device or stream.
      <indexterm id="IndexOuts2"><primary>outs2</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Writes samples to stereo channel 2 of an external device or stream.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis><command>outs2</command> asig</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      Sends audio samples to an accumulating output buffer (created at the beginning of performance) which serves to collect the output of all active instruments before the sound is written to disk. There can be any number of these output units in an instrument.
    </para>

    <para>
      The type (mono, stereo, quad, hex, or oct) should agree with <link linkend="nchnls"><citetitle>nchnls</citetitle></link>. But as of version 3.50, Csound will attempt to change an incorrect opcode to agree with the <emphasis>nchnls</emphasis> statement. Opcodes can be chosen to direct sound to any particular channel: <emphasis>outs1</emphasis> sends to stereo channel 1, <emphasis>outq3</emphasis> to quad channel 3, etc.
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="out"><citetitle>out</citetitle></link>,
      <link linkend="outh"><citetitle>outh</citetitle></link>,
      <link linkend="outo"><citetitle>outo</citetitle></link>,
      <link linkend="outq"><citetitle>outq</citetitle></link>,
      <link linkend="outq1"><citetitle>outq1</citetitle></link>,
      <link linkend="outq2"><citetitle>outq2</citetitle></link>,
      <link linkend="outq3"><citetitle>outq3</citetitle></link>,
      <link linkend="outq4"><citetitle>outq4</citetitle></link>,
      <link linkend="outs"><citetitle>outs</citetitle></link>,
      <link linkend="outs1"><citetitle>outs1</citetitle></link>,
      <link linkend="soundout"><citetitle>soundout</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namebarry;, &namematt;/&namemike;</member>
        <member>MIT, Mills College</member>
        <member>1993-1997</member>
      </simplelist>
    </para>
  </refsect1>
</refentry>
