> if you get it to work

As a spoiled Java programmer, this new role as pioneer is a bit intimidating, 
but I will give it a shot. :) 

I downloaded the portaudio v19 source and I'm attempting to build it. 
Apparently I have to register my Visual Studio Express with Microsoft. Deeper 
down the rabbit hole... (Interesting aside, on the registration form under 
"What programming language topics are you interested in?" neither F# or Haskell 
are listed)

I wish there was a multimedia standard library for beginners like me. Writing 
audio to the speakers shouldn't be such a journey.


You'll have to install the portaudio C libraries and header files before 
continuing. I never actually tested the package on XP, if you get it to work, 
I'd love to hear your experience.
/jve


On Fri, Dec 4, 2009 at 2:20 PM, M Xyz <[email protected]> wrote:



Hi,

portaudio is my embarrassing fault, but it does work most of the time. 
(Community, some one remind me to revisit this package after Christmas.)
Are you running in Windows? Linux? If Linux, which flavor?


/jve


I'm using Haskell on XP but I dual boot with Ubuntu 9 and I'd prefer not to 
break compatibility. I'm new to this, was I supposed to install portaudio for 
my OS before downloading the Haskell package? Are there other similar simple 
sound apis?




On Fri, Dec 4, 2009 at 1:51 PM, M Xyz <[email protected]> wrote:




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:

>cabal install portaudio
Resolving dependencies...
Downloading portaudio-0.0.1...
Configuring portaudio-0.0.1...


cabal: Missing dependency on a foreign library:
* Missing C library: portaudio
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is


already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and
 --extra-lib-dirs= to specify where it is.
cabal: Error: some packages failed to install:
portaudio-0.0.1 failed during the configure step. The exception was:
exit: ExitFailure 1







      
_______________________________________________

Haskell-Cafe mailing list

[email protected]

http://www.haskell.org/mailman/listinfo/haskell-cafe







      




      
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to