I tried this also, reading in WAV-Files as a String and then converting it into the appropriate format. That was really nearly infinitely slow. Now I'm doing all low-level sample and sound card stuff in C and use Haskell to controll it. It's a good balance, I think. I guess it would be possible purely in Haskell with the Binary module, but I never was sure which of the many was working on my Mac. So I didn't really try. (Can anybody comment on that?)
Markus -----Ursprüngliche Nachricht----- Von: Immanuel Litzroth [mailto:[EMAIL PROTECTED]] Gesendet am: Montag, 27. Januar 2003 11:55 An: [EMAIL PROTECTED] Betreff: Binary I/O in haskell. I am currently writing a small sound/dsp application in haskell, and I am having some problems deciding on the best way to do I/O from soundfiles. I am currently only implementing raw data input, and I am looking for code examples that demonstrate the best way(s) to implement reading in and processing large amounts of data. Any help is welcome Immanuel *************************************************************************** His endeavours to improve these conditions by innovations in the current methods of teaching are fully described in his writings; these made him unpopular with his brethren in the order and led to his removals to the monastery of Pomposa near Ferrara, Italy. Here the same lot seems to have befallen him. About Guido of Arezzo Immanuel Litzroth Software Development Engineer Enfocus Software Kleindokkaai 3-5 B-9000 Gent Belgium Voice: +32 9 269 23 90 Fax : +32 9 269 16 91 Email: [EMAIL PROTECTED] web : www.enfocus.be *************************************************************************** _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell