~n3npq/lsb/t2c-alsa-tests

« back to all changes in this revision

Viewing changes to spec/group___m_i_d_i___commands.html

  • Committer: Jeff Licquia
  • Date: 2009-12-01 02:17:33 UTC
  • Revision ID: jeff@licquia.org-20091201021733-3wwc7cdytdzz7hwo
Initial version.

This contains the spec, as mirrored from the ALSA site, and as run
through KompoZer (so its gratuitous format changes are already there).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html><head>
 
3
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>ALSA project - the C library reference: MIDI Commands</title>
 
4
 
 
5
<link href="doxygen.css" rel="stylesheet" type="text/css">
 
6
<link href="tabs.css" rel="stylesheet" type="text/css"></head><body>
 
7
<!-- Generated by Doxygen 1.5.0 -->
 
8
<div class="tabs">
 
9
  <ul>
 
10
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
 
11
    <li><a href="modules.html"><span>Modules</span></a></li>
 
12
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
 
13
    <li><a href="files.html"><span>Files</span></a></li>
 
14
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
 
15
    <li><a href="examples.html"><span>Examples</span></a></li>
 
16
  </ul></div>
 
17
<h1>MIDI Commands<br>
 
18
<small>
 
19
[<a class="el" href="group___m_i_d_i___interface.html">Constants for MIDI v1.0</a>]</small>
 
20
</h1><table border="0" cellpadding="0" cellspacing="0">
 
21
<tbody><tr><td><br>
 
22
</td></tr>
 
23
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
 
24
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#g188a97c93681437d04ee30b6fcb8ea4d">MIDI_CMD_NOTE_OFF</a>&nbsp;&nbsp;&nbsp;0x80</td></tr>
 
25
 
 
26
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#g67daf9c5a3d34ffc68905977dccbd7ee">MIDI_CMD_NOTE_ON</a>&nbsp;&nbsp;&nbsp;0x90</td></tr>
 
27
 
 
28
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#gd9391cfea801431e681b481796d5df20">MIDI_CMD_NOTE_PRESSURE</a>&nbsp;&nbsp;&nbsp;0xa0</td></tr>
 
29
 
 
30
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#g22a02aefb8df1bd2f7b923ad9e86c166">MIDI_CMD_CONTROL</a>&nbsp;&nbsp;&nbsp;0xb0</td></tr>
 
31
 
 
32
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#g088930906bc86ac379699f704823992e">MIDI_CMD_PGM_CHANGE</a>&nbsp;&nbsp;&nbsp;0xc0</td></tr>
 
33
 
 
34
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#g76b12d452686c80bab7a17e1947e0c6a">MIDI_CMD_CHANNEL_PRESSURE</a>&nbsp;&nbsp;&nbsp;0xd0</td></tr>
 
35
 
 
36
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#gadb7cb7e55de0be3f6650f0c8b6098ce">MIDI_CMD_BENDER</a>&nbsp;&nbsp;&nbsp;0xe0</td></tr>
 
37
 
 
38
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#g296596e2cbdc4de6c90b6df320d57c6f">MIDI_CMD_COMMON_SYSEX</a>&nbsp;&nbsp;&nbsp;0xf0</td></tr>
 
39
 
 
40
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#g3c6903a092a879fcc8c043b29d03ce40">MIDI_CMD_COMMON_MTC_QUARTER</a>&nbsp;&nbsp;&nbsp;0xf1</td></tr>
 
41
 
 
42
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#ge076fec5c11fe468e902651f2696e839">MIDI_CMD_COMMON_SONG_POS</a>&nbsp;&nbsp;&nbsp;0xf2</td></tr>
 
43
 
 
44
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#g6a9679871419fd2d05f586f25d209e72">MIDI_CMD_COMMON_SONG_SELECT</a>&nbsp;&nbsp;&nbsp;0xf3</td></tr>
 
45
 
 
46
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#g7d1f7c1b70616ac8df215abbd4c25303">MIDI_CMD_COMMON_TUNE_REQUEST</a>&nbsp;&nbsp;&nbsp;0xf6</td></tr>
 
47
 
 
48
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#g7db2fb909214523aa4cef73489925fd0">MIDI_CMD_COMMON_SYSEX_END</a>&nbsp;&nbsp;&nbsp;0xf7</td></tr>
 
49
 
 
50
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#gce24e504b723f1d45f2e110b1d23ce9a">MIDI_CMD_COMMON_CLOCK</a>&nbsp;&nbsp;&nbsp;0xf8</td></tr>
 
51
 
 
52
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#g39d5ee9a3e624cb0ec3b5259b5bed110">MIDI_CMD_COMMON_START</a>&nbsp;&nbsp;&nbsp;0xfa</td></tr>
 
53
 
 
54
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#gbb729d91403610745dbfe45ec8a99cb8">MIDI_CMD_COMMON_CONTINUE</a>&nbsp;&nbsp;&nbsp;0xfb</td></tr>
 
55
 
 
56
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#gf345c33716b278a07f0f8449d42b30cb">MIDI_CMD_COMMON_STOP</a>&nbsp;&nbsp;&nbsp;0xfc</td></tr>
 
57
 
 
58
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#g58a28c1d4f632b300e272fba9068d873">MIDI_CMD_COMMON_SENSING</a>&nbsp;&nbsp;&nbsp;0xfe</td></tr>
 
59
 
 
60
<tr><td class="memItemLeft" align="right" nowrap="nowrap" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_d_i___commands.html#gf03eae9419dd5782dea7dc2bdd2ae92b">MIDI_CMD_COMMON_RESET</a>&nbsp;&nbsp;&nbsp;0xff</td></tr>
 
61
 
 
62
</tbody></table>
 
63
<hr><a name="_details"></a><h2>Detailed Description</h2>
 
64
MIDI command codes. <hr><h2>Define Documentation</h2>
 
65
<a class="anchor" name="gadb7cb7e55de0be3f6650f0c8b6098ce"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_BENDER" ref="gadb7cb7e55de0be3f6650f0c8b6098ce" args="" -->
 
66
<div class="memitem">
 
67
<div class="memproto">
 
68
      <table class="memname">
 
69
        <tbody><tr>
 
70
          <td class="memname">#define MIDI_CMD_BENDER&nbsp;&nbsp;&nbsp;0xe0          </td>
 
71
        </tr>
 
72
      </tbody></table>
 
73
</div>
 
74
<div class="memdoc">
 
75
 
 
76
<p>
 
77
pitch bender 
 
78
</p></div>
 
79
</div><p>
 
80
<a class="anchor" name="g76b12d452686c80bab7a17e1947e0c6a"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_CHANNEL_PRESSURE" ref="g76b12d452686c80bab7a17e1947e0c6a" args="" -->
 
81
</p><div class="memitem">
 
82
<div class="memproto">
 
83
      <table class="memname">
 
84
        <tbody><tr>
 
85
          <td class="memname">#define MIDI_CMD_CHANNEL_PRESSURE&nbsp;&nbsp;&nbsp;0xd0          </td>
 
86
        </tr>
 
87
      </tbody></table>
 
88
</div>
 
89
<div class="memdoc">
 
90
 
 
91
<p>
 
92
channel pressure 
 
93
</p></div>
 
94
</div><p>
 
95
<a class="anchor" name="gce24e504b723f1d45f2e110b1d23ce9a"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_COMMON_CLOCK" ref="gce24e504b723f1d45f2e110b1d23ce9a" args="" -->
 
96
</p><div class="memitem">
 
97
<div class="memproto">
 
98
      <table class="memname">
 
99
        <tbody><tr>
 
100
          <td class="memname">#define MIDI_CMD_COMMON_CLOCK&nbsp;&nbsp;&nbsp;0xf8          </td>
 
101
        </tr>
 
102
      </tbody></table>
 
103
</div>
 
104
<div class="memdoc">
 
105
 
 
106
<p>
 
107
clock 
 
108
</p></div>
 
109
</div><p>
 
110
<a class="anchor" name="gbb729d91403610745dbfe45ec8a99cb8"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_COMMON_CONTINUE" ref="gbb729d91403610745dbfe45ec8a99cb8" args="" -->
 
111
</p><div class="memitem">
 
112
<div class="memproto">
 
113
      <table class="memname">
 
114
        <tbody><tr>
 
115
          <td class="memname">#define MIDI_CMD_COMMON_CONTINUE&nbsp;&nbsp;&nbsp;0xfb          </td>
 
116
        </tr>
 
117
      </tbody></table>
 
118
</div>
 
119
<div class="memdoc">
 
120
 
 
121
<p>
 
122
continue 
 
123
</p></div>
 
124
</div><p>
 
125
<a class="anchor" name="g3c6903a092a879fcc8c043b29d03ce40"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_COMMON_MTC_QUARTER" ref="g3c6903a092a879fcc8c043b29d03ce40" args="" -->
 
126
</p><div class="memitem">
 
127
<div class="memproto">
 
128
      <table class="memname">
 
129
        <tbody><tr>
 
130
          <td class="memname">#define MIDI_CMD_COMMON_MTC_QUARTER&nbsp;&nbsp;&nbsp;0xf1          </td>
 
131
        </tr>
 
132
      </tbody></table>
 
133
</div>
 
134
<div class="memdoc">
 
135
 
 
136
<p>
 
137
MTC quarter frame 
 
138
</p></div>
 
139
</div><p>
 
140
<a class="anchor" name="gf03eae9419dd5782dea7dc2bdd2ae92b"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_COMMON_RESET" ref="gf03eae9419dd5782dea7dc2bdd2ae92b" args="" -->
 
141
</p><div class="memitem">
 
142
<div class="memproto">
 
143
      <table class="memname">
 
144
        <tbody><tr>
 
145
          <td class="memname">#define MIDI_CMD_COMMON_RESET&nbsp;&nbsp;&nbsp;0xff          </td>
 
146
        </tr>
 
147
      </tbody></table>
 
148
</div>
 
149
<div class="memdoc">
 
150
 
 
151
<p>
 
152
reset 
 
153
</p></div>
 
154
</div><p>
 
155
<a class="anchor" name="g58a28c1d4f632b300e272fba9068d873"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_COMMON_SENSING" ref="g58a28c1d4f632b300e272fba9068d873" args="" -->
 
156
</p><div class="memitem">
 
157
<div class="memproto">
 
158
      <table class="memname">
 
159
        <tbody><tr>
 
160
          <td class="memname">#define MIDI_CMD_COMMON_SENSING&nbsp;&nbsp;&nbsp;0xfe          </td>
 
161
        </tr>
 
162
      </tbody></table>
 
163
</div>
 
164
<div class="memdoc">
 
165
 
 
166
<p>
 
167
active sensing 
 
168
</p></div>
 
169
</div><p>
 
170
<a class="anchor" name="ge076fec5c11fe468e902651f2696e839"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_COMMON_SONG_POS" ref="ge076fec5c11fe468e902651f2696e839" args="" -->
 
171
</p><div class="memitem">
 
172
<div class="memproto">
 
173
      <table class="memname">
 
174
        <tbody><tr>
 
175
          <td class="memname">#define MIDI_CMD_COMMON_SONG_POS&nbsp;&nbsp;&nbsp;0xf2          </td>
 
176
        </tr>
 
177
      </tbody></table>
 
178
</div>
 
179
<div class="memdoc">
 
180
 
 
181
<p>
 
182
song position 
 
183
</p></div>
 
184
</div><p>
 
185
<a class="anchor" name="g6a9679871419fd2d05f586f25d209e72"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_COMMON_SONG_SELECT" ref="g6a9679871419fd2d05f586f25d209e72" args="" -->
 
186
</p><div class="memitem">
 
187
<div class="memproto">
 
188
      <table class="memname">
 
189
        <tbody><tr>
 
190
          <td class="memname">#define MIDI_CMD_COMMON_SONG_SELECT&nbsp;&nbsp;&nbsp;0xf3          </td>
 
191
        </tr>
 
192
      </tbody></table>
 
193
</div>
 
194
<div class="memdoc">
 
195
 
 
196
<p>
 
197
song select 
 
198
</p></div>
 
199
</div><p>
 
200
<a class="anchor" name="g39d5ee9a3e624cb0ec3b5259b5bed110"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_COMMON_START" ref="g39d5ee9a3e624cb0ec3b5259b5bed110" args="" -->
 
201
</p><div class="memitem">
 
202
<div class="memproto">
 
203
      <table class="memname">
 
204
        <tbody><tr>
 
205
          <td class="memname">#define MIDI_CMD_COMMON_START&nbsp;&nbsp;&nbsp;0xfa          </td>
 
206
        </tr>
 
207
      </tbody></table>
 
208
</div>
 
209
<div class="memdoc">
 
210
 
 
211
<p>
 
212
start 
 
213
</p></div>
 
214
</div><p>
 
215
<a class="anchor" name="gf345c33716b278a07f0f8449d42b30cb"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_COMMON_STOP" ref="gf345c33716b278a07f0f8449d42b30cb" args="" -->
 
216
</p><div class="memitem">
 
217
<div class="memproto">
 
218
      <table class="memname">
 
219
        <tbody><tr>
 
220
          <td class="memname">#define MIDI_CMD_COMMON_STOP&nbsp;&nbsp;&nbsp;0xfc          </td>
 
221
        </tr>
 
222
      </tbody></table>
 
223
</div>
 
224
<div class="memdoc">
 
225
 
 
226
<p>
 
227
stop 
 
228
</p></div>
 
229
</div><p>
 
230
<a class="anchor" name="g296596e2cbdc4de6c90b6df320d57c6f"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_COMMON_SYSEX" ref="g296596e2cbdc4de6c90b6df320d57c6f" args="" -->
 
231
</p><div class="memitem">
 
232
<div class="memproto">
 
233
      <table class="memname">
 
234
        <tbody><tr>
 
235
          <td class="memname">#define MIDI_CMD_COMMON_SYSEX&nbsp;&nbsp;&nbsp;0xf0          </td>
 
236
        </tr>
 
237
      </tbody></table>
 
238
</div>
 
239
<div class="memdoc">
 
240
 
 
241
<p>
 
242
sysex (system exclusive) begin 
 
243
</p></div>
 
244
</div><p>
 
245
<a class="anchor" name="g7db2fb909214523aa4cef73489925fd0"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_COMMON_SYSEX_END" ref="g7db2fb909214523aa4cef73489925fd0" args="" -->
 
246
</p><div class="memitem">
 
247
<div class="memproto">
 
248
      <table class="memname">
 
249
        <tbody><tr>
 
250
          <td class="memname">#define MIDI_CMD_COMMON_SYSEX_END&nbsp;&nbsp;&nbsp;0xf7          </td>
 
251
        </tr>
 
252
      </tbody></table>
 
253
</div>
 
254
<div class="memdoc">
 
255
 
 
256
<p>
 
257
end of sysex 
 
258
</p></div>
 
259
</div><p>
 
260
<a class="anchor" name="g7d1f7c1b70616ac8df215abbd4c25303"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_COMMON_TUNE_REQUEST" ref="g7d1f7c1b70616ac8df215abbd4c25303" args="" -->
 
261
</p><div class="memitem">
 
262
<div class="memproto">
 
263
      <table class="memname">
 
264
        <tbody><tr>
 
265
          <td class="memname">#define MIDI_CMD_COMMON_TUNE_REQUEST&nbsp;&nbsp;&nbsp;0xf6          </td>
 
266
        </tr>
 
267
      </tbody></table>
 
268
</div>
 
269
<div class="memdoc">
 
270
 
 
271
<p>
 
272
tune request 
 
273
</p></div>
 
274
</div><p>
 
275
<a class="anchor" name="g22a02aefb8df1bd2f7b923ad9e86c166"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_CONTROL" ref="g22a02aefb8df1bd2f7b923ad9e86c166" args="" -->
 
276
</p><div class="memitem">
 
277
<div class="memproto">
 
278
      <table class="memname">
 
279
        <tbody><tr>
 
280
          <td class="memname">#define MIDI_CMD_CONTROL&nbsp;&nbsp;&nbsp;0xb0          </td>
 
281
        </tr>
 
282
      </tbody></table>
 
283
</div>
 
284
<div class="memdoc">
 
285
 
 
286
<p>
 
287
control change 
 
288
</p></div>
 
289
</div><p>
 
290
<a class="anchor" name="g188a97c93681437d04ee30b6fcb8ea4d"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_NOTE_OFF" ref="g188a97c93681437d04ee30b6fcb8ea4d" args="" -->
 
291
</p><div class="memitem">
 
292
<div class="memproto">
 
293
      <table class="memname">
 
294
        <tbody><tr>
 
295
          <td class="memname">#define MIDI_CMD_NOTE_OFF&nbsp;&nbsp;&nbsp;0x80          </td>
 
296
        </tr>
 
297
      </tbody></table>
 
298
</div>
 
299
<div class="memdoc">
 
300
 
 
301
<p>
 
302
note off 
 
303
</p></div>
 
304
</div><p>
 
305
<a class="anchor" name="g67daf9c5a3d34ffc68905977dccbd7ee"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_NOTE_ON" ref="g67daf9c5a3d34ffc68905977dccbd7ee" args="" -->
 
306
</p><div class="memitem">
 
307
<div class="memproto">
 
308
      <table class="memname">
 
309
        <tbody><tr>
 
310
          <td class="memname">#define MIDI_CMD_NOTE_ON&nbsp;&nbsp;&nbsp;0x90          </td>
 
311
        </tr>
 
312
      </tbody></table>
 
313
</div>
 
314
<div class="memdoc">
 
315
 
 
316
<p>
 
317
note on 
 
318
</p></div>
 
319
</div><p>
 
320
<a class="anchor" name="gd9391cfea801431e681b481796d5df20"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_NOTE_PRESSURE" ref="gd9391cfea801431e681b481796d5df20" args="" -->
 
321
</p><div class="memitem">
 
322
<div class="memproto">
 
323
      <table class="memname">
 
324
        <tbody><tr>
 
325
          <td class="memname">#define MIDI_CMD_NOTE_PRESSURE&nbsp;&nbsp;&nbsp;0xa0          </td>
 
326
        </tr>
 
327
      </tbody></table>
 
328
</div>
 
329
<div class="memdoc">
 
330
 
 
331
<p>
 
332
key pressure 
 
333
</p></div>
 
334
</div><p>
 
335
<a class="anchor" name="g088930906bc86ac379699f704823992e"></a><!-- doxytag: member="asoundef.h::MIDI_CMD_PGM_CHANGE" ref="g088930906bc86ac379699f704823992e" args="" -->
 
336
</p><div class="memitem">
 
337
<div class="memproto">
 
338
      <table class="memname">
 
339
        <tbody><tr>
 
340
          <td class="memname">#define MIDI_CMD_PGM_CHANGE&nbsp;&nbsp;&nbsp;0xc0          </td>
 
341
        </tr>
 
342
      </tbody></table>
 
343
</div>
 
344
<div class="memdoc">
 
345
 
 
346
<p>
 
347
program change 
 
348
</p></div>
 
349
</div><p>
 
350
</p><hr size="1"><address style=""><small>Generated on Wed Sep 9 14:37:08 2009 for ALSA project - the C library reference by&nbsp;
 
351
<a href="http://www.doxygen.org/index.html">
 
352
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
 
353
</body></html>
 
 
b'\\ No newline at end of file'