midilib 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Credits +11 -2
- data/README.rdoc +17 -26
- data/Rakefile +34 -7
- data/install.rb +2 -2
- data/lib/midilib/info.rb +2 -2
- metadata +25 -119
- data/html/Array.html +0 -382
- data/html/IO.html +0 -277
- data/html/MIDI.html +0 -829
- data/html/MIDI/ActiveSense.html +0 -317
- data/html/MIDI/ChannelEvent.html +0 -347
- data/html/MIDI/ChannelPressure.html +0 -379
- data/html/MIDI/Clock.html +0 -317
- data/html/MIDI/Continue.html +0 -317
- data/html/MIDI/Controller.html +0 -398
- data/html/MIDI/Event.html +0 -659
- data/html/MIDI/IO.html +0 -238
- data/html/MIDI/IO/MIDIFile.html +0 -2269
- data/html/MIDI/IO/SeqReader.html +0 -1051
- data/html/MIDI/IO/SeqWriter.html +0 -706
- data/html/MIDI/KeySig.html +0 -487
- data/html/MIDI/Marker.html +0 -275
- data/html/MIDI/Measure.html +0 -479
- data/html/MIDI/Measures.html +0 -416
- data/html/MIDI/MetaEvent.html +0 -617
- data/html/MIDI/NoteEvent.html +0 -459
- data/html/MIDI/NoteOff.html +0 -341
- data/html/MIDI/NoteOn.html +0 -341
- data/html/MIDI/PitchBend.html +0 -380
- data/html/MIDI/PolyPressure.html +0 -390
- data/html/MIDI/ProgramChange.html +0 -379
- data/html/MIDI/Realtime.html +0 -354
- data/html/MIDI/Sequence.html +0 -1063
- data/html/MIDI/SongPointer.html +0 -380
- data/html/MIDI/SongSelect.html +0 -379
- data/html/MIDI/Start.html +0 -317
- data/html/MIDI/Stop.html +0 -317
- data/html/MIDI/SystemCommon.html +0 -275
- data/html/MIDI/SystemExclusive.html +0 -382
- data/html/MIDI/SystemReset.html +0 -317
- data/html/MIDI/Tempo.html +0 -519
- data/html/MIDI/TimeSig.html +0 -524
- data/html/MIDI/Track.html +0 -859
- data/html/MIDI/TuneRequest.html +0 -354
- data/html/MIDI/Utils.html +0 -350
- data/html/README_rdoc.html +0 -882
- data/html/TODO_rdoc.html +0 -215
- data/html/created.rid +0 -14
- data/html/images/brick.png +0 -0
- data/html/images/brick_link.png +0 -0
- data/html/images/bug.png +0 -0
- data/html/images/bullet_black.png +0 -0
- data/html/images/bullet_toggle_minus.png +0 -0
- data/html/images/bullet_toggle_plus.png +0 -0
- data/html/images/date.png +0 -0
- data/html/images/find.png +0 -0
- data/html/images/loadingAnimation.gif +0 -0
- data/html/images/macFFBgHack.png +0 -0
- data/html/images/package.png +0 -0
- data/html/images/page_green.png +0 -0
- data/html/images/page_white_text.png +0 -0
- data/html/images/page_white_width.png +0 -0
- data/html/images/plugin.png +0 -0
- data/html/images/ruby.png +0 -0
- data/html/images/tag_green.png +0 -0
- data/html/images/wrench.png +0 -0
- data/html/images/wrench_orange.png +0 -0
- data/html/images/zoom.png +0 -0
- data/html/index.html +0 -1266
- data/html/js/darkfish.js +0 -116
- data/html/js/jquery.js +0 -32
- data/html/js/quicksearch.js +0 -114
- data/html/js/thickbox-compressed.js +0 -10
- data/html/lib/midilib/consts_rb.html +0 -55
- data/html/lib/midilib/event_rb.html +0 -56
- data/html/lib/midilib/info_rb.html +0 -52
- data/html/lib/midilib/io/midifile_rb.html +0 -54
- data/html/lib/midilib/io/seqreader_rb.html +0 -58
- data/html/lib/midilib/io/seqwriter_rb.html +0 -59
- data/html/lib/midilib/measure_rb.html +0 -54
- data/html/lib/midilib/sequence_rb.html +0 -58
- data/html/lib/midilib/track_rb.html +0 -54
- data/html/lib/midilib/utils_rb.html +0 -52
- data/html/lib/midilib_rb.html +0 -71
- data/html/rdoc.css +0 -706
data/html/MIDI/Continue.html
DELETED
@@ -1,317 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
-
<head>
|
6
|
-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
7
|
-
|
8
|
-
<title>Class: MIDI::Continue</title>
|
9
|
-
|
10
|
-
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
|
11
|
-
|
12
|
-
<script src="../js/jquery.js" type="text/javascript"
|
13
|
-
charset="utf-8"></script>
|
14
|
-
<script src="../js/thickbox-compressed.js" type="text/javascript"
|
15
|
-
charset="utf-8"></script>
|
16
|
-
<script src="../js/quicksearch.js" type="text/javascript"
|
17
|
-
charset="utf-8"></script>
|
18
|
-
<script src="../js/darkfish.js" type="text/javascript"
|
19
|
-
charset="utf-8"></script>
|
20
|
-
|
21
|
-
</head>
|
22
|
-
<body class="class">
|
23
|
-
|
24
|
-
<div id="metadata">
|
25
|
-
<div id="home-metadata">
|
26
|
-
<div id="home-section" class="section">
|
27
|
-
<h3 class="section-header">
|
28
|
-
<a href="../index.html">Home</a>
|
29
|
-
<a href="../index.html#classes">Classes</a>
|
30
|
-
<a href="../index.html#methods">Methods</a>
|
31
|
-
</h3>
|
32
|
-
</div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="file-metadata">
|
36
|
-
<div id="file-list-section" class="section">
|
37
|
-
<h3 class="section-header">In Files</h3>
|
38
|
-
<div class="section-body">
|
39
|
-
<ul>
|
40
|
-
|
41
|
-
<li><a href="../lib/midilib/event_rb.html?TB_iframe=true&height=550&width=785"
|
42
|
-
class="thickbox" title="lib/midilib/event.rb">lib/midilib/event.rb</a></li>
|
43
|
-
|
44
|
-
</ul>
|
45
|
-
</div>
|
46
|
-
</div>
|
47
|
-
|
48
|
-
|
49
|
-
</div>
|
50
|
-
|
51
|
-
<div id="class-metadata">
|
52
|
-
|
53
|
-
<!-- Parent Class -->
|
54
|
-
|
55
|
-
<div id="parent-class-section" class="section">
|
56
|
-
<h3 class="section-header">Parent</h3>
|
57
|
-
|
58
|
-
<p class="link"><a href="Realtime.html">MIDI::Realtime</a></p>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
|
62
|
-
|
63
|
-
<!-- Namespace Contents -->
|
64
|
-
|
65
|
-
|
66
|
-
<!-- Method Quickref -->
|
67
|
-
|
68
|
-
<div id="method-list-section" class="section">
|
69
|
-
<h3 class="section-header">Methods</h3>
|
70
|
-
<ul class="link-list">
|
71
|
-
|
72
|
-
<li><a href="#method-c-new">::new</a></li>
|
73
|
-
|
74
|
-
<li><a href="#method-i-to_s">#to_s</a></li>
|
75
|
-
|
76
|
-
</ul>
|
77
|
-
</div>
|
78
|
-
|
79
|
-
|
80
|
-
<!-- Included Modules -->
|
81
|
-
|
82
|
-
</div>
|
83
|
-
|
84
|
-
<div id="project-metadata">
|
85
|
-
|
86
|
-
|
87
|
-
<div id="fileindex-section" class="section project-section">
|
88
|
-
<h3 class="section-header">Files</h3>
|
89
|
-
<ul>
|
90
|
-
|
91
|
-
<li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
|
92
|
-
|
93
|
-
<li class="file"><a href="../TODO_rdoc.html">TODO.rdoc</a></li>
|
94
|
-
|
95
|
-
</ul>
|
96
|
-
</div>
|
97
|
-
|
98
|
-
|
99
|
-
<div id="classindex-section" class="section project-section">
|
100
|
-
<h3 class="section-header">Class Index
|
101
|
-
<span class="search-toggle"><img src="../images/find.png"
|
102
|
-
height="16" width="16" alt="[+]"
|
103
|
-
title="show/hide quicksearch" /></span></h3>
|
104
|
-
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
105
|
-
<fieldset>
|
106
|
-
<legend>Quicksearch</legend>
|
107
|
-
<input type="text" name="quicksearch" value=""
|
108
|
-
class="quicksearch-field" />
|
109
|
-
</fieldset>
|
110
|
-
</form>
|
111
|
-
|
112
|
-
<ul class="link-list">
|
113
|
-
|
114
|
-
<li><a href="../MIDI.html">MIDI</a></li>
|
115
|
-
|
116
|
-
<li><a href="../MIDI/ActiveSense.html">MIDI::ActiveSense</a></li>
|
117
|
-
|
118
|
-
<li><a href="../MIDI/ChannelEvent.html">MIDI::ChannelEvent</a></li>
|
119
|
-
|
120
|
-
<li><a href="../MIDI/ChannelPressure.html">MIDI::ChannelPressure</a></li>
|
121
|
-
|
122
|
-
<li><a href="../MIDI/Clock.html">MIDI::Clock</a></li>
|
123
|
-
|
124
|
-
<li><a href="../MIDI/Continue.html">MIDI::Continue</a></li>
|
125
|
-
|
126
|
-
<li><a href="../MIDI/Controller.html">MIDI::Controller</a></li>
|
127
|
-
|
128
|
-
<li><a href="../MIDI/Event.html">MIDI::Event</a></li>
|
129
|
-
|
130
|
-
<li><a href="../MIDI/IO.html">MIDI::IO</a></li>
|
131
|
-
|
132
|
-
<li><a href="../MIDI/IO/MIDIFile.html">MIDI::IO::MIDIFile</a></li>
|
133
|
-
|
134
|
-
<li><a href="../MIDI/IO/SeqReader.html">MIDI::IO::SeqReader</a></li>
|
135
|
-
|
136
|
-
<li><a href="../MIDI/IO/SeqWriter.html">MIDI::IO::SeqWriter</a></li>
|
137
|
-
|
138
|
-
<li><a href="../MIDI/KeySig.html">MIDI::KeySig</a></li>
|
139
|
-
|
140
|
-
<li><a href="../MIDI/Marker.html">MIDI::Marker</a></li>
|
141
|
-
|
142
|
-
<li><a href="../MIDI/Measure.html">MIDI::Measure</a></li>
|
143
|
-
|
144
|
-
<li><a href="../MIDI/Measures.html">MIDI::Measures</a></li>
|
145
|
-
|
146
|
-
<li><a href="../MIDI/MetaEvent.html">MIDI::MetaEvent</a></li>
|
147
|
-
|
148
|
-
<li><a href="../MIDI/NoteEvent.html">MIDI::NoteEvent</a></li>
|
149
|
-
|
150
|
-
<li><a href="../MIDI/NoteOff.html">MIDI::NoteOff</a></li>
|
151
|
-
|
152
|
-
<li><a href="../MIDI/NoteOff.html">MIDI::NoteOff</a></li>
|
153
|
-
|
154
|
-
<li><a href="../MIDI/NoteOn.html">MIDI::NoteOn</a></li>
|
155
|
-
|
156
|
-
<li><a href="../MIDI/NoteOn.html">MIDI::NoteOn</a></li>
|
157
|
-
|
158
|
-
<li><a href="../MIDI/PitchBend.html">MIDI::PitchBend</a></li>
|
159
|
-
|
160
|
-
<li><a href="../MIDI/PolyPressure.html">MIDI::PolyPressure</a></li>
|
161
|
-
|
162
|
-
<li><a href="../MIDI/ProgramChange.html">MIDI::ProgramChange</a></li>
|
163
|
-
|
164
|
-
<li><a href="../MIDI/Realtime.html">MIDI::Realtime</a></li>
|
165
|
-
|
166
|
-
<li><a href="../MIDI/Sequence.html">MIDI::Sequence</a></li>
|
167
|
-
|
168
|
-
<li><a href="../MIDI/SongPointer.html">MIDI::SongPointer</a></li>
|
169
|
-
|
170
|
-
<li><a href="../MIDI/SongSelect.html">MIDI::SongSelect</a></li>
|
171
|
-
|
172
|
-
<li><a href="../MIDI/Start.html">MIDI::Start</a></li>
|
173
|
-
|
174
|
-
<li><a href="../MIDI/Stop.html">MIDI::Stop</a></li>
|
175
|
-
|
176
|
-
<li><a href="../MIDI/SystemCommon.html">MIDI::SystemCommon</a></li>
|
177
|
-
|
178
|
-
<li><a href="../MIDI/SystemExclusive.html">MIDI::SystemExclusive</a></li>
|
179
|
-
|
180
|
-
<li><a href="../MIDI/SystemReset.html">MIDI::SystemReset</a></li>
|
181
|
-
|
182
|
-
<li><a href="../MIDI/Tempo.html">MIDI::Tempo</a></li>
|
183
|
-
|
184
|
-
<li><a href="../MIDI/TimeSig.html">MIDI::TimeSig</a></li>
|
185
|
-
|
186
|
-
<li><a href="../MIDI/Track.html">MIDI::Track</a></li>
|
187
|
-
|
188
|
-
<li><a href="../MIDI/TuneRequest.html">MIDI::TuneRequest</a></li>
|
189
|
-
|
190
|
-
<li><a href="../MIDI/Utils.html">MIDI::Utils</a></li>
|
191
|
-
|
192
|
-
<li><a href="../Array.html">Array</a></li>
|
193
|
-
|
194
|
-
<li><a href="../IO.html">IO</a></li>
|
195
|
-
|
196
|
-
</ul>
|
197
|
-
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
198
|
-
</div>
|
199
|
-
|
200
|
-
|
201
|
-
</div>
|
202
|
-
</div>
|
203
|
-
|
204
|
-
<div id="documentation">
|
205
|
-
<h1 class="class">MIDI::Continue</h1>
|
206
|
-
|
207
|
-
<div id="description">
|
208
|
-
|
209
|
-
</div>
|
210
|
-
|
211
|
-
<!-- Constants -->
|
212
|
-
|
213
|
-
|
214
|
-
<!-- Attributes -->
|
215
|
-
|
216
|
-
|
217
|
-
<!-- Methods -->
|
218
|
-
|
219
|
-
<div id="public-class-method-details" class="method-section section">
|
220
|
-
<h3 class="section-header">Public Class Methods</h3>
|
221
|
-
|
222
|
-
|
223
|
-
<div id="new-method" class="method-detail ">
|
224
|
-
<a name="method-c-new"></a>
|
225
|
-
|
226
|
-
<div class="method-heading">
|
227
|
-
|
228
|
-
<span class="method-name">new</span><span
|
229
|
-
class="method-args">(delta_time = 0)</span>
|
230
|
-
<span class="method-click-advice">click to toggle source</span>
|
231
|
-
|
232
|
-
</div>
|
233
|
-
|
234
|
-
<div class="method-description">
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
<div class="method-source-code"
|
241
|
-
id="new-source">
|
242
|
-
<pre>
|
243
|
-
<span class="ruby-comment cmt"># File lib/midilib/event.rb, line 376</span>
|
244
|
-
376: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">delta_time</span> = <span class="ruby-value">0</span>)
|
245
|
-
377: <span class="ruby-keyword kw">super</span>(<span class="ruby-constant">CONTINUE</span>, <span class="ruby-identifier">delta_time</span>)
|
246
|
-
378: <span class="ruby-keyword kw">end</span></pre>
|
247
|
-
</div>
|
248
|
-
|
249
|
-
</div>
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
</div>
|
255
|
-
|
256
|
-
|
257
|
-
</div>
|
258
|
-
|
259
|
-
<div id="public-instance-method-details" class="method-section section">
|
260
|
-
<h3 class="section-header">Public Instance Methods</h3>
|
261
|
-
|
262
|
-
|
263
|
-
<div id="to-s-method" class="method-detail ">
|
264
|
-
<a name="method-i-to_s"></a>
|
265
|
-
|
266
|
-
<div class="method-heading">
|
267
|
-
|
268
|
-
<span class="method-name">to_s</span><span
|
269
|
-
class="method-args">()</span>
|
270
|
-
<span class="method-click-advice">click to toggle source</span>
|
271
|
-
|
272
|
-
</div>
|
273
|
-
|
274
|
-
<div class="method-description">
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
<div class="method-source-code"
|
281
|
-
id="to-s-source">
|
282
|
-
<pre>
|
283
|
-
<span class="ruby-comment cmt"># File lib/midilib/event.rb, line 379</span>
|
284
|
-
379: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
285
|
-
380: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">super</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"continue"</span>
|
286
|
-
381: <span class="ruby-keyword kw">end</span></pre>
|
287
|
-
</div>
|
288
|
-
|
289
|
-
</div>
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
</div>
|
295
|
-
|
296
|
-
|
297
|
-
</div>
|
298
|
-
|
299
|
-
|
300
|
-
</div>
|
301
|
-
|
302
|
-
|
303
|
-
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
304
|
-
|
305
|
-
<p>Disabled; run with --debug to generate this.</p>
|
306
|
-
|
307
|
-
</div>
|
308
|
-
|
309
|
-
<div id="validator-badges">
|
310
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
311
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
312
|
-
Rdoc Generator</a> 1.1.6</small>.</p>
|
313
|
-
</div>
|
314
|
-
|
315
|
-
</body>
|
316
|
-
</html>
|
317
|
-
|
data/html/MIDI/Controller.html
DELETED
@@ -1,398 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
-
<head>
|
6
|
-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
7
|
-
|
8
|
-
<title>Class: MIDI::Controller</title>
|
9
|
-
|
10
|
-
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
|
11
|
-
|
12
|
-
<script src="../js/jquery.js" type="text/javascript"
|
13
|
-
charset="utf-8"></script>
|
14
|
-
<script src="../js/thickbox-compressed.js" type="text/javascript"
|
15
|
-
charset="utf-8"></script>
|
16
|
-
<script src="../js/quicksearch.js" type="text/javascript"
|
17
|
-
charset="utf-8"></script>
|
18
|
-
<script src="../js/darkfish.js" type="text/javascript"
|
19
|
-
charset="utf-8"></script>
|
20
|
-
|
21
|
-
</head>
|
22
|
-
<body class="class">
|
23
|
-
|
24
|
-
<div id="metadata">
|
25
|
-
<div id="home-metadata">
|
26
|
-
<div id="home-section" class="section">
|
27
|
-
<h3 class="section-header">
|
28
|
-
<a href="../index.html">Home</a>
|
29
|
-
<a href="../index.html#classes">Classes</a>
|
30
|
-
<a href="../index.html#methods">Methods</a>
|
31
|
-
</h3>
|
32
|
-
</div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="file-metadata">
|
36
|
-
<div id="file-list-section" class="section">
|
37
|
-
<h3 class="section-header">In Files</h3>
|
38
|
-
<div class="section-body">
|
39
|
-
<ul>
|
40
|
-
|
41
|
-
<li><a href="../lib/midilib/event_rb.html?TB_iframe=true&height=550&width=785"
|
42
|
-
class="thickbox" title="lib/midilib/event.rb">lib/midilib/event.rb</a></li>
|
43
|
-
|
44
|
-
</ul>
|
45
|
-
</div>
|
46
|
-
</div>
|
47
|
-
|
48
|
-
|
49
|
-
</div>
|
50
|
-
|
51
|
-
<div id="class-metadata">
|
52
|
-
|
53
|
-
<!-- Parent Class -->
|
54
|
-
|
55
|
-
<div id="parent-class-section" class="section">
|
56
|
-
<h3 class="section-header">Parent</h3>
|
57
|
-
|
58
|
-
<p class="link"><a href="ChannelEvent.html">MIDI::ChannelEvent</a></p>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
|
62
|
-
|
63
|
-
<!-- Namespace Contents -->
|
64
|
-
|
65
|
-
|
66
|
-
<!-- Method Quickref -->
|
67
|
-
|
68
|
-
<div id="method-list-section" class="section">
|
69
|
-
<h3 class="section-header">Methods</h3>
|
70
|
-
<ul class="link-list">
|
71
|
-
|
72
|
-
<li><a href="#method-c-new">::new</a></li>
|
73
|
-
|
74
|
-
<li><a href="#method-i-data_as_bytes">#data_as_bytes</a></li>
|
75
|
-
|
76
|
-
<li><a href="#method-i-to_s">#to_s</a></li>
|
77
|
-
|
78
|
-
</ul>
|
79
|
-
</div>
|
80
|
-
|
81
|
-
|
82
|
-
<!-- Included Modules -->
|
83
|
-
|
84
|
-
</div>
|
85
|
-
|
86
|
-
<div id="project-metadata">
|
87
|
-
|
88
|
-
|
89
|
-
<div id="fileindex-section" class="section project-section">
|
90
|
-
<h3 class="section-header">Files</h3>
|
91
|
-
<ul>
|
92
|
-
|
93
|
-
<li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
|
94
|
-
|
95
|
-
<li class="file"><a href="../TODO_rdoc.html">TODO.rdoc</a></li>
|
96
|
-
|
97
|
-
</ul>
|
98
|
-
</div>
|
99
|
-
|
100
|
-
|
101
|
-
<div id="classindex-section" class="section project-section">
|
102
|
-
<h3 class="section-header">Class Index
|
103
|
-
<span class="search-toggle"><img src="../images/find.png"
|
104
|
-
height="16" width="16" alt="[+]"
|
105
|
-
title="show/hide quicksearch" /></span></h3>
|
106
|
-
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
107
|
-
<fieldset>
|
108
|
-
<legend>Quicksearch</legend>
|
109
|
-
<input type="text" name="quicksearch" value=""
|
110
|
-
class="quicksearch-field" />
|
111
|
-
</fieldset>
|
112
|
-
</form>
|
113
|
-
|
114
|
-
<ul class="link-list">
|
115
|
-
|
116
|
-
<li><a href="../MIDI.html">MIDI</a></li>
|
117
|
-
|
118
|
-
<li><a href="../MIDI/ActiveSense.html">MIDI::ActiveSense</a></li>
|
119
|
-
|
120
|
-
<li><a href="../MIDI/ChannelEvent.html">MIDI::ChannelEvent</a></li>
|
121
|
-
|
122
|
-
<li><a href="../MIDI/ChannelPressure.html">MIDI::ChannelPressure</a></li>
|
123
|
-
|
124
|
-
<li><a href="../MIDI/Clock.html">MIDI::Clock</a></li>
|
125
|
-
|
126
|
-
<li><a href="../MIDI/Continue.html">MIDI::Continue</a></li>
|
127
|
-
|
128
|
-
<li><a href="../MIDI/Controller.html">MIDI::Controller</a></li>
|
129
|
-
|
130
|
-
<li><a href="../MIDI/Event.html">MIDI::Event</a></li>
|
131
|
-
|
132
|
-
<li><a href="../MIDI/IO.html">MIDI::IO</a></li>
|
133
|
-
|
134
|
-
<li><a href="../MIDI/IO/MIDIFile.html">MIDI::IO::MIDIFile</a></li>
|
135
|
-
|
136
|
-
<li><a href="../MIDI/IO/SeqReader.html">MIDI::IO::SeqReader</a></li>
|
137
|
-
|
138
|
-
<li><a href="../MIDI/IO/SeqWriter.html">MIDI::IO::SeqWriter</a></li>
|
139
|
-
|
140
|
-
<li><a href="../MIDI/KeySig.html">MIDI::KeySig</a></li>
|
141
|
-
|
142
|
-
<li><a href="../MIDI/Marker.html">MIDI::Marker</a></li>
|
143
|
-
|
144
|
-
<li><a href="../MIDI/Measure.html">MIDI::Measure</a></li>
|
145
|
-
|
146
|
-
<li><a href="../MIDI/Measures.html">MIDI::Measures</a></li>
|
147
|
-
|
148
|
-
<li><a href="../MIDI/MetaEvent.html">MIDI::MetaEvent</a></li>
|
149
|
-
|
150
|
-
<li><a href="../MIDI/NoteEvent.html">MIDI::NoteEvent</a></li>
|
151
|
-
|
152
|
-
<li><a href="../MIDI/NoteOff.html">MIDI::NoteOff</a></li>
|
153
|
-
|
154
|
-
<li><a href="../MIDI/NoteOff.html">MIDI::NoteOff</a></li>
|
155
|
-
|
156
|
-
<li><a href="../MIDI/NoteOn.html">MIDI::NoteOn</a></li>
|
157
|
-
|
158
|
-
<li><a href="../MIDI/NoteOn.html">MIDI::NoteOn</a></li>
|
159
|
-
|
160
|
-
<li><a href="../MIDI/PitchBend.html">MIDI::PitchBend</a></li>
|
161
|
-
|
162
|
-
<li><a href="../MIDI/PolyPressure.html">MIDI::PolyPressure</a></li>
|
163
|
-
|
164
|
-
<li><a href="../MIDI/ProgramChange.html">MIDI::ProgramChange</a></li>
|
165
|
-
|
166
|
-
<li><a href="../MIDI/Realtime.html">MIDI::Realtime</a></li>
|
167
|
-
|
168
|
-
<li><a href="../MIDI/Sequence.html">MIDI::Sequence</a></li>
|
169
|
-
|
170
|
-
<li><a href="../MIDI/SongPointer.html">MIDI::SongPointer</a></li>
|
171
|
-
|
172
|
-
<li><a href="../MIDI/SongSelect.html">MIDI::SongSelect</a></li>
|
173
|
-
|
174
|
-
<li><a href="../MIDI/Start.html">MIDI::Start</a></li>
|
175
|
-
|
176
|
-
<li><a href="../MIDI/Stop.html">MIDI::Stop</a></li>
|
177
|
-
|
178
|
-
<li><a href="../MIDI/SystemCommon.html">MIDI::SystemCommon</a></li>
|
179
|
-
|
180
|
-
<li><a href="../MIDI/SystemExclusive.html">MIDI::SystemExclusive</a></li>
|
181
|
-
|
182
|
-
<li><a href="../MIDI/SystemReset.html">MIDI::SystemReset</a></li>
|
183
|
-
|
184
|
-
<li><a href="../MIDI/Tempo.html">MIDI::Tempo</a></li>
|
185
|
-
|
186
|
-
<li><a href="../MIDI/TimeSig.html">MIDI::TimeSig</a></li>
|
187
|
-
|
188
|
-
<li><a href="../MIDI/Track.html">MIDI::Track</a></li>
|
189
|
-
|
190
|
-
<li><a href="../MIDI/TuneRequest.html">MIDI::TuneRequest</a></li>
|
191
|
-
|
192
|
-
<li><a href="../MIDI/Utils.html">MIDI::Utils</a></li>
|
193
|
-
|
194
|
-
<li><a href="../Array.html">Array</a></li>
|
195
|
-
|
196
|
-
<li><a href="../IO.html">IO</a></li>
|
197
|
-
|
198
|
-
</ul>
|
199
|
-
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
200
|
-
</div>
|
201
|
-
|
202
|
-
|
203
|
-
</div>
|
204
|
-
</div>
|
205
|
-
|
206
|
-
<div id="documentation">
|
207
|
-
<h1 class="class">MIDI::Controller</h1>
|
208
|
-
|
209
|
-
<div id="description">
|
210
|
-
|
211
|
-
</div>
|
212
|
-
|
213
|
-
<!-- Constants -->
|
214
|
-
|
215
|
-
|
216
|
-
<!-- Attributes -->
|
217
|
-
|
218
|
-
<div id="attribute-method-details" class="method-section section">
|
219
|
-
<h3 class="section-header">Attributes</h3>
|
220
|
-
|
221
|
-
|
222
|
-
<div id="controller-attribute-method" class="method-detail">
|
223
|
-
<a name="controller"></a>
|
224
|
-
|
225
|
-
<a name="controller="></a>
|
226
|
-
|
227
|
-
<div class="method-heading attribute-method-heading">
|
228
|
-
<span class="method-name">controller</span><span
|
229
|
-
class="attribute-access-type">[RW]</span>
|
230
|
-
</div>
|
231
|
-
|
232
|
-
<div class="method-description">
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
</div>
|
237
|
-
</div>
|
238
|
-
|
239
|
-
<div id="value-attribute-method" class="method-detail">
|
240
|
-
<a name="value"></a>
|
241
|
-
|
242
|
-
<a name="value="></a>
|
243
|
-
|
244
|
-
<div class="method-heading attribute-method-heading">
|
245
|
-
<span class="method-name">value</span><span
|
246
|
-
class="attribute-access-type">[RW]</span>
|
247
|
-
</div>
|
248
|
-
|
249
|
-
<div class="method-description">
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
</div>
|
254
|
-
</div>
|
255
|
-
|
256
|
-
</div>
|
257
|
-
|
258
|
-
|
259
|
-
<!-- Methods -->
|
260
|
-
|
261
|
-
<div id="public-class-method-details" class="method-section section">
|
262
|
-
<h3 class="section-header">Public Class Methods</h3>
|
263
|
-
|
264
|
-
|
265
|
-
<div id="new-method" class="method-detail ">
|
266
|
-
<a name="method-c-new"></a>
|
267
|
-
|
268
|
-
<div class="method-heading">
|
269
|
-
|
270
|
-
<span class="method-name">new</span><span
|
271
|
-
class="method-args">(channel = 0, controller = 0, value = 0, delta_time = 0)</span>
|
272
|
-
<span class="method-click-advice">click to toggle source</span>
|
273
|
-
|
274
|
-
</div>
|
275
|
-
|
276
|
-
<div class="method-description">
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
<div class="method-source-code"
|
283
|
-
id="new-source">
|
284
|
-
<pre>
|
285
|
-
<span class="ruby-comment cmt"># File lib/midilib/event.rb, line 183</span>
|
286
|
-
183: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">channel</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">controller</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">value</span> = <span class="ruby-value">0</span>, <span class="ruby-identifier">delta_time</span> = <span class="ruby-value">0</span>)
|
287
|
-
184: <span class="ruby-keyword kw">super</span>(<span class="ruby-constant">CONTROLLER</span>, <span class="ruby-identifier">channel</span>, <span class="ruby-identifier">delta_time</span>)
|
288
|
-
185: <span class="ruby-ivar">@controller</span> = <span class="ruby-identifier">controller</span>
|
289
|
-
186: <span class="ruby-ivar">@value</span> = <span class="ruby-identifier">value</span>
|
290
|
-
187: <span class="ruby-keyword kw">end</span></pre>
|
291
|
-
</div>
|
292
|
-
|
293
|
-
</div>
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
</div>
|
299
|
-
|
300
|
-
|
301
|
-
</div>
|
302
|
-
|
303
|
-
<div id="public-instance-method-details" class="method-section section">
|
304
|
-
<h3 class="section-header">Public Instance Methods</h3>
|
305
|
-
|
306
|
-
|
307
|
-
<div id="data-as-bytes-method" class="method-detail ">
|
308
|
-
<a name="method-i-data_as_bytes"></a>
|
309
|
-
|
310
|
-
<div class="method-heading">
|
311
|
-
|
312
|
-
<span class="method-name">data_as_bytes</span><span
|
313
|
-
class="method-args">()</span>
|
314
|
-
<span class="method-click-advice">click to toggle source</span>
|
315
|
-
|
316
|
-
</div>
|
317
|
-
|
318
|
-
<div class="method-description">
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
<div class="method-source-code"
|
325
|
-
id="data-as-bytes-source">
|
326
|
-
<pre>
|
327
|
-
<span class="ruby-comment cmt"># File lib/midilib/event.rb, line 189</span>
|
328
|
-
189: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">data_as_bytes</span>
|
329
|
-
190: <span class="ruby-identifier">data</span> = []
|
330
|
-
191: <span class="ruby-identifier">data</span> <span class="ruby-operator"><<</span> (<span class="ruby-ivar">@status</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@channel</span>)
|
331
|
-
192: <span class="ruby-identifier">data</span> <span class="ruby-operator"><<</span> <span class="ruby-ivar">@controller</span>
|
332
|
-
193: <span class="ruby-identifier">data</span> <span class="ruby-operator"><<</span> <span class="ruby-ivar">@value</span>
|
333
|
-
194: <span class="ruby-keyword kw">end</span></pre>
|
334
|
-
</div>
|
335
|
-
|
336
|
-
</div>
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
</div>
|
342
|
-
|
343
|
-
|
344
|
-
<div id="to-s-method" class="method-detail ">
|
345
|
-
<a name="method-i-to_s"></a>
|
346
|
-
|
347
|
-
<div class="method-heading">
|
348
|
-
|
349
|
-
<span class="method-name">to_s</span><span
|
350
|
-
class="method-args">()</span>
|
351
|
-
<span class="method-click-advice">click to toggle source</span>
|
352
|
-
|
353
|
-
</div>
|
354
|
-
|
355
|
-
<div class="method-description">
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
<div class="method-source-code"
|
362
|
-
id="to-s-source">
|
363
|
-
<pre>
|
364
|
-
<span class="ruby-comment cmt"># File lib/midilib/event.rb, line 196</span>
|
365
|
-
196: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
366
|
-
197: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">super</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"cntl #{number_to_s(@controller)} #{number_to_s(@value)}"</span>
|
367
|
-
198: <span class="ruby-keyword kw">end</span></pre>
|
368
|
-
</div>
|
369
|
-
|
370
|
-
</div>
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
</div>
|
376
|
-
|
377
|
-
|
378
|
-
</div>
|
379
|
-
|
380
|
-
|
381
|
-
</div>
|
382
|
-
|
383
|
-
|
384
|
-
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
385
|
-
|
386
|
-
<p>Disabled; run with --debug to generate this.</p>
|
387
|
-
|
388
|
-
</div>
|
389
|
-
|
390
|
-
<div id="validator-badges">
|
391
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
392
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
393
|
-
Rdoc Generator</a> 1.1.6</small>.</p>
|
394
|
-
</div>
|
395
|
-
|
396
|
-
</body>
|
397
|
-
</html>
|
398
|
-
|