Re: [Haskell-cafe] library to read/write audio files

2008-01-18 Thread Erik de Castro Lopo
Sorry, I missed this when it first came through, I was travelling in Europe. I'm also mainly a lurker on this list as my functional language of choice is actually Ocaml, but I've been wanting to learn Haskell for some time. John Lato wrote: I originally intended to use Erik de Castro Lopo's

Re: [Haskell-cafe] library to read/write audio files

2008-01-18 Thread Erik de Castro Lopo
Stefan Kersten wrote: incidentally, i've been working on libsndfile bindings the last few days; here's the darcs repository: http://darcs.k-hornz.de/cgi-bin/darcsweb.cgi?r=hsndfile;a=summary it's not quite finished yet, but if you're interested you could have a look at the interface

Re: [Haskell-cafe] library to read/write audio files

2008-01-18 Thread Don Stewart
hc-erikd: I originally intended to use Erik de Castro Lopo's excellent libsndfile Thank you. This library is far from complete. Firstly, only the wave format is implemented (and incompletely). I really do ask you to reconsider this. Even just parsing the WAVE file format is a

Re: [haskell-art] [Haskell-cafe] library to read/write audio files

2007-12-12 Thread Rohan Drape
hello john stefan, Stefan Kersten [EMAIL PROTECTED] writes: incidentally, i've been working on libsndfile bindings the last few days; here's the darcs repository: http://darcs.k-hornz.de/cgi-bin/darcsweb.cgi?r=hsndfile;a=summary excellent news! i have, _much_ more incidentally, a simple

[Haskell-cafe] library to read/write audio files

2007-12-11 Thread John Lato
Hello, I've been working on a library to encode/decode audio files (wave, aiff, etc.) to and from lazy bytestrings, and it's finally in a form where I'm willing to share. It's available at http://mml.music.utexas.edu/jwlato/HSoundFile/, lightly cabalized and haddock-ified. The basic item is a

Re: [Haskell-cafe] library to read/write audio files

2007-12-11 Thread Stefan Kersten
hi john, On 11.12.2007, at 18:14, John Lato wrote: I've been working on a library to encode/decode audio files (wave, aiff, etc.) to and from lazy bytestrings, and it's finally in a form where I'm willing to share. It's available at http://mml.music.utexas.edu/jwlato/HSoundFile/, lightly

Re: [Haskell-cafe] library to read/write audio files

2007-12-11 Thread Jed Brown
On 11 Dec 2007, [EMAIL PROTECTED] wrote: Also, sound data is currently read into a list. I will probably change this at some point in the future, most likely copying the lazy bytestring implementation and using a list of CFloat arrays. Perhaps you are looking for storablevector which is a

Re: [Haskell-cafe] library to read/write audio files

2007-12-11 Thread Henning Thielemann
On Tue, 11 Dec 2007, Jed Brown wrote: Perhaps you are looking for storablevector which is a direct generalization of bytestring from Word8 to any Storable. It is not in hackage yet, but seems stable. There isn't a `lazy' version, but that could be changed.

Re: [Haskell-cafe] library to read/write audio files

2007-12-11 Thread Henning Thielemann
On Tue, 11 Dec 2007, John Lato wrote: I've been working on a library to encode/decode audio files (wave, aiff, etc.) to and from lazy bytestrings, and it's finally in a form where I'm willing to share. It's available at http://mml.music.utexas.edu/jwlato/HSoundFile/, lightly cabalized and