<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>MIDI Commands</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.18 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindex" href="examples.html">Examples</a> </center> <hr><h1>MIDI Commands<br> <small> [<a class="el" href="group___m_i_d_i___interface.html">Constants for MIDI v1.0</a>]</small> </h1><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Defines</h2></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a0">MIDI_CMD_NOTE_OFF</a> 0x80</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a1">MIDI_CMD_NOTE_ON</a> 0x90</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a2">MIDI_CMD_NOTE_PRESSURE</a> 0xa0</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a3">MIDI_CMD_CONTROL</a> 0xb0</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a4">MIDI_CMD_PGM_CHANGE</a> 0xc0</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a5">MIDI_CMD_CHANNEL_PRESSURE</a> 0xd0</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a6">MIDI_CMD_BENDER</a> 0xe0</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a7">MIDI_CMD_COMMON_SYSEX</a> 0xf0</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a8">MIDI_CMD_COMMON_MTC_QUARTER</a> 0xf1</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a9">MIDI_CMD_COMMON_SONG_POS</a> 0xf2</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a10">MIDI_CMD_COMMON_SONG_SELECT</a> 0xf3</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a11">MIDI_CMD_COMMON_TUNE_REQUEST</a> 0xf6</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a12">MIDI_CMD_COMMON_SYSEX_END</a> 0xf7</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a13">MIDI_CMD_COMMON_CLOCK</a> 0xf8</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a14">MIDI_CMD_COMMON_START</a> 0xfa</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a15">MIDI_CMD_COMMON_CONTINUE</a> 0xfb</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a16">MIDI_CMD_COMMON_STOP</a> 0xfc</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a17">MIDI_CMD_COMMON_SENSING</a> 0xfe</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group___m_i_d_i___commands.html#a18">MIDI_CMD_COMMON_RESET</a> 0xff</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> MIDI command codes. <hr><h2>Define Documentation</h2> <a name="a6" doxytag="asoundef.h::MIDI_CMD_BENDER"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_BENDER 0xe0 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> pitch bender </td> </tr> </table> <a name="a5" doxytag="asoundef.h::MIDI_CMD_CHANNEL_PRESSURE"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_CHANNEL_PRESSURE 0xd0 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> channel pressure </td> </tr> </table> <a name="a13" doxytag="asoundef.h::MIDI_CMD_COMMON_CLOCK"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_COMMON_CLOCK 0xf8 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> clock </td> </tr> </table> <a name="a15" doxytag="asoundef.h::MIDI_CMD_COMMON_CONTINUE"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_COMMON_CONTINUE 0xfb </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> continue </td> </tr> </table> <a name="a8" doxytag="asoundef.h::MIDI_CMD_COMMON_MTC_QUARTER"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_COMMON_MTC_QUARTER 0xf1 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> MTC quarter frame </td> </tr> </table> <a name="a18" doxytag="asoundef.h::MIDI_CMD_COMMON_RESET"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_COMMON_RESET 0xff </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> reset </td> </tr> </table> <a name="a17" doxytag="asoundef.h::MIDI_CMD_COMMON_SENSING"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_COMMON_SENSING 0xfe </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> active sensing </td> </tr> </table> <a name="a9" doxytag="asoundef.h::MIDI_CMD_COMMON_SONG_POS"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_COMMON_SONG_POS 0xf2 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> song position </td> </tr> </table> <a name="a10" doxytag="asoundef.h::MIDI_CMD_COMMON_SONG_SELECT"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_COMMON_SONG_SELECT 0xf3 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> song select </td> </tr> </table> <a name="a14" doxytag="asoundef.h::MIDI_CMD_COMMON_START"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_COMMON_START 0xfa </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> start </td> </tr> </table> <a name="a16" doxytag="asoundef.h::MIDI_CMD_COMMON_STOP"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_COMMON_STOP 0xfc </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> stop </td> </tr> </table> <a name="a7" doxytag="asoundef.h::MIDI_CMD_COMMON_SYSEX"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_COMMON_SYSEX 0xf0 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> sysex (system exclusive) begin </td> </tr> </table> <a name="a12" doxytag="asoundef.h::MIDI_CMD_COMMON_SYSEX_END"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_COMMON_SYSEX_END 0xf7 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> end of sysex </td> </tr> </table> <a name="a11" doxytag="asoundef.h::MIDI_CMD_COMMON_TUNE_REQUEST"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_COMMON_TUNE_REQUEST 0xf6 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> tune request </td> </tr> </table> <a name="a3" doxytag="asoundef.h::MIDI_CMD_CONTROL"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_CONTROL 0xb0 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> control change </td> </tr> </table> <a name="a0" doxytag="asoundef.h::MIDI_CMD_NOTE_OFF"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_NOTE_OFF 0x80 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> note off </td> </tr> </table> <a name="a1" doxytag="asoundef.h::MIDI_CMD_NOTE_ON"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_NOTE_ON 0x90 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> note on </td> </tr> </table> <a name="a2" doxytag="asoundef.h::MIDI_CMD_NOTE_PRESSURE"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_NOTE_PRESSURE 0xa0 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> key pressure </td> </tr> </table> <a name="a4" doxytag="asoundef.h::MIDI_CMD_PGM_CHANGE"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MIDI_CMD_PGM_CHANGE 0xc0 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> program change </td> </tr> </table> <hr><address style="align: right;"><small>Generated on Wed Apr 2 16:06:36 2003 for ALSA project - the C library reference by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address> </body> </html>