<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="pvscross">
  <refmeta>
    <refentrytitle>pvscross</refentrytitle>
  </refmeta>

  <refnamediv>
    <refname>pvscross</refname>
    <refpurpose>
      Performs cross-synthesis between two source fsigs.
      <indexterm id="IndexPvscross"><primary>pvscross</primary></indexterm>
    </refpurpose>
  </refnamediv>
  
  <refsect1>
    <title>Description</title>
    <para>
      Performs cross-synthesis between two source fsigs.
    </para>
  </refsect1>

  <refsect1>
    <title>Syntax</title>
    <synopsis>fsig <command>pvscross</command> fsrc, fdest, kamp1, kamp2</synopsis>
  </refsect1>

  <refsect1>
    <title>Performance</title>
    <para>
      The operation of this opcode is identical to that of <link linkend="pvread"><citetitle>pvcross</citetitle></link> (q.v.), except in using fsigs rather than analysis files, and the absence of spectral envelope preservation. The amplitudes from fsrc are applied to fdest, using scale factors kamp1  and kamp2 respectively. kamp1 and kamp2 must not exceed the range 0 to 1.
    </para>

    <para>
      With this opcode, cross-synthesis can be performed on real-time audio input, by using <link linkend="pvsanal"><citetitle>pvsanal</citetitle></link> to generate fsrc and fdest. These must have the same format.
    </para>
  </refsect1>

  <refsect1>
    <title>Examples</title>
    <para>
      <informalexample>
        <programlisting>
kcross  linseg    0,p3/3,0,p3/3,1,p3/3,1 ; progressive cross-synthesis
fcross  pvscross  fsig1,fsig2,1-kcross,kcross
across  pvsynth   fcross
        </programlisting>
      </informalexample>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namerichard;</member>
        <member>August 2001 </member>
      </simplelist>
    </para>

    <para>New in version 4.13</para>
  </refsect1>
</refentry>
