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

Don Stewart dons at galois.com
Fri Jan 18 19:50:24 EST 2008

> > 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 *HUGE* undertaking if you intend to support 
> everything that is actually in the specs as well as handle all the
> horribly broken WAVE files produced by many commercial products.
> Cheers,
> Erik

I agree with Erik. It makes more sense to bind to a recognised
library, so that the developer effort isn't wasted duplicating
complex functionality.

Unless there's a serious robustness/safety/functionality argument to be
made for doing it purely in Haskell, just write a binding instead, and
move on to problems we can better apply Haskell's strengths to.

-- Don

More information about the Haskell-Cafe mailing list