midilib 2.0.4 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ChangeLog +2 -1
- data/Credits +44 -2
- data/README.rdoc +13 -9
- data/Rakefile +36 -53
- data/TODO.rdoc +13 -2
- data/examples/from_scratch.rb +4 -6
- data/examples/measures_mbt.rb +11 -11
- data/examples/print_program_changes.rb +11 -11
- data/examples/reader2text.rb +191 -191
- data/examples/seq2text.rb +18 -18
- data/examples/split.rb +21 -20
- data/examples/strings.rb +15 -15
- data/examples/transpose.rb +41 -42
- data/html/MIDI/ActiveSense.html +89 -213
- data/html/MIDI/ChannelEvent.html +95 -224
- data/html/MIDI/ChannelPressure.html +103 -241
- data/html/MIDI/Clock.html +89 -213
- data/html/MIDI/Continue.html +89 -213
- data/html/MIDI/Controller.html +105 -246
- data/html/MIDI/Event.html +134 -358
- data/html/MIDI/IO/MIDIFile.html +544 -1148
- data/html/MIDI/IO/SeqReader.html +273 -577
- data/html/MIDI/IO/SeqWriter.html +233 -439
- data/html/MIDI/IO.html +48 -164
- data/html/MIDI/KeySig.html +148 -291
- data/html/MIDI/Marker.html +73 -192
- data/html/MIDI/Measure.html +104 -267
- data/html/MIDI/Measures.html +106 -259
- data/html/MIDI/MetaEvent.html +171 -352
- data/html/MIDI/NoteEvent.html +114 -276
- data/html/MIDI/NoteOff.html +95 -223
- data/html/MIDI/NoteOn.html +95 -223
- data/html/MIDI/PitchBend.html +104 -242
- data/html/MIDI/PolyPressure.html +102 -246
- data/html/MIDI/ProgramChange.html +103 -241
- data/html/MIDI/Realtime.html +96 -230
- data/html/MIDI/Sequence.html +256 -576
- data/html/MIDI/SongPointer.html +104 -242
- data/html/MIDI/SongSelect.html +103 -241
- data/html/MIDI/Start.html +89 -213
- data/html/MIDI/Stop.html +89 -213
- data/html/MIDI/SystemCommon.html +73 -192
- data/html/MIDI/SystemExclusive.html +106 -244
- data/html/MIDI/SystemReset.html +89 -213
- data/html/MIDI/Tempo.html +127 -309
- data/html/MIDI/TimeSig.html +119 -300
- data/html/MIDI/Track.html +214 -494
- data/html/MIDI/TuneRequest.html +96 -230
- data/html/MIDI/Utils.html +91 -233
- data/html/MIDI.html +142 -526
- data/html/Object.html +197 -0
- data/html/README_rdoc.html +280 -486
- data/html/TODO_rdoc.html +68 -145
- data/html/created.rid +15 -14
- data/html/css/fonts.css +167 -0
- data/html/css/rdoc.css +639 -0
- data/html/fonts/Lato-Light.ttf +0 -0
- data/html/fonts/Lato-LightItalic.ttf +0 -0
- data/html/fonts/Lato-Regular.ttf +0 -0
- data/html/fonts/Lato-RegularItalic.ttf +0 -0
- data/html/fonts/SourceCodePro-Bold.ttf +0 -0
- data/html/fonts/SourceCodePro-Regular.ttf +0 -0
- data/html/images/add.png +0 -0
- data/html/images/arrow_up.png +0 -0
- data/html/images/delete.png +0 -0
- data/html/images/tag_blue.png +0 -0
- data/html/index.html +230 -446
- data/html/js/darkfish.js +22 -91
- data/html/js/navigation.js +4 -41
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +41 -25
- data/html/js/search_index.js +1 -1
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js +9 -8
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +1111 -505
- data/install.rb +53 -34
- data/lib/midilib/consts.rb +406 -408
- data/lib/midilib/event.rb +335 -306
- data/lib/midilib/info.rb +5 -7
- data/lib/midilib/io/midifile.rb +424 -452
- data/lib/midilib/io/seqreader.rb +200 -192
- data/lib/midilib/io/seqwriter.rb +151 -147
- data/lib/midilib/measure.rb +78 -80
- data/lib/midilib/mergesort.rb +39 -0
- data/lib/midilib/sequence.rb +93 -87
- data/lib/midilib/track.rb +71 -118
- data/lib/midilib/utils.rb +17 -20
- data/lib/midilib.rb +5 -5
- data/test/event_equality.rb +50 -52
- data/test/test_event.rb +120 -124
- data/test/test_io.rb +118 -38
- data/test/test_mergesort.rb +37 -0
- data/test/test_midifile.rb +6 -19
- data/test/test_sequence.rb +62 -61
- data/test/test_track.rb +126 -155
- data/test/test_varlen.rb +23 -27
- metadata +67 -62
- data/html/IO.html +0 -259
- data/html/MIDI/MIDI/MIDI/Array.html +0 -353
- data/html/MIDI/MIDI/MIDI.html +0 -204
- data/html/MIDI/MIDI.html +0 -204
- data/html/js/jquery.js +0 -18
- data/html/rdoc.css +0 -543
data/html/MIDI.html
CHANGED
@@ -2,664 +2,280 @@
|
|
2
2
|
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<meta
|
5
|
+
<meta charset="UTF-8">
|
6
6
|
|
7
7
|
<title>module MIDI - midilib</title>
|
8
8
|
|
9
|
-
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
-
|
11
9
|
<script type="text/javascript">
|
12
10
|
var rdoc_rel_prefix = "./";
|
11
|
+
var index_rel_prefix = "./";
|
13
12
|
</script>
|
14
13
|
|
15
|
-
<script
|
16
|
-
<script
|
17
|
-
<script
|
18
|
-
<script
|
19
|
-
<script
|
20
|
-
|
14
|
+
<script src="./js/navigation.js" defer></script>
|
15
|
+
<script src="./js/search.js" defer></script>
|
16
|
+
<script src="./js/search_index.js" defer></script>
|
17
|
+
<script src="./js/searcher.js" defer></script>
|
18
|
+
<script src="./js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
+
|
21
23
|
|
24
|
+
<body id="top" role="document" class="module">
|
25
|
+
<nav role="navigation">
|
26
|
+
<div id="project-navigation">
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
+
<h2>
|
29
|
+
<a href="./index.html" rel="home">Home</a>
|
30
|
+
</h2>
|
22
31
|
|
23
|
-
<
|
24
|
-
<
|
25
|
-
<nav id="home-section" class="section">
|
26
|
-
<h3 class="section-header">
|
27
|
-
<a href="./index.html">Home</a>
|
32
|
+
<div id="table-of-contents-navigation">
|
33
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
28
34
|
<a href="./table_of_contents.html#classes">Classes</a>
|
29
35
|
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
-
</
|
31
|
-
</
|
32
|
-
|
36
|
+
</div>
|
37
|
+
</div>
|
33
38
|
|
34
|
-
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
35
40
|
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<
|
37
|
-
<input
|
41
|
+
<div id="search-field-wrapper">
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
38
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
-
</
|
40
|
-
</form>
|
41
|
-
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
-
</nav>
|
44
|
-
|
46
|
+
</div>
|
45
47
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
<li>lib/midilib/event.rb
|
52
|
-
<li>lib/midilib/info.rb
|
53
|
-
<li>lib/midilib/io/midifile.rb
|
54
|
-
<li>lib/midilib/io/seqreader.rb
|
55
|
-
<li>lib/midilib/io/seqwriter.rb
|
56
|
-
<li>lib/midilib/measure.rb
|
57
|
-
<li>lib/midilib/sequence.rb
|
58
|
-
<li>lib/midilib/track.rb
|
59
|
-
<li>lib/midilib/utils.rb
|
60
|
-
</ul>
|
61
|
-
</nav>
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
+
</form>
|
52
|
+
</div>
|
62
53
|
|
63
|
-
|
64
54
|
</div>
|
65
55
|
|
56
|
+
|
57
|
+
|
66
58
|
<div id="class-metadata">
|
67
59
|
|
68
60
|
|
69
61
|
|
70
62
|
|
71
|
-
|
72
|
-
|
73
|
-
<div id="project-metadata">
|
74
|
-
<nav id="fileindex-section" class="section project-section">
|
75
|
-
<h3 class="section-header">Pages</h3>
|
76
|
-
|
77
|
-
<ul>
|
78
|
-
|
79
|
-
<li class="file"><a href="./README_rdoc.html">README</a>
|
80
|
-
|
81
|
-
<li class="file"><a href="./TODO_rdoc.html">TODO</a>
|
82
|
-
|
83
|
-
</ul>
|
84
|
-
</nav>
|
85
|
-
|
86
|
-
<nav id="classindex-section" class="section project-section">
|
87
|
-
<h3 class="section-header">Class and Module Index</h3>
|
88
|
-
|
89
|
-
<ul class="link-list">
|
90
|
-
|
91
|
-
<li><a href="./MIDI.html">MIDI</a>
|
92
|
-
|
93
|
-
<li><a href="./MIDI/ActiveSense.html">MIDI::ActiveSense</a>
|
94
|
-
|
95
|
-
<li><a href="./MIDI/ChannelEvent.html">MIDI::ChannelEvent</a>
|
96
|
-
|
97
|
-
<li><a href="./MIDI/ChannelPressure.html">MIDI::ChannelPressure</a>
|
98
|
-
|
99
|
-
<li><a href="./MIDI/Clock.html">MIDI::Clock</a>
|
100
|
-
|
101
|
-
<li><a href="./MIDI/Continue.html">MIDI::Continue</a>
|
102
|
-
|
103
|
-
<li><a href="./MIDI/Controller.html">MIDI::Controller</a>
|
104
|
-
|
105
|
-
<li><a href="./MIDI/Event.html">MIDI::Event</a>
|
106
|
-
|
107
|
-
<li><a href="./MIDI/IO.html">MIDI::IO</a>
|
108
|
-
|
109
|
-
<li><a href="./MIDI/IO/MIDIFile.html">MIDI::IO::MIDIFile</a>
|
110
|
-
|
111
|
-
<li><a href="./MIDI/IO/SeqReader.html">MIDI::IO::SeqReader</a>
|
112
|
-
|
113
|
-
<li><a href="./MIDI/IO/SeqWriter.html">MIDI::IO::SeqWriter</a>
|
114
|
-
|
115
|
-
<li><a href="./MIDI/KeySig.html">MIDI::KeySig</a>
|
116
|
-
|
117
|
-
<li><a href="./MIDI/MIDI.html">MIDI::MIDI</a>
|
118
|
-
|
119
|
-
<li><a href="./MIDI/MIDI/MIDI.html">MIDI::MIDI::MIDI</a>
|
120
|
-
|
121
|
-
<li><a href="./MIDI/MIDI/MIDI/Array.html">MIDI::MIDI::MIDI::Array</a>
|
122
|
-
|
123
|
-
<li><a href="./MIDI/Marker.html">MIDI::Marker</a>
|
124
|
-
|
125
|
-
<li><a href="./MIDI/Measure.html">MIDI::Measure</a>
|
126
|
-
|
127
|
-
<li><a href="./MIDI/Measures.html">MIDI::Measures</a>
|
128
|
-
|
129
|
-
<li><a href="./MIDI/MetaEvent.html">MIDI::MetaEvent</a>
|
130
|
-
|
131
|
-
<li><a href="./MIDI/NoteEvent.html">MIDI::NoteEvent</a>
|
132
|
-
|
133
|
-
<li><a href="./MIDI/NoteOff.html">MIDI::NoteOff</a>
|
134
|
-
|
135
|
-
<li><a href="./MIDI/NoteOff.html">MIDI::NoteOffEvent</a>
|
136
|
-
|
137
|
-
<li><a href="./MIDI/NoteOn.html">MIDI::NoteOn</a>
|
138
|
-
|
139
|
-
<li><a href="./MIDI/NoteOn.html">MIDI::NoteOnEvent</a>
|
140
|
-
|
141
|
-
<li><a href="./MIDI/PitchBend.html">MIDI::PitchBend</a>
|
142
|
-
|
143
|
-
<li><a href="./MIDI/PolyPressure.html">MIDI::PolyPressure</a>
|
144
|
-
|
145
|
-
<li><a href="./MIDI/ProgramChange.html">MIDI::ProgramChange</a>
|
146
|
-
|
147
|
-
<li><a href="./MIDI/Realtime.html">MIDI::Realtime</a>
|
148
|
-
|
149
|
-
<li><a href="./MIDI/Sequence.html">MIDI::Sequence</a>
|
150
|
-
|
151
|
-
<li><a href="./MIDI/SongPointer.html">MIDI::SongPointer</a>
|
152
|
-
|
153
|
-
<li><a href="./MIDI/SongSelect.html">MIDI::SongSelect</a>
|
154
|
-
|
155
|
-
<li><a href="./MIDI/Start.html">MIDI::Start</a>
|
156
|
-
|
157
|
-
<li><a href="./MIDI/Stop.html">MIDI::Stop</a>
|
158
|
-
|
159
|
-
<li><a href="./MIDI/SystemCommon.html">MIDI::SystemCommon</a>
|
160
|
-
|
161
|
-
<li><a href="./MIDI/SystemExclusive.html">MIDI::SystemExclusive</a>
|
162
|
-
|
163
|
-
<li><a href="./MIDI/SystemReset.html">MIDI::SystemReset</a>
|
164
|
-
|
165
|
-
<li><a href="./MIDI/Tempo.html">MIDI::Tempo</a>
|
166
|
-
|
167
|
-
<li><a href="./MIDI/TimeSig.html">MIDI::TimeSig</a>
|
168
|
-
|
169
|
-
<li><a href="./MIDI/Track.html">MIDI::Track</a>
|
170
|
-
|
171
|
-
<li><a href="./MIDI/TuneRequest.html">MIDI::TuneRequest</a>
|
172
|
-
|
173
|
-
<li><a href="./MIDI/Utils.html">MIDI::Utils</a>
|
174
|
-
|
175
|
-
<li><a href="./IO.html">IO</a>
|
176
|
-
|
177
|
-
</ul>
|
178
|
-
</nav>
|
179
|
-
|
63
|
+
|
180
64
|
</div>
|
181
65
|
</nav>
|
182
66
|
|
183
|
-
<
|
184
|
-
<h1 class="module">
|
67
|
+
<main role="main" aria-labelledby="module-MIDI">
|
68
|
+
<h1 id="module-MIDI" class="module">
|
69
|
+
module MIDI
|
70
|
+
</h1>
|
185
71
|
|
186
|
-
<
|
72
|
+
<section class="description">
|
187
73
|
|
188
|
-
<p><a href="MIDI
|
74
|
+
<p><a href="MIDI.html"><code>MIDI</code></a> constants.</p>
|
189
75
|
|
190
|
-
</
|
76
|
+
</section>
|
191
77
|
|
192
|
-
|
193
|
-
|
194
|
-
|
195
78
|
<section id="5Buntitled-5D" class="documentation-section">
|
196
|
-
|
197
79
|
|
198
|
-
|
199
80
|
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
81
|
+
<section class="constants-list">
|
82
|
+
<header>
|
83
|
+
<h3>Constants</h3>
|
84
|
+
</header>
|
204
85
|
<dl>
|
205
|
-
|
206
86
|
<dt id="ACTIVE_SENSE">ACTIVE_SENSE
|
207
|
-
|
208
|
-
<dd class="description"><p>Active sensing (sent every 300 ms when nothing else being sent)</p>
|
209
|
-
|
210
|
-
|
87
|
+
<dd><p>Active sensing (sent every 300 ms when nothing else being sent)</p>
|
211
88
|
<dt id="CC_BALANCE">CC_BALANCE
|
212
|
-
|
213
|
-
<dd class="description">
|
214
|
-
|
215
|
-
|
89
|
+
<dd>
|
216
90
|
<dt id="CC_BREATH_CONTROLLER">CC_BREATH_CONTROLLER
|
217
|
-
|
218
|
-
<dd class="description">
|
219
|
-
|
220
|
-
|
91
|
+
<dd>
|
221
92
|
<dt id="CC_CHORUS_DEPTH">CC_CHORUS_DEPTH
|
222
|
-
|
223
|
-
<dd class="description">
|
224
|
-
|
225
|
-
|
93
|
+
<dd>
|
226
94
|
<dt id="CC_DATA_DECREMENT">CC_DATA_DECREMENT
|
227
|
-
|
228
|
-
<dd class="description">
|
229
|
-
|
230
|
-
|
95
|
+
<dd>
|
231
96
|
<dt id="CC_DATA_ENTRY_LSB">CC_DATA_ENTRY_LSB
|
232
|
-
|
233
|
-
<dd class="description"><dl class="rdoc-list label-list"><dt>32 - 63
|
97
|
+
<dd><dl class="rdoc-list label-list"><dt>32 - 63
|
234
98
|
<dd>
|
235
99
|
<p>are LSB for [0 - 31]</p>
|
236
100
|
</dd></dl>
|
237
|
-
|
238
|
-
|
239
101
|
<dt id="CC_DATA_ENTRY_MSB">CC_DATA_ENTRY_MSB
|
240
|
-
|
241
|
-
<dd class="description">
|
242
|
-
|
243
|
-
|
102
|
+
<dd>
|
244
103
|
<dt id="CC_DATA_INCREMENT">CC_DATA_INCREMENT
|
245
|
-
|
246
|
-
<dd class="description">
|
247
|
-
|
248
|
-
|
104
|
+
<dd>
|
249
105
|
<dt id="CC_DETUNE_DEPTH">CC_DETUNE_DEPTH
|
250
|
-
|
251
|
-
<dd class="description">
|
252
|
-
|
253
|
-
|
106
|
+
<dd>
|
254
107
|
<dt id="CC_EXPRESSION_CONTROLLER">CC_EXPRESSION_CONTROLLER
|
255
|
-
|
256
|
-
<dd class="description">
|
257
|
-
|
258
|
-
|
108
|
+
<dd>
|
259
109
|
<dt id="CC_FOOT_CONTROLLER">CC_FOOT_CONTROLLER
|
260
|
-
|
261
|
-
<dd class="description">
|
262
|
-
|
263
|
-
|
110
|
+
<dd>
|
264
111
|
<dt id="CC_GEN_PURPOSE_1">CC_GEN_PURPOSE_1
|
265
|
-
|
266
|
-
<dd class="description">
|
267
|
-
|
268
|
-
|
112
|
+
<dd>
|
269
113
|
<dt id="CC_GEN_PURPOSE_2">CC_GEN_PURPOSE_2
|
270
|
-
|
271
|
-
<dd class="description">
|
272
|
-
|
273
|
-
|
114
|
+
<dd>
|
274
115
|
<dt id="CC_GEN_PURPOSE_3">CC_GEN_PURPOSE_3
|
275
|
-
|
276
|
-
<dd class="description">
|
277
|
-
|
278
|
-
|
116
|
+
<dd>
|
279
117
|
<dt id="CC_GEN_PURPOSE_4">CC_GEN_PURPOSE_4
|
280
|
-
|
281
|
-
<dd class="description">
|
282
|
-
|
283
|
-
|
118
|
+
<dd>
|
284
119
|
<dt id="CC_GEN_PURPOSE_5">CC_GEN_PURPOSE_5
|
285
|
-
|
286
|
-
<dd class="description">
|
287
|
-
|
288
|
-
|
120
|
+
<dd>
|
289
121
|
<dt id="CC_GEN_PURPOSE_6">CC_GEN_PURPOSE_6
|
290
|
-
|
291
|
-
<dd class="description">
|
292
|
-
|
293
|
-
|
122
|
+
<dd>
|
294
123
|
<dt id="CC_GEN_PURPOSE_7">CC_GEN_PURPOSE_7
|
295
|
-
|
296
|
-
<dd class="description">
|
297
|
-
|
298
|
-
|
124
|
+
<dd>
|
299
125
|
<dt id="CC_GEN_PURPOSE_8">CC_GEN_PURPOSE_8
|
300
|
-
|
301
|
-
<dd class="description">
|
302
|
-
|
303
|
-
|
126
|
+
<dd>
|
304
127
|
<dt id="CC_HOLD_2">CC_HOLD_2
|
305
|
-
|
306
|
-
<dd class="description">
|
307
|
-
|
308
|
-
|
128
|
+
<dd>
|
309
129
|
<dt id="CC_MOD_WHEEL">CC_MOD_WHEEL
|
310
|
-
|
311
|
-
<dd class="description"><p><a href="MIDI/Controller.html">Controller</a> numbers</p>
|
130
|
+
<dd><p><a href="MIDI/Controller.html"><code>Controller</code></a> numbers</p>
|
312
131
|
|
313
|
-
<h1 id="label-0+-+31
|
132
|
+
<h1 id="label-0+-+31+-3D+continuous-2C+MSB">0 - 31 = continuous, MSB<span><a href="#label-0+-+31+-3D+continuous-2C+MSB">¶</a> <a href="#top">↑</a></span></h1>
|
314
133
|
|
315
|
-
<h1 id="label-32+-+63
|
134
|
+
<h1 id="label-32+-+63+-3D+continuous-2C+LSB">32 - 63 = continuous, LSB<span><a href="#label-32+-+63+-3D+continuous-2C+LSB">¶</a> <a href="#top">↑</a></span></h1>
|
316
135
|
|
317
|
-
<h1 id="label-64+-+97
|
318
|
-
|
319
|
-
|
136
|
+
<h1 id="label-64+-+97+-3D+switches">64 - 97 = switches<span><a href="#label-64+-+97+-3D+switches">¶</a> <a href="#top">↑</a></span></h1>
|
320
137
|
<dt id="CC_NREG_PARAM_LSB">CC_NREG_PARAM_LSB
|
321
|
-
|
322
|
-
<dd class="description">
|
323
|
-
|
324
|
-
|
138
|
+
<dd>
|
325
139
|
<dt id="CC_NREG_PARAM_MSB">CC_NREG_PARAM_MSB
|
326
|
-
|
327
|
-
<dd class="description">
|
328
|
-
|
329
|
-
|
140
|
+
<dd>
|
330
141
|
<dt id="CC_PAN">CC_PAN
|
331
|
-
|
332
|
-
<dd class="description">
|
333
|
-
|
334
|
-
|
142
|
+
<dd>
|
335
143
|
<dt id="CC_PHASER_DEPTH">CC_PHASER_DEPTH
|
336
|
-
|
337
|
-
<dd class="description">
|
338
|
-
|
339
|
-
|
144
|
+
<dd>
|
340
145
|
<dt id="CC_PORTAMENTO">CC_PORTAMENTO
|
341
|
-
|
342
|
-
<dd class="description">
|
343
|
-
|
344
|
-
|
146
|
+
<dd>
|
345
147
|
<dt id="CC_PORTAMENTO_TIME">CC_PORTAMENTO_TIME
|
346
|
-
|
347
|
-
<dd class="description">
|
348
|
-
|
349
|
-
|
148
|
+
<dd>
|
350
149
|
<dt id="CC_REG_PARAM_LSB">CC_REG_PARAM_LSB
|
351
|
-
|
352
|
-
<dd class="description">
|
353
|
-
|
354
|
-
|
150
|
+
<dd>
|
355
151
|
<dt id="CC_REG_PARAM_MSB">CC_REG_PARAM_MSB
|
356
|
-
|
357
|
-
<dd class="description">
|
358
|
-
|
359
|
-
|
152
|
+
<dd>
|
360
153
|
<dt id="CC_SOFT_PEDAL">CC_SOFT_PEDAL
|
361
|
-
|
362
|
-
<dd class="description">
|
363
|
-
|
364
|
-
|
154
|
+
<dd>
|
365
155
|
<dt id="CC_SUSTAIN">CC_SUSTAIN
|
366
|
-
|
367
|
-
<dd class="description">
|
368
|
-
|
369
|
-
|
156
|
+
<dd>
|
370
157
|
<dt id="CC_SUSTENUTO">CC_SUSTENUTO
|
371
|
-
|
372
|
-
<dd class="description">
|
373
|
-
|
374
|
-
|
158
|
+
<dd>
|
375
159
|
<dt id="CC_TREMELO_DEPTH">CC_TREMELO_DEPTH
|
376
|
-
|
377
|
-
<dd class="description">
|
378
|
-
|
379
|
-
|
160
|
+
<dd>
|
380
161
|
<dt id="CC_VOLUME">CC_VOLUME
|
381
|
-
|
382
|
-
<dd class="description">
|
383
|
-
|
384
|
-
|
162
|
+
<dd>
|
385
163
|
<dt id="CHANNEL_PRESSURE">CHANNEL_PRESSURE
|
386
|
-
|
387
|
-
<dd class="description"><p>Channel pressure</p>
|
388
|
-
|
389
|
-
|
164
|
+
<dd><p>Channel pressure</p>
|
390
165
|
<dt id="CLOCK">CLOCK
|
391
|
-
|
392
|
-
<dd class="description"><p><a href="MIDI/MIDI.html">MIDI</a> clock (24 per quarter note)</p>
|
393
|
-
|
394
|
-
|
166
|
+
<dd><p><a href="MIDI.html"><code>MIDI</code></a> clock (24 per quarter note)</p>
|
395
167
|
<dt id="CM_ALL_NOTES_OFF">CM_ALL_NOTES_OFF
|
396
|
-
|
397
|
-
<dd class="description">
|
398
|
-
|
399
|
-
|
168
|
+
<dd>
|
400
169
|
<dt id="CM_LOCAL_CONTROL">CM_LOCAL_CONTROL
|
401
|
-
|
402
|
-
<dd class="description"><p>Val 0 == off, 0x7f == on</p>
|
403
|
-
|
404
|
-
|
170
|
+
<dd><p>Val 0 == off, 0x7f == on</p>
|
405
171
|
<dt id="CM_MONO_MODE_ON">CM_MONO_MODE_ON
|
406
|
-
|
407
|
-
<dd class="description">
|
408
|
-
|
409
|
-
|
172
|
+
<dd>
|
410
173
|
<dt id="CM_OMNI_MODE_OFF">CM_OMNI_MODE_OFF
|
411
|
-
|
412
|
-
<dd class="description">
|
413
|
-
|
414
|
-
|
174
|
+
<dd>
|
415
175
|
<dt id="CM_OMNI_MODE_ON">CM_OMNI_MODE_ON
|
416
|
-
|
417
|
-
<dd class="description">
|
418
|
-
|
419
|
-
|
176
|
+
<dd>
|
420
177
|
<dt id="CM_POLY_MODE_ON">CM_POLY_MODE_ON
|
421
|
-
|
422
|
-
<dd class="description">
|
423
|
-
|
424
|
-
|
178
|
+
<dd>
|
425
179
|
<dt id="CONTINUE">CONTINUE
|
426
|
-
|
427
|
-
<dd class="description"><p><a href="MIDI/Sequence.html">Sequence</a> continue</p>
|
428
|
-
|
429
|
-
|
180
|
+
<dd><p><a href="MIDI/Sequence.html"><code>Sequence</code></a> continue</p>
|
430
181
|
<dt id="CONTROLLER">CONTROLLER
|
431
|
-
|
432
|
-
<dd class="description"><p><a href="MIDI/Controller.html">Controller</a> #, val</p>
|
433
|
-
|
434
|
-
|
182
|
+
<dd><p><a href="MIDI/Controller.html"><code>Controller</code></a> #, val</p>
|
435
183
|
<dt id="CONTROLLER_NAMES">CONTROLLER_NAMES
|
436
|
-
|
437
|
-
<dd class="description"><p><a href="MIDI/Controller.html">Controller</a> names</p>
|
438
|
-
|
439
|
-
|
184
|
+
<dd><p><a href="MIDI/Controller.html"><code>Controller</code></a> names</p>
|
440
185
|
<dt id="Copyright">Copyright
|
441
|
-
|
442
|
-
<dd class="description">
|
443
|
-
|
444
|
-
|
186
|
+
<dd>
|
445
187
|
<dt id="EOX">EOX
|
446
|
-
|
447
|
-
<dd class="description"><p>End of system exclusive</p>
|
448
|
-
|
449
|
-
|
188
|
+
<dd><p>End of system exclusive</p>
|
450
189
|
<dt id="GM_DRUM_NOTE_LOWEST">GM_DRUM_NOTE_LOWEST
|
451
|
-
|
452
|
-
<dd class="description"><p>GM drum notes start at 35 (C), so subtrack <a
|
453
|
-
href="MIDI.html#GM_DRUM_NOTE_LOWEST">GM_DRUM_NOTE_LOWEST</a> from your note
|
454
|
-
number before using this array.</p>
|
455
|
-
|
456
|
-
|
190
|
+
<dd><p>GM drum notes start at 35 ©, so subtrack <a href="MIDI.html#GM_DRUM_NOTE_LOWEST"><code>GM_DRUM_NOTE_LOWEST</code></a> from your note number before using this array.</p>
|
457
191
|
<dt id="GM_DRUM_NOTE_NAMES">GM_DRUM_NOTE_NAMES
|
458
|
-
|
459
|
-
<dd class="description"><p>General <a href="MIDI/MIDI.html">MIDI</a> drum channel note names.</p>
|
460
|
-
|
461
|
-
|
192
|
+
<dd><p>General <a href="MIDI.html"><code>MIDI</code></a> drum channel note names.</p>
|
462
193
|
<dt id="GM_PATCH_NAMES">GM_PATCH_NAMES
|
463
|
-
|
464
|
-
<dd class="description"><p>General <a href="MIDI/MIDI.html">MIDI</a> patch names</p>
|
465
|
-
|
466
|
-
|
194
|
+
<dd><p>General <a href="MIDI.html"><code>MIDI</code></a> patch names</p>
|
467
195
|
<dt id="META_COPYRIGHT">META_COPYRIGHT
|
468
|
-
|
469
|
-
<dd class="description">
|
470
|
-
|
471
|
-
|
196
|
+
<dd>
|
472
197
|
<dt id="META_CUE">META_CUE
|
473
|
-
|
474
|
-
<dd class="description">
|
475
|
-
|
476
|
-
|
198
|
+
<dd>
|
477
199
|
<dt id="META_EVENT">META_EVENT
|
478
|
-
|
479
|
-
<dd class="description">
|
480
|
-
|
481
|
-
|
200
|
+
<dd>
|
482
201
|
<dt id="META_INSTRUMENT">META_INSTRUMENT
|
483
|
-
|
484
|
-
<dd class="description">
|
485
|
-
|
486
|
-
|
202
|
+
<dd>
|
487
203
|
<dt id="META_KEY_SIG">META_KEY_SIG
|
488
|
-
|
489
|
-
<dd class="description">
|
490
|
-
|
491
|
-
|
204
|
+
<dd>
|
492
205
|
<dt id="META_LYRIC">META_LYRIC
|
493
|
-
|
494
|
-
<dd class="description">
|
495
|
-
|
496
|
-
|
206
|
+
<dd>
|
497
207
|
<dt id="META_MARKER">META_MARKER
|
498
|
-
|
499
|
-
<dd class="description">
|
500
|
-
|
501
|
-
|
208
|
+
<dd>
|
502
209
|
<dt id="META_MIDI_CHAN_PREFIX">META_MIDI_CHAN_PREFIX
|
503
|
-
|
504
|
-
<dd class="description">
|
505
|
-
|
506
|
-
|
210
|
+
<dd>
|
507
211
|
<dt id="META_SEQ_NAME">META_SEQ_NAME
|
508
|
-
|
509
|
-
<dd class="description">
|
510
|
-
|
511
|
-
|
212
|
+
<dd>
|
512
213
|
<dt id="META_SEQ_NUM">META_SEQ_NUM
|
513
|
-
|
514
|
-
<dd class="description">
|
515
|
-
|
516
|
-
|
214
|
+
<dd>
|
517
215
|
<dt id="META_SEQ_SPECIF">META_SEQ_SPECIF
|
518
|
-
|
519
|
-
<dd class="description">
|
520
|
-
|
521
|
-
|
216
|
+
<dd>
|
522
217
|
<dt id="META_SET_TEMPO">META_SET_TEMPO
|
523
|
-
|
524
|
-
<dd class="description">
|
525
|
-
|
526
|
-
|
218
|
+
<dd>
|
527
219
|
<dt id="META_SMPTE">META_SMPTE
|
528
|
-
|
529
|
-
<dd class="description">
|
530
|
-
|
531
|
-
|
220
|
+
<dd>
|
532
221
|
<dt id="META_TEXT">META_TEXT
|
533
|
-
|
534
|
-
<dd class="description">
|
535
|
-
|
536
|
-
|
222
|
+
<dd>
|
537
223
|
<dt id="META_TIME_SIG">META_TIME_SIG
|
538
|
-
|
539
|
-
<dd class="description">
|
540
|
-
|
541
|
-
|
224
|
+
<dd>
|
542
225
|
<dt id="META_TRACK_END">META_TRACK_END
|
543
|
-
|
544
|
-
<dd class="description">
|
545
|
-
|
546
|
-
|
226
|
+
<dd>
|
547
227
|
<dt id="MIDI_CHANNELS">MIDI_CHANNELS
|
548
|
-
|
549
|
-
<dd class="description"><p>Number of <a href="MIDI/MIDI.html">MIDI</a> channels</p>
|
550
|
-
|
551
|
-
|
228
|
+
<dd><p>Number of <a href="MIDI.html"><code>MIDI</code></a> channels</p>
|
552
229
|
<dt id="NOTES_PER_CHANNEL">NOTES_PER_CHANNEL
|
553
|
-
|
554
|
-
<dd class="description"><p>Number of note per <a href="MIDI/MIDI.html">MIDI</a> channel</p>
|
555
|
-
|
556
|
-
|
230
|
+
<dd><p>Number of note per <a href="MIDI.html"><code>MIDI</code></a> channel</p>
|
557
231
|
<dt id="NOTE_OFF">NOTE_OFF
|
558
|
-
|
559
|
-
<dd class="description"><p>Note, val</p>
|
560
|
-
|
561
|
-
|
232
|
+
<dd><p>Note, val</p>
|
562
233
|
<dt id="NOTE_ON">NOTE_ON
|
563
|
-
|
564
|
-
<dd class="description"><p>Note, val</p>
|
565
|
-
|
566
|
-
|
234
|
+
<dd><p>Note, val</p>
|
567
235
|
<dt id="NoteOffEvent">NoteOffEvent
|
568
|
-
|
569
|
-
<dd class="description"><p>Old class name for compatability</p>
|
570
|
-
|
571
|
-
|
236
|
+
<dd><p>Old class name for compatability</p>
|
572
237
|
<dt id="NoteOnEvent">NoteOnEvent
|
573
|
-
|
574
|
-
<dd class="description"><p>Old class name for compatability</p>
|
575
|
-
|
576
|
-
|
238
|
+
<dd><p>Old class name for compatability</p>
|
577
239
|
<dt id="PITCH_BEND">PITCH_BEND
|
578
|
-
|
579
|
-
<dd class="description"><p>LSB, MSB</p>
|
580
|
-
|
581
|
-
|
240
|
+
<dd><p>LSB, MSB</p>
|
582
241
|
<dt id="POLY_PRESSURE">POLY_PRESSURE
|
583
|
-
|
584
|
-
<dd class="description"><p>Note, val</p>
|
585
|
-
|
586
|
-
|
242
|
+
<dd><p>Note, val</p>
|
587
243
|
<dt id="PROGRAM_CHANGE">PROGRAM_CHANGE
|
588
|
-
|
589
|
-
<dd class="description"><p>Program number</p>
|
590
|
-
|
591
|
-
|
244
|
+
<dd><p>Program number</p>
|
592
245
|
<dt id="SONG_POINTER">SONG_POINTER
|
593
|
-
|
594
|
-
<dd class="description"><p>Beats from top: LSB/MSB 6 ticks = 1 beat</p>
|
595
|
-
|
596
|
-
|
246
|
+
<dd><p>Beats from top: LSB/MSB 6 ticks = 1 beat</p>
|
597
247
|
<dt id="SONG_SELECT">SONG_SELECT
|
598
|
-
|
599
|
-
<dd class="description"><p>Val = number of song</p>
|
600
|
-
|
601
|
-
|
248
|
+
<dd><p>Val = number of song</p>
|
602
249
|
<dt id="START">START
|
603
|
-
|
604
|
-
<dd class="description"><p><a href="MIDI/Sequence.html">Sequence</a> start</p>
|
605
|
-
|
606
|
-
|
250
|
+
<dd><p><a href="MIDI/Sequence.html"><code>Sequence</code></a> start</p>
|
607
251
|
<dt id="STOP">STOP
|
608
|
-
|
609
|
-
<dd class="description"><p><a href="MIDI/Sequence.html">Sequence</a> stop</p>
|
610
|
-
|
611
|
-
|
252
|
+
<dd><p><a href="MIDI/Sequence.html"><code>Sequence</code></a> stop</p>
|
612
253
|
<dt id="SYSEX">SYSEX
|
613
|
-
|
614
|
-
<dd class="description"><p>System exclusive start</p>
|
615
|
-
|
616
|
-
|
254
|
+
<dd><p>System exclusive start</p>
|
617
255
|
<dt id="SYSTEM_RESET">SYSTEM_RESET
|
618
|
-
|
619
|
-
<dd class="description"><p>System reset</p>
|
620
|
-
|
621
|
-
|
256
|
+
<dd><p>System reset</p>
|
622
257
|
<dt id="TUNE_REQUEST">TUNE_REQUEST
|
623
|
-
|
624
|
-
<dd class="description"><p>Tune request</p>
|
625
|
-
|
626
|
-
|
258
|
+
<dd><p>Tune request</p>
|
627
259
|
<dt id="VERSION_MAJOR">VERSION_MAJOR
|
628
|
-
|
629
|
-
<dd class="description">
|
630
|
-
|
631
|
-
|
260
|
+
<dd>
|
632
261
|
<dt id="VERSION_MINOR">VERSION_MINOR
|
633
|
-
|
634
|
-
<dd class="description">
|
635
|
-
|
636
|
-
|
262
|
+
<dd>
|
637
263
|
<dt id="VERSION_TWEAK">VERSION_TWEAK
|
638
|
-
|
639
|
-
<dd class="description">
|
640
|
-
|
641
|
-
|
264
|
+
<dd>
|
642
265
|
<dt id="Version">Version
|
643
|
-
|
644
|
-
<dd class="description">
|
645
|
-
|
646
|
-
|
266
|
+
<dd>
|
647
267
|
</dl>
|
648
268
|
</section>
|
649
|
-
|
650
269
|
|
651
|
-
|
652
270
|
|
653
|
-
<!-- Methods -->
|
654
|
-
|
655
|
-
</section><!-- 5Buntitled-5D -->
|
656
271
|
|
657
|
-
</
|
272
|
+
</section>
|
273
|
+
</main>
|
658
274
|
|
659
275
|
|
660
|
-
<footer id="validator-badges">
|
661
|
-
<p><a href="
|
662
|
-
<p>Generated by <a href="https://github.
|
663
|
-
<p>
|
276
|
+
<footer id="validator-badges" role="contentinfo">
|
277
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
278
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
|
279
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
664
280
|
</footer>
|
665
281
|
|