Sophie

Sophie

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

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>midiout</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="midion2.html" title="midion2" />
    <link rel="next" href="midipitchbend.html" title="midipitchbend" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">midiout</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="midion2.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="midipitchbend.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry" title="midiout">
      <a id="midiout"></a>
      <div class="titlepage"></div>
      <a id="IndexMidiout" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">midiout</span>
        </h2>
        <p>midiout — 
      Sends a generic MIDI message to the MIDI OUT port.
          </p>
      </div>
      <div class="refsect1" title="Description">
        <a id="id3026008"></a>
        <h2>Description</h2>
        <p>
      Sends a generic MIDI message to the MIDI OUT port.
    </p>
      </div>
      <div class="refsect1" title="Syntax">
        <a id="id3026020"></a>
        <h2>Syntax</h2>
        <pre class="synopsis"><span class="command"><strong>midiout</strong></span> kstatus, kchan, kdata1, kdata2</pre>
      </div>
      <div class="refsect1" title="Performance">
        <a id="id3026805"></a>
        <h2>Performance</h2>
        <p>
      <span class="emphasis"><em>kstatus</em></span> -- the type of MIDI message. Can be:
      </p>
        <div class="itemizedlist">
          <ul class="itemizedlist" type="disc">
            <li class="listitem">
              <p>128 (note off)</p>
            </li>
            <li class="listitem">
              <p>144 (note on)</p>
            </li>
            <li class="listitem">
              <p>160 (polyphonic aftertouch)</p>
            </li>
            <li class="listitem">
              <p>176 (control change)</p>
            </li>
            <li class="listitem">
              <p>192 (program change)</p>
            </li>
            <li class="listitem">
              <p>208 (channel aftertouch)</p>
            </li>
            <li class="listitem">
              <p>224 (pitch bend)</p>
            </li>
            <li class="listitem">
              <p>0 when no MIDI messages must be sent to the MIDI OUT port</p>
            </li>
          </ul>
        </div>
        <p>
    </p>
        <p>
      <span class="emphasis"><em>kchan</em></span> -- MIDI channel (1-16)
    </p>
        <p>
      <span class="emphasis"><em>kdata1, kdata2</em></span> -- message-dependent data values
    </p>
        <p>
      <span class="emphasis"><em>midiout</em></span> has no output arguments, because it sends a message to the MIDI OUT port implicitly. It works at k-rate. It sends a MIDI message only when <span class="emphasis"><em>kstatus</em></span> is non-zero.
    </p>
        <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
          <table border="0" summary="Warning">
            <tr>
              <td rowspan="2" align="center" valign="top" width="25">
                <img alt="[Warning]" src="images/warning.png" />
              </td>
              <th align="left">Warning</th>
            </tr>
            <tr>
              <td align="left" valign="top">
                <p>
        <span class="emphasis"><em>Warning:</em></span> Normally <span class="emphasis"><em>kstatus</em></span> should be set to 0. Only when the user intends to send a MIDI message, can it be set to the corresponding message type number.
      </p>
              </td>
            </tr>
          </table>
        </div>
      </div>
      <div class="refsect1" title="Credits">
        <a id="id3026904"></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>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="midion2.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="midipitchbend.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">midion2 </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> midipitchbend</td>
        </tr>
      </table>
    </div>
  </body>
</html>