Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 6ed14ebfd686aa32f7956e552aa2e21d > files > 2101

csound-manual-5.13.0-5.fc15.noarch.rpm

<?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>lpslot</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="lpsholdp.html" title="lpsholdp" />
    <link rel="next" href="mac.html" title="mac" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">lpslot</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="lpsholdp.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="mac.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry" title="lpslot">
      <a id="lpslot"></a>
      <div class="titlepage"></div>
      <a id="IndexLpslot" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">lpslot</span>
        </h2>
        <p>lpslot — 
      Selects the slot to be use by further lp opcodes.
          </p>
      </div>
      <div class="refsect1" title="Description">
        <a id="id3006677"></a>
        <h2>Description</h2>
        <p>
      Selects the slot to be use by further lp opcodes.
    </p>
      </div>
      <div class="refsect1" title="Syntax">
        <a id="id3006695"></a>
        <h2>Syntax</h2>
        <pre class="synopsis"><span class="command"><strong>lpslot</strong></span> islot</pre>
      </div>
      <div class="refsect1" title="Initialization">
        <a id="id3006712"></a>
        <h2>Initialization</h2>
        <p>
      <span class="emphasis"><em>islot</em></span> -- number of slot to be selected.
    </p>
      </div>
      <div class="refsect1" title="Performance">
        <a id="id3006726"></a>
        <h2>Performance</h2>
        <p>
      <span class="emphasis"><em>lpslot</em></span> selects the slot to be use by further lp opcodes. This is the way to load and reference several analyses at the same time.
    </p>
      </div>
      <div class="refsect1" title="Examples">
        <a id="id3006741"></a>
        <h2>Examples</h2>
        <p>
      Here is a typical orc using the opcodes:
      </p>
        <div class="informalexample">
          <pre class="programlisting">
ipower <span class="emphasis"><em>init</em></span> 50000  ; Define sound generator
ifreq  <span class="emphasis"><em>init</em></span> 440 
asrc   <span class="emphasis"><em>buzz</em></span> ipower,ifreq,10,1
  
ktime  <span class="emphasis"><em>line</em></span> 0,p3,p3          ; Define time lin
       <span class="emphasis"><em>lpslot</em></span> 0              ; Read square data poles
krmsr,krmso,kerr,kcps <span class="emphasis"><em>lpread</em></span>    ktime,"square.pol"                     
       <span class="emphasis"><em>lpslot</em></span> 1              ; Read triangle data poles
krmsr,krmso,kerr,kcps <span class="emphasis"><em>lpread</em></span>    ktime,"triangle.pol"
kmix   <span class="emphasis"><em>line</em></span> 0,p3,1           ; Compute result of mixing
       <span class="emphasis"><em>lpinterp</em></span> 0,1,kmix     ; and balance power
ares   <span class="emphasis"><em>lpreson</em></span> asrc
aout   <span class="emphasis"><em>balance</em></span> ares,asrc
       <span class="emphasis"><em>out</em></span> aout
        </pre>
        </div>
        <p>
    </p>
      </div>
      <div class="refsect1" title="See Also">
        <a id="id3007753"></a>
        <h2>See Also</h2>
        <p>
      <a class="link" href="lpinterp.html" title="lpinterp"><em class="citetitle">lpinterp</em></a>
    </p>
      </div>
      <div class="refsect1" title="Credits">
        <a id="id3007771"></a>
        <h2>Credits</h2>
        <p>
      </p>
        <table border="0" summary="Simple list" class="simplelist">
          <tr>
            <td>Author: Mark Resibois</td>
          </tr>
          <tr>
            <td>Brussels</td>
          </tr>
          <tr>
            <td>1996</td>
          </tr>
        </table>
        <p>
    </p>
        <p>New in version 3.44</p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="lpsholdp.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="mac.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">lpsholdp </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> mac</td>
        </tr>
      </table>
    </div>
  </body>
</html>