midilib 3.1.0 → 4.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +12 -12
  3. data/Credits +7 -0
  4. data/README.rdoc +12 -148
  5. data/Rakefile +5 -15
  6. data/TODO.rdoc +8 -7
  7. data/examples/from_scratch.rb +2 -7
  8. data/examples/measures_mbt.rb +1 -6
  9. data/examples/print_program_changes.rb +1 -3
  10. data/examples/reader2text.rb +2 -7
  11. data/examples/seq2text.rb +1 -6
  12. data/examples/split.rb +1 -6
  13. data/examples/strings.rb +2 -7
  14. data/examples/transpose.rb +3 -8
  15. data/lib/midilib/consts.rb +2 -0
  16. data/lib/midilib/event.rb +2 -2
  17. data/lib/midilib/info.rb +4 -4
  18. data/lib/midilib/io/seqreader.rb +11 -27
  19. data/lib/midilib/io/seqwriter.rb +6 -4
  20. data/lib/midilib/track.rb +38 -6
  21. data/test/test_event.rb +13 -6
  22. data/test/test_io.rb +144 -13
  23. data/test/test_mergesort.rb +1 -6
  24. data/test/test_midifile.rb +1 -6
  25. data/test/test_sequence.rb +1 -6
  26. data/test/test_track.rb +66 -7
  27. data/test/test_varlen.rb +1 -6
  28. metadata +3 -87
  29. data/html/MIDI/ActiveSense.html +0 -171
  30. data/html/MIDI/ChannelEvent.html +0 -190
  31. data/html/MIDI/ChannelPressure.html +0 -212
  32. data/html/MIDI/Clock.html +0 -171
  33. data/html/MIDI/Continue.html +0 -171
  34. data/html/MIDI/Controller.html +0 -224
  35. data/html/MIDI/Event.html +0 -349
  36. data/html/MIDI/IO/MIDIFile.html +0 -1392
  37. data/html/MIDI/IO/SeqReader.html +0 -642
  38. data/html/MIDI/IO/SeqWriter.html +0 -442
  39. data/html/MIDI/IO.html +0 -91
  40. data/html/MIDI/KeySig.html +0 -292
  41. data/html/MIDI/Marker.html +0 -138
  42. data/html/MIDI/Measure.html +0 -260
  43. data/html/MIDI/Measures.html +0 -222
  44. data/html/MIDI/MetaEvent.html +0 -353
  45. data/html/MIDI/NoteEvent.html +0 -255
  46. data/html/MIDI/NoteOff.html +0 -188
  47. data/html/MIDI/NoteOn.html +0 -188
  48. data/html/MIDI/PitchBend.html +0 -213
  49. data/html/MIDI/PolyPressure.html +0 -216
  50. data/html/MIDI/ProgramChange.html +0 -212
  51. data/html/MIDI/Realtime.html +0 -194
  52. data/html/MIDI/Sequence.html +0 -641
  53. data/html/MIDI/SongPointer.html +0 -213
  54. data/html/MIDI/SongSelect.html +0 -212
  55. data/html/MIDI/Start.html +0 -171
  56. data/html/MIDI/Stop.html +0 -171
  57. data/html/MIDI/SystemCommon.html +0 -138
  58. data/html/MIDI/SystemExclusive.html +0 -215
  59. data/html/MIDI/SystemReset.html +0 -171
  60. data/html/MIDI/Tempo.html +0 -292
  61. data/html/MIDI/TimeSig.html +0 -286
  62. data/html/MIDI/Track.html +0 -489
  63. data/html/MIDI/TuneRequest.html +0 -194
  64. data/html/MIDI/Utils.html +0 -178
  65. data/html/MIDI.html +0 -281
  66. data/html/Object.html +0 -197
  67. data/html/README_rdoc.html +0 -545
  68. data/html/TODO_rdoc.html +0 -123
  69. data/html/created.rid +0 -15
  70. data/html/css/fonts.css +0 -167
  71. data/html/css/rdoc.css +0 -639
  72. data/html/fonts/Lato-Light.ttf +0 -0
  73. data/html/fonts/Lato-LightItalic.ttf +0 -0
  74. data/html/fonts/Lato-Regular.ttf +0 -0
  75. data/html/fonts/Lato-RegularItalic.ttf +0 -0
  76. data/html/fonts/SourceCodePro-Bold.ttf +0 -0
  77. data/html/fonts/SourceCodePro-Regular.ttf +0 -0
  78. data/html/images/add.png +0 -0
  79. data/html/images/arrow_up.png +0 -0
  80. data/html/images/brick.png +0 -0
  81. data/html/images/brick_link.png +0 -0
  82. data/html/images/bug.png +0 -0
  83. data/html/images/bullet_black.png +0 -0
  84. data/html/images/bullet_toggle_minus.png +0 -0
  85. data/html/images/bullet_toggle_plus.png +0 -0
  86. data/html/images/date.png +0 -0
  87. data/html/images/delete.png +0 -0
  88. data/html/images/find.png +0 -0
  89. data/html/images/loadingAnimation.gif +0 -0
  90. data/html/images/macFFBgHack.png +0 -0
  91. data/html/images/package.png +0 -0
  92. data/html/images/page_green.png +0 -0
  93. data/html/images/page_white_text.png +0 -0
  94. data/html/images/page_white_width.png +0 -0
  95. data/html/images/plugin.png +0 -0
  96. data/html/images/ruby.png +0 -0
  97. data/html/images/tag_blue.png +0 -0
  98. data/html/images/tag_green.png +0 -0
  99. data/html/images/transparent.png +0 -0
  100. data/html/images/wrench.png +0 -0
  101. data/html/images/wrench_orange.png +0 -0
  102. data/html/images/zoom.png +0 -0
  103. data/html/index.html +0 -534
  104. data/html/js/darkfish.js +0 -84
  105. data/html/js/navigation.js +0 -105
  106. data/html/js/navigation.js.gz +0 -0
  107. data/html/js/search.js +0 -110
  108. data/html/js/search_index.js +0 -1
  109. data/html/js/search_index.js.gz +0 -0
  110. data/html/js/searcher.js +0 -229
  111. data/html/js/searcher.js.gz +0 -0
  112. data/html/table_of_contents.html +0 -1258
@@ -1,194 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>class MIDI::TuneRequest - midilib</title>
8
-
9
- <script type="text/javascript">
10
- var rdoc_rel_prefix = "../";
11
- var index_rel_prefix = "../";
12
- </script>
13
-
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
-
23
-
24
- <body id="top" role="document" class="class">
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>
31
-
32
- <div id="table-of-contents-navigation">
33
- <a href="../table_of_contents.html#pages">Pages</a>
34
- <a href="../table_of_contents.html#classes">Classes</a>
35
- <a href="../table_of_contents.html#methods">Methods</a>
36
- </div>
37
- </div>
38
-
39
- <div id="search-section" role="search" class="project-section initially-hidden">
40
- <form action="#" method="get" accept-charset="utf-8">
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"
45
- title="Type to search, Up and Down to navigate, Enter to load">
46
- </div>
47
-
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>
53
-
54
- </div>
55
-
56
-
57
-
58
- <div id="class-metadata">
59
-
60
-
61
- <div id="parent-class-section" class="nav-section">
62
- <h3>Parent</h3>
63
-
64
- <p class="link"><a href="SystemCommon.html">MIDI::SystemCommon</a>
65
- </div>
66
-
67
-
68
-
69
-
70
- <!-- Method Quickref -->
71
- <div id="method-list-section" class="nav-section">
72
- <h3>Methods</h3>
73
-
74
- <ul class="link-list" role="directory">
75
- <li class="calls-super" ><a href="#method-c-new">::new</a>
76
- <li ><a href="#method-i-data_as_bytes">#data_as_bytes</a>
77
- <li class="calls-super" ><a href="#method-i-to_s">#to_s</a>
78
- </ul>
79
- </div>
80
-
81
- </div>
82
- </nav>
83
-
84
- <main role="main" aria-labelledby="class-MIDI::TuneRequest">
85
- <h1 id="class-MIDI::TuneRequest" class="class">
86
- class MIDI::TuneRequest
87
- </h1>
88
-
89
- <section class="description">
90
-
91
- </section>
92
-
93
- <section id="5Buntitled-5D" class="documentation-section">
94
-
95
-
96
-
97
-
98
-
99
- <section id="public-class-5Buntitled-5D-method-details" class="method-section">
100
- <header>
101
- <h3>Public Class Methods</h3>
102
- </header>
103
-
104
- <div id="method-c-new" class="method-detail ">
105
- <div class="method-heading">
106
- <span class="method-name">new</span><span
107
- class="method-args">(delta_time = 0)</span>
108
- <span class="method-click-advice">click to toggle source</span>
109
- </div>
110
-
111
- <div class="method-description">
112
-
113
- <div class="method-calls-super">
114
- Calls superclass method
115
- <a href="SystemCommon.html#method-c-new"><code>MIDI::SystemCommon::new</code></a>
116
- </div>
117
-
118
- <div class="method-source-code" id="new-source">
119
- <pre><span class="ruby-comment"># File lib/midilib/event.rb, line 331</span>
120
- <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">delta_time</span> = <span class="ruby-value">0</span>)
121
- <span class="ruby-keyword">super</span>(<span class="ruby-constant">TUNE_REQUEST</span>, <span class="ruby-identifier">delta_time</span>)
122
- <span class="ruby-keyword">end</span></pre>
123
- </div>
124
- </div>
125
-
126
-
127
- </div>
128
-
129
- </section>
130
-
131
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
132
- <header>
133
- <h3>Public Instance Methods</h3>
134
- </header>
135
-
136
- <div id="method-i-data_as_bytes" class="method-detail ">
137
- <div class="method-heading">
138
- <span class="method-name">data_as_bytes</span><span
139
- class="method-args">()</span>
140
- <span class="method-click-advice">click to toggle source</span>
141
- </div>
142
-
143
- <div class="method-description">
144
-
145
-
146
- <div class="method-source-code" id="data_as_bytes-source">
147
- <pre><span class="ruby-comment"># File lib/midilib/event.rb, line 335</span>
148
- <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">data_as_bytes</span>
149
- <span class="ruby-identifier">data</span> = []
150
- <span class="ruby-identifier">data</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-ivar">@status</span>
151
- <span class="ruby-keyword">end</span></pre>
152
- </div>
153
- </div>
154
-
155
-
156
- </div>
157
-
158
- <div id="method-i-to_s" class="method-detail ">
159
- <div class="method-heading">
160
- <span class="method-name">to_s</span><span
161
- class="method-args">()</span>
162
- <span class="method-click-advice">click to toggle source</span>
163
- </div>
164
-
165
- <div class="method-description">
166
-
167
- <div class="method-calls-super">
168
- Calls superclass method
169
- <a href="Event.html#method-i-to_s"><code>MIDI::Event#to_s</code></a>
170
- </div>
171
-
172
- <div class="method-source-code" id="to_s-source">
173
- <pre><span class="ruby-comment"># File lib/midilib/event.rb, line 340</span>
174
- <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_s</span>
175
- <span class="ruby-keyword">super</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-string">&#39;tune req&#39;</span>
176
- <span class="ruby-keyword">end</span></pre>
177
- </div>
178
- </div>
179
-
180
-
181
- </div>
182
-
183
- </section>
184
-
185
- </section>
186
- </main>
187
-
188
-
189
- <footer id="validator-badges" role="contentinfo">
190
- <p><a href="https://validator.w3.org/check/referer">Validate</a>
191
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
192
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
193
- </footer>
194
-
data/html/MIDI/Utils.html DELETED
@@ -1,178 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>class MIDI::Utils - midilib</title>
8
-
9
- <script type="text/javascript">
10
- var rdoc_rel_prefix = "../";
11
- var index_rel_prefix = "../";
12
- </script>
13
-
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
-
23
-
24
- <body id="top" role="document" class="class">
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>
31
-
32
- <div id="table-of-contents-navigation">
33
- <a href="../table_of_contents.html#pages">Pages</a>
34
- <a href="../table_of_contents.html#classes">Classes</a>
35
- <a href="../table_of_contents.html#methods">Methods</a>
36
- </div>
37
- </div>
38
-
39
- <div id="search-section" role="search" class="project-section initially-hidden">
40
- <form action="#" method="get" accept-charset="utf-8">
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"
45
- title="Type to search, Up and Down to navigate, Enter to load">
46
- </div>
47
-
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>
53
-
54
- </div>
55
-
56
-
57
-
58
- <div id="class-metadata">
59
-
60
-
61
- <div id="parent-class-section" class="nav-section">
62
- <h3>Parent</h3>
63
-
64
- <p class="link"><a href="../Object.html">Object</a>
65
- </div>
66
-
67
-
68
-
69
-
70
- <!-- Method Quickref -->
71
- <div id="method-list-section" class="nav-section">
72
- <h3>Methods</h3>
73
-
74
- <ul class="link-list" role="directory">
75
- <li ><a href="#method-c-as_var_len">::as_var_len</a>
76
- <li ><a href="#method-c-note_to_s">::note_to_s</a>
77
- </ul>
78
- </div>
79
-
80
- </div>
81
- </nav>
82
-
83
- <main role="main" aria-labelledby="class-MIDI::Utils">
84
- <h1 id="class-MIDI::Utils" class="class">
85
- class MIDI::Utils
86
- </h1>
87
-
88
- <section class="description">
89
-
90
- <p>Utility methods.</p>
91
-
92
- </section>
93
-
94
- <section id="5Buntitled-5D" class="documentation-section">
95
-
96
-
97
- <section class="constants-list">
98
- <header>
99
- <h3>Constants</h3>
100
- </header>
101
- <dl>
102
- <dt id="NOTE_NAMES">NOTE_NAMES
103
- <dd><p><a href="../MIDI.html"><code>MIDI</code></a> note names. <a href="0">NOTE_NAMES</a> is ‘C’, <a href="1">NOTE_NAMES</a> is ‘C#’, etc.</p>
104
- </dl>
105
- </section>
106
-
107
-
108
-
109
- <section id="public-class-5Buntitled-5D-method-details" class="method-section">
110
- <header>
111
- <h3>Public Class Methods</h3>
112
- </header>
113
-
114
- <div id="method-c-as_var_len" class="method-detail ">
115
- <div class="method-heading">
116
- <span class="method-name">as_var_len</span><span
117
- class="method-args">(val)</span>
118
- <span class="method-click-advice">click to toggle source</span>
119
- </div>
120
-
121
- <div class="method-description">
122
- <p>Given an integer, returns it as a variable length array of bytes (the format used by <a href="../MIDI.html"><code>MIDI</code></a> files).</p>
123
-
124
- <p>The converse operation–converting a var len into a number–requires input from a stream of bytes. Therefore we don’t supply it here. That is a part of the MIDIFile class.</p>
125
-
126
- <div class="method-source-code" id="as_var_len-source">
127
- <pre><span class="ruby-comment"># File lib/midilib/utils.rb, line 22</span>
128
- <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">as_var_len</span>(<span class="ruby-identifier">val</span>)
129
- <span class="ruby-identifier">buffer</span> = []
130
- <span class="ruby-identifier">buffer</span> <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-identifier">val</span> <span class="ruby-operator">&amp;</span> <span class="ruby-value">0x7f</span>)
131
- <span class="ruby-identifier">val</span> = (<span class="ruby-identifier">val</span> <span class="ruby-operator">&gt;&gt;</span> <span class="ruby-value">7</span>)
132
- <span class="ruby-keyword">while</span> <span class="ruby-identifier">val</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
133
- <span class="ruby-identifier">buffer</span> <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-value">0x80</span> <span class="ruby-operator">+</span> (<span class="ruby-identifier">val</span> <span class="ruby-operator">&amp;</span> <span class="ruby-value">0x7f</span>))
134
- <span class="ruby-identifier">val</span> = (<span class="ruby-identifier">val</span> <span class="ruby-operator">&gt;&gt;</span> <span class="ruby-value">7</span>)
135
- <span class="ruby-keyword">end</span>
136
- <span class="ruby-identifier">buffer</span>.<span class="ruby-identifier">reverse!</span>
137
- <span class="ruby-keyword">end</span></pre>
138
- </div>
139
- </div>
140
-
141
-
142
- </div>
143
-
144
- <div id="method-c-note_to_s" class="method-detail ">
145
- <div class="method-heading">
146
- <span class="method-name">note_to_s</span><span
147
- class="method-args">(num)</span>
148
- <span class="method-click-advice">click to toggle source</span>
149
- </div>
150
-
151
- <div class="method-description">
152
- <p>Given a <a href="../MIDI.html"><code>MIDI</code></a> note number, return the name and octave as a string.</p>
153
-
154
- <div class="method-source-code" id="note_to_s-source">
155
- <pre><span class="ruby-comment"># File lib/midilib/utils.rb, line 10</span>
156
- <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">note_to_s</span>(<span class="ruby-identifier">num</span>)
157
- <span class="ruby-identifier">note</span> = <span class="ruby-identifier">num</span> <span class="ruby-operator">%</span> <span class="ruby-value">12</span>
158
- <span class="ruby-identifier">octave</span> = <span class="ruby-identifier">num</span> <span class="ruby-operator">/</span> <span class="ruby-value">12</span>
159
- <span class="ruby-node">&quot;#{NOTE_NAMES[note]}#{octave - 1}&quot;</span>
160
- <span class="ruby-keyword">end</span></pre>
161
- </div>
162
- </div>
163
-
164
-
165
- </div>
166
-
167
- </section>
168
-
169
- </section>
170
- </main>
171
-
172
-
173
- <footer id="validator-badges" role="contentinfo">
174
- <p><a href="https://validator.w3.org/check/referer">Validate</a>
175
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.
176
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
177
- </footer>
178
-
data/html/MIDI.html DELETED
@@ -1,281 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>module MIDI - midilib</title>
8
-
9
- <script type="text/javascript">
10
- var rdoc_rel_prefix = "./";
11
- var index_rel_prefix = "./";
12
- </script>
13
-
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
-
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>
31
-
32
- <div id="table-of-contents-navigation">
33
- <a href="./table_of_contents.html#pages">Pages</a>
34
- <a href="./table_of_contents.html#classes">Classes</a>
35
- <a href="./table_of_contents.html#methods">Methods</a>
36
- </div>
37
- </div>
38
-
39
- <div id="search-section" role="search" class="project-section initially-hidden">
40
- <form action="#" method="get" accept-charset="utf-8">
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"
45
- title="Type to search, Up and Down to navigate, Enter to load">
46
- </div>
47
-
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>
53
-
54
- </div>
55
-
56
-
57
-
58
- <div id="class-metadata">
59
-
60
-
61
-
62
-
63
-
64
- </div>
65
- </nav>
66
-
67
- <main role="main" aria-labelledby="module-MIDI">
68
- <h1 id="module-MIDI" class="module">
69
- module MIDI
70
- </h1>
71
-
72
- <section class="description">
73
-
74
- <p><a href="MIDI.html"><code>MIDI</code></a> constants.</p>
75
-
76
- </section>
77
-
78
- <section id="5Buntitled-5D" class="documentation-section">
79
-
80
-
81
- <section class="constants-list">
82
- <header>
83
- <h3>Constants</h3>
84
- </header>
85
- <dl>
86
- <dt id="ACTIVE_SENSE">ACTIVE_SENSE
87
- <dd><p>Active sensing (sent every 300 ms when nothing else being sent)</p>
88
- <dt id="CC_BALANCE">CC_BALANCE
89
- <dd>
90
- <dt id="CC_BREATH_CONTROLLER">CC_BREATH_CONTROLLER
91
- <dd>
92
- <dt id="CC_CHORUS_DEPTH">CC_CHORUS_DEPTH
93
- <dd>
94
- <dt id="CC_DATA_DECREMENT">CC_DATA_DECREMENT
95
- <dd>
96
- <dt id="CC_DATA_ENTRY_LSB">CC_DATA_ENTRY_LSB
97
- <dd><dl class="rdoc-list label-list"><dt>32 - 63
98
- <dd>
99
- <p>are LSB for [0 - 31]</p>
100
- </dd></dl>
101
- <dt id="CC_DATA_ENTRY_MSB">CC_DATA_ENTRY_MSB
102
- <dd>
103
- <dt id="CC_DATA_INCREMENT">CC_DATA_INCREMENT
104
- <dd>
105
- <dt id="CC_DETUNE_DEPTH">CC_DETUNE_DEPTH
106
- <dd>
107
- <dt id="CC_EXPRESSION_CONTROLLER">CC_EXPRESSION_CONTROLLER
108
- <dd>
109
- <dt id="CC_FOOT_CONTROLLER">CC_FOOT_CONTROLLER
110
- <dd>
111
- <dt id="CC_GEN_PURPOSE_1">CC_GEN_PURPOSE_1
112
- <dd>
113
- <dt id="CC_GEN_PURPOSE_2">CC_GEN_PURPOSE_2
114
- <dd>
115
- <dt id="CC_GEN_PURPOSE_3">CC_GEN_PURPOSE_3
116
- <dd>
117
- <dt id="CC_GEN_PURPOSE_4">CC_GEN_PURPOSE_4
118
- <dd>
119
- <dt id="CC_GEN_PURPOSE_5">CC_GEN_PURPOSE_5
120
- <dd>
121
- <dt id="CC_GEN_PURPOSE_6">CC_GEN_PURPOSE_6
122
- <dd>
123
- <dt id="CC_GEN_PURPOSE_7">CC_GEN_PURPOSE_7
124
- <dd>
125
- <dt id="CC_GEN_PURPOSE_8">CC_GEN_PURPOSE_8
126
- <dd>
127
- <dt id="CC_HOLD_2">CC_HOLD_2
128
- <dd>
129
- <dt id="CC_MOD_WHEEL">CC_MOD_WHEEL
130
- <dd><p><a href="MIDI/Controller.html"><code>Controller</code></a> numbers</p>
131
-
132
- <h1 id="label-0+-+31+-3D+continuous-2C+MSB">0 - 31 = continuous, MSB<span><a href="#label-0+-+31+-3D+continuous-2C+MSB">&para;</a> <a href="#top">&uarr;</a></span></h1>
133
-
134
- <h1 id="label-32+-+63+-3D+continuous-2C+LSB">32 - 63 = continuous, LSB<span><a href="#label-32+-+63+-3D+continuous-2C+LSB">&para;</a> <a href="#top">&uarr;</a></span></h1>
135
-
136
- <h1 id="label-64+-+97+-3D+switches">64 - 97 = switches<span><a href="#label-64+-+97+-3D+switches">&para;</a> <a href="#top">&uarr;</a></span></h1>
137
- <dt id="CC_NREG_PARAM_LSB">CC_NREG_PARAM_LSB
138
- <dd>
139
- <dt id="CC_NREG_PARAM_MSB">CC_NREG_PARAM_MSB
140
- <dd>
141
- <dt id="CC_PAN">CC_PAN
142
- <dd>
143
- <dt id="CC_PHASER_DEPTH">CC_PHASER_DEPTH
144
- <dd>
145
- <dt id="CC_PORTAMENTO">CC_PORTAMENTO
146
- <dd>
147
- <dt id="CC_PORTAMENTO_TIME">CC_PORTAMENTO_TIME
148
- <dd>
149
- <dt id="CC_REG_PARAM_LSB">CC_REG_PARAM_LSB
150
- <dd>
151
- <dt id="CC_REG_PARAM_MSB">CC_REG_PARAM_MSB
152
- <dd>
153
- <dt id="CC_SOFT_PEDAL">CC_SOFT_PEDAL
154
- <dd>
155
- <dt id="CC_SUSTAIN">CC_SUSTAIN
156
- <dd>
157
- <dt id="CC_SUSTENUTO">CC_SUSTENUTO
158
- <dd>
159
- <dt id="CC_TREMELO_DEPTH">CC_TREMELO_DEPTH
160
- <dd>
161
- <dt id="CC_VOLUME">CC_VOLUME
162
- <dd>
163
- <dt id="CHANNEL_PRESSURE">CHANNEL_PRESSURE
164
- <dd><p>Channel pressure</p>
165
- <dt id="CLOCK">CLOCK
166
- <dd><p><a href="MIDI.html"><code>MIDI</code></a> clock (24 per quarter note)</p>
167
- <dt id="CM_ALL_NOTES_OFF">CM_ALL_NOTES_OFF
168
- <dd>
169
- <dt id="CM_LOCAL_CONTROL">CM_LOCAL_CONTROL
170
- <dd><p>Val 0 == off, 0x7f == on</p>
171
- <dt id="CM_MONO_MODE_ON">CM_MONO_MODE_ON
172
- <dd>
173
- <dt id="CM_OMNI_MODE_OFF">CM_OMNI_MODE_OFF
174
- <dd>
175
- <dt id="CM_OMNI_MODE_ON">CM_OMNI_MODE_ON
176
- <dd>
177
- <dt id="CM_POLY_MODE_ON">CM_POLY_MODE_ON
178
- <dd>
179
- <dt id="CONTINUE">CONTINUE
180
- <dd><p><a href="MIDI/Sequence.html"><code>Sequence</code></a> continue</p>
181
- <dt id="CONTROLLER">CONTROLLER
182
- <dd><p><a href="MIDI/Controller.html"><code>Controller</code></a> #, val</p>
183
- <dt id="CONTROLLER_NAMES">CONTROLLER_NAMES
184
- <dd><p><a href="MIDI/Controller.html"><code>Controller</code></a> names</p>
185
- <dt id="Copyright">Copyright
186
- <dd>
187
- <dt id="EOX">EOX
188
- <dd><p>End of system exclusive</p>
189
- <dt id="GM_DRUM_NOTE_LOWEST">GM_DRUM_NOTE_LOWEST
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>
191
- <dt id="GM_DRUM_NOTE_NAMES">GM_DRUM_NOTE_NAMES
192
- <dd><p>General <a href="MIDI.html"><code>MIDI</code></a> drum channel note names.</p>
193
- <dt id="GM_PATCH_NAMES">GM_PATCH_NAMES
194
- <dd><p>General <a href="MIDI.html"><code>MIDI</code></a> patch names</p>
195
- <dt id="META_COPYRIGHT">META_COPYRIGHT
196
- <dd>
197
- <dt id="META_CUE">META_CUE
198
- <dd>
199
- <dt id="META_EVENT">META_EVENT
200
- <dd>
201
- <dt id="META_INSTRUMENT">META_INSTRUMENT
202
- <dd>
203
- <dt id="META_KEY_SIG">META_KEY_SIG
204
- <dd>
205
- <dt id="META_LYRIC">META_LYRIC
206
- <dd>
207
- <dt id="META_MARKER">META_MARKER
208
- <dd>
209
- <dt id="META_MIDI_CHAN_PREFIX">META_MIDI_CHAN_PREFIX
210
- <dd>
211
- <dt id="META_SEQ_NAME">META_SEQ_NAME
212
- <dd>
213
- <dt id="META_SEQ_NUM">META_SEQ_NUM
214
- <dd>
215
- <dt id="META_SEQ_SPECIF">META_SEQ_SPECIF
216
- <dd>
217
- <dt id="META_SET_TEMPO">META_SET_TEMPO
218
- <dd>
219
- <dt id="META_SMPTE">META_SMPTE
220
- <dd>
221
- <dt id="META_TEXT">META_TEXT
222
- <dd>
223
- <dt id="META_TIME_SIG">META_TIME_SIG
224
- <dd>
225
- <dt id="META_TRACK_END">META_TRACK_END
226
- <dd>
227
- <dt id="MIDI_CHANNELS">MIDI_CHANNELS
228
- <dd><p>Number of <a href="MIDI.html"><code>MIDI</code></a> channels</p>
229
- <dt id="NOTES_PER_CHANNEL">NOTES_PER_CHANNEL
230
- <dd><p>Number of note per <a href="MIDI.html"><code>MIDI</code></a> channel</p>
231
- <dt id="NOTE_OFF">NOTE_OFF
232
- <dd><p>Note, val</p>
233
- <dt id="NOTE_ON">NOTE_ON
234
- <dd><p>Note, val</p>
235
- <dt id="NoteOffEvent">NoteOffEvent
236
- <dd><p>Old class name for compatability</p>
237
- <dt id="NoteOnEvent">NoteOnEvent
238
- <dd><p>Old class name for compatability</p>
239
- <dt id="PITCH_BEND">PITCH_BEND
240
- <dd><p>LSB, MSB</p>
241
- <dt id="POLY_PRESSURE">POLY_PRESSURE
242
- <dd><p>Note, val</p>
243
- <dt id="PROGRAM_CHANGE">PROGRAM_CHANGE
244
- <dd><p>Program number</p>
245
- <dt id="SONG_POINTER">SONG_POINTER
246
- <dd><p>Beats from top: LSB/MSB 6 ticks = 1 beat</p>
247
- <dt id="SONG_SELECT">SONG_SELECT
248
- <dd><p>Val = number of song</p>
249
- <dt id="START">START
250
- <dd><p><a href="MIDI/Sequence.html"><code>Sequence</code></a> start</p>
251
- <dt id="STOP">STOP
252
- <dd><p><a href="MIDI/Sequence.html"><code>Sequence</code></a> stop</p>
253
- <dt id="SYSEX">SYSEX
254
- <dd><p>System exclusive start</p>
255
- <dt id="SYSTEM_RESET">SYSTEM_RESET
256
- <dd><p>System reset</p>
257
- <dt id="TUNE_REQUEST">TUNE_REQUEST
258
- <dd><p>Tune request</p>
259
- <dt id="VERSION_MAJOR">VERSION_MAJOR
260
- <dd>
261
- <dt id="VERSION_MINOR">VERSION_MINOR
262
- <dd>
263
- <dt id="VERSION_TWEAK">VERSION_TWEAK
264
- <dd>
265
- <dt id="Version">Version
266
- <dd>
267
- </dl>
268
- </section>
269
-
270
-
271
-
272
- </section>
273
- </main>
274
-
275
-
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>.
280
- </footer>
281
-