<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>lineto</title> <link rel="stylesheet" href="csound.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /> <link rel="home" href="index.html" title="The Canonical Csound Reference Manual" /> <link rel="up" href="OpcodesTop.html" title="Orchestra Opcodes and Operators" /> <link rel="prev" href="linenr.html" title="linenr" /> <link rel="next" href="linrand.html" title="linrand" /> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">lineto</th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="linenr.html">Prev</a> </td> <th width="60%" align="center">Orchestra Opcodes and Operators</th> <td width="20%" align="right"> <a accesskey="n" href="linrand.html">Next</a></td> </tr> </table> <hr /> </div> <div class="refentry" title="lineto"> <a id="lineto"></a> <div class="titlepage"></div> <a id="IndexLineto" class="indexterm"></a> <div class="refnamediv"> <h2> <span class="refentrytitle">lineto</span> </h2> <p>lineto — Generate glissandos starting from a control signal. </p> </div> <div class="refsect1" title="Description"> <a id="id2983512"></a> <h2>Description</h2> <p> Generate glissandos starting from a control signal. </p> </div> <div class="refsect1" title="Syntax"> <a id="id2983247"></a> <h2>Syntax</h2> <pre class="synopsis">kres <span class="command"><strong>lineto</strong></span> ksig, ktime</pre> </div> <div class="refsect1" title="Performance"> <a id="id2983265"></a> <h2>Performance</h2> <p> <span class="emphasis"><em>kres</em></span> -- Output signal. </p> <p> <span class="emphasis"><em>ksig</em></span> -- Input signal. </p> <p> <span class="emphasis"><em>ktime</em></span> -- Time length of glissando in seconds. </p> <p> <span class="emphasis"><em>lineto</em></span> adds glissando (i.e. straight lines) to a stepped input signal (for example, produced by <a class="link" href="randh.html" title="randh"><em class="citetitle">randh</em></a> or <a class="link" href="lpshold.html" title="lpshold"><em class="citetitle">lpshold</em></a>). It generates a straight line starting from previous step value, reaching the new step value in <span class="emphasis"><em>ktime</em></span> seconds. When the new step value is reached, such value is held until a new step occurs. Be sure that <span class="emphasis"><em>ktime</em></span> argument value is smaller than the time elapsed between two consecutive steps of the original signal, otherwise discontinuities will occur in output signal. </p> <p> When used together with the output of <a class="link" href="lpshold.html" title="lpshold"><em class="citetitle">lpshold</em></a> it emulates the glissando effect of old analog sequencers. </p> <div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"> <table border="0" summary="Note"> <tr> <td rowspan="2" align="center" valign="top" width="25"> <img alt="[Note]" src="images/note.png" /> </td> <th align="left">Note</th> </tr> <tr> <td align="left" valign="top"> <p>No new value for <span class="emphasis"><em>ksig</em></span> or <span class="emphasis"><em>ktime</em></span> will have effect until the previous <span class="emphasis"><em>ktime</em></span> has elapsed.</p> </td> </tr> </table> </div> </div> <div class="refsect1" title="See Also"> <a id="id2984203"></a> <h2>See Also</h2> <p> <a class="link" href="tlineto.html" title="tlineto"><em class="citetitle">tlineto</em></a> </p> </div> <div class="refsect1" title="Credits"> <a id="id2984221"></a> <h2>Credits</h2> <p>Author: Gabriel Maldonado</p> <p>New in Version 4.13</p> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="linenr.html">Prev</a> </td> <td width="20%" align="center"> <a accesskey="u" href="OpcodesTop.html">Up</a> </td> <td width="40%" align="right"> <a accesskey="n" href="linrand.html">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top">linenr </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top"> linrand</td> </tr> </table> </div> </body> </html>