Greetings again, MIDI.lua version 4.3 http://www.pjb.com.au/comp/lua/MIDI.lua fixes a bug in the segment() function. When this trims a bit off the start of the midi, it keeps track of the latest patch-change events that it trims in each channel (0->15), and sticks them back onto the beginning of the selected segment so that this still plays with the intended instruments. When 4.2 retrieved the patch-change events by channel it used ipairs :-( the test-script didn't pick it up because it happened to use channel 1. A very luaish bug...
The rockspec is at: http://www.pjb.com.au/comp/lua/midi-4.3-0.rockspec and also below the .sig Doc: http://www.pjb.com.au/comp/lua/MIDI.html Tarball: http://www.pjb.com.au/comp/lua/MIDI-4.3.tar.gz I'd suggest that 4.1 should now, if possible, get deleted from luarocks.org/repositories because I reckon Current and Previous is enough versions... There will still be at least a 4.4, because I'd like to give it more helpful error messages. Thanks, Regards, Peter Billam http://www.pjb.com.au [email protected] (03) 6278 9410 "Was der Meister nicht kann, vermöcht es der Knabe, hätt er ihm immer gehorcht?" Siegfried to Mime, from Act 1 Scene 2 ---------------------------------------------------------------- package = "MIDI" version = "4.3-0" source = { url = "http://www.pjb.com.au/comp/lua/MIDI-4.3.tar.gz", md5 = "c732dea8a520fdfd814b8b831436ff5f" } description = { summary = "Reading, writing and manipulating MIDI data", detailed = [[ This module offers functions for handling MIDI files, with operations such as concatenating, merging and searching through scores; and converting to and from MIDI, and the Score and Opus structures inspired by Sean Burke's MIDI-Perl CPAN module. ]], homepage = "http://www.pjb.com.au/comp/lua/MIDI.html", license = "MIT/X11" } dependencies = { "lua >= 5.1" } build = { type = "builtin", modules = { ["MIDI"] = "MIDI.lua" }, copy_directories = { "doc", "test" } } _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
