Permalink
Browse files

importing midilib

git-svn-id: http://jimm.textdriven.com/svn/midilib/trunk@1 f363b343-a9fb-0310-99ac-80d2e3e12c54
  • Loading branch information...
0 parents commit 09d8e7aa48bf230c7fb9c38ce8691865242b374b jimmsvn committed Jul 12, 2005
@@ -0,0 +1,89 @@
+2005-03-21 Jim Menard <jimm@io.com>
+
+ * Version 0.8.4 released.
+
+ * lib/midilib/event.rb (Realtime::initialize): set @is_realtime
+ to true, not false.
+ (SystemCommon::initialize): moved @is_system = true to here
+ (SystemExclusive::initialize): ...from here.
+
+2005-03-20 Jim Menard <jimm@io.com>
+
+ * lib/midilib/sequence.rb (Sequence::note_to_delta): created.
+ (Sequence::note_to_length): created.
+ (Sequence::length_to_delta): created.
+
+ * examples/from_scratch.rb: created.
+
+2004-07-16 Jim Menard <jimm@io.com>
+
+ * Version 0.8.3 released.
+
+2004-07-10 Jim Menard <jimm@io.com>
+
+ * lib/midilib/event.rb (NoteEvent::note_to_s): created.
+ (Event::number_to_s): created.
+ (Event): added @print_note_names and @print_decimal_numbers
+ attributes.
+ (to_s all classes): use @print_note_names and @print_decimal_numbers
+
+2004-06-30 Jim Menard <jimm@io.com>
+
+ * Version 0.8.2 released.
+
+ * lib/midilib/event.rb (MetaEvent): changed @type to @meta_type to
+ avoid warnings like "Object#type is deprecated; use Object#class".
+
+ * lib/midilib/track.rb (Track::name): use Event.meta_type (renamed
+ from Event.type).
+ (Track::name=): use Event.meta_type (renamed from Event.type).
+
+ * test/event_equality.rb (MIDI::MetaEvent): use meta_type instead
+ of type.
+
+ * examples/transpose.rb: fixed $LOAD_PATH. Added 'b' to file open
+ modes for Windows.
+
+ * examples/strings.rb: fixed $LOAD_PATH. Fixed arguments passed to
+ read block. Fixed code that looks for meta events. Added 'b' to
+ file open modes for Windows.
+
+ * examples/seq2text.rb: fixed $LOAD_PATH. Fixed arguments passed
+ to read block. Added 'b' to file open modes for Windows.
+
+ * examples/reader2text.rb: fixed $LOAD_PATH. Fixed TextTranslator
+ superclass. Fixed arguments passed to read block. Added 'b' to
+ file open modes for Windows.
+
+ * lib/midilib/io/seqwriter.rb (SeqWriter::initialize): added block
+ rdoc comment.
+ (SeqWriter::write_to): added track to @update_block args.
+
+ * lib/midilib/io/seqreader.rb (SeqReader::initialize): added block
+ rdoc comment.
+
+2004-06-27 Jim Menard <jimm@io.com>
+
+ * Version 0.8.1 released.
+
+ * test/test_event.rb: created.
+
+ * lib/midilib/track.rb: more documentation.
+ (Track::sort): sorts by events' time_from_start and modifies
+ @events (which wasn't happening before; I forgot to assign the
+ sorted results back to @events).
+ (Track::recalc_delta_from_times): fixed.
+ (Track::quantize): call recalc_delta_from_times.
+
+ * test/test_track.rb (TrackTester::test_sort): created.
+ (TrackTester::test_recalc_delta_from_times): created.
+
+ * lib/midilib/sequence.rb: more documentation.
+
+ * lib/midilib/consts.rb: hid some comments from RDoc.
+
+ * lib/midilib/event.rb: more documentation.
+ (Event::realtime): fix quantize_to so it changes the event's
+ time_from_start instead of delta_time.
+
+ * test/*.rb: removed redundant copyright and license notices.
12 Credits
@@ -0,0 +1,12 @@
+midilib is developed by Jim Menard, jimm@io.com. Additional bug fixes and
+suggestions have come from:
+
+Mike Hall <m3ha11@rcn.com>
+
+ Found errors in example scripts' $LOAD_PATH and a bug in sequence reading
+ block callback arguments. Found a bug in meta events that caused
+ "Object#type is deprecated" error messages.
+
+Emanuel Borsboom <emanuel.borsboom@gmail.com>
+
+ Found and fixed an error in PitchBend data encoding.
Oops, something went wrong.

0 comments on commit 09d8e7a

Please sign in to comment.