On Fri, Apr 24, 2009 at 7:00 PM, Eric Cheng <[email protected]> wrote:
> In the case where it's not possible to find a common library, would it > be a good idea for us to come up with a Haskell package with a set of > common API functions and use the best audio library for each platform > under the hood? For example, we can use CoreAudio/PortAudio on Mac, > DirectSound on Windows, and PortAudio on Linux, but we provide an > abstraction layer above the two libraries. Do people think it would > be something worth working on? I fully support this idea, as it is something I worked on anyway :) Here is some old CoreAudio code of mine, capable of playing sound. example: http://code.haskell.org/~bkomuves/projects/examples/CoreAudio_playback_example.hs library: http://code.haskell.org/~bkomuves/projects/macosx-core haddock docs: http://code.haskell.org/~bkomuves/projects/macosx-core/dist/doc/html/macosx-core/index.html Figuring out a nice common API is probably the hardest task, especially as the different systems have different capabilities. Balazs
_______________________________________________ haskell-art mailing list [email protected] http://lists.lurk.org/mailman/listinfo/haskell-art
