[Haskell-cafe] Low Level Audio - Writing bytes to the sound card?

M Xyz functionallyharmonious at yahoo.com
Sat Dec 5 18:10:05 EST 2009


Stephen, 
I had no problem compiling the portaudio binaries on Windows. It came with a msvc project that worked. The problem I'm getting currently is that when I "cabal install portaudio etc etc" I get a "c2hs.exe does not exist error" when c2hs.exe clearly exists and is in my system path. Just like this post from months ago: http://www.mail-archive.com/[email protected]/msg00101.html

--- On Sat, 12/5/09, Stephen Tetley <stephen.tetley at gmail.com> wrote:

From: Stephen Tetley <stephen.tetley at gmail.com>
Subject: Re: [Haskell-cafe] Low Level Audio - Writing bytes to the sound card?
To: haskell-cafe at haskell.org
Date: Saturday, December 5, 2009, 5:00 PM

Compiling the C PortAudio library for either Cygwin or MinGW will be
challenging at the moment.

The current release doesn't compile as is, and although there should
be patch for the configure script as an attachment to this message it
seems to have gone amiss:

http://music.columbia.edu/pipermail/portaudio/2009-May/009116.html

I'd look for a different library to talk to the sound card...

Best wishes

Stephen


2009/12/4 M Xyz <functionallyharmonious at yahoo.com>
>
> What is the most minimal (preferably platform independent) library available for writing bytes to the sound card? I see 60 wonderful libraries on Hackage, but I really just need the Haskell equivalent of an audio.write(byte[]) method. What sound api are these 60 libraries using?
>
> I think the portaudio library is the only contender but when I try to install it I get:
>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe at haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091205/0da947e4/attachment.html


More information about the Haskell-Cafe mailing list