Re: [LAU] Library for simple audio programming

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>, <jamshark70@...>
Date: Wednesday, January 16, 2013 - 11:28 am

James Harkins:

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@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAU] Library for simple audio programming, Kjetil Matheussen, (Wed Jan 16, 11:28 am)
Re: [LAU] Library for simple audio programming, James Harkins, (Thu Jan 17, 3:10 am)