James Harkins:
FWIW, this task is incredibly easy in SuperCollider:
Perhaps it's easier than writing C, but there should be many alternatives that are easier than your example. For instance SND: (define reader (make-readin "filename.wav")) (call-with-output-file "outfile.txt" (lambda (out) (let loop ((i 0)) (if (< i (mus-length reader)) (begin (format out "~A\n" (readin reader)) (loop (1+ i))))))) (There are probably systems where you can do this far simpler though.) _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user