Sophie

Sophie

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

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>event_i</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="event.html" title="event" />
    <link rel="next" href="exitnow.html" title="exitnow" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">event_i</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="event.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="exitnow.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry" title="event_i">
      <a id="event_i"></a>
      <div class="titlepage"></div>
      <a id="IndexEventi" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">event_i</span>
        </h2>
        <p>event_i — 
      Generates a score event from an instrument.
          </p>
      </div>
      <div class="refsect1" title="Description">
        <a id="id2840385"></a>
        <h2>Description</h2>
        <p>
      Generates a score event from an instrument.
    </p>
      </div>
      <div class="refsect1" title="Syntax">
        <a id="id2840396"></a>
        <h2>Syntax</h2>
        <pre class="synopsis"><span class="command"><strong>event_i</strong></span> "scorechar", iinsnum, idelay, idur, [, ip4] [, ip5] [, ...]</pre>
        <pre class="synopsis"><span class="command"><strong>event_i</strong></span> "scorechar", "insname", idelay, idur, [, ip4] [, ip5] [, ...]</pre>
      </div>
      <div class="refsect1" title="Initialization">
        <a id="id2840427"></a>
        <h2>Initialization</h2>
        <p>
      <span class="emphasis"><em><span class="quote">“<span class="quote">scorechar</span>”</span></em></span> -- A string (in double-quotes) representing the first p-field in a score statement. This is usually <a class="link" href="e.html" title="e Statement"><em class="citetitle"><span class="quote">“<span class="quote">e</span>”</span></em></a>, <a class="link" href="f.html" title="f Statement (or Function Table Statement)"><em class="citetitle"><span class="quote">“<span class="quote">f</span>”</span></em></a>, or <a class="link" href="i.html" title="i Statement (Instrument or Note Statement)"><em class="citetitle"><span class="quote">“<span class="quote">i</span>”</span></em></a>.
    </p>
        <p>
      <span class="emphasis"><em><span class="quote">“<span class="quote">insname</span>”</span></em></span> -- A string (in double-quotes) representing a named instrument.
    </p>
        <p>
      <span class="emphasis"><em>iinsnum</em></span> -- The instrument to use for the event. This corresponds to the first p-field, p1, in a score statement.
    </p>
        <p>
      <span class="emphasis"><em>idelay</em></span> -- When (in seconds) the event will occur from the current performance time. This corresponds to the second p-field, p2, in a score statement.
    </p>
        <p>
      <span class="emphasis"><em>idur</em></span> -- How long (in seconds) the event will happen. This corresponds to the third p-field, p3, in a score statement.
    </p>
        <p>
      <span class="emphasis"><em>ip4, ip5, ...</em></span> (optional) -- Parameters representing additional p-field in a score statement. It starts with the fourth p-field, p4.
    </p>
      </div>
      <div class="refsect1" title="Performance">
        <a id="id2840513"></a>
        <h2>Performance</h2>
        <p> The event is added to the queue at initialisation time.</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> Note that the <span class="emphasis"><em>event_i</em></span> opcode can't accept string p-fields. If you need to pass strings when instantiating an instrument, use the <a class="link" href="scoreline.html" title="scoreline"><em class="citetitle">scoreline</em></a> or <a class="link" href="scoreline_i.html" title="scoreline_i"><em class="citetitle">scoreline_i</em></a> opcode.</p>
              </td>
            </tr>
          </table>
        </div>
      </div>
      <div class="refsect1" title="See also">
        <a id="id2840552"></a>
        <h2>See also</h2>
        <p><a class="link" href="event.html" title="event"><em class="citetitle">event</em></a>,
    <a class="link" href="schedule.html" title="schedule"><em class="citetitle">schedule</em></a>,
    <a class="link" href="schedwhen.html" title="schedwhen"><em class="citetitle">schedwhen</em></a>,
    <a class="link" href="schedkwhen.html" title="schedkwhen"><em class="citetitle">schedkwhen</em></a>,
    <a class="link" href="schedkwhennamed.html" title="schedkwhennamed"><em class="citetitle">schedkwhennamed</em></a>,
    <a class="link" href="scoreline.html" title="scoreline"><em class="citetitle">scoreline</em></a>,
    <a class="link" href="scoreline_i.html" title="scoreline_i"><em class="citetitle">scoreline_i</em></a></p>
      </div>
      <div class="refsect1" title="Credits">
        <a id="id2840616"></a>
        <h2>Credits</h2>
        <p>Written by Istvan Varga.</p>
        <p>New in Csound5</p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="event.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="exitnow.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">event </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> exitnow</td>
        </tr>
      </table>
    </div>
  </body>
</html>