midilib 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
 - data/README.rdoc +9 -4
 - data/Rakefile +2 -6
 - data/examples/from_scratch.rb +3 -5
 - data/examples/measures_mbt.rb +4 -4
 - data/examples/print_program_changes.rb +9 -9
 - data/examples/reader2text.rb +188 -188
 - data/examples/seq2text.rb +17 -17
 - data/examples/split.rb +19 -19
 - data/examples/strings.rb +14 -14
 - data/examples/transpose.rb +31 -31
 - data/html/IO.html +65 -169
 - data/html/MIDI.html +138 -256
 - data/html/MIDI/ActiveSense.html +89 -178
 - data/html/MIDI/ChannelEvent.html +95 -183
 - data/html/MIDI/ChannelPressure.html +105 -190
 - data/html/MIDI/Clock.html +89 -178
 - data/html/MIDI/Continue.html +89 -178
 - data/html/MIDI/Controller.html +107 -192
 - data/html/MIDI/Event.html +138 -222
 - data/html/MIDI/IO.html +45 -157
 - data/html/MIDI/IO/MIDIFile.html +596 -568
 - data/html/MIDI/IO/SeqReader.html +272 -314
 - data/html/MIDI/IO/SeqWriter.html +229 -305
 - data/html/MIDI/KeySig.html +129 -211
 - data/html/MIDI/MIDI.html +45 -154
 - data/html/MIDI/MIDI/MIDI.html +45 -154
 - data/html/MIDI/MIDI/MIDI/Array.html +87 -185
 - data/html/MIDI/Marker.html +71 -170
 - data/html/MIDI/Measure.html +95 -190
 - data/html/MIDI/Measures.html +103 -193
 - data/html/MIDI/MetaEvent.html +180 -253
 - data/html/MIDI/NoteEvent.html +118 -204
 - data/html/MIDI/NoteOff.html +95 -183
 - data/html/MIDI/NoteOn.html +95 -183
 - data/html/MIDI/PitchBend.html +106 -191
 - data/html/MIDI/PolyPressure.html +106 -189
 - data/html/MIDI/ProgramChange.html +105 -190
 - data/html/MIDI/Realtime.html +98 -184
 - data/html/MIDI/Sequence.html +246 -311
 - data/html/MIDI/SongPointer.html +106 -191
 - data/html/MIDI/SongSelect.html +105 -190
 - data/html/MIDI/Start.html +89 -178
 - data/html/MIDI/Stop.html +89 -178
 - data/html/MIDI/SystemCommon.html +71 -170
 - data/html/MIDI/SystemExclusive.html +108 -193
 - data/html/MIDI/SystemReset.html +89 -178
 - data/html/MIDI/Tempo.html +135 -213
 - data/html/MIDI/TimeSig.html +135 -214
 - data/html/MIDI/Track.html +217 -291
 - data/html/MIDI/TuneRequest.html +98 -184
 - data/html/MIDI/Utils.html +89 -189
 - data/html/README_rdoc.html +237 -257
 - data/html/TODO_rdoc.html +64 -139
 - data/html/created.rid +14 -14
 - data/html/css/fonts.css +167 -0
 - data/html/{rdoc.css → css/rdoc.css} +265 -218
 - 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 +187 -169
 - data/html/js/darkfish.js +41 -33
 - data/html/js/jquery.js +4 -18
 - data/html/js/navigation.js.gz +0 -0
 - data/html/js/search.js +20 -5
 - data/html/js/search_index.js +1 -1
 - data/html/js/search_index.js.gz +0 -0
 - data/html/js/searcher.js.gz +0 -0
 - data/html/table_of_contents.html +1111 -498
 - data/install.rb +43 -32
 - data/lib/midilib/consts.rb +407 -407
 - data/lib/midilib/event.rb +295 -294
 - data/lib/midilib/info.rb +5 -5
 - data/lib/midilib/io/midifile.rb +266 -267
 - data/lib/midilib/io/seqreader.rb +106 -106
 - data/lib/midilib/io/seqwriter.rb +59 -60
 - data/lib/midilib/measure.rb +69 -69
 - data/lib/midilib/sequence.rb +68 -70
 - data/lib/midilib/track.rb +96 -102
 - data/lib/midilib/utils.rb +15 -15
 - data/test/event_equality.rb +50 -50
 - data/test/test_event.rb +120 -122
 - data/test/test_io.rb +35 -48
 - data/test/test_sequence.rb +60 -60
 - data/test/test_track.rb +154 -154
 - data/test/test_varlen.rb +23 -25
 - metadata +65 -57
 
    
        data/html/MIDI/MIDI.html
    CHANGED
    
    | 
         @@ -2,180 +2,73 @@ 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            <html>
         
     | 
| 
       4 
4 
     | 
    
         
             
            <head>
         
     | 
| 
       5 
     | 
    
         
            -
            <meta  
     | 
| 
      
 5 
     | 
    
         
            +
            <meta charset="UTF-8">
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            <title>module MIDI::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 = "../";
         
     | 
| 
       13 
11 
     | 
    
         
             
            </script>
         
     | 
| 
       14 
12 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            <script  
     | 
| 
       16 
     | 
    
         
            -
            <script  
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
            < 
     | 
| 
       19 
     | 
    
         
            -
            < 
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
      
 13 
     | 
    
         
            +
            <script src="../js/jquery.js"></script>
         
     | 
| 
      
 14 
     | 
    
         
            +
            <script src="../js/darkfish.js"></script>
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            <link href="../css/fonts.css" rel="stylesheet">
         
     | 
| 
      
 17 
     | 
    
         
            +
            <link href="../css/rdoc.css" rel="stylesheet">
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
       21 
19 
     | 
    
         | 
| 
       22 
20 
     | 
    
         | 
| 
       23 
     | 
    
         
            -
            <body id="top" class="module">
         
     | 
| 
       24 
     | 
    
         
            -
            <nav  
     | 
| 
       25 
     | 
    
         
            -
              < 
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
      
 21 
     | 
    
         
            +
            <body id="top" role="document" class="module">
         
     | 
| 
      
 22 
     | 
    
         
            +
            <nav role="navigation">
         
     | 
| 
      
 23 
     | 
    
         
            +
              <div id="project-navigation">
         
     | 
| 
      
 24 
     | 
    
         
            +
                <div id="home-section" role="region" title="Quick navigation" class="nav-section">
         
     | 
| 
      
 25 
     | 
    
         
            +
              <h2>
         
     | 
| 
      
 26 
     | 
    
         
            +
                <a href="../index.html" rel="home">Home</a>
         
     | 
| 
      
 27 
     | 
    
         
            +
              </h2>
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
              <div id="table-of-contents-navigation">
         
     | 
| 
      
 30 
     | 
    
         
            +
                <a href="../table_of_contents.html#pages">Pages</a>
         
     | 
| 
       28 
31 
     | 
    
         
             
                <a href="../table_of_contents.html#classes">Classes</a>
         
     | 
| 
       29 
32 
     | 
    
         
             
                <a href="../table_of_contents.html#methods">Methods</a>
         
     | 
| 
       30 
     | 
    
         
            -
              </ 
     | 
| 
       31 
     | 
    
         
            -
            </ 
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
      
 33 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 34 
     | 
    
         
            +
            </div>
         
     | 
| 
       33 
35 
     | 
    
         | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
      
 36 
     | 
    
         
            +
                <div id="search-section" role="search" class="project-section initially-hidden">
         
     | 
| 
       35 
37 
     | 
    
         
             
              <form action="#" method="get" accept-charset="utf-8">
         
     | 
| 
       36 
     | 
    
         
            -
                < 
     | 
| 
       37 
     | 
    
         
            -
                  <input  
     | 
| 
      
 38 
     | 
    
         
            +
                <div id="search-field-wrapper">
         
     | 
| 
      
 39 
     | 
    
         
            +
                  <input id="search-field" role="combobox" aria-label="Search"
         
     | 
| 
      
 40 
     | 
    
         
            +
                         aria-autocomplete="list" aria-controls="search-results"
         
     | 
| 
      
 41 
     | 
    
         
            +
                         type="text" name="search" placeholder="Search" spellcheck="false"
         
     | 
| 
       38 
42 
     | 
    
         
             
                         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>
         
     | 
| 
      
 43 
     | 
    
         
            +
                </div>
         
     | 
| 
       44 
44 
     | 
    
         | 
| 
      
 45 
     | 
    
         
            +
                <ul id="search-results" aria-label="Search Results"
         
     | 
| 
      
 46 
     | 
    
         
            +
                    aria-busy="false" aria-expanded="false"
         
     | 
| 
      
 47 
     | 
    
         
            +
                    aria-atomic="false" class="initially-hidden"></ul>
         
     | 
| 
      
 48 
     | 
    
         
            +
              </form>
         
     | 
| 
      
 49 
     | 
    
         
            +
            </div>
         
     | 
| 
       45 
50 
     | 
    
         | 
| 
       46 
     | 
    
         
            -
              <div id="file-metadata">
         
     | 
| 
       47 
     | 
    
         
            -
                <nav id="file-list-section" class="section">
         
     | 
| 
       48 
     | 
    
         
            -
              <h3 class="section-header">Defined In</h3>
         
     | 
| 
       49 
     | 
    
         
            -
              <ul>
         
     | 
| 
       50 
     | 
    
         
            -
              </ul>
         
     | 
| 
       51 
     | 
    
         
            -
            </nav>
         
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
                
         
     | 
| 
       54 
51 
     | 
    
         
             
              </div>
         
     | 
| 
       55 
52 
     | 
    
         | 
| 
      
 53 
     | 
    
         
            +
              
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
       56 
55 
     | 
    
         
             
              <div id="class-metadata">
         
     | 
| 
       57 
56 
     | 
    
         | 
| 
       58 
57 
     | 
    
         | 
| 
       59 
58 
     | 
    
         | 
| 
       60 
59 
     | 
    
         | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
              <div id="project-metadata">
         
     | 
| 
       64 
     | 
    
         
            -
                <nav id="fileindex-section" class="section project-section">
         
     | 
| 
       65 
     | 
    
         
            -
              <h3 class="section-header">Pages</h3>
         
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
              <ul>
         
     | 
| 
       68 
     | 
    
         
            -
              
         
     | 
| 
       69 
     | 
    
         
            -
                <li class="file"><a href="../README_rdoc.html">README</a>
         
     | 
| 
       70 
     | 
    
         
            -
              
         
     | 
| 
       71 
     | 
    
         
            -
                <li class="file"><a href="../TODO_rdoc.html">TODO</a>
         
     | 
| 
       72 
     | 
    
         
            -
              
         
     | 
| 
       73 
     | 
    
         
            -
              </ul>
         
     | 
| 
       74 
     | 
    
         
            -
            </nav>
         
     | 
| 
       75 
     | 
    
         
            -
             
     | 
| 
       76 
     | 
    
         
            -
                <nav id="classindex-section" class="section project-section">
         
     | 
| 
       77 
     | 
    
         
            -
              <h3 class="section-header">Class and Module Index</h3>
         
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
       79 
     | 
    
         
            -
              <ul class="link-list">
         
     | 
| 
       80 
     | 
    
         
            -
              
         
     | 
| 
       81 
     | 
    
         
            -
                <li><a href="../MIDI.html">MIDI</a>
         
     | 
| 
       82 
     | 
    
         
            -
              
         
     | 
| 
       83 
     | 
    
         
            -
                <li><a href="../MIDI/ActiveSense.html">MIDI::ActiveSense</a>
         
     | 
| 
       84 
     | 
    
         
            -
              
         
     | 
| 
       85 
     | 
    
         
            -
                <li><a href="../MIDI/ChannelEvent.html">MIDI::ChannelEvent</a>
         
     | 
| 
       86 
     | 
    
         
            -
              
         
     | 
| 
       87 
     | 
    
         
            -
                <li><a href="../MIDI/ChannelPressure.html">MIDI::ChannelPressure</a>
         
     | 
| 
       88 
     | 
    
         
            -
              
         
     | 
| 
       89 
     | 
    
         
            -
                <li><a href="../MIDI/Clock.html">MIDI::Clock</a>
         
     | 
| 
       90 
     | 
    
         
            -
              
         
     | 
| 
       91 
     | 
    
         
            -
                <li><a href="../MIDI/Continue.html">MIDI::Continue</a>
         
     | 
| 
       92 
     | 
    
         
            -
              
         
     | 
| 
       93 
     | 
    
         
            -
                <li><a href="../MIDI/Controller.html">MIDI::Controller</a>
         
     | 
| 
       94 
     | 
    
         
            -
              
         
     | 
| 
       95 
     | 
    
         
            -
                <li><a href="../MIDI/Event.html">MIDI::Event</a>
         
     | 
| 
       96 
     | 
    
         
            -
              
         
     | 
| 
       97 
     | 
    
         
            -
                <li><a href="../MIDI/IO.html">MIDI::IO</a>
         
     | 
| 
       98 
     | 
    
         
            -
              
         
     | 
| 
       99 
     | 
    
         
            -
                <li><a href="../MIDI/IO/MIDIFile.html">MIDI::IO::MIDIFile</a>
         
     | 
| 
       100 
     | 
    
         
            -
              
         
     | 
| 
       101 
     | 
    
         
            -
                <li><a href="../MIDI/IO/SeqReader.html">MIDI::IO::SeqReader</a>
         
     | 
| 
       102 
     | 
    
         
            -
              
         
     | 
| 
       103 
     | 
    
         
            -
                <li><a href="../MIDI/IO/SeqWriter.html">MIDI::IO::SeqWriter</a>
         
     | 
| 
       104 
     | 
    
         
            -
              
         
     | 
| 
       105 
     | 
    
         
            -
                <li><a href="../MIDI/KeySig.html">MIDI::KeySig</a>
         
     | 
| 
       106 
     | 
    
         
            -
              
         
     | 
| 
       107 
     | 
    
         
            -
                <li><a href="../MIDI/MIDI.html">MIDI::MIDI</a>
         
     | 
| 
       108 
     | 
    
         
            -
              
         
     | 
| 
       109 
     | 
    
         
            -
                <li><a href="../MIDI/MIDI/MIDI.html">MIDI::MIDI::MIDI</a>
         
     | 
| 
       110 
     | 
    
         
            -
              
         
     | 
| 
       111 
     | 
    
         
            -
                <li><a href="../MIDI/MIDI/MIDI/Array.html">MIDI::MIDI::MIDI::Array</a>
         
     | 
| 
       112 
     | 
    
         
            -
              
         
     | 
| 
       113 
     | 
    
         
            -
                <li><a href="../MIDI/Marker.html">MIDI::Marker</a>
         
     | 
| 
       114 
     | 
    
         
            -
              
         
     | 
| 
       115 
     | 
    
         
            -
                <li><a href="../MIDI/Measure.html">MIDI::Measure</a>
         
     | 
| 
       116 
     | 
    
         
            -
              
         
     | 
| 
       117 
     | 
    
         
            -
                <li><a href="../MIDI/Measures.html">MIDI::Measures</a>
         
     | 
| 
       118 
     | 
    
         
            -
              
         
     | 
| 
       119 
     | 
    
         
            -
                <li><a href="../MIDI/MetaEvent.html">MIDI::MetaEvent</a>
         
     | 
| 
       120 
     | 
    
         
            -
              
         
     | 
| 
       121 
     | 
    
         
            -
                <li><a href="../MIDI/NoteEvent.html">MIDI::NoteEvent</a>
         
     | 
| 
       122 
     | 
    
         
            -
              
         
     | 
| 
       123 
     | 
    
         
            -
                <li><a href="../MIDI/NoteOff.html">MIDI::NoteOff</a>
         
     | 
| 
       124 
     | 
    
         
            -
              
         
     | 
| 
       125 
     | 
    
         
            -
                <li><a href="../MIDI/NoteOff.html">MIDI::NoteOffEvent</a>
         
     | 
| 
       126 
     | 
    
         
            -
              
         
     | 
| 
       127 
     | 
    
         
            -
                <li><a href="../MIDI/NoteOn.html">MIDI::NoteOn</a>
         
     | 
| 
       128 
     | 
    
         
            -
              
         
     | 
| 
       129 
     | 
    
         
            -
                <li><a href="../MIDI/NoteOn.html">MIDI::NoteOnEvent</a>
         
     | 
| 
       130 
     | 
    
         
            -
              
         
     | 
| 
       131 
     | 
    
         
            -
                <li><a href="../MIDI/PitchBend.html">MIDI::PitchBend</a>
         
     | 
| 
       132 
     | 
    
         
            -
              
         
     | 
| 
       133 
     | 
    
         
            -
                <li><a href="../MIDI/PolyPressure.html">MIDI::PolyPressure</a>
         
     | 
| 
       134 
     | 
    
         
            -
              
         
     | 
| 
       135 
     | 
    
         
            -
                <li><a href="../MIDI/ProgramChange.html">MIDI::ProgramChange</a>
         
     | 
| 
       136 
     | 
    
         
            -
              
         
     | 
| 
       137 
     | 
    
         
            -
                <li><a href="../MIDI/Realtime.html">MIDI::Realtime</a>
         
     | 
| 
       138 
     | 
    
         
            -
              
         
     | 
| 
       139 
     | 
    
         
            -
                <li><a href="../MIDI/Sequence.html">MIDI::Sequence</a>
         
     | 
| 
       140 
     | 
    
         
            -
              
         
     | 
| 
       141 
     | 
    
         
            -
                <li><a href="../MIDI/SongPointer.html">MIDI::SongPointer</a>
         
     | 
| 
       142 
     | 
    
         
            -
              
         
     | 
| 
       143 
     | 
    
         
            -
                <li><a href="../MIDI/SongSelect.html">MIDI::SongSelect</a>
         
     | 
| 
       144 
     | 
    
         
            -
              
         
     | 
| 
       145 
     | 
    
         
            -
                <li><a href="../MIDI/Start.html">MIDI::Start</a>
         
     | 
| 
       146 
     | 
    
         
            -
              
         
     | 
| 
       147 
     | 
    
         
            -
                <li><a href="../MIDI/Stop.html">MIDI::Stop</a>
         
     | 
| 
       148 
     | 
    
         
            -
              
         
     | 
| 
       149 
     | 
    
         
            -
                <li><a href="../MIDI/SystemCommon.html">MIDI::SystemCommon</a>
         
     | 
| 
       150 
     | 
    
         
            -
              
         
     | 
| 
       151 
     | 
    
         
            -
                <li><a href="../MIDI/SystemExclusive.html">MIDI::SystemExclusive</a>
         
     | 
| 
       152 
     | 
    
         
            -
              
         
     | 
| 
       153 
     | 
    
         
            -
                <li><a href="../MIDI/SystemReset.html">MIDI::SystemReset</a>
         
     | 
| 
       154 
     | 
    
         
            -
              
         
     | 
| 
       155 
     | 
    
         
            -
                <li><a href="../MIDI/Tempo.html">MIDI::Tempo</a>
         
     | 
| 
       156 
     | 
    
         
            -
              
         
     | 
| 
       157 
     | 
    
         
            -
                <li><a href="../MIDI/TimeSig.html">MIDI::TimeSig</a>
         
     | 
| 
       158 
     | 
    
         
            -
              
         
     | 
| 
       159 
     | 
    
         
            -
                <li><a href="../MIDI/Track.html">MIDI::Track</a>
         
     | 
| 
       160 
     | 
    
         
            -
              
         
     | 
| 
       161 
     | 
    
         
            -
                <li><a href="../MIDI/TuneRequest.html">MIDI::TuneRequest</a>
         
     | 
| 
       162 
     | 
    
         
            -
              
         
     | 
| 
       163 
     | 
    
         
            -
                <li><a href="../MIDI/Utils.html">MIDI::Utils</a>
         
     | 
| 
       164 
     | 
    
         
            -
              
         
     | 
| 
       165 
     | 
    
         
            -
                <li><a href="../IO.html">IO</a>
         
     | 
| 
       166 
     | 
    
         
            -
              
         
     | 
| 
       167 
     | 
    
         
            -
              </ul>
         
     | 
| 
       168 
     | 
    
         
            -
            </nav>
         
     | 
| 
       169 
     | 
    
         
            -
             
     | 
| 
      
 60 
     | 
    
         
            +
                
         
     | 
| 
       170 
61 
     | 
    
         
             
              </div>
         
     | 
| 
       171 
62 
     | 
    
         
             
            </nav>
         
     | 
| 
       172 
63 
     | 
    
         | 
| 
       173 
     | 
    
         
            -
            < 
     | 
| 
       174 
     | 
    
         
            -
              <h1  
     | 
| 
      
 64 
     | 
    
         
            +
            <main role="main" aria-labelledby="module-MIDI::MIDI">
         
     | 
| 
      
 65 
     | 
    
         
            +
              <h1 id="module-MIDI::MIDI" class="module">
         
     | 
| 
      
 66 
     | 
    
         
            +
                module MIDI::MIDI
         
     | 
| 
      
 67 
     | 
    
         
            +
              </h1>
         
     | 
| 
       175 
68 
     | 
    
         | 
| 
       176 
     | 
    
         
            -
              < 
     | 
| 
      
 69 
     | 
    
         
            +
              <section class="description">
         
     | 
| 
       177 
70 
     | 
    
         | 
| 
       178 
     | 
    
         
            -
              </ 
     | 
| 
      
 71 
     | 
    
         
            +
              </section>
         
     | 
| 
       179 
72 
     | 
    
         | 
| 
       180 
73 
     | 
    
         | 
| 
       181 
74 
     | 
    
         | 
| 
         @@ -189,16 +82,14 @@ 
     | 
|
| 
       189 
82 
     | 
    
         | 
| 
       190 
83 
     | 
    
         | 
| 
       191 
84 
     | 
    
         | 
| 
       192 
     | 
    
         
            -
                <!-- Methods -->
         
     | 
| 
       193 
85 
     | 
    
         | 
| 
       194 
     | 
    
         
            -
              </section 
     | 
| 
       195 
     | 
    
         
            -
             
     | 
| 
       196 
     | 
    
         
            -
            </div><!-- documentation -->
         
     | 
| 
      
 86 
     | 
    
         
            +
              </section>
         
     | 
| 
      
 87 
     | 
    
         
            +
            </main>
         
     | 
| 
       197 
88 
     | 
    
         | 
| 
       198 
89 
     | 
    
         | 
| 
       199 
     | 
    
         
            -
            <footer id="validator-badges">
         
     | 
| 
       200 
     | 
    
         
            -
              <p><a href="http://validator.w3.org/check/referer"> 
     | 
| 
       201 
     | 
    
         
            -
              <p>Generated by <a href=" 
     | 
| 
       202 
     | 
    
         
            -
              <p> 
     | 
| 
      
 90 
     | 
    
         
            +
            <footer id="validator-badges" role="contentinfo">
         
     | 
| 
      
 91 
     | 
    
         
            +
              <p><a href="http://validator.w3.org/check/referer">Validate</a>
         
     | 
| 
      
 92 
     | 
    
         
            +
              <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
         
     | 
| 
      
 93 
     | 
    
         
            +
              <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
         
     | 
| 
       203 
94 
     | 
    
         
             
            </footer>
         
     | 
| 
       204 
95 
     | 
    
         | 
    
        data/html/MIDI/MIDI/MIDI.html
    CHANGED
    
    | 
         @@ -2,180 +2,73 @@ 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            <html>
         
     | 
| 
       4 
4 
     | 
    
         
             
            <head>
         
     | 
| 
       5 
     | 
    
         
            -
            <meta  
     | 
| 
      
 5 
     | 
    
         
            +
            <meta charset="UTF-8">
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            <title>module MIDI::MIDI::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 = "../../";
         
     | 
| 
       13 
11 
     | 
    
         
             
            </script>
         
     | 
| 
       14 
12 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            <script  
     | 
| 
       16 
     | 
    
         
            -
            <script  
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
            < 
     | 
| 
       19 
     | 
    
         
            -
            < 
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
      
 13 
     | 
    
         
            +
            <script src="../../js/jquery.js"></script>
         
     | 
| 
      
 14 
     | 
    
         
            +
            <script src="../../js/darkfish.js"></script>
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            <link href="../../css/fonts.css" rel="stylesheet">
         
     | 
| 
      
 17 
     | 
    
         
            +
            <link href="../../css/rdoc.css" rel="stylesheet">
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
       21 
19 
     | 
    
         | 
| 
       22 
20 
     | 
    
         | 
| 
       23 
     | 
    
         
            -
            <body id="top" class="module">
         
     | 
| 
       24 
     | 
    
         
            -
            <nav  
     | 
| 
       25 
     | 
    
         
            -
              < 
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
      
 21 
     | 
    
         
            +
            <body id="top" role="document" class="module">
         
     | 
| 
      
 22 
     | 
    
         
            +
            <nav role="navigation">
         
     | 
| 
      
 23 
     | 
    
         
            +
              <div id="project-navigation">
         
     | 
| 
      
 24 
     | 
    
         
            +
                <div id="home-section" role="region" title="Quick navigation" class="nav-section">
         
     | 
| 
      
 25 
     | 
    
         
            +
              <h2>
         
     | 
| 
      
 26 
     | 
    
         
            +
                <a href="../../index.html" rel="home">Home</a>
         
     | 
| 
      
 27 
     | 
    
         
            +
              </h2>
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
              <div id="table-of-contents-navigation">
         
     | 
| 
      
 30 
     | 
    
         
            +
                <a href="../../table_of_contents.html#pages">Pages</a>
         
     | 
| 
       28 
31 
     | 
    
         
             
                <a href="../../table_of_contents.html#classes">Classes</a>
         
     | 
| 
       29 
32 
     | 
    
         
             
                <a href="../../table_of_contents.html#methods">Methods</a>
         
     | 
| 
       30 
     | 
    
         
            -
              </ 
     | 
| 
       31 
     | 
    
         
            -
            </ 
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
      
 33 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 34 
     | 
    
         
            +
            </div>
         
     | 
| 
       33 
35 
     | 
    
         | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
      
 36 
     | 
    
         
            +
                <div id="search-section" role="search" class="project-section initially-hidden">
         
     | 
| 
       35 
37 
     | 
    
         
             
              <form action="#" method="get" accept-charset="utf-8">
         
     | 
| 
       36 
     | 
    
         
            -
                < 
     | 
| 
       37 
     | 
    
         
            -
                  <input  
     | 
| 
      
 38 
     | 
    
         
            +
                <div id="search-field-wrapper">
         
     | 
| 
      
 39 
     | 
    
         
            +
                  <input id="search-field" role="combobox" aria-label="Search"
         
     | 
| 
      
 40 
     | 
    
         
            +
                         aria-autocomplete="list" aria-controls="search-results"
         
     | 
| 
      
 41 
     | 
    
         
            +
                         type="text" name="search" placeholder="Search" spellcheck="false"
         
     | 
| 
       38 
42 
     | 
    
         
             
                         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>
         
     | 
| 
      
 43 
     | 
    
         
            +
                </div>
         
     | 
| 
       44 
44 
     | 
    
         | 
| 
      
 45 
     | 
    
         
            +
                <ul id="search-results" aria-label="Search Results"
         
     | 
| 
      
 46 
     | 
    
         
            +
                    aria-busy="false" aria-expanded="false"
         
     | 
| 
      
 47 
     | 
    
         
            +
                    aria-atomic="false" class="initially-hidden"></ul>
         
     | 
| 
      
 48 
     | 
    
         
            +
              </form>
         
     | 
| 
      
 49 
     | 
    
         
            +
            </div>
         
     | 
| 
       45 
50 
     | 
    
         | 
| 
       46 
     | 
    
         
            -
              <div id="file-metadata">
         
     | 
| 
       47 
     | 
    
         
            -
                <nav id="file-list-section" class="section">
         
     | 
| 
       48 
     | 
    
         
            -
              <h3 class="section-header">Defined In</h3>
         
     | 
| 
       49 
     | 
    
         
            -
              <ul>
         
     | 
| 
       50 
     | 
    
         
            -
              </ul>
         
     | 
| 
       51 
     | 
    
         
            -
            </nav>
         
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
                
         
     | 
| 
       54 
51 
     | 
    
         
             
              </div>
         
     | 
| 
       55 
52 
     | 
    
         | 
| 
      
 53 
     | 
    
         
            +
              
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
       56 
55 
     | 
    
         
             
              <div id="class-metadata">
         
     | 
| 
       57 
56 
     | 
    
         | 
| 
       58 
57 
     | 
    
         | 
| 
       59 
58 
     | 
    
         | 
| 
       60 
59 
     | 
    
         | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
              <div id="project-metadata">
         
     | 
| 
       64 
     | 
    
         
            -
                <nav id="fileindex-section" class="section project-section">
         
     | 
| 
       65 
     | 
    
         
            -
              <h3 class="section-header">Pages</h3>
         
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
              <ul>
         
     | 
| 
       68 
     | 
    
         
            -
              
         
     | 
| 
       69 
     | 
    
         
            -
                <li class="file"><a href="../../README_rdoc.html">README</a>
         
     | 
| 
       70 
     | 
    
         
            -
              
         
     | 
| 
       71 
     | 
    
         
            -
                <li class="file"><a href="../../TODO_rdoc.html">TODO</a>
         
     | 
| 
       72 
     | 
    
         
            -
              
         
     | 
| 
       73 
     | 
    
         
            -
              </ul>
         
     | 
| 
       74 
     | 
    
         
            -
            </nav>
         
     | 
| 
       75 
     | 
    
         
            -
             
     | 
| 
       76 
     | 
    
         
            -
                <nav id="classindex-section" class="section project-section">
         
     | 
| 
       77 
     | 
    
         
            -
              <h3 class="section-header">Class and Module Index</h3>
         
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
       79 
     | 
    
         
            -
              <ul class="link-list">
         
     | 
| 
       80 
     | 
    
         
            -
              
         
     | 
| 
       81 
     | 
    
         
            -
                <li><a href="../../MIDI.html">MIDI</a>
         
     | 
| 
       82 
     | 
    
         
            -
              
         
     | 
| 
       83 
     | 
    
         
            -
                <li><a href="../../MIDI/ActiveSense.html">MIDI::ActiveSense</a>
         
     | 
| 
       84 
     | 
    
         
            -
              
         
     | 
| 
       85 
     | 
    
         
            -
                <li><a href="../../MIDI/ChannelEvent.html">MIDI::ChannelEvent</a>
         
     | 
| 
       86 
     | 
    
         
            -
              
         
     | 
| 
       87 
     | 
    
         
            -
                <li><a href="../../MIDI/ChannelPressure.html">MIDI::ChannelPressure</a>
         
     | 
| 
       88 
     | 
    
         
            -
              
         
     | 
| 
       89 
     | 
    
         
            -
                <li><a href="../../MIDI/Clock.html">MIDI::Clock</a>
         
     | 
| 
       90 
     | 
    
         
            -
              
         
     | 
| 
       91 
     | 
    
         
            -
                <li><a href="../../MIDI/Continue.html">MIDI::Continue</a>
         
     | 
| 
       92 
     | 
    
         
            -
              
         
     | 
| 
       93 
     | 
    
         
            -
                <li><a href="../../MIDI/Controller.html">MIDI::Controller</a>
         
     | 
| 
       94 
     | 
    
         
            -
              
         
     | 
| 
       95 
     | 
    
         
            -
                <li><a href="../../MIDI/Event.html">MIDI::Event</a>
         
     | 
| 
       96 
     | 
    
         
            -
              
         
     | 
| 
       97 
     | 
    
         
            -
                <li><a href="../../MIDI/IO.html">MIDI::IO</a>
         
     | 
| 
       98 
     | 
    
         
            -
              
         
     | 
| 
       99 
     | 
    
         
            -
                <li><a href="../../MIDI/IO/MIDIFile.html">MIDI::IO::MIDIFile</a>
         
     | 
| 
       100 
     | 
    
         
            -
              
         
     | 
| 
       101 
     | 
    
         
            -
                <li><a href="../../MIDI/IO/SeqReader.html">MIDI::IO::SeqReader</a>
         
     | 
| 
       102 
     | 
    
         
            -
              
         
     | 
| 
       103 
     | 
    
         
            -
                <li><a href="../../MIDI/IO/SeqWriter.html">MIDI::IO::SeqWriter</a>
         
     | 
| 
       104 
     | 
    
         
            -
              
         
     | 
| 
       105 
     | 
    
         
            -
                <li><a href="../../MIDI/KeySig.html">MIDI::KeySig</a>
         
     | 
| 
       106 
     | 
    
         
            -
              
         
     | 
| 
       107 
     | 
    
         
            -
                <li><a href="../../MIDI/MIDI.html">MIDI::MIDI</a>
         
     | 
| 
       108 
     | 
    
         
            -
              
         
     | 
| 
       109 
     | 
    
         
            -
                <li><a href="../../MIDI/MIDI/MIDI.html">MIDI::MIDI::MIDI</a>
         
     | 
| 
       110 
     | 
    
         
            -
              
         
     | 
| 
       111 
     | 
    
         
            -
                <li><a href="../../MIDI/MIDI/MIDI/Array.html">MIDI::MIDI::MIDI::Array</a>
         
     | 
| 
       112 
     | 
    
         
            -
              
         
     | 
| 
       113 
     | 
    
         
            -
                <li><a href="../../MIDI/Marker.html">MIDI::Marker</a>
         
     | 
| 
       114 
     | 
    
         
            -
              
         
     | 
| 
       115 
     | 
    
         
            -
                <li><a href="../../MIDI/Measure.html">MIDI::Measure</a>
         
     | 
| 
       116 
     | 
    
         
            -
              
         
     | 
| 
       117 
     | 
    
         
            -
                <li><a href="../../MIDI/Measures.html">MIDI::Measures</a>
         
     | 
| 
       118 
     | 
    
         
            -
              
         
     | 
| 
       119 
     | 
    
         
            -
                <li><a href="../../MIDI/MetaEvent.html">MIDI::MetaEvent</a>
         
     | 
| 
       120 
     | 
    
         
            -
              
         
     | 
| 
       121 
     | 
    
         
            -
                <li><a href="../../MIDI/NoteEvent.html">MIDI::NoteEvent</a>
         
     | 
| 
       122 
     | 
    
         
            -
              
         
     | 
| 
       123 
     | 
    
         
            -
                <li><a href="../../MIDI/NoteOff.html">MIDI::NoteOff</a>
         
     | 
| 
       124 
     | 
    
         
            -
              
         
     | 
| 
       125 
     | 
    
         
            -
                <li><a href="../../MIDI/NoteOff.html">MIDI::NoteOffEvent</a>
         
     | 
| 
       126 
     | 
    
         
            -
              
         
     | 
| 
       127 
     | 
    
         
            -
                <li><a href="../../MIDI/NoteOn.html">MIDI::NoteOn</a>
         
     | 
| 
       128 
     | 
    
         
            -
              
         
     | 
| 
       129 
     | 
    
         
            -
                <li><a href="../../MIDI/NoteOn.html">MIDI::NoteOnEvent</a>
         
     | 
| 
       130 
     | 
    
         
            -
              
         
     | 
| 
       131 
     | 
    
         
            -
                <li><a href="../../MIDI/PitchBend.html">MIDI::PitchBend</a>
         
     | 
| 
       132 
     | 
    
         
            -
              
         
     | 
| 
       133 
     | 
    
         
            -
                <li><a href="../../MIDI/PolyPressure.html">MIDI::PolyPressure</a>
         
     | 
| 
       134 
     | 
    
         
            -
              
         
     | 
| 
       135 
     | 
    
         
            -
                <li><a href="../../MIDI/ProgramChange.html">MIDI::ProgramChange</a>
         
     | 
| 
       136 
     | 
    
         
            -
              
         
     | 
| 
       137 
     | 
    
         
            -
                <li><a href="../../MIDI/Realtime.html">MIDI::Realtime</a>
         
     | 
| 
       138 
     | 
    
         
            -
              
         
     | 
| 
       139 
     | 
    
         
            -
                <li><a href="../../MIDI/Sequence.html">MIDI::Sequence</a>
         
     | 
| 
       140 
     | 
    
         
            -
              
         
     | 
| 
       141 
     | 
    
         
            -
                <li><a href="../../MIDI/SongPointer.html">MIDI::SongPointer</a>
         
     | 
| 
       142 
     | 
    
         
            -
              
         
     | 
| 
       143 
     | 
    
         
            -
                <li><a href="../../MIDI/SongSelect.html">MIDI::SongSelect</a>
         
     | 
| 
       144 
     | 
    
         
            -
              
         
     | 
| 
       145 
     | 
    
         
            -
                <li><a href="../../MIDI/Start.html">MIDI::Start</a>
         
     | 
| 
       146 
     | 
    
         
            -
              
         
     | 
| 
       147 
     | 
    
         
            -
                <li><a href="../../MIDI/Stop.html">MIDI::Stop</a>
         
     | 
| 
       148 
     | 
    
         
            -
              
         
     | 
| 
       149 
     | 
    
         
            -
                <li><a href="../../MIDI/SystemCommon.html">MIDI::SystemCommon</a>
         
     | 
| 
       150 
     | 
    
         
            -
              
         
     | 
| 
       151 
     | 
    
         
            -
                <li><a href="../../MIDI/SystemExclusive.html">MIDI::SystemExclusive</a>
         
     | 
| 
       152 
     | 
    
         
            -
              
         
     | 
| 
       153 
     | 
    
         
            -
                <li><a href="../../MIDI/SystemReset.html">MIDI::SystemReset</a>
         
     | 
| 
       154 
     | 
    
         
            -
              
         
     | 
| 
       155 
     | 
    
         
            -
                <li><a href="../../MIDI/Tempo.html">MIDI::Tempo</a>
         
     | 
| 
       156 
     | 
    
         
            -
              
         
     | 
| 
       157 
     | 
    
         
            -
                <li><a href="../../MIDI/TimeSig.html">MIDI::TimeSig</a>
         
     | 
| 
       158 
     | 
    
         
            -
              
         
     | 
| 
       159 
     | 
    
         
            -
                <li><a href="../../MIDI/Track.html">MIDI::Track</a>
         
     | 
| 
       160 
     | 
    
         
            -
              
         
     | 
| 
       161 
     | 
    
         
            -
                <li><a href="../../MIDI/TuneRequest.html">MIDI::TuneRequest</a>
         
     | 
| 
       162 
     | 
    
         
            -
              
         
     | 
| 
       163 
     | 
    
         
            -
                <li><a href="../../MIDI/Utils.html">MIDI::Utils</a>
         
     | 
| 
       164 
     | 
    
         
            -
              
         
     | 
| 
       165 
     | 
    
         
            -
                <li><a href="../../IO.html">IO</a>
         
     | 
| 
       166 
     | 
    
         
            -
              
         
     | 
| 
       167 
     | 
    
         
            -
              </ul>
         
     | 
| 
       168 
     | 
    
         
            -
            </nav>
         
     | 
| 
       169 
     | 
    
         
            -
             
     | 
| 
      
 60 
     | 
    
         
            +
                
         
     | 
| 
       170 
61 
     | 
    
         
             
              </div>
         
     | 
| 
       171 
62 
     | 
    
         
             
            </nav>
         
     | 
| 
       172 
63 
     | 
    
         | 
| 
       173 
     | 
    
         
            -
            < 
     | 
| 
       174 
     | 
    
         
            -
              <h1  
     | 
| 
      
 64 
     | 
    
         
            +
            <main role="main" aria-labelledby="module-MIDI::MIDI::MIDI">
         
     | 
| 
      
 65 
     | 
    
         
            +
              <h1 id="module-MIDI::MIDI::MIDI" class="module">
         
     | 
| 
      
 66 
     | 
    
         
            +
                module MIDI::MIDI::MIDI
         
     | 
| 
      
 67 
     | 
    
         
            +
              </h1>
         
     | 
| 
       175 
68 
     | 
    
         | 
| 
       176 
     | 
    
         
            -
              < 
     | 
| 
      
 69 
     | 
    
         
            +
              <section class="description">
         
     | 
| 
       177 
70 
     | 
    
         | 
| 
       178 
     | 
    
         
            -
              </ 
     | 
| 
      
 71 
     | 
    
         
            +
              </section>
         
     | 
| 
       179 
72 
     | 
    
         | 
| 
       180 
73 
     | 
    
         | 
| 
       181 
74 
     | 
    
         | 
| 
         @@ -189,16 +82,14 @@ 
     | 
|
| 
       189 
82 
     | 
    
         | 
| 
       190 
83 
     | 
    
         | 
| 
       191 
84 
     | 
    
         | 
| 
       192 
     | 
    
         
            -
                <!-- Methods -->
         
     | 
| 
       193 
85 
     | 
    
         | 
| 
       194 
     | 
    
         
            -
              </section 
     | 
| 
       195 
     | 
    
         
            -
             
     | 
| 
       196 
     | 
    
         
            -
            </div><!-- documentation -->
         
     | 
| 
      
 86 
     | 
    
         
            +
              </section>
         
     | 
| 
      
 87 
     | 
    
         
            +
            </main>
         
     | 
| 
       197 
88 
     | 
    
         | 
| 
       198 
89 
     | 
    
         | 
| 
       199 
     | 
    
         
            -
            <footer id="validator-badges">
         
     | 
| 
       200 
     | 
    
         
            -
              <p><a href="http://validator.w3.org/check/referer"> 
     | 
| 
       201 
     | 
    
         
            -
              <p>Generated by <a href=" 
     | 
| 
       202 
     | 
    
         
            -
              <p> 
     | 
| 
      
 90 
     | 
    
         
            +
            <footer id="validator-badges" role="contentinfo">
         
     | 
| 
      
 91 
     | 
    
         
            +
              <p><a href="http://validator.w3.org/check/referer">Validate</a>
         
     | 
| 
      
 92 
     | 
    
         
            +
              <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
         
     | 
| 
      
 93 
     | 
    
         
            +
              <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
         
     | 
| 
       203 
94 
     | 
    
         
             
            </footer>
         
     | 
| 
       204 
95 
     | 
    
         |