Support for audio recording and analysis using Ruby?



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.


Wink Saville


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


this looks interesting…



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…


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