<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br><div id="yiv480755802">Hi,<div><br></div><div>portaudio is my&nbsp;embarrassing&nbsp;fault, but it does work most of the time. (Community, some one remind me to revisit this package after Christmas.)</div><div><br></div><div>Are you running in Windows? Linux? If Linux, which flavor?</div>
<div><br></div><div>/jve<br><br></div></div></blockquote><br>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?<br><br><div id="yiv480755802"><div><br></div></div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div id="yiv480755802"><div><br><div class="gmail_quote">On Fri, Dec 4, 2009 at 1:51 PM, M Xyz <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:functionallyharmonious@yahoo.com" target="_blank" href="/mc/compose?to=functionallyharmonious@yahoo.com">functionallyharmonious@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top"><br>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?<br>
<br>I think the portaudio library is the only contender but when I try to install it I get:<br><br>&gt;cabal install portaudio<br>Resolving dependencies...<br>Downloading portaudio-0.0.1...<br>Configuring portaudio-0.0.1...<br>
cabal: Missing dependency on a foreign library:<br>* Missing C library: portaudio<br>This problem can usually be solved by installing the system package that<br>provides this library (you may need the "-dev" version). If the library is<br>
already installed but in a non-standard location then you can use the flags<br>--extra-include-dirs= and
 --extra-lib-dirs= to specify where it is.<br>cabal: Error: some packages failed to install:<br>portaudio-0.0.1 failed during the configure step. The exception was:<br>exit: ExitFailure 1<br><br><br></td></tr></tbody></table>
<br>

      <br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a rel="nofollow" ymailto="mailto:Haskell-Cafe@haskell.org" target="_blank" href="/mc/compose?to=Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.haskell.org/mailman/listinfo/haskell-cafe">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>
</div></blockquote></td></tr></table><br>