Record from sound input (nothing to do with web app.)


Guillaume Nargeotq

Hello, I would like to create a little script with ruby, that would run
on my computer - nothing to do with the web - and that would just record
the audio stream from the internal microphone of the computer.
After this, I would like to make this script a windows service, and to
be able to plan when to record, but anyway for this part I think I found
enough documentation.

Recording sound from the internal microphone is the part where I need
some help... because I couldn't find anything about it.
Is there some library that already exists to be able to access to the
microphone sound input ?
Or is there a simple executable that I might execute using the %x()
syntax of ruby, and that can do what I need ? Maybe something like
mencoder ?

Concerning the recording audio format, I would prefer direct mp3
recording/encoding, like 64kbit/s rate or more...

Thank you in advance.



Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question