Pros and Cons of Haskell libsndfile packages?

Hi all- I noticed that there were two different packages that provided a Haskell interface to the libsndfile library: HSoundFile: <http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HSoundFile
hsoundfile: <http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hsndfile
Does anyone have any comments of the relative merits of either of these? Thanks! Charles

Charles Turner wrote:
Hi all-
I noticed that there were two different packages that provided a Haskell interface to the libsndfile library:
hsndfile: <http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hsndfile
That one is a indeed a haskell wrapper around libsndfile, while this one:
HSoundFile: <http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HSoundFile
is not, but rather, seems to be a pure Haskell Wave file decoder/encoder. It does not (yet) seem to handle other formats.
Does anyone have any comments of the relative merits of either of these?
I'm probably biased, but I'm sure the former (hsndfile) opens more file formats and is more robust when parsing malformed files. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/

On May 7, 2009, at 8:09 PM, Erik de Castro Lopo wrote:
Charles Turner wrote:
That one is a indeed a haskell wrapper around libsndfile, while this one:
HSoundFile: <http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HSoundFile
Does anyone have any comments of the relative merits of either of these?
I'm probably biased, but I'm sure the former (hsndfile) opens more file formats and is more robust when parsing malformed files.
Hi Erik! In this case I think your bias is well-appreciated. Thanks so much for libsndfile, always one the first libraries I install on any new machine. Best, Charles
participants (2)
-
Charles Turner
-
Erik de Castro Lopo