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
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
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 :
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs