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 > haddock-ified. The basic item is a Data.SoundFile datatype and a > SndFileCls class. Each file format (wave, etc.) has a datatype with > instances of SndFileCls and Data.Binary (thanks to Don S. for > suggesting Data.Binary). At least that's the idea, I've only > implemented the Wave format so far, but I wanted to make it easy to > add new formats.
These are great news. So far I used Sox to write files in several formats - reading is not nicely possible with this approach, because Sox does not output header information. Would you like to advertise your library at: http://haskell.org/haskellwiki/Applications_and_libraries/Music_and_sound I also reply to the Haskell Art Mailing list. _______________________________________________ haskell-art mailing list haskell-art@lists.lurk.org http://lists.lurk.org/mailman/listinfo/haskell-art