[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: sound in lua
- From: Adrian Sietsma <adrian_groups@...>
- Date: Sat, 08 Jan 2005 22:09:17 +1000
ccos wrote:
for a nice portable soundfile library, you might also have a peak at
libsndfile:
http://www.mega-nerd.com/libsndfile/
and by the same guy, secret rabbit code (libsamplerate):
http://www.mega-nerd.com/SRC/
and for portable audio i/o have a look at portaudio:
http://www.portaudio.com/
thanks. i've downloaded portaudio and libsndfile (required by portaudio)
to look at.
although cross-platform support is required (eventually), the question
is this - is it better to
a) make a lua binding to an existing (x-platform) library, or
b) define a lua interface, and make a dedicated (simple) lua binding for
each os as required.
option a) has a potential problem with library dependancies - luasound
ver.x needs portaudio ver.y needs libsndfile ver.z ... but the code is
out there and available.
option b) would give me what i want now, but
who does the other platforms ?
what goes in the interface ?
Adrian
(why is it that "interesting" ideas come when you're already busy ?)