Support for audio recording and analysis using Ruby?

Hello,

I was wondering if there were any modules available for Ruby to capture and analyze audio that runs on Linux. I'd like to capture short snippets of audio (0.5 to 1 second) and then do an FFT.

Thanks,

Wink Saville

Another choice is sndlib, or the sound editor Snd, both at:

ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-7.tar.gz
ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz

http://ccrma.stanford.edu/software/snd/

this looks interesting...

http://gridflow.ca/

vlad

I did something like this last year. I was recording with the venerable UNIX rec, piping the output to my ruby program and doing fft with a combination of narray, sndfile and numru/fftw3 (available from RAA). Not pretending to be light speed, it was able to process the sound in real time on a PentiumPro 200MHz...

HTH,
Guillaume.

···

Le 26 févr. 06, à 11:45, Wink Saville a écrit :

Hello,

I was wondering if there were any modules available for Ruby to capture and analyze audio that runs on Linux. I'd like to capture short snippets of audio (0.5 to 1 second) and then do an FFT.

Thanks,

Wink Saville