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/haskell-art@lurk.org/msg00101.html

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

From: Stephen Tetley <stephen.tetley@gmail.com>
Subject: Re: [Haskell-cafe] Low Level Audio - Writing bytes to the sound card?
To: haskell-cafe@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@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@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe