On Sat, Feb 5, 2011 at 11:44 PM, <[email protected]> wrote: > Greetings. I wrote: >> I've just discovered Patricio Paez' Python module: >> http://pp.com.mx/python/alsaseq/project.html >> which makes available some of alsa library: >> http://alsa-project.org/alsa-doc/alsa-lib/seq.html >> I'd like to make a call-compatible translation of this into Lua >> (my first experience in calling C from Lua, so there may be >> some learning curve involved :-) > > I used the example in Lua Programming Gems round p.335, > and it seems a good, flexible way to set things up. > I really like how smoothly luarocks compiles these C-modules. > >> Just checking first - is there anyone else working on an alsa module ? > > Fabio wrote: >> I think you should ask this again in the Lua list. :-) > > Probably should have done, but I was on my way already... The > version that is now 1.00 passes all tests, and I'd be delighted > if it could be included in luarocks.org/repositories/rocks ... > > The rockspec is at: > http://www.pjb.com.au/comp/lua/midialsa-1.00-0.rockspec > and also below the ~/.sig > > Doc: http://www.pjb.com.au/comp/lua/midialsa.html > Tarball: http://www.pjb.com.au/comp/lua/midialsa-1.00.tar.gz > > I'm now going to do a translation into Perl xs which should > appear in CPAN in two or three weeks, probably as MIDI::ALSA > I've cleared the MIDI::ALSA name with comp.lang.perl.modules > which is usually the hardest part of creating a new CPAN module :-)
Hi, The rockspec is now uploaded. I added an external_dependencies section to it, so that it checks if ALSA is available when building: http://luarocks.org/repositories/rocks/midialsa-1.00-1.rockspec Cheers, -- Hisham _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
