midilib 1.1.4 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/{README → README.rdoc} +12 -3
- data/Rakefile +11 -5
- data/TODO.rdoc +31 -0
- data/html/classes/IO.html +137 -0
- data/html/classes/IO.src/M000001.html +20 -0
- data/html/classes/MIDI/ActiveSense.html +10 -10
- data/html/classes/MIDI/ActiveSense.src/{M000158.html → M000160.html} +1 -1
- data/html/classes/MIDI/ActiveSense.src/{M000159.html → M000161.html} +1 -1
- data/html/classes/MIDI/ChannelEvent.html +10 -10
- data/html/classes/MIDI/ChannelEvent.src/{M000130.html → M000132.html} +0 -0
- data/html/classes/MIDI/ChannelEvent.src/{M000131.html → M000133.html} +0 -0
- data/html/classes/MIDI/ChannelPressure.html +15 -15
- data/html/classes/MIDI/ChannelPressure.src/M000092.html +5 -4
- data/html/classes/MIDI/ChannelPressure.src/{M000091.html → M000093.html} +2 -3
- data/html/classes/MIDI/ChannelPressure.src/M000094.html +18 -0
- data/html/classes/MIDI/Clock.html +10 -10
- data/html/classes/MIDI/Clock.src/{M000146.html → M000148.html} +1 -1
- data/html/classes/MIDI/Clock.src/{M000147.html → M000149.html} +1 -1
- data/html/classes/MIDI/Continue.html +10 -10
- data/html/classes/MIDI/Continue.src/{M000144.html → M000146.html} +1 -1
- data/html/classes/MIDI/Continue.src/{M000145.html → M000147.html} +1 -1
- data/html/classes/MIDI/Controller.html +15 -15
- data/html/classes/MIDI/Controller.src/M000137.html +7 -4
- data/html/classes/MIDI/Controller.src/{M000136.html → M000138.html} +2 -3
- data/html/classes/MIDI/Controller.src/M000139.html +18 -0
- data/html/classes/MIDI/Event.html +90 -90
- data/html/classes/MIDI/Event.src/M000169.html +16 -4
- data/html/classes/MIDI/Event.src/M000170.html +4 -4
- data/html/classes/MIDI/Event.src/M000171.html +4 -4
- data/html/classes/MIDI/Event.src/M000172.html +4 -4
- data/html/classes/MIDI/Event.src/M000173.html +4 -4
- data/html/classes/MIDI/Event.src/M000174.html +4 -4
- data/html/classes/MIDI/Event.src/M000175.html +4 -4
- data/html/classes/MIDI/Event.src/M000176.html +4 -4
- data/html/classes/MIDI/Event.src/M000177.html +4 -4
- data/html/classes/MIDI/Event.src/M000178.html +4 -4
- data/html/classes/MIDI/Event.src/M000179.html +4 -8
- data/html/classes/MIDI/Event.src/M000180.html +4 -4
- data/html/classes/MIDI/Event.src/M000181.html +8 -4
- data/html/classes/MIDI/Event.src/M000182.html +4 -5
- data/html/classes/MIDI/Event.src/M000183.html +4 -4
- data/html/classes/MIDI/Event.src/M000184.html +19 -0
- data/html/classes/MIDI/{PolyPressure.src/M000197.html → Event.src/M000185.html} +4 -4
- data/html/classes/MIDI/IO/MIDIFile.html +247 -230
- data/html/classes/MIDI/IO/MIDIFile.src/M000031.html +9 -6
- data/html/classes/MIDI/IO/MIDIFile.src/M000032.html +11 -6
- data/html/classes/MIDI/IO/MIDIFile.src/M000033.html +4 -4
- data/html/classes/MIDI/IO/MIDIFile.src/M000034.html +6 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000035.html +5 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000036.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000037.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000038.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000039.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000040.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000041.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000042.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000043.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000044.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000045.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000046.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000047.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000048.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000049.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000050.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000051.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000052.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000053.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000054.html +3 -3
- data/html/classes/MIDI/IO/MIDIFile.src/M000055.html +3 -29
- data/html/classes/MIDI/IO/MIDIFile.src/M000056.html +3 -20
- data/html/classes/MIDI/IO/MIDIFile.src/M000057.html +21 -74
- data/html/classes/MIDI/IO/MIDIFile.src/M000058.html +20 -4
- data/html/classes/MIDI/IO/MIDIFile.src/M000059.html +81 -33
- data/html/classes/MIDI/IO/MIDIFile.src/M000060.html +4 -28
- data/html/classes/MIDI/IO/MIDIFile.src/M000061.html +35 -5
- data/html/classes/MIDI/IO/MIDIFile.src/M000062.html +28 -5
- data/html/classes/MIDI/IO/MIDIFile.src/M000063.html +5 -6
- data/html/classes/MIDI/IO/MIDIFile.src/M000064.html +5 -7
- data/html/classes/MIDI/IO/MIDIFile.src/M000065.html +5 -16
- data/html/classes/MIDI/IO/MIDIFile.src/M000066.html +7 -6
- data/html/classes/MIDI/IO/MIDIFile.src/M000067.html +17 -8
- data/html/classes/MIDI/IO/MIDIFile.src/M000068.html +6 -16
- data/html/classes/MIDI/IO/MIDIFile.src/M000069.html +8 -4
- data/html/classes/MIDI/IO/MIDIFile.src/M000070.html +16 -6
- data/html/classes/MIDI/IO/MIDIFile.src/M000071.html +4 -4
- data/html/classes/MIDI/IO/MIDIFile.src/M000072.html +6 -4
- data/html/classes/MIDI/IO/MIDIFile.src/{M000029.html → M000073.html} +4 -8
- data/html/classes/MIDI/IO/MIDIFile.src/M000074.html +18 -0
- data/html/classes/MIDI/IO/SeqReader.html +98 -98
- data/html/classes/MIDI/IO/SeqReader.src/M000002.html +8 -8
- data/html/classes/MIDI/IO/SeqReader.src/M000003.html +7 -6
- data/html/classes/MIDI/IO/SeqReader.src/M000004.html +6 -19
- data/html/classes/MIDI/IO/SeqReader.src/M000005.html +19 -11
- data/html/classes/MIDI/IO/SeqReader.src/M000006.html +12 -14
- data/html/classes/MIDI/IO/SeqReader.src/M000007.html +14 -7
- data/html/classes/MIDI/IO/SeqReader.src/M000008.html +7 -5
- data/html/classes/MIDI/IO/SeqReader.src/M000009.html +4 -4
- data/html/classes/MIDI/IO/SeqReader.src/M000010.html +4 -4
- data/html/classes/MIDI/IO/SeqReader.src/M000011.html +4 -4
- data/html/classes/MIDI/IO/SeqReader.src/M000012.html +4 -4
- data/html/classes/MIDI/IO/SeqReader.src/M000013.html +5 -4
- data/html/classes/MIDI/IO/SeqReader.src/M000014.html +4 -4
- data/html/classes/MIDI/IO/SeqReader.src/M000015.html +4 -15
- data/html/classes/MIDI/IO/SeqReader.src/M000016.html +15 -5
- data/html/classes/MIDI/IO/SeqReader.src/M000017.html +5 -4
- data/html/classes/MIDI/IO/SeqReader.src/M000018.html +4 -4
- data/html/classes/MIDI/IO/SeqReader.src/M000019.html +4 -4
- data/html/classes/MIDI/IO/SeqReader.src/M000020.html +18 -0
- data/html/classes/MIDI/IO/SeqWriter.html +60 -45
- data/html/classes/MIDI/IO/SeqWriter.src/M000021.html +5 -11
- data/html/classes/MIDI/IO/SeqWriter.src/M000022.html +11 -8
- data/html/classes/MIDI/IO/SeqWriter.src/M000023.html +8 -40
- data/html/classes/MIDI/IO/SeqWriter.src/M000024.html +39 -34
- data/html/classes/MIDI/IO/SeqWriter.src/M000025.html +35 -7
- data/html/classes/MIDI/IO/SeqWriter.src/M000026.html +7 -5
- data/html/classes/MIDI/IO/SeqWriter.src/M000027.html +5 -10
- data/html/classes/MIDI/IO/SeqWriter.src/M000028.html +8 -11
- data/html/classes/MIDI/IO/SeqWriter.src/M000029.html +24 -0
- data/html/classes/MIDI/IO/SeqWriter.src/M000030.html +19 -0
- data/html/classes/MIDI/KeySig.html +30 -30
- data/html/classes/MIDI/KeySig.src/M000140.html +5 -4
- data/html/classes/MIDI/KeySig.src/M000141.html +9 -4
- data/html/classes/MIDI/KeySig.src/M000142.html +4 -4
- data/html/classes/MIDI/KeySig.src/M000143.html +4 -9
- data/html/classes/MIDI/KeySig.src/M000144.html +18 -0
- data/html/classes/MIDI/KeySig.src/M000145.html +23 -0
- data/html/classes/MIDI/Marker.html +5 -5
- data/html/classes/MIDI/Marker.src/{M000112.html → M000114.html} +1 -1
- data/html/classes/MIDI/Measure.html +15 -15
- data/html/classes/MIDI/Measure.src/M000150.html +9 -4
- data/html/classes/MIDI/Measure.src/{M000149.html → M000151.html} +0 -0
- data/html/classes/MIDI/Measure.src/M000152.html +18 -0
- data/html/classes/MIDI/Measures.html +15 -15
- data/html/classes/MIDI/Measures.src/M000108.html +6 -7
- data/html/classes/MIDI/Measures.src/{M000107.html → M000109.html} +0 -0
- data/html/classes/MIDI/Measures.src/M000110.html +21 -0
- data/html/classes/MIDI/MetaEvent.html +15 -15
- data/html/classes/MIDI/MetaEvent.src/M000195.html +7 -39
- data/html/classes/MIDI/MetaEvent.src/{M000194.html → M000196.html} +3 -3
- data/html/classes/MIDI/MetaEvent.src/M000197.html +53 -0
- data/html/classes/MIDI/NoteEvent.html +21 -21
- data/html/classes/MIDI/NoteEvent.src/M000095.html +7 -4
- data/html/classes/MIDI/NoteEvent.src/M000096.html +6 -8
- data/html/classes/MIDI/NoteEvent.src/M000097.html +18 -0
- data/html/classes/MIDI/NoteEvent.src/M000098.html +21 -0
- data/html/classes/MIDI/NoteOffEvent.html +10 -10
- data/html/classes/MIDI/NoteOffEvent.src/{M000088.html → M000090.html} +1 -1
- data/html/classes/MIDI/NoteOffEvent.src/{M000089.html → M000091.html} +1 -1
- data/html/classes/MIDI/NoteOnEvent.html +10 -10
- data/html/classes/MIDI/NoteOnEvent.src/{M000104.html → M000106.html} +1 -1
- data/html/classes/MIDI/NoteOnEvent.src/{M000105.html → M000107.html} +1 -1
- data/html/classes/MIDI/PitchBend.html +15 -15
- data/html/classes/MIDI/PitchBend.src/M000111.html +5 -4
- data/html/classes/MIDI/PitchBend.src/{M000110.html → M000112.html} +2 -3
- data/html/classes/MIDI/PitchBend.src/M000113.html +18 -0
- data/html/classes/MIDI/PolyPressure.html +20 -20
- data/html/classes/MIDI/PolyPressure.src/M000198.html +4 -4
- data/html/classes/MIDI/PolyPressure.src/M000199.html +4 -5
- data/html/classes/MIDI/PolyPressure.src/M000200.html +18 -0
- data/html/classes/MIDI/PolyPressure.src/M000201.html +19 -0
- data/html/classes/MIDI/ProgramChange.html +15 -15
- data/html/classes/MIDI/ProgramChange.src/M000103.html +6 -4
- data/html/classes/MIDI/ProgramChange.src/{M000102.html → M000104.html} +2 -3
- data/html/classes/MIDI/ProgramChange.src/M000105.html +18 -0
- data/html/classes/MIDI/Realtime.html +15 -15
- data/html/classes/MIDI/Realtime.src/M000087.html +5 -4
- data/html/classes/MIDI/Realtime.src/{M000086.html → M000088.html} +2 -3
- data/html/classes/MIDI/Realtime.src/M000089.html +18 -0
- data/html/classes/MIDI/Sequence.html +76 -76
- data/html/classes/MIDI/Sequence.src/M000115.html +14 -8
- data/html/classes/MIDI/Sequence.src/{M000114.html → M000116.html} +0 -0
- data/html/classes/MIDI/Sequence.src/M000117.html +22 -0
- data/html/classes/MIDI/Sequence.src/M000120.html +4 -4
- data/html/classes/MIDI/Sequence.src/M000121.html +13 -5
- data/html/classes/MIDI/Sequence.src/M000122.html +4 -5
- data/html/classes/MIDI/Sequence.src/M000123.html +5 -5
- data/html/classes/MIDI/Sequence.src/M000124.html +5 -5
- data/html/classes/MIDI/Sequence.src/M000125.html +5 -4
- data/html/classes/MIDI/Sequence.src/M000126.html +5 -40
- data/html/classes/MIDI/Sequence.src/{M000118.html → M000127.html} +4 -4
- data/html/classes/MIDI/Sequence.src/M000128.html +54 -0
- data/html/classes/MIDI/SongPointer.html +15 -15
- data/html/classes/MIDI/SongPointer.src/M000162.html +5 -4
- data/html/classes/MIDI/SongPointer.src/{M000161.html → M000163.html} +2 -3
- data/html/classes/MIDI/SongPointer.src/M000164.html +18 -0
- data/html/classes/MIDI/SongSelect.html +15 -15
- data/html/classes/MIDI/SongSelect.src/M000134.html +5 -4
- data/html/classes/MIDI/SongSelect.src/{M000133.html → M000135.html} +2 -3
- data/html/classes/MIDI/SongSelect.src/M000136.html +18 -0
- data/html/classes/MIDI/Start.html +10 -10
- data/html/classes/MIDI/Start.src/{M000099.html → M000101.html} +1 -1
- data/html/classes/MIDI/Start.src/{M000100.html → M000102.html} +1 -1
- data/html/classes/MIDI/Stop.html +10 -10
- data/html/classes/MIDI/Stop.src/{M000097.html → M000099.html} +1 -1
- data/html/classes/MIDI/Stop.src/{M000098.html → M000100.html} +1 -1
- data/html/classes/MIDI/SystemCommon.html +5 -5
- data/html/classes/MIDI/SystemCommon.src/{M000166.html → M000168.html} +1 -1
- data/html/classes/MIDI/SystemExclusive.html +15 -15
- data/html/classes/MIDI/SystemExclusive.src/M000165.html +5 -4
- data/html/classes/MIDI/SystemExclusive.src/{M000164.html → M000166.html} +3 -3
- data/html/classes/MIDI/SystemExclusive.src/M000167.html +18 -0
- data/html/classes/MIDI/SystemReset.html +10 -10
- data/html/classes/MIDI/SystemReset.src/{M000083.html → M000085.html} +1 -1
- data/html/classes/MIDI/SystemReset.src/{M000084.html → M000086.html} +1 -1
- data/html/classes/MIDI/Tempo.html +35 -35
- data/html/classes/MIDI/Tempo.src/M000186.html +4 -4
- data/html/classes/MIDI/Tempo.src/M000187.html +6 -4
- data/html/classes/MIDI/Tempo.src/M000188.html +4 -4
- data/html/classes/MIDI/Tempo.src/M000189.html +4 -11
- data/html/classes/MIDI/Tempo.src/M000190.html +4 -4
- data/html/classes/MIDI/{TimeSig.src/M000152.html → Tempo.src/M000191.html} +7 -8
- data/html/classes/MIDI/{Event.src/M000168.html → Tempo.src/M000192.html} +4 -4
- data/html/classes/MIDI/TimeSig.html +37 -37
- data/html/classes/MIDI/TimeSig.src/M000153.html +5 -4
- data/html/classes/MIDI/TimeSig.src/M000154.html +11 -4
- data/html/classes/MIDI/TimeSig.src/M000155.html +4 -4
- data/html/classes/MIDI/TimeSig.src/M000156.html +4 -4
- data/html/classes/MIDI/TimeSig.src/M000157.html +4 -4
- data/html/classes/MIDI/TimeSig.src/M000158.html +18 -0
- data/html/classes/MIDI/TimeSig.src/M000159.html +18 -0
- data/html/classes/MIDI/Track.html +66 -66
- data/html/classes/MIDI/Track.src/M000075.html +9 -12
- data/html/classes/MIDI/Track.src/M000076.html +7 -4
- data/html/classes/MIDI/Track.src/M000077.html +12 -8
- data/html/classes/MIDI/Track.src/M000078.html +4 -11
- data/html/classes/MIDI/Track.src/M000079.html +8 -8
- data/html/classes/MIDI/Track.src/M000080.html +11 -12
- data/html/classes/MIDI/Track.src/M000081.html +8 -4
- data/html/classes/MIDI/Track.src/M000082.html +12 -5
- data/html/classes/MIDI/Track.src/M000083.html +18 -0
- data/html/classes/MIDI/Track.src/{M000073.html → M000084.html} +5 -9
- data/html/classes/MIDI/TuneRequest.html +15 -15
- data/html/classes/MIDI/TuneRequest.src/M000129.html +4 -4
- data/html/classes/MIDI/TuneRequest.src/{M000128.html → M000130.html} +2 -3
- data/html/classes/MIDI/TuneRequest.src/M000131.html +18 -0
- data/html/classes/MIDI/Utils.html +10 -10
- data/html/classes/MIDI/Utils.src/{M000191.html → M000193.html} +0 -0
- data/html/classes/MIDI/Utils.src/{M000192.html → M000194.html} +1 -1
- data/html/classes/MIDI.html +3 -3
- data/html/created.rid +1 -1
- data/html/files/{README.html → README_rdoc.html} +30 -11
- data/html/files/{TODO.html → TODO_rdoc.html} +14 -6
- data/html/files/lib/midilib/consts_rb.html +1 -1
- data/html/files/lib/midilib/event_rb.html +1 -1
- data/html/files/lib/midilib/info_rb.html +1 -1
- data/html/files/lib/midilib/io/midifile_rb.html +1 -1
- data/html/files/lib/midilib/io/seqreader_rb.html +1 -1
- data/html/files/lib/midilib/io/seqwriter_rb.html +1 -1
- data/html/files/lib/midilib/measure_rb.html +1 -1
- data/html/files/lib/midilib/sequence_rb.html +1 -1
- data/html/files/lib/midilib/track_rb.html +1 -1
- data/html/files/lib/midilib/utils_rb.html +1 -1
- data/html/files/lib/midilib_rb.html +2 -2
- data/html/fr_class_index.html +1 -0
- data/html/fr_file_index.html +2 -2
- data/html/fr_method_index.html +201 -199
- data/html/index.html +1 -1
- data/install.rb +1 -1
- data/lib/midilib/event.rb +16 -26
- data/lib/midilib/info.rb +3 -3
- data/lib/midilib/io/midifile.rb +43 -29
- data/lib/midilib/io/seqwriter.rb +19 -17
- data/lib/midilib/utils.rb +1 -1
- data/lib/midilib.rb +1 -1
- data/test/test_io.rb +2 -1
- data/test/test_midifile.rb +59 -0
- data/test/test_varlen.rb +4 -4
- metadata +83 -78
- data/TODO +0 -25
- data/html/classes/MIDI/ChannelPressure.src/M000090.html +0 -19
- data/html/classes/MIDI/Controller.src/M000135.html +0 -21
- data/html/classes/MIDI/Event.src/M000167.html +0 -30
- data/html/classes/MIDI/IO/MIDIFile.src/M000030.html +0 -24
- data/html/classes/MIDI/IO/SeqReader.src/M000001.html +0 -22
- data/html/classes/MIDI/IO/SeqWriter.src/M000020.html +0 -19
- data/html/classes/MIDI/KeySig.src/M000138.html +0 -19
- data/html/classes/MIDI/KeySig.src/M000139.html +0 -23
- data/html/classes/MIDI/Measure.src/M000148.html +0 -23
- data/html/classes/MIDI/Measures.src/M000106.html +0 -20
- data/html/classes/MIDI/MetaEvent.src/M000193.html +0 -21
- data/html/classes/MIDI/NoteEvent.src/M000093.html +0 -21
- data/html/classes/MIDI/NoteEvent.src/M000094.html +0 -20
- data/html/classes/MIDI/PitchBend.src/M000109.html +0 -19
- data/html/classes/MIDI/PolyPressure.src/M000196.html +0 -18
- data/html/classes/MIDI/ProgramChange.src/M000101.html +0 -20
- data/html/classes/MIDI/Realtime.src/M000085.html +0 -19
- data/html/classes/MIDI/Sequence.src/M000113.html +0 -28
- data/html/classes/MIDI/Sequence.src/M000119.html +0 -27
- data/html/classes/MIDI/SongPointer.src/M000160.html +0 -19
- data/html/classes/MIDI/SongSelect.src/M000132.html +0 -19
- data/html/classes/MIDI/SystemExclusive.src/M000163.html +0 -19
- data/html/classes/MIDI/Tempo.src/M000184.html +0 -18
- data/html/classes/MIDI/Tempo.src/M000185.html +0 -20
- data/html/classes/MIDI/TimeSig.src/M000151.html +0 -19
- data/html/classes/MIDI/Track.src/M000074.html +0 -21
- data/html/classes/MIDI/TuneRequest.src/M000127.html +0 -18
@@ -101,50 +101,50 @@ methods to create <a href="../Event.html">Event</a> objects.
|
|
101
101
|
<h3 class="section-bar">Methods</h3>
|
102
102
|
|
103
103
|
<div class="name-list">
|
104
|
-
<a href="#
|
105
|
-
<a href="#
|
106
|
-
<a href="#
|
107
|
-
<a href="#
|
108
|
-
<a href="#
|
109
|
-
<a href="#
|
110
|
-
<a href="#
|
111
|
-
<a href="#
|
112
|
-
<a href="#
|
113
|
-
<a href="#
|
114
|
-
<a href="#
|
115
|
-
<a href="#
|
116
|
-
<a href="#
|
117
|
-
<a href="#
|
118
|
-
<a href="#
|
119
|
-
<a href="#
|
120
|
-
<a href="#
|
121
|
-
<a href="#
|
122
|
-
<a href="#
|
123
|
-
<a href="#
|
124
|
-
<a href="#
|
125
|
-
<a href="#
|
126
|
-
<a href="#
|
127
|
-
<a href="#
|
128
|
-
<a href="#
|
129
|
-
<a href="#
|
130
|
-
<a href="#
|
131
|
-
<a href="#
|
132
|
-
<a href="#
|
133
|
-
<a href="#
|
134
|
-
<a href="#
|
135
|
-
<a href="#
|
136
|
-
<a href="#
|
137
|
-
<a href="#
|
138
|
-
<a href="#
|
139
|
-
<a href="#
|
140
|
-
<a href="#
|
141
|
-
<a href="#
|
142
|
-
<a href="#
|
143
|
-
<a href="#
|
144
|
-
<a href="#
|
145
|
-
<a href="#
|
146
|
-
<a href="#
|
147
|
-
<a href="#
|
104
|
+
<a href="#M000056">arbitrary</a>
|
105
|
+
<a href="#M000060">bad_byte</a>
|
106
|
+
<a href="#M000062">chan_message</a>
|
107
|
+
<a href="#M000045">chan_pressure</a>
|
108
|
+
<a href="#M000042">controller</a>
|
109
|
+
<a href="#M000038">end_track</a>
|
110
|
+
<a href="#M000051">eot</a>
|
111
|
+
<a href="#M000035">error</a>
|
112
|
+
<a href="#M000034">get_bytes</a>
|
113
|
+
<a href="#M000033">getc</a>
|
114
|
+
<a href="#M000064">handle_arbitrary</a>
|
115
|
+
<a href="#M000063">handle_sysex</a>
|
116
|
+
<a href="#M000036">header</a>
|
117
|
+
<a href="#M000055">key_signature</a>
|
118
|
+
<a href="#M000061">meta_event</a>
|
119
|
+
<a href="#M000047">meta_misc</a>
|
120
|
+
<a href="#M000074">msg</a>
|
121
|
+
<a href="#M000071">msg_add</a>
|
122
|
+
<a href="#M000073">msg_init</a>
|
123
|
+
<a href="#M000072">msg_read</a>
|
124
|
+
<a href="#M000031">new</a>
|
125
|
+
<a href="#M000040">note_off</a>
|
126
|
+
<a href="#M000039">note_on</a>
|
127
|
+
<a href="#M000043">pitch_bend</a>
|
128
|
+
<a href="#M000041">pressure</a>
|
129
|
+
<a href="#M000044">program</a>
|
130
|
+
<a href="#M000065">read16</a>
|
131
|
+
<a href="#M000066">read32</a>
|
132
|
+
<a href="#M000032">read_from</a>
|
133
|
+
<a href="#M000058">read_header</a>
|
134
|
+
<a href="#M000057">read_mt_header_string</a>
|
135
|
+
<a href="#M000059">read_track</a>
|
136
|
+
<a href="#M000067">read_var_len</a>
|
137
|
+
<a href="#M000049">sequence_number</a>
|
138
|
+
<a href="#M000048">sequencer_specific</a>
|
139
|
+
<a href="#M000053">smpte</a>
|
140
|
+
<a href="#M000037">start_track</a>
|
141
|
+
<a href="#M000046">sysex</a>
|
142
|
+
<a href="#M000054">tempo</a>
|
143
|
+
<a href="#M000050">text</a>
|
144
|
+
<a href="#M000052">time_signature</a>
|
145
|
+
<a href="#M000068">write16</a>
|
146
|
+
<a href="#M000069">write32</a>
|
147
|
+
<a href="#M000070">write_var_len</a>
|
148
148
|
</div>
|
149
149
|
</div>
|
150
150
|
|
@@ -161,6 +161,16 @@ methods to create <a href="../Event.html">Event</a> objects.
|
|
161
161
|
|
162
162
|
<div class="name-list">
|
163
163
|
<table summary="Constants">
|
164
|
+
<tr class="top-aligned-row context-row">
|
165
|
+
<td class="context-item-name">MThd_BYTE_ARRAY</td>
|
166
|
+
<td>=</td>
|
167
|
+
<td class="context-item-value">[77, 84, 104, 100]</td>
|
168
|
+
</tr>
|
169
|
+
<tr class="top-aligned-row context-row">
|
170
|
+
<td class="context-item-name">MTrk_BYTE_ARRAY</td>
|
171
|
+
<td>=</td>
|
172
|
+
<td class="context-item-value">[77, 84, 114, 107]</td>
|
173
|
+
</tr>
|
164
174
|
<tr class="top-aligned-row context-row">
|
165
175
|
<td class="context-item-name">NUM_DATA_BYTES</td>
|
166
176
|
<td>=</td>
|
@@ -237,12 +247,12 @@ Raw data info
|
|
237
247
|
<div id="methods">
|
238
248
|
<h3 class="section-bar">Public Class methods</h3>
|
239
249
|
|
240
|
-
<div id="method-
|
241
|
-
<a name="
|
250
|
+
<div id="method-M000031" class="method-detail">
|
251
|
+
<a name="M000031"></a>
|
242
252
|
|
243
253
|
<div class="method-heading">
|
244
|
-
<a href="MIDIFile.src/
|
245
|
-
onclick="popupCode('MIDIFile.src/
|
254
|
+
<a href="MIDIFile.src/M000031.html" target="Code" class="method-signature"
|
255
|
+
onclick="popupCode('MIDIFile.src/M000031.html');return false;">
|
246
256
|
<span class="method-name">new</span><span class="method-args">()</span>
|
247
257
|
</a>
|
248
258
|
</div>
|
@@ -253,12 +263,12 @@ Raw data info
|
|
253
263
|
|
254
264
|
<h3 class="section-bar">Public Instance methods</h3>
|
255
265
|
|
256
|
-
<div id="method-
|
257
|
-
<a name="
|
266
|
+
<div id="method-M000056" class="method-detail">
|
267
|
+
<a name="M000056"></a>
|
258
268
|
|
259
269
|
<div class="method-heading">
|
260
|
-
<a href="MIDIFile.src/
|
261
|
-
onclick="popupCode('MIDIFile.src/
|
270
|
+
<a href="MIDIFile.src/M000056.html" target="Code" class="method-signature"
|
271
|
+
onclick="popupCode('MIDIFile.src/M000056.html');return false;">
|
262
272
|
<span class="method-name">arbitrary</span><span class="method-args">(msg)</span>
|
263
273
|
</a>
|
264
274
|
</div>
|
@@ -267,12 +277,12 @@ Raw data info
|
|
267
277
|
</div>
|
268
278
|
</div>
|
269
279
|
|
270
|
-
<div id="method-
|
271
|
-
<a name="
|
280
|
+
<div id="method-M000060" class="method-detail">
|
281
|
+
<a name="M000060"></a>
|
272
282
|
|
273
283
|
<div class="method-heading">
|
274
|
-
<a href="MIDIFile.src/
|
275
|
-
onclick="popupCode('MIDIFile.src/
|
284
|
+
<a href="MIDIFile.src/M000060.html" target="Code" class="method-signature"
|
285
|
+
onclick="popupCode('MIDIFile.src/M000060.html');return false;">
|
276
286
|
<span class="method-name">bad_byte</span><span class="method-args">(c)</span>
|
277
287
|
</a>
|
278
288
|
</div>
|
@@ -284,12 +294,12 @@ Handle an unexpected byte.
|
|
284
294
|
</div>
|
285
295
|
</div>
|
286
296
|
|
287
|
-
<div id="method-
|
288
|
-
<a name="
|
297
|
+
<div id="method-M000062" class="method-detail">
|
298
|
+
<a name="M000062"></a>
|
289
299
|
|
290
300
|
<div class="method-heading">
|
291
|
-
<a href="MIDIFile.src/
|
292
|
-
onclick="popupCode('MIDIFile.src/
|
301
|
+
<a href="MIDIFile.src/M000062.html" target="Code" class="method-signature"
|
302
|
+
onclick="popupCode('MIDIFile.src/M000062.html');return false;">
|
293
303
|
<span class="method-name">chan_message</span><span class="method-args">(running, status, c1, c2)</span>
|
294
304
|
</a>
|
295
305
|
</div>
|
@@ -301,12 +311,12 @@ Handle a channel message (note on, note off, etc.)
|
|
301
311
|
</div>
|
302
312
|
</div>
|
303
313
|
|
304
|
-
<div id="method-
|
305
|
-
<a name="
|
314
|
+
<div id="method-M000045" class="method-detail">
|
315
|
+
<a name="M000045"></a>
|
306
316
|
|
307
317
|
<div class="method-heading">
|
308
|
-
<a href="MIDIFile.src/
|
309
|
-
onclick="popupCode('MIDIFile.src/
|
318
|
+
<a href="MIDIFile.src/M000045.html" target="Code" class="method-signature"
|
319
|
+
onclick="popupCode('MIDIFile.src/M000045.html');return false;">
|
310
320
|
<span class="method-name">chan_pressure</span><span class="method-args">(chan, press)</span>
|
311
321
|
</a>
|
312
322
|
</div>
|
@@ -315,12 +325,12 @@ Handle a channel message (note on, note off, etc.)
|
|
315
325
|
</div>
|
316
326
|
</div>
|
317
327
|
|
318
|
-
<div id="method-
|
319
|
-
<a name="
|
328
|
+
<div id="method-M000042" class="method-detail">
|
329
|
+
<a name="M000042"></a>
|
320
330
|
|
321
331
|
<div class="method-heading">
|
322
|
-
<a href="MIDIFile.src/
|
323
|
-
onclick="popupCode('MIDIFile.src/
|
332
|
+
<a href="MIDIFile.src/M000042.html" target="Code" class="method-signature"
|
333
|
+
onclick="popupCode('MIDIFile.src/M000042.html');return false;">
|
324
334
|
<span class="method-name">controller</span><span class="method-args">(chan, control, value)</span>
|
325
335
|
</a>
|
326
336
|
</div>
|
@@ -329,12 +339,12 @@ Handle a channel message (note on, note off, etc.)
|
|
329
339
|
</div>
|
330
340
|
</div>
|
331
341
|
|
332
|
-
<div id="method-
|
333
|
-
<a name="
|
342
|
+
<div id="method-M000038" class="method-detail">
|
343
|
+
<a name="M000038"></a>
|
334
344
|
|
335
345
|
<div class="method-heading">
|
336
|
-
<a href="MIDIFile.src/
|
337
|
-
onclick="popupCode('MIDIFile.src/
|
346
|
+
<a href="MIDIFile.src/M000038.html" target="Code" class="method-signature"
|
347
|
+
onclick="popupCode('MIDIFile.src/M000038.html');return false;">
|
338
348
|
<span class="method-name">end_track</span><span class="method-args">()</span>
|
339
349
|
</a>
|
340
350
|
</div>
|
@@ -343,12 +353,12 @@ Handle a channel message (note on, note off, etc.)
|
|
343
353
|
</div>
|
344
354
|
</div>
|
345
355
|
|
346
|
-
<div id="method-
|
347
|
-
<a name="
|
356
|
+
<div id="method-M000051" class="method-detail">
|
357
|
+
<a name="M000051"></a>
|
348
358
|
|
349
359
|
<div class="method-heading">
|
350
|
-
<a href="MIDIFile.src/
|
351
|
-
onclick="popupCode('MIDIFile.src/
|
360
|
+
<a href="MIDIFile.src/M000051.html" target="Code" class="method-signature"
|
361
|
+
onclick="popupCode('MIDIFile.src/M000051.html');return false;">
|
352
362
|
<span class="method-name">eot</span><span class="method-args">()</span>
|
353
363
|
</a>
|
354
364
|
</div>
|
@@ -357,57 +367,64 @@ Handle a channel message (note on, note off, etc.)
|
|
357
367
|
</div>
|
358
368
|
</div>
|
359
369
|
|
360
|
-
<div id="method-
|
361
|
-
<a name="
|
370
|
+
<div id="method-M000035" class="method-detail">
|
371
|
+
<a name="M000035"></a>
|
362
372
|
|
363
373
|
<div class="method-heading">
|
364
|
-
<a href="MIDIFile.src/
|
365
|
-
onclick="popupCode('MIDIFile.src/
|
374
|
+
<a href="MIDIFile.src/M000035.html" target="Code" class="method-signature"
|
375
|
+
onclick="popupCode('MIDIFile.src/M000035.html');return false;">
|
366
376
|
<span class="method-name">error</span><span class="method-args">(str)</span>
|
367
377
|
</a>
|
368
378
|
</div>
|
369
379
|
|
370
380
|
<div class="method-description">
|
371
381
|
<p>
|
372
|
-
The default <a href="MIDIFile.html#
|
382
|
+
The default <a href="MIDIFile.html#M000035">error</a> handler.
|
373
383
|
</p>
|
374
384
|
</div>
|
375
385
|
</div>
|
376
386
|
|
377
|
-
<div id="method-
|
378
|
-
<a name="
|
387
|
+
<div id="method-M000034" class="method-detail">
|
388
|
+
<a name="M000034"></a>
|
379
389
|
|
380
390
|
<div class="method-heading">
|
381
|
-
<a href="MIDIFile.src/
|
382
|
-
onclick="popupCode('MIDIFile.src/
|
383
|
-
<span class="method-name">
|
391
|
+
<a href="MIDIFile.src/M000034.html" target="Code" class="method-signature"
|
392
|
+
onclick="popupCode('MIDIFile.src/M000034.html');return false;">
|
393
|
+
<span class="method-name">get_bytes</span><span class="method-args">(n)</span>
|
384
394
|
</a>
|
385
395
|
</div>
|
386
396
|
|
387
397
|
<div class="method-description">
|
398
|
+
<p>
|
399
|
+
Return the next <tt>n</tt> bytes from @io as an array.
|
400
|
+
</p>
|
388
401
|
</div>
|
389
402
|
</div>
|
390
403
|
|
391
|
-
<div id="method-
|
392
|
-
<a name="
|
404
|
+
<div id="method-M000033" class="method-detail">
|
405
|
+
<a name="M000033"></a>
|
393
406
|
|
394
407
|
<div class="method-heading">
|
395
|
-
<a href="MIDIFile.src/
|
396
|
-
onclick="popupCode('MIDIFile.src/
|
408
|
+
<a href="MIDIFile.src/M000033.html" target="Code" class="method-signature"
|
409
|
+
onclick="popupCode('MIDIFile.src/M000033.html');return false;">
|
397
410
|
<span class="method-name">getc</span><span class="method-args">()</span>
|
398
411
|
</a>
|
399
412
|
</div>
|
400
413
|
|
401
414
|
<div class="method-description">
|
415
|
+
<p>
|
416
|
+
This default <a href="MIDIFile.html#M000033">getc</a> implementation tries
|
417
|
+
to read a single byte from io and returns it as an integer.
|
418
|
+
</p>
|
402
419
|
</div>
|
403
420
|
</div>
|
404
421
|
|
405
|
-
<div id="method-
|
406
|
-
<a name="
|
422
|
+
<div id="method-M000064" class="method-detail">
|
423
|
+
<a name="M000064"></a>
|
407
424
|
|
408
425
|
<div class="method-heading">
|
409
|
-
<a href="MIDIFile.src/
|
410
|
-
onclick="popupCode('MIDIFile.src/
|
426
|
+
<a href="MIDIFile.src/M000064.html" target="Code" class="method-signature"
|
427
|
+
onclick="popupCode('MIDIFile.src/M000064.html');return false;">
|
411
428
|
<span class="method-name">handle_arbitrary</span><span class="method-args">(msg)</span>
|
412
429
|
</a>
|
413
430
|
</div>
|
@@ -415,17 +432,17 @@ The default <a href="MIDIFile.html#M000033">error</a> handler.
|
|
415
432
|
<div class="method-description">
|
416
433
|
<p>
|
417
434
|
Copy message into raw data array, then call <a
|
418
|
-
href="MIDIFile.html#
|
435
|
+
href="MIDIFile.html#M000056">arbitrary</a>().
|
419
436
|
</p>
|
420
437
|
</div>
|
421
438
|
</div>
|
422
439
|
|
423
|
-
<div id="method-
|
424
|
-
<a name="
|
440
|
+
<div id="method-M000063" class="method-detail">
|
441
|
+
<a name="M000063"></a>
|
425
442
|
|
426
443
|
<div class="method-heading">
|
427
|
-
<a href="MIDIFile.src/
|
428
|
-
onclick="popupCode('MIDIFile.src/
|
444
|
+
<a href="MIDIFile.src/M000063.html" target="Code" class="method-signature"
|
445
|
+
onclick="popupCode('MIDIFile.src/M000063.html');return false;">
|
429
446
|
<span class="method-name">handle_sysex</span><span class="method-args">(msg)</span>
|
430
447
|
</a>
|
431
448
|
</div>
|
@@ -433,17 +450,17 @@ href="MIDIFile.html#M000054">arbitrary</a>().
|
|
433
450
|
<div class="method-description">
|
434
451
|
<p>
|
435
452
|
Copy message into raw data array, then call <a
|
436
|
-
href="MIDIFile.html#
|
453
|
+
href="MIDIFile.html#M000046">sysex</a>().
|
437
454
|
</p>
|
438
455
|
</div>
|
439
456
|
</div>
|
440
457
|
|
441
|
-
<div id="method-
|
442
|
-
<a name="
|
458
|
+
<div id="method-M000036" class="method-detail">
|
459
|
+
<a name="M000036"></a>
|
443
460
|
|
444
461
|
<div class="method-heading">
|
445
|
-
<a href="MIDIFile.src/
|
446
|
-
onclick="popupCode('MIDIFile.src/
|
462
|
+
<a href="MIDIFile.src/M000036.html" target="Code" class="method-signature"
|
463
|
+
onclick="popupCode('MIDIFile.src/M000036.html');return false;">
|
447
464
|
<span class="method-name">header</span><span class="method-args">(format, ntrks, division)</span>
|
448
465
|
</a>
|
449
466
|
</div>
|
@@ -451,17 +468,17 @@ href="MIDIFile.html#M000044">sysex</a>().
|
|
451
468
|
<div class="method-description">
|
452
469
|
<p>
|
453
470
|
<a href="../../MIDI.html">MIDI</a> <a
|
454
|
-
href="MIDIFile.html#
|
471
|
+
href="MIDIFile.html#M000036">header</a>.
|
455
472
|
</p>
|
456
473
|
</div>
|
457
474
|
</div>
|
458
475
|
|
459
|
-
<div id="method-
|
460
|
-
<a name="
|
476
|
+
<div id="method-M000055" class="method-detail">
|
477
|
+
<a name="M000055"></a>
|
461
478
|
|
462
479
|
<div class="method-heading">
|
463
|
-
<a href="MIDIFile.src/
|
464
|
-
onclick="popupCode('MIDIFile.src/
|
480
|
+
<a href="MIDIFile.src/M000055.html" target="Code" class="method-signature"
|
481
|
+
onclick="popupCode('MIDIFile.src/M000055.html');return false;">
|
465
482
|
<span class="method-name">key_signature</span><span class="method-args">(sharpflat, is_minor)</span>
|
466
483
|
</a>
|
467
484
|
</div>
|
@@ -470,12 +487,12 @@ href="MIDIFile.html#M000034">header</a>.
|
|
470
487
|
</div>
|
471
488
|
</div>
|
472
489
|
|
473
|
-
<div id="method-
|
474
|
-
<a name="
|
490
|
+
<div id="method-M000061" class="method-detail">
|
491
|
+
<a name="M000061"></a>
|
475
492
|
|
476
493
|
<div class="method-heading">
|
477
|
-
<a href="MIDIFile.src/
|
478
|
-
onclick="popupCode('MIDIFile.src/
|
494
|
+
<a href="MIDIFile.src/M000061.html" target="Code" class="method-signature"
|
495
|
+
onclick="popupCode('MIDIFile.src/M000061.html');return false;">
|
479
496
|
<span class="method-name">meta_event</span><span class="method-args">(type)</span>
|
480
497
|
</a>
|
481
498
|
</div>
|
@@ -487,12 +504,12 @@ Handle a meta event.
|
|
487
504
|
</div>
|
488
505
|
</div>
|
489
506
|
|
490
|
-
<div id="method-
|
491
|
-
<a name="
|
507
|
+
<div id="method-M000047" class="method-detail">
|
508
|
+
<a name="M000047"></a>
|
492
509
|
|
493
510
|
<div class="method-heading">
|
494
|
-
<a href="MIDIFile.src/
|
495
|
-
onclick="popupCode('MIDIFile.src/
|
511
|
+
<a href="MIDIFile.src/M000047.html" target="Code" class="method-signature"
|
512
|
+
onclick="popupCode('MIDIFile.src/M000047.html');return false;">
|
496
513
|
<span class="method-name">meta_misc</span><span class="method-args">(type, msg)</span>
|
497
514
|
</a>
|
498
515
|
</div>
|
@@ -501,12 +518,12 @@ Handle a meta event.
|
|
501
518
|
</div>
|
502
519
|
</div>
|
503
520
|
|
504
|
-
<div id="method-
|
505
|
-
<a name="
|
521
|
+
<div id="method-M000074" class="method-detail">
|
522
|
+
<a name="M000074"></a>
|
506
523
|
|
507
524
|
<div class="method-heading">
|
508
|
-
<a href="MIDIFile.src/
|
509
|
-
onclick="popupCode('MIDIFile.src/
|
525
|
+
<a href="MIDIFile.src/M000074.html" target="Code" class="method-signature"
|
526
|
+
onclick="popupCode('MIDIFile.src/M000074.html');return false;">
|
510
527
|
<span class="method-name">msg</span><span class="method-args">()</span>
|
511
528
|
</a>
|
512
529
|
</div>
|
@@ -518,12 +535,12 @@ Return a copy of the internal message buffer.
|
|
518
535
|
</div>
|
519
536
|
</div>
|
520
537
|
|
521
|
-
<div id="method-
|
522
|
-
<a name="
|
538
|
+
<div id="method-M000071" class="method-detail">
|
539
|
+
<a name="M000071"></a>
|
523
540
|
|
524
541
|
<div class="method-heading">
|
525
|
-
<a href="MIDIFile.src/
|
526
|
-
onclick="popupCode('MIDIFile.src/
|
542
|
+
<a href="MIDIFile.src/M000071.html" target="Code" class="method-signature"
|
543
|
+
onclick="popupCode('MIDIFile.src/M000071.html');return false;">
|
527
544
|
<span class="method-name">msg_add</span><span class="method-args">(c)</span>
|
528
545
|
</a>
|
529
546
|
</div>
|
@@ -535,12 +552,12 @@ Add a byte to the current message buffer.
|
|
535
552
|
</div>
|
536
553
|
</div>
|
537
554
|
|
538
|
-
<div id="method-
|
539
|
-
<a name="
|
555
|
+
<div id="method-M000073" class="method-detail">
|
556
|
+
<a name="M000073"></a>
|
540
557
|
|
541
558
|
<div class="method-heading">
|
542
|
-
<a href="MIDIFile.src/
|
543
|
-
onclick="popupCode('MIDIFile.src/
|
559
|
+
<a href="MIDIFile.src/M000073.html" target="Code" class="method-signature"
|
560
|
+
onclick="popupCode('MIDIFile.src/M000073.html');return false;">
|
544
561
|
<span class="method-name">msg_init</span><span class="method-args">()</span>
|
545
562
|
</a>
|
546
563
|
</div>
|
@@ -552,12 +569,12 @@ Initialize the internal message buffer.
|
|
552
569
|
</div>
|
553
570
|
</div>
|
554
571
|
|
555
|
-
<div id="method-
|
556
|
-
<a name="
|
572
|
+
<div id="method-M000072" class="method-detail">
|
573
|
+
<a name="M000072"></a>
|
557
574
|
|
558
575
|
<div class="method-heading">
|
559
|
-
<a href="MIDIFile.src/
|
560
|
-
onclick="popupCode('MIDIFile.src/
|
576
|
+
<a href="MIDIFile.src/M000072.html" target="Code" class="method-signature"
|
577
|
+
onclick="popupCode('MIDIFile.src/M000072.html');return false;">
|
561
578
|
<span class="method-name">msg_read</span><span class="method-args">(n_bytes)</span>
|
562
579
|
</a>
|
563
580
|
</div>
|
@@ -570,12 +587,12 @@ Read and add a number of bytes to the message buffer. Return the last byte
|
|
570
587
|
</div>
|
571
588
|
</div>
|
572
589
|
|
573
|
-
<div id="method-
|
574
|
-
<a name="
|
590
|
+
<div id="method-M000040" class="method-detail">
|
591
|
+
<a name="M000040"></a>
|
575
592
|
|
576
593
|
<div class="method-heading">
|
577
|
-
<a href="MIDIFile.src/
|
578
|
-
onclick="popupCode('MIDIFile.src/
|
594
|
+
<a href="MIDIFile.src/M000040.html" target="Code" class="method-signature"
|
595
|
+
onclick="popupCode('MIDIFile.src/M000040.html');return false;">
|
579
596
|
<span class="method-name">note_off</span><span class="method-args">(chan, note, vel)</span>
|
580
597
|
</a>
|
581
598
|
</div>
|
@@ -584,12 +601,12 @@ Read and add a number of bytes to the message buffer. Return the last byte
|
|
584
601
|
</div>
|
585
602
|
</div>
|
586
603
|
|
587
|
-
<div id="method-
|
588
|
-
<a name="
|
604
|
+
<div id="method-M000039" class="method-detail">
|
605
|
+
<a name="M000039"></a>
|
589
606
|
|
590
607
|
<div class="method-heading">
|
591
|
-
<a href="MIDIFile.src/
|
592
|
-
onclick="popupCode('MIDIFile.src/
|
608
|
+
<a href="MIDIFile.src/M000039.html" target="Code" class="method-signature"
|
609
|
+
onclick="popupCode('MIDIFile.src/M000039.html');return false;">
|
593
610
|
<span class="method-name">note_on</span><span class="method-args">(chan, note, vel)</span>
|
594
611
|
</a>
|
595
612
|
</div>
|
@@ -598,12 +615,12 @@ Read and add a number of bytes to the message buffer. Return the last byte
|
|
598
615
|
</div>
|
599
616
|
</div>
|
600
617
|
|
601
|
-
<div id="method-
|
602
|
-
<a name="
|
618
|
+
<div id="method-M000043" class="method-detail">
|
619
|
+
<a name="M000043"></a>
|
603
620
|
|
604
621
|
<div class="method-heading">
|
605
|
-
<a href="MIDIFile.src/
|
606
|
-
onclick="popupCode('MIDIFile.src/
|
622
|
+
<a href="MIDIFile.src/M000043.html" target="Code" class="method-signature"
|
623
|
+
onclick="popupCode('MIDIFile.src/M000043.html');return false;">
|
607
624
|
<span class="method-name">pitch_bend</span><span class="method-args">(chan, msb, lsb)</span>
|
608
625
|
</a>
|
609
626
|
</div>
|
@@ -612,12 +629,12 @@ Read and add a number of bytes to the message buffer. Return the last byte
|
|
612
629
|
</div>
|
613
630
|
</div>
|
614
631
|
|
615
|
-
<div id="method-
|
616
|
-
<a name="
|
632
|
+
<div id="method-M000041" class="method-detail">
|
633
|
+
<a name="M000041"></a>
|
617
634
|
|
618
635
|
<div class="method-heading">
|
619
|
-
<a href="MIDIFile.src/
|
620
|
-
onclick="popupCode('MIDIFile.src/
|
636
|
+
<a href="MIDIFile.src/M000041.html" target="Code" class="method-signature"
|
637
|
+
onclick="popupCode('MIDIFile.src/M000041.html');return false;">
|
621
638
|
<span class="method-name">pressure</span><span class="method-args">(chan, note, press)</span>
|
622
639
|
</a>
|
623
640
|
</div>
|
@@ -626,12 +643,12 @@ Read and add a number of bytes to the message buffer. Return the last byte
|
|
626
643
|
</div>
|
627
644
|
</div>
|
628
645
|
|
629
|
-
<div id="method-
|
630
|
-
<a name="
|
646
|
+
<div id="method-M000044" class="method-detail">
|
647
|
+
<a name="M000044"></a>
|
631
648
|
|
632
649
|
<div class="method-heading">
|
633
|
-
<a href="MIDIFile.src/
|
634
|
-
onclick="popupCode('MIDIFile.src/
|
650
|
+
<a href="MIDIFile.src/M000044.html" target="Code" class="method-signature"
|
651
|
+
onclick="popupCode('MIDIFile.src/M000044.html');return false;">
|
635
652
|
<span class="method-name">program</span><span class="method-args">(chan, program)</span>
|
636
653
|
</a>
|
637
654
|
</div>
|
@@ -640,12 +657,12 @@ Read and add a number of bytes to the message buffer. Return the last byte
|
|
640
657
|
</div>
|
641
658
|
</div>
|
642
659
|
|
643
|
-
<div id="method-
|
644
|
-
<a name="
|
660
|
+
<div id="method-M000065" class="method-detail">
|
661
|
+
<a name="M000065"></a>
|
645
662
|
|
646
663
|
<div class="method-heading">
|
647
|
-
<a href="MIDIFile.src/
|
648
|
-
onclick="popupCode('MIDIFile.src/
|
664
|
+
<a href="MIDIFile.src/M000065.html" target="Code" class="method-signature"
|
665
|
+
onclick="popupCode('MIDIFile.src/M000065.html');return false;">
|
649
666
|
<span class="method-name">read16</span><span class="method-args">()</span>
|
650
667
|
</a>
|
651
668
|
</div>
|
@@ -657,12 +674,12 @@ Read and return a sixteen bit value.
|
|
657
674
|
</div>
|
658
675
|
</div>
|
659
676
|
|
660
|
-
<div id="method-
|
661
|
-
<a name="
|
677
|
+
<div id="method-M000066" class="method-detail">
|
678
|
+
<a name="M000066"></a>
|
662
679
|
|
663
680
|
<div class="method-heading">
|
664
|
-
<a href="MIDIFile.src/
|
665
|
-
onclick="popupCode('MIDIFile.src/
|
681
|
+
<a href="MIDIFile.src/M000066.html" target="Code" class="method-signature"
|
682
|
+
onclick="popupCode('MIDIFile.src/M000066.html');return false;">
|
666
683
|
<span class="method-name">read32</span><span class="method-args">()</span>
|
667
684
|
</a>
|
668
685
|
</div>
|
@@ -674,12 +691,12 @@ Read and return a 32-bit value.
|
|
674
691
|
</div>
|
675
692
|
</div>
|
676
693
|
|
677
|
-
<div id="method-
|
678
|
-
<a name="
|
694
|
+
<div id="method-M000032" class="method-detail">
|
695
|
+
<a name="M000032"></a>
|
679
696
|
|
680
697
|
<div class="method-heading">
|
681
|
-
<a href="MIDIFile.src/
|
682
|
-
onclick="popupCode('MIDIFile.src/
|
698
|
+
<a href="MIDIFile.src/M000032.html" target="Code" class="method-signature"
|
699
|
+
onclick="popupCode('MIDIFile.src/M000032.html');return false;">
|
683
700
|
<span class="method-name">read_from</span><span class="method-args">(io)</span>
|
684
701
|
</a>
|
685
702
|
</div>
|
@@ -692,50 +709,50 @@ the file causes a method to be called.
|
|
692
709
|
</div>
|
693
710
|
</div>
|
694
711
|
|
695
|
-
<div id="method-
|
696
|
-
<a name="
|
712
|
+
<div id="method-M000058" class="method-detail">
|
713
|
+
<a name="M000058"></a>
|
697
714
|
|
698
715
|
<div class="method-heading">
|
699
|
-
<a href="MIDIFile.src/
|
700
|
-
onclick="popupCode('MIDIFile.src/
|
716
|
+
<a href="MIDIFile.src/M000058.html" target="Code" class="method-signature"
|
717
|
+
onclick="popupCode('MIDIFile.src/M000058.html');return false;">
|
701
718
|
<span class="method-name">read_header</span><span class="method-args">()</span>
|
702
719
|
</a>
|
703
720
|
</div>
|
704
721
|
|
705
722
|
<div class="method-description">
|
706
723
|
<p>
|
707
|
-
Read a <a href="MIDIFile.html#
|
724
|
+
Read a <a href="MIDIFile.html#M000036">header</a> chunk.
|
708
725
|
</p>
|
709
726
|
</div>
|
710
727
|
</div>
|
711
728
|
|
712
|
-
<div id="method-
|
713
|
-
<a name="
|
729
|
+
<div id="method-M000057" class="method-detail">
|
730
|
+
<a name="M000057"></a>
|
714
731
|
|
715
732
|
<div class="method-heading">
|
716
|
-
<a href="MIDIFile.src/
|
717
|
-
onclick="popupCode('MIDIFile.src/
|
718
|
-
<span class="method-name">read_mt_header_string</span><span class="method-args">(
|
733
|
+
<a href="MIDIFile.src/M000057.html" target="Code" class="method-signature"
|
734
|
+
onclick="popupCode('MIDIFile.src/M000057.html');return false;">
|
735
|
+
<span class="method-name">read_mt_header_string</span><span class="method-args">(bytes, skip)</span>
|
719
736
|
</a>
|
720
737
|
</div>
|
721
738
|
|
722
739
|
<div class="method-description">
|
723
740
|
<p>
|
724
741
|
Read through ‘MThd’ or ‘MTrk’ <a
|
725
|
-
href="MIDIFile.html#
|
742
|
+
href="MIDIFile.html#M000036">header</a> string. If skip is true, attempt to
|
726
743
|
skip initial trash. If there is an <a
|
727
|
-
href="MIDIFile.html#
|
728
|
-
href="MIDIFile.html#
|
744
|
+
href="MIDIFile.html#M000035">error</a>, <a
|
745
|
+
href="MIDIFile.html#M000035">error</a> is called.
|
729
746
|
</p>
|
730
747
|
</div>
|
731
748
|
</div>
|
732
749
|
|
733
|
-
<div id="method-
|
734
|
-
<a name="
|
750
|
+
<div id="method-M000059" class="method-detail">
|
751
|
+
<a name="M000059"></a>
|
735
752
|
|
736
753
|
<div class="method-heading">
|
737
|
-
<a href="MIDIFile.src/
|
738
|
-
onclick="popupCode('MIDIFile.src/
|
754
|
+
<a href="MIDIFile.src/M000059.html" target="Code" class="method-signature"
|
755
|
+
onclick="popupCode('MIDIFile.src/M000059.html');return false;">
|
739
756
|
<span class="method-name">read_track</span><span class="method-args">()</span>
|
740
757
|
</a>
|
741
758
|
</div>
|
@@ -747,12 +764,12 @@ Read a track chunk.
|
|
747
764
|
</div>
|
748
765
|
</div>
|
749
766
|
|
750
|
-
<div id="method-
|
751
|
-
<a name="
|
767
|
+
<div id="method-M000067" class="method-detail">
|
768
|
+
<a name="M000067"></a>
|
752
769
|
|
753
770
|
<div class="method-heading">
|
754
|
-
<a href="MIDIFile.src/
|
755
|
-
onclick="popupCode('MIDIFile.src/
|
771
|
+
<a href="MIDIFile.src/M000067.html" target="Code" class="method-signature"
|
772
|
+
onclick="popupCode('MIDIFile.src/M000067.html');return false;">
|
756
773
|
<span class="method-name">read_var_len</span><span class="method-args">()</span>
|
757
774
|
</a>
|
758
775
|
</div>
|
@@ -764,12 +781,12 @@ Read a varlen value.
|
|
764
781
|
</div>
|
765
782
|
</div>
|
766
783
|
|
767
|
-
<div id="method-
|
768
|
-
<a name="
|
784
|
+
<div id="method-M000049" class="method-detail">
|
785
|
+
<a name="M000049"></a>
|
769
786
|
|
770
787
|
<div class="method-heading">
|
771
|
-
<a href="MIDIFile.src/
|
772
|
-
onclick="popupCode('MIDIFile.src/
|
788
|
+
<a href="MIDIFile.src/M000049.html" target="Code" class="method-signature"
|
789
|
+
onclick="popupCode('MIDIFile.src/M000049.html');return false;">
|
773
790
|
<span class="method-name">sequence_number</span><span class="method-args">(num)</span>
|
774
791
|
</a>
|
775
792
|
</div>
|
@@ -778,12 +795,12 @@ Read a varlen value.
|
|
778
795
|
</div>
|
779
796
|
</div>
|
780
797
|
|
781
|
-
<div id="method-
|
782
|
-
<a name="
|
798
|
+
<div id="method-M000048" class="method-detail">
|
799
|
+
<a name="M000048"></a>
|
783
800
|
|
784
801
|
<div class="method-heading">
|
785
|
-
<a href="MIDIFile.src/
|
786
|
-
onclick="popupCode('MIDIFile.src/
|
802
|
+
<a href="MIDIFile.src/M000048.html" target="Code" class="method-signature"
|
803
|
+
onclick="popupCode('MIDIFile.src/M000048.html');return false;">
|
787
804
|
<span class="method-name">sequencer_specific</span><span class="method-args">(type, msg)</span>
|
788
805
|
</a>
|
789
806
|
</div>
|
@@ -792,12 +809,12 @@ Read a varlen value.
|
|
792
809
|
</div>
|
793
810
|
</div>
|
794
811
|
|
795
|
-
<div id="method-
|
796
|
-
<a name="
|
812
|
+
<div id="method-M000053" class="method-detail">
|
813
|
+
<a name="M000053"></a>
|
797
814
|
|
798
815
|
<div class="method-heading">
|
799
|
-
<a href="MIDIFile.src/
|
800
|
-
onclick="popupCode('MIDIFile.src/
|
816
|
+
<a href="MIDIFile.src/M000053.html" target="Code" class="method-signature"
|
817
|
+
onclick="popupCode('MIDIFile.src/M000053.html');return false;">
|
801
818
|
<span class="method-name">smpte</span><span class="method-args">(hour, min, sec, frame, fract)</span>
|
802
819
|
</a>
|
803
820
|
</div>
|
@@ -806,12 +823,12 @@ Read a varlen value.
|
|
806
823
|
</div>
|
807
824
|
</div>
|
808
825
|
|
809
|
-
<div id="method-
|
810
|
-
<a name="
|
826
|
+
<div id="method-M000037" class="method-detail">
|
827
|
+
<a name="M000037"></a>
|
811
828
|
|
812
829
|
<div class="method-heading">
|
813
|
-
<a href="MIDIFile.src/
|
814
|
-
onclick="popupCode('MIDIFile.src/
|
830
|
+
<a href="MIDIFile.src/M000037.html" target="Code" class="method-signature"
|
831
|
+
onclick="popupCode('MIDIFile.src/M000037.html');return false;">
|
815
832
|
<span class="method-name">start_track</span><span class="method-args">(bytes_to_be_read)</span>
|
816
833
|
</a>
|
817
834
|
</div>
|
@@ -820,12 +837,12 @@ Read a varlen value.
|
|
820
837
|
</div>
|
821
838
|
</div>
|
822
839
|
|
823
|
-
<div id="method-
|
824
|
-
<a name="
|
840
|
+
<div id="method-M000046" class="method-detail">
|
841
|
+
<a name="M000046"></a>
|
825
842
|
|
826
843
|
<div class="method-heading">
|
827
|
-
<a href="MIDIFile.src/
|
828
|
-
onclick="popupCode('MIDIFile.src/
|
844
|
+
<a href="MIDIFile.src/M000046.html" target="Code" class="method-signature"
|
845
|
+
onclick="popupCode('MIDIFile.src/M000046.html');return false;">
|
829
846
|
<span class="method-name">sysex</span><span class="method-args">(msg)</span>
|
830
847
|
</a>
|
831
848
|
</div>
|
@@ -834,12 +851,12 @@ Read a varlen value.
|
|
834
851
|
</div>
|
835
852
|
</div>
|
836
853
|
|
837
|
-
<div id="method-
|
838
|
-
<a name="
|
854
|
+
<div id="method-M000054" class="method-detail">
|
855
|
+
<a name="M000054"></a>
|
839
856
|
|
840
857
|
<div class="method-heading">
|
841
|
-
<a href="MIDIFile.src/
|
842
|
-
onclick="popupCode('MIDIFile.src/
|
858
|
+
<a href="MIDIFile.src/M000054.html" target="Code" class="method-signature"
|
859
|
+
onclick="popupCode('MIDIFile.src/M000054.html');return false;">
|
843
860
|
<span class="method-name">tempo</span><span class="method-args">(microsecs)</span>
|
844
861
|
</a>
|
845
862
|
</div>
|
@@ -848,12 +865,12 @@ Read a varlen value.
|
|
848
865
|
</div>
|
849
866
|
</div>
|
850
867
|
|
851
|
-
<div id="method-
|
852
|
-
<a name="
|
868
|
+
<div id="method-M000050" class="method-detail">
|
869
|
+
<a name="M000050"></a>
|
853
870
|
|
854
871
|
<div class="method-heading">
|
855
|
-
<a href="MIDIFile.src/
|
856
|
-
onclick="popupCode('MIDIFile.src/
|
872
|
+
<a href="MIDIFile.src/M000050.html" target="Code" class="method-signature"
|
873
|
+
onclick="popupCode('MIDIFile.src/M000050.html');return false;">
|
857
874
|
<span class="method-name">text</span><span class="method-args">(type, msg)</span>
|
858
875
|
</a>
|
859
876
|
</div>
|
@@ -862,12 +879,12 @@ Read a varlen value.
|
|
862
879
|
</div>
|
863
880
|
</div>
|
864
881
|
|
865
|
-
<div id="method-
|
866
|
-
<a name="
|
882
|
+
<div id="method-M000052" class="method-detail">
|
883
|
+
<a name="M000052"></a>
|
867
884
|
|
868
885
|
<div class="method-heading">
|
869
|
-
<a href="MIDIFile.src/
|
870
|
-
onclick="popupCode('MIDIFile.src/
|
886
|
+
<a href="MIDIFile.src/M000052.html" target="Code" class="method-signature"
|
887
|
+
onclick="popupCode('MIDIFile.src/M000052.html');return false;">
|
871
888
|
<span class="method-name">time_signature</span><span class="method-args">(numer, denom, clocks, qnotes)</span>
|
872
889
|
</a>
|
873
890
|
</div>
|
@@ -876,12 +893,12 @@ Read a varlen value.
|
|
876
893
|
</div>
|
877
894
|
</div>
|
878
895
|
|
879
|
-
<div id="method-
|
880
|
-
<a name="
|
896
|
+
<div id="method-M000068" class="method-detail">
|
897
|
+
<a name="M000068"></a>
|
881
898
|
|
882
899
|
<div class="method-heading">
|
883
|
-
<a href="MIDIFile.src/
|
884
|
-
onclick="popupCode('MIDIFile.src/
|
900
|
+
<a href="MIDIFile.src/M000068.html" target="Code" class="method-signature"
|
901
|
+
onclick="popupCode('MIDIFile.src/M000068.html');return false;">
|
885
902
|
<span class="method-name">write16</span><span class="method-args">(val)</span>
|
886
903
|
</a>
|
887
904
|
</div>
|
@@ -893,12 +910,12 @@ Write a sixteen-bit value.
|
|
893
910
|
</div>
|
894
911
|
</div>
|
895
912
|
|
896
|
-
<div id="method-
|
897
|
-
<a name="
|
913
|
+
<div id="method-M000069" class="method-detail">
|
914
|
+
<a name="M000069"></a>
|
898
915
|
|
899
916
|
<div class="method-heading">
|
900
|
-
<a href="MIDIFile.src/
|
901
|
-
onclick="popupCode('MIDIFile.src/
|
917
|
+
<a href="MIDIFile.src/M000069.html" target="Code" class="method-signature"
|
918
|
+
onclick="popupCode('MIDIFile.src/M000069.html');return false;">
|
902
919
|
<span class="method-name">write32</span><span class="method-args">(val)</span>
|
903
920
|
</a>
|
904
921
|
</div>
|
@@ -910,12 +927,12 @@ Write a 32-bit value.
|
|
910
927
|
</div>
|
911
928
|
</div>
|
912
929
|
|
913
|
-
<div id="method-
|
914
|
-
<a name="
|
930
|
+
<div id="method-M000070" class="method-detail">
|
931
|
+
<a name="M000070"></a>
|
915
932
|
|
916
933
|
<div class="method-heading">
|
917
|
-
<a href="MIDIFile.src/
|
918
|
-
onclick="popupCode('MIDIFile.src/
|
934
|
+
<a href="MIDIFile.src/M000070.html" target="Code" class="method-signature"
|
935
|
+
onclick="popupCode('MIDIFile.src/M000070.html');return false;">
|
919
936
|
<span class="method-name">write_var_len</span><span class="method-args">(val)</span>
|
920
937
|
</a>
|
921
938
|
</div>
|