[Haskell-cafe] analogous functions in Sound.File.Sndfile

Erik de Castro Lopo mle+hs at mega-nerd.com
Tue Jul 6 22:58:22 EDT 2010


Maria Gabriela Valdes wrote:

> Does anybody know what are the analogous functions and data types in the
> haskell library "Sound.File.Sndfile" of  the libsndfile library in C  ?
> data type : SNDFILE
> function: sf_open
> function : sf_read_short

I have never used the Haskell bindings to that particular library,
but from the documentation:

    http://hackage.haskell.org/packages/archive/hsndfile/0.4.0/doc/html/Sound-File-Sndfile.html

  - sf_open seems to map to openFile

  - sf_read_short seems to map to readFileChunks

HTH,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the Haskell-Cafe mailing list