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@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Jan 16 16:15:03 2013
This archive was generated by hypermail 2.1.8 : Wed Jan 16 2013 - 16:15:03 EET