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

  <refnamediv>
    <refname>lineto</refname>
    <refpurpose>
      Generate glissandos starting from a control signal.
      <indexterm id="IndexLineto"><primary>lineto</primary></indexterm>
    </refpurpose>
  </refnamediv>
  
  <refsect1>
    <title>Description</title>
    <para>
      Generate glissandos starting from a control signal.
    </para>
  </refsect1>

  <refsect1>
    <title>Syntax</title>
    <synopsis>kr <command>lineto</command> ksig, ktime</synopsis>
  </refsect1>

  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>kr</emphasis> -- Output signal.
    </para>

    <para>
      <emphasis>ksig</emphasis> -- Input signal.
    </para>

    <para>
      <emphasis>ktime</emphasis> -- Time length of glissando in seconds.
    </para>

    <para>
      <emphasis>lineto</emphasis> adds glissando (i.e. straight lines) to a stepped input signal (for example, produced by <link linkend="randh"><citetitle>randh</citetitle></link> or <link linkend="lpshold"><citetitle>lpshold</citetitle></link>).  It generates a straight line starting from previous step value, reaching the new step value in <emphasis>ktime</emphasis> seconds. When the new step value is reached, such value is held until a new step occurs. Be sure that <emphasis>ktime</emphasis> argument value is smaller than the time elapsed between two consecutive steps of the original signal, otherwise discontinuities will occur in output signal.
    </para>

    <para>
      When used together with the output of <link linkend="lpshold"><citetitle>lpshold</citetitle></link> it emulates the glissando effect of old analog sequencers.
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="tlineto"><citetitle>tlineto</citetitle></link>
    </para>
  </refsect1>

  <refsect1>
    <title>Credits</title>
    <para>Author: &namegabriel;</para>
    <para>New in Version 4.13</para>
  </refsect1>
</refentry>
