<?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>lpsholdp</title> <link rel="stylesheet" type="text/css" href="csound.css" /> <link rel="stylesheet" type="text/css" href="syntax-highlighting.css" /> <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /> <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="lpshold.html" title="lpshold" /> <link rel="next" href="lpslot.html" title="lpslot" /> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">lpsholdp</th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="lpshold.html">Prev</a> </td> <th width="60%" align="center">Orchestra Opcodes and Operators</th> <td width="20%" align="right"> <a accesskey="n" href="lpslot.html">Next</a></td> </tr> </table> <hr /> </div> <div class="refentry"> <a id="lpsholdp"></a> <div class="titlepage"></div> <a id="Indexlpsholdp" class="indexterm"></a> <div class="refnamediv"> <h2> <span class="refentrytitle">lpsholdp</span> </h2> <p>lpsholdp — Control signals based on held segments. </p> </div> <div class="refsect1"> <a id="idm281472917140792"></a> <h2>Description</h2> <p> Generate control signal consisiting of held segments delimited by two or more specified points. The entire envelope can be looped at time-variant rate. Each segment coordinate can also be varied at k-rate. </p> </div> <div class="refsect1"> <a id="idm281472917137336"></a> <h2>Syntax</h2> <pre class="synopsis">ksig <span class="command"><strong>lpsholdp</strong></span> kphase, kvalue0, ktime0 [, kvalue1] [, ktime1] \ [, kvalue2] [, ktime2] [...]</pre> </div> <div class="refsect1"> <a id="idm281472917135160"></a> <h2>Performance</h2> <p> <span class="emphasis"><em>ksig</em></span> - output signal </p> <p> <span class="emphasis"><em>kphase</em></span> -- point of the sequence read, expressed as a fraction of a cycle (0 to 1) </p> <p> <span class="emphasis"><em>kvalue0...kvalueN</em></span> -- Values of points </p> <p> <span class="emphasis"><em>ktime0...ktimeN</em></span> -- Times between points; expressed in fractions of a cycle (see below). The final time designates a ramp between the final value and the first value. </p> <p> <span class="emphasis"><em>lpsholdp</em></span> opcode is similar to <a class="link" href="lpshold.html" title="lpshold"><em class="citetitle">lpshold</em></a>; the only difference is that, instead of frequency, a time-variant phase is required. If you use a phasor to get the phase value, you will have a behaviour identical to <span class="emphasis"><em>lpshold</em></span>, but interesting results can be achieved when using phases having non-linear motions, making <span class="emphasis"><em>lpsholdp</em></span> more powerful and general than <span class="emphasis"><em>lpshold</em></span>. </p> </div> <div class="refsect1"> <a id="idm281472917055704"></a> <h2>Credits</h2> <p>Written by Gabriel Maldonado.</p> <p>New in Csound 5 (Previously available only on CsoundAV)</p> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="lpshold.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="lpslot.html">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top">lpshold </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top"> lpslot</td> </tr> </table> </div> </body> </html>