On Fri, Apr 24, 2009 at 11:13 AM, Henning Thielemann < lemm...@henning-thielemann.de> wrote:
If playback with > DirectSound works, that's fine. But it's not portable, right? Thus, > getting something out of PortAudio would be better. Yes, that's right. The plan is to put the DirectSound library together with my CoreAudio code, and maybe in the future some kind of Linux audio system (though to be honest, at the moment I cannot imagine myself writing ALSA code, which seems to be the most widespread low-level Linux audio system, unless I have really good reasons to do it); so it will become in effect a cross-platform audio library written in Haskell. I started writing these because I was not satisfied with the existing solutions (I didn't try PortAudio though). For example I have OpenAL playback code too, and that's cross-platform, but unfortunately it seems that OpenAL is not really well-suited for this task (there is no callback/signaling mechanism, you have to poll continuously, and I don't know why but it is really unstable unless you have like a half second buffer, which is completely unacceptable for a realtime synth). Also, the more working solutions we have, the better it is, or not? Then one can choose the best for the given task. Balazs
_______________________________________________ haskell-art mailing list haskell-art@lurk.org http://lists.lurk.org/mailman/listinfo/haskell-art