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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Guillaume Nargeotq (Guest)
on 2007-04-20 11:40
(Received via mailing list)
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.

This topic is locked and can not be replied to.