Re: Library for simple audio programming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux