Hello folks,

It sounds like there have been a lot of exciting things about Haskell
audio going on lately!

I agree with Balazs that a cross-platform solution would be very nice.
 Here at Yale we've been designing the next-generation of the HasSound
real-time sound synthesis DSL.  Much of the focus has been on the
theory side, but that has been quite fruitful.  We have been able to
derive a new class of Arrows and combine it with fusion techniques,
and preliminary tests show that performance is really, really good.
(By that I mean it is competitive to straight-ahead hand-written
C/C++.)

We plan to have a release this summer, so I've been looking for a
cross-platform audio solution too.  So far I have been using my
home-grown PortAudio FFI wrapper (the PortAudio library on hackage
didn't exist when I first started out!).  I think it's a fine library,
since it works wonderfully on Linux and Mac, but it seems to be a lot
of pain to get it to work on Windows, which I think is a big problem.

So a solution has to be cross-platform (Linux, Mac, and Windows) and
real-time (be it callback based or loop based).  I've briefly looked
at Jack, but its OSX and Windows support does not seem quite polished
yet.

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?

Eric
_______________________________________________
haskell-art mailing list
[email protected]
http://lists.lurk.org/mailman/listinfo/haskell-art

Reply via email to