Sophie

Sophie

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

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>midion2</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="midion.html" title="midion" />
    <link rel="next" href="midiout.html" title="midiout" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">midion2</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="midion.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="midiout.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry" title="midion2">
      <a id="midion2"></a>
      <div class="titlepage"></div>
      <a id="IndexMidion2" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">midion2</span>
        </h2>
        <p>midion2 — 
      Sends noteon and noteoff messages to the MIDI OUT port.
    </p>
      </div>
      <div class="refsect1" title="Description">
        <a id="id3025438"></a>
        <h2>Description</h2>
        <p>
      Sends noteon and noteoff messages to the MIDI OUT port when triggered by a value different than zero.
    </p>
      </div>
      <div class="refsect1" title="Syntax">
        <a id="id3025450"></a>
        <h2>Syntax</h2>
        <pre class="synopsis"><span class="command"><strong>midion2</strong></span> kchn, knum, kvel, ktrig</pre>
      </div>
      <div class="refsect1" title="Performance">
        <a id="id3025467"></a>
        <h2>Performance</h2>
        <p>
      <span class="emphasis"><em>kchn</em></span> -- MIDI channel (1-16)
    </p>
        <p>
      <span class="emphasis"><em>knum</em></span> -- MIDI note number (0-127)
    </p>
        <p>
      <span class="emphasis"><em>kvel</em></span> -- note velocity (0-127)
    </p>
        <p>
      <span class="emphasis"><em>ktrig</em></span> -- trigger input signal (normally 0)
    </p>
        <p>
      Similar to <a class="link" href="midion.html" title="midion"><em class="citetitle">midion</em></a>, this opcode sends noteon and noteoff messages to the MIDI out port, but only when <span class="emphasis"><em>ktrig</em></span> is non-zero. This opcode is can work together with the output of the <a class="link" href="trigger.html" title="trigger"><em class="citetitle">trigger</em></a> opcode.
    </p>
      </div>
      <div class="refsect1" title="See Also">
        <a id="id3026415"></a>
        <h2>See Also</h2>
        <p>
      <a class="link" href="moscil.html" title="moscil"><em class="citetitle">moscil</em></a>,
      <a class="link" href="midion.html" title="midion"><em class="citetitle">midion</em></a>,
      <a class="link" href="noteon.html" title="noteon"><em class="citetitle">noteon</em></a>,
      <a class="link" href="noteoff.html" title="noteoff"><em class="citetitle">noteoff</em></a>,
      <a class="link" href="noteondur.html" title="noteondur"><em class="citetitle">noteondur</em></a>,
      <a class="link" href="noteondur2.html" title="noteondur2"><em class="citetitle">noteondur2</em></a>
    </p>
      </div>
      <div class="refsect1" title="Credits">
        <a id="id3026473"></a>
        <h2>Credits</h2>
        <p>
      </p>
        <table border="0" summary="Simple list" class="simplelist">
          <tr>
            <td>Author: Gabriel Maldonado</td>
          </tr>
          <tr>
            <td>Italy</td>
          </tr>
          <tr>
            <td>1998</td>
          </tr>
        </table>
        <p>
    </p>
        <p>New in Csound version 3.492</p>
        <p>Thanks goes to Rasmus Ekman for pointing out the correct MIDI channel and controller number ranges.</p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="midion.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="midiout.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">midion </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> midiout</td>
        </tr>
      </table>
    </div>
  </body>
</html>