Greetings, MIDI.lua version 4.2 http://www.pjb.com.au/comp/lua/MIDI.lua fixes a number of bugs in the merge_scores function. I've been translating my midisox app now into Lua, and it now produces bit-identical output in its Perl, Python and Lua versions (except unimportantly that the Python round() builtin seems to round 0.5 up where my math.floor(x+0.5) rounds it down) so the underlying modules have had a good test-ride.
The rockspec is at: http://www.pjb.com.au/comp/lua/midi-4.2-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.2.tar.gz There will be at least a 4.3, because I want to make the error messages more helpful, especially in the Lua->MIDI conversions. 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.2-0" source = { url = "http://www.pjb.com.au/comp/lua/MIDI-4.2.tar.gz", md5 = "4c117e497113895f33dc57a535613cc2" 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
