Sophie

Sophie

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

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>pset</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="product.html" title="product" />
    <link rel="next" href="ptrack.html" title="ptrack" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">pset</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="product.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="ptrack.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry" title="pset">
      <a id="pset"></a>
      <div class="titlepage"></div>
      <a id="IndexPset" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">pset</span>
        </h2>
        <p>pset — 
      Defines and initializes numeric arrays at orchestra load time.
    </p>
      </div>
      <div class="refsect1" title="Description">
        <a id="id3117878"></a>
        <h2>Description</h2>
        <p>
      Defines and initializes numeric arrays at orchestra load time.
    </p>
      </div>
      <div class="refsect1" title="Syntax">
        <a id="id3117896"></a>
        <h2>Syntax</h2>
        <pre class="synopsis"><span class="command"><strong>pset</strong></span> icon1 [, icon2] [...]</pre>
      </div>
      <div class="refsect1" title="Initialization">
        <a id="id3117913"></a>
        <h2>Initialization</h2>
        <p>
      <span class="emphasis"><em>icon1, icon2, ...</em></span> -- preset values for a MIDI instrument
    </p>
        <p>
      <span class="emphasis"><em>pset</em></span> (optional) defines and initializes numeric arrays at orchestra load time. It may be used as an orchestra header statement (i.e. instrument 0) or within an instrument. When defined within an instrument, it is not part of its i-time or performance operation, and only one statement is allowed per instrument. These values are available as i-time defaults. When an instrument is triggered from MIDI it only gets p1 and p2 from the event, and p3, p4, etc. will receive the actual preset values.
    </p>
      </div>
      <div class="refsect1" title="Examples">
        <a id="id3117942"></a>
        <h2>Examples</h2>
        <p>
      The example below illustrates <span class="emphasis"><em>pset</em></span> as used within an instrument.

      </p>
        <div class="informalexample">
          <pre class="programlisting">
<span class="oblock">instr</span> 1
  <span class="opc">pset</span> 0,0,3,4,5,6  <span class="comment">; pfield substitutes</span>
  a1 <span class="opc">oscil</span> 10000, 440, p6</pre>
        </div>
        <p>
    </p>
      </div>
      <div class="refsect1" title="See Also">
        <a id="id3117990"></a>
        <h2>See Also</h2>
        <p>
      <a class="link" href="strset.html" title="strset"><em class="citetitle">strset</em></a>
    </p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="product.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="ptrack.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">product </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> ptrack</td>
        </tr>
      </table>
    </div>
  </body>
</html>