Re: [LAU] Library for simple audio programming

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Paul Davis <paul@...>
Cc: <bil@...>, linux-audio-user <linux-audio-user@...>
Date: Thursday, January 17, 2013 - 4:12 pm

Not if you're unsure about which channel to read from:

(call-with-output-file "test.ascii" (lambda (p)
(let ((r0 (make-readin "filename.wav" 0))
(r1 (make-readin "filename.wav" 1)))
(while (and (< (mus-location r0) (mus-length r0))
(< (mus-location r1) (mus-length r1)))
(format p "~A~%" (if (= 0 (random 1)) (r0) (r1)))))))

On 17.01.2013 16:33, Paul Davis wrote:

_______________________________________________
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, (Thu Jan 17, 3:24 pm)
Re: [LAU] Library for simple audio programming, Paul Davis, (Thu Jan 17, 3:33 pm)
Re: [LAU] Library for simple audio programming, Kjetil Matheussen, (Thu Jan 17, 4:12 pm)