Re: [LAU] Library for simple audio programming

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kjetil Matheussen <k.s.matheussen@...>
Cc: <bil@...>, linux-audio-user <linux-audio-user@...>
Date: Thursday, January 17, 2013 - 3:33 pm

--e0cb4efa6dfcbeb13004d37db5c3
Content-Type: text/plain; charset=ISO-8859-1

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@notam02.no> wrote:

> Bill Schottstaedt:

--e0cb4efa6dfcbeb13004d37db5c3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

=A0i note that the sox command for this is still the winne=
r if we're just counting brevity.<=
br>On Thu, Jan 17, 2013 at 10:24 AM, Kjetil =
Matheussen <k.s.matheussen@notam02.no> wrote:
Bill Schottstaedt:

(call-with-output-file "test.ascii" (lambda (p)
=A0(let ((r (make-readin "filename.wav")))
=A0 =A0(do () ((=3D (mus-location r) (mus-length r)))
=A0 =A0 =A0(format p "~A~%" (r))))))

Can't get my head around 'do'. Prefer this:

(call-with-output-file "test.ascii" (lambda (p)
=A0 (let ((r (make-readin "filename.wav")))
=A0 =A0 (while (< (mus-location r) (mus-length r))
=A0 =A0 =A0 (format p "~A~%" (r))))))

_______________________________________________
Linux-audio-user mailing list
=
Linux-audio-user@lists.linuxaudio.org

http://lists.linuxaudio.org/listinfo/linux-audio-user

--e0cb4efa6dfcbeb13004d37db5c3--

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)