<!-- 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="pvcross"><citetitle>pvcross</citetitle></link> (q.v.), except in using <emphasis>fsig</emphasis>s rather than analysis files, and the absence of spectral envelope preservation. The amplitudes from <emphasis>fsrc</emphasis> are applied to <emphasis>fdest</emphasis>, using scale factors <emphasis>kamp1</emphasis> and <emphasis>kamp2</emphasis> respectively. <emphasis>kamp1</emphasis> and <emphasis>kamp2</emphasis> 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 <emphasis>fsrc</emphasis> and <emphasis>fdest</emphasis>. 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>November 2003. Thanks to &namekanata;, fixed the link to the <emphasis>pvcross</emphasis> opcode.</para>

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