Subversion Repositories svn.mios

Rev

Rev 641 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
630 adamjking 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<TITLE>
6
MidiUtils (midibox.org Java Documentation)
7
</TITLE>
8
 
9
 
10
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
11
 
12
<SCRIPT type="text/javascript">
13
function windowTitle()
14
{
15
    if (location.href.indexOf('is-external=true') == -1) {
16
        parent.document.title="MidiUtils (midibox.org Java Documentation)";
17
    }
18
}
19
</SCRIPT>
20
<NOSCRIPT>
21
</NOSCRIPT>
22
 
23
</HEAD>
24
 
25
<BODY BGCOLOR="white" onload="windowTitle();">
26
<HR>
27
 
28
 
29
<!-- ========= START OF TOP NAVBAR ======= -->
30
<A NAME="navbar_top"><!-- --></A>
31
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
32
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
33
<TR>
34
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
35
<A NAME="navbar_top_firstrow"><!-- --></A>
36
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
37
  <TR ALIGN="center" VALIGN="top">
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
45
  </TR>
46
</TABLE>
47
</TD>
48
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
49
</EM>
50
</TD>
51
</TR>
52
 
53
<TR>
54
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
808 adamjking 55
&nbsp;<A HREF="../../../org/midibox/midi/MidiParameterControlManager.html" title="class in org.midibox.midi"><B>PREV CLASS</B></A>&nbsp;
630 adamjking 56
&nbsp;<A HREF="../../../org/midibox/midi/SysexFile.html" title="class in org.midibox.midi"><B>NEXT CLASS</B></A></FONT></TD>
57
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58
  <A HREF="../../../index.html?org/midibox/midi/MidiUtils.html" target="_top"><B>FRAMES</B></A>  &nbsp;
59
&nbsp;<A HREF="MidiUtils.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
60
&nbsp;<SCRIPT type="text/javascript">
61
  <!--
62
  if(window==top) {
63
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
64
  }
65
  //-->
66
</SCRIPT>
67
<NOSCRIPT>
68
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
69
</NOSCRIPT>
70
 
71
 
72
</FONT></TD>
73
</TR>
74
<TR>
75
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
76
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
77
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
79
</TR>
80
</TABLE>
81
<A NAME="skip-navbar_top"></A>
82
<!-- ========= END OF TOP NAVBAR ========= -->
83
 
84
<HR>
85
<!-- ======== START OF CLASS DATA ======== -->
86
<H2>
87
<FONT SIZE="-1">
88
org.midibox.midi</FONT>
89
<BR>
90
Class MidiUtils</H2>
91
<PRE>
92
java.lang.Object
93
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.midibox.midi.MidiUtils</B>
94
</PRE>
95
<HR>
96
<DL>
97
<DT><PRE>public class <B>MidiUtils</B><DT>extends java.lang.Object</DL>
98
</PRE>
99
 
100
<P>
101
<HR>
102
 
103
<P>
104
<!-- =========== FIELD SUMMARY =========== -->
105
 
106
<A NAME="field_summary"><!-- --></A>
107
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
108
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
109
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
110
<B>Field Summary</B></FONT></TH>
111
</TR>
112
<TR BGCOLOR="white" CLASS="TableRowColor">
113
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
114
<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
115
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#cc14BitNames">cc14BitNames</A></B></CODE>
116
 
117
<BR>
118
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
119
</TR>
120
<TR BGCOLOR="white" CLASS="TableRowColor">
121
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
122
<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
123
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#ccNames">ccNames</A></B></CODE>
124
 
125
<BR>
126
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
127
</TR>
128
<TR BGCOLOR="white" CLASS="TableRowColor">
129
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
130
<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
131
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#FRAME_TYPE_TEXT">FRAME_TYPE_TEXT</A></B></CODE>
132
 
133
<BR>
134
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
135
</TR>
136
<TR BGCOLOR="white" CLASS="TableRowColor">
137
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138
<CODE>static&nbsp;char[]</CODE></FONT></TD>
139
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#hexDigits">hexDigits</A></B></CODE>
140
 
141
<BR>
142
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
143
</TR>
144
<TR BGCOLOR="white" CLASS="TableRowColor">
145
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146
<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
147
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#QUARTER_FRAME_MESSAGE_TEXT">QUARTER_FRAME_MESSAGE_TEXT</A></B></CODE>
148
 
149
<BR>
150
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
151
</TR>
152
<TR BGCOLOR="white" CLASS="TableRowColor">
153
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154
<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
155
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#s_astrKeyNames">s_astrKeyNames</A></B></CODE>
156
 
157
<BR>
158
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
159
</TR>
160
<TR BGCOLOR="white" CLASS="TableRowColor">
161
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
162
<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
163
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#s_astrKeySignatures">s_astrKeySignatures</A></B></CODE>
164
 
165
<BR>
166
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
167
</TR>
168
<TR BGCOLOR="white" CLASS="TableRowColor">
169
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
170
<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
171
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#SYSTEM_MESSAGE_TEXT">SYSTEM_MESSAGE_TEXT</A></B></CODE>
172
 
173
<BR>
174
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
175
</TR>
176
</TABLE>
177
&nbsp;
178
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
179
 
180
<A NAME="constructor_summary"><!-- --></A>
181
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
182
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
183
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
184
<B>Constructor Summary</B></FONT></TH>
185
</TR>
186
<TR BGCOLOR="white" CLASS="TableRowColor">
187
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#MidiUtils()">MidiUtils</A></B>()</CODE>
188
 
189
<BR>
190
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
191
</TR>
192
</TABLE>
193
&nbsp;
194
<!-- ========== METHOD SUMMARY =========== -->
195
 
196
<A NAME="method_summary"><!-- --></A>
197
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
198
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
199
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
200
<B>Method Summary</B></FONT></TH>
201
</TR>
202
<TR BGCOLOR="white" CLASS="TableRowColor">
203
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204
<CODE>static&nbsp;float</CODE></FONT></TD>
205
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#convertTempo(float)">convertTempo</A></B>(float&nbsp;value)</CODE>
206
 
207
<BR>
208
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
209
</TR>
210
<TR BGCOLOR="white" CLASS="TableRowColor">
211
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212
<CODE>static&nbsp;int</CODE></FONT></TD>
213
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#get14bitValue(int, int)">get14bitValue</A></B>(int&nbsp;nLowerPart,
214
              int&nbsp;nHigherPart)</CODE>
215
 
216
<BR>
217
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
218
</TR>
219
<TR BGCOLOR="white" CLASS="TableRowColor">
220
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
221
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
222
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#getDecimalString(byte[])">getDecimalString</A></B>(byte[]&nbsp;aByte)</CODE>
223
 
224
<BR>
225
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
226
</TR>
227
<TR BGCOLOR="white" CLASS="TableRowColor">
228
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
229
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
230
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#getDecimalString(int)">getDecimalString</A></B>(int&nbsp;num)</CODE>
231
 
232
<BR>
233
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
234
</TR>
235
<TR BGCOLOR="white" CLASS="TableRowColor">
236
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
237
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
238
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#getHexString(byte[])">getHexString</A></B>(byte[]&nbsp;aByte)</CODE>
239
 
240
<BR>
241
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
242
</TR>
243
<TR BGCOLOR="white" CLASS="TableRowColor">
244
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
245
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
246
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#getHexString(int)">getHexString</A></B>(int&nbsp;num)</CODE>
247
 
248
<BR>
249
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
250
</TR>
251
<TR BGCOLOR="white" CLASS="TableRowColor">
252
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
253
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
254
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#getHexString(javax.sound.midi.ShortMessage)">getHexString</A></B>(javax.sound.midi.ShortMessage&nbsp;sm)</CODE>
255
 
256
<BR>
257
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
258
</TR>
259
<TR BGCOLOR="white" CLASS="TableRowColor">
260
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
261
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
262
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#getKeyName(int)">getKeyName</A></B>(int&nbsp;nKeyNumber)</CODE>
263
 
264
<BR>
265
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
266
</TR>
267
<TR BGCOLOR="white" CLASS="TableRowColor">
268
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
269
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
270
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#intToHex(int)">intToHex</A></B>(int&nbsp;i)</CODE>
271
 
272
<BR>
273
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
274
</TR>
275
<TR BGCOLOR="white" CLASS="TableRowColor">
276
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
277
<CODE>static&nbsp;int</CODE></FONT></TD>
278
<TD><CODE><B><A HREF="../../../org/midibox/midi/MidiUtils.html#signedByteToUnsigned(byte)">signedByteToUnsigned</A></B>(byte&nbsp;b)</CODE>
279
 
280
<BR>
281
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
282
</TR>
283
</TABLE>
284
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
285
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
286
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
287
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
288
</TR>
289
<TR BGCOLOR="white" CLASS="TableRowColor">
290
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
291
</TR>
292
</TABLE>
293
&nbsp;
294
<P>
295
 
296
<!-- ============ FIELD DETAIL =========== -->
297
 
298
<A NAME="field_detail"><!-- --></A>
299
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
300
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
301
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
302
<B>Field Detail</B></FONT></TH>
303
</TR>
304
</TABLE>
305
 
306
<A NAME="ccNames"><!-- --></A><H3>
307
ccNames</H3>
308
<PRE>
309
public static java.lang.String[] <B>ccNames</B></PRE>
310
<DL>
311
<DL>
312
</DL>
313
</DL>
314
<HR>
315
 
316
<A NAME="cc14BitNames"><!-- --></A><H3>
317
cc14BitNames</H3>
318
<PRE>
319
public static java.lang.String[] <B>cc14BitNames</B></PRE>
320
<DL>
321
<DL>
322
</DL>
323
</DL>
324
<HR>
325
 
326
<A NAME="s_astrKeyNames"><!-- --></A><H3>
327
s_astrKeyNames</H3>
328
<PRE>
329
public static final java.lang.String[] <B>s_astrKeyNames</B></PRE>
330
<DL>
331
<DL>
332
</DL>
333
</DL>
334
<HR>
335
 
336
<A NAME="s_astrKeySignatures"><!-- --></A><H3>
337
s_astrKeySignatures</H3>
338
<PRE>
339
public static final java.lang.String[] <B>s_astrKeySignatures</B></PRE>
340
<DL>
341
<DL>
342
</DL>
343
</DL>
344
<HR>
345
 
346
<A NAME="SYSTEM_MESSAGE_TEXT"><!-- --></A><H3>
347
SYSTEM_MESSAGE_TEXT</H3>
348
<PRE>
349
public static final java.lang.String[] <B>SYSTEM_MESSAGE_TEXT</B></PRE>
350
<DL>
351
<DL>
352
</DL>
353
</DL>
354
<HR>
355
 
356
<A NAME="QUARTER_FRAME_MESSAGE_TEXT"><!-- --></A><H3>
357
QUARTER_FRAME_MESSAGE_TEXT</H3>
358
<PRE>
359
public static final java.lang.String[] <B>QUARTER_FRAME_MESSAGE_TEXT</B></PRE>
360
<DL>
361
<DL>
362
</DL>
363
</DL>
364
<HR>
365
 
366
<A NAME="FRAME_TYPE_TEXT"><!-- --></A><H3>
367
FRAME_TYPE_TEXT</H3>
368
<PRE>
369
public static final java.lang.String[] <B>FRAME_TYPE_TEXT</B></PRE>
370
<DL>
371
<DL>
372
</DL>
373
</DL>
374
<HR>
375
 
376
<A NAME="hexDigits"><!-- --></A><H3>
377
hexDigits</H3>
378
<PRE>
379
public static final char[] <B>hexDigits</B></PRE>
380
<DL>
381
<DL>
382
</DL>
383
</DL>
384
 
385
<!-- ========= CONSTRUCTOR DETAIL ======== -->
386
 
387
<A NAME="constructor_detail"><!-- --></A>
388
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
389
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
390
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
391
<B>Constructor Detail</B></FONT></TH>
392
</TR>
393
</TABLE>
394
 
395
<A NAME="MidiUtils()"><!-- --></A><H3>
396
MidiUtils</H3>
397
<PRE>
398
public <B>MidiUtils</B>()</PRE>
399
<DL>
400
</DL>
401
 
402
<!-- ============ METHOD DETAIL ========== -->
403
 
404
<A NAME="method_detail"><!-- --></A>
405
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
406
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
407
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
408
<B>Method Detail</B></FONT></TH>
409
</TR>
410
</TABLE>
411
 
412
<A NAME="getKeyName(int)"><!-- --></A><H3>
413
getKeyName</H3>
414
<PRE>
415
public static java.lang.String <B>getKeyName</B>(int&nbsp;nKeyNumber)</PRE>
416
<DL>
417
<DD><DL>
418
</DL>
419
</DD>
420
</DL>
421
<HR>
422
 
423
<A NAME="get14bitValue(int, int)"><!-- --></A><H3>
424
get14bitValue</H3>
425
<PRE>
426
public static int <B>get14bitValue</B>(int&nbsp;nLowerPart,
427
                                int&nbsp;nHigherPart)</PRE>
428
<DL>
429
<DD><DL>
430
</DL>
431
</DD>
432
</DL>
433
<HR>
434
 
435
<A NAME="signedByteToUnsigned(byte)"><!-- --></A><H3>
436
signedByteToUnsigned</H3>
437
<PRE>
438
public static int <B>signedByteToUnsigned</B>(byte&nbsp;b)</PRE>
439
<DL>
440
<DD><DL>
441
</DL>
442
</DD>
443
</DL>
444
<HR>
445
 
446
<A NAME="convertTempo(float)"><!-- --></A><H3>
447
convertTempo</H3>
448
<PRE>
449
public static float <B>convertTempo</B>(float&nbsp;value)</PRE>
450
<DL>
451
<DD><DL>
452
</DL>
453
</DD>
454
</DL>
455
<HR>
456
 
457
<A NAME="getHexString(byte[])"><!-- --></A><H3>
458
getHexString</H3>
459
<PRE>
460
public static java.lang.String <B>getHexString</B>(byte[]&nbsp;aByte)</PRE>
461
<DL>
462
<DD><DL>
463
</DL>
464
</DD>
465
</DL>
466
<HR>
467
 
468
<A NAME="getHexString(int)"><!-- --></A><H3>
469
getHexString</H3>
470
<PRE>
471
public static java.lang.String <B>getHexString</B>(int&nbsp;num)</PRE>
472
<DL>
473
<DD><DL>
474
</DL>
475
</DD>
476
</DL>
477
<HR>
478
 
479
<A NAME="getDecimalString(byte[])"><!-- --></A><H3>
480
getDecimalString</H3>
481
<PRE>
482
public static java.lang.String <B>getDecimalString</B>(byte[]&nbsp;aByte)</PRE>
483
<DL>
484
<DD><DL>
485
</DL>
486
</DD>
487
</DL>
488
<HR>
489
 
490
<A NAME="getDecimalString(int)"><!-- --></A><H3>
491
getDecimalString</H3>
492
<PRE>
493
public static java.lang.String <B>getDecimalString</B>(int&nbsp;num)</PRE>
494
<DL>
495
<DD><DL>
496
</DL>
497
</DD>
498
</DL>
499
<HR>
500
 
501
<A NAME="intToHex(int)"><!-- --></A><H3>
502
intToHex</H3>
503
<PRE>
504
public static java.lang.String <B>intToHex</B>(int&nbsp;i)</PRE>
505
<DL>
506
<DD><DL>
507
</DL>
508
</DD>
509
</DL>
510
<HR>
511
 
512
<A NAME="getHexString(javax.sound.midi.ShortMessage)"><!-- --></A><H3>
513
getHexString</H3>
514
<PRE>
515
public static java.lang.String <B>getHexString</B>(javax.sound.midi.ShortMessage&nbsp;sm)</PRE>
516
<DL>
517
<DD><DL>
518
</DL>
519
</DD>
520
</DL>
521
<!-- ========= END OF CLASS DATA ========= -->
522
<HR>
523
 
524
 
525
<!-- ======= START OF BOTTOM NAVBAR ====== -->
526
<A NAME="navbar_bottom"><!-- --></A>
527
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
528
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
529
<TR>
530
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
531
<A NAME="navbar_bottom_firstrow"><!-- --></A>
532
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
533
  <TR ALIGN="center" VALIGN="top">
534
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
535
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
536
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
537
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
538
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
539
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
540
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
541
  </TR>
542
</TABLE>
543
</TD>
544
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
545
</EM>
546
</TD>
547
</TR>
548
 
549
<TR>
550
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
808 adamjking 551
&nbsp;<A HREF="../../../org/midibox/midi/MidiParameterControlManager.html" title="class in org.midibox.midi"><B>PREV CLASS</B></A>&nbsp;
630 adamjking 552
&nbsp;<A HREF="../../../org/midibox/midi/SysexFile.html" title="class in org.midibox.midi"><B>NEXT CLASS</B></A></FONT></TD>
553
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
554
  <A HREF="../../../index.html?org/midibox/midi/MidiUtils.html" target="_top"><B>FRAMES</B></A>  &nbsp;
555
&nbsp;<A HREF="MidiUtils.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
556
&nbsp;<SCRIPT type="text/javascript">
557
  <!--
558
  if(window==top) {
559
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
560
  }
561
  //-->
562
</SCRIPT>
563
<NOSCRIPT>
564
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
565
</NOSCRIPT>
566
 
567
 
568
</FONT></TD>
569
</TR>
570
<TR>
571
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
572
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
573
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
574
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
575
</TR>
576
</TABLE>
577
<A NAME="skip-navbar_bottom"></A>
578
<!-- ======== END OF BOTTOM NAVBAR ======= -->
579
 
580
<HR>
581
 
582
</BODY>
583
</HTML>