>> Note that with GHC 6.8 I had to change the example to ...
Thanks for pointing out. It was a copy/paste mistake.
And as for using simpleRead, something like this:
foo=do
s<-simpleNew Nothing \"example\" Record Nothing \"this is an
example application\"
(SampleSpec (F32 LittleEndian) 44100 1) Nothing Nothing
xs<-simpleRead s 44100 :: IO [Float]
simpleFree s
should work.
Note that recording starts as soon as simpleNew is called and samples are
stored in an internal buffer, so you shouldn't leave it too long
without calling simpleRead.
I'll update the documentation on hackage soon.
_______________________________________________
haskell-art mailing list
[email protected]
http://lists.lurk.org/mailman/listinfo/haskell-art