[LAU] Library for simple audio programming

Paul Davis paul at linuxaudiosystems.com
Thu Jan 17 15:33:00 UTC 2013


 i note that the sox command for this is still the winner if we're just
counting brevity.


On Thu, Jan 17, 2013 at 10:24 AM, Kjetil Matheussen <
k.s.matheussen at notam02.no> wrote:

> Bill Schottstaedt:
>
>  (call-with-output-file "test.ascii" (lambda (p)
>>  (let ((r (make-readin "filename.wav")))
>>    (do () ((= (mus-location r) (mus-length r)))
>>      (format p "~A~%" (r))))))
>>
>
> Can't get my head around 'do'. Prefer this:
>
>
> (call-with-output-file "test.ascii" (lambda (p)
>   (let ((r (make-readin "filename.wav")))
>     (while (< (mus-location r) (mus-length r))
>       (format p "~A~%" (r))))))
>
>
>
> ______________________________**_________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.**linuxaudio.org<Linux-audio-user at lists.linuxaudio.org>
> http://lists.linuxaudio.org/**listinfo/linux-audio-user<http://lists.linuxaudio.org/listinfo/linux-audio-user>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20130117/d3cb31e1/attachment.html>


More information about the Linux-audio-user mailing list