Search code examples
rubyaudiorecordmicrophone

recording sound in ruby, windows


I wonder how can I record sound from microphone in ruby, windows xp or 7

for detecting pitch

google "ruby record audio", "ruby sound recording"

doesn't give me any answers

thanks


Solution

  • I haven't used it, but there's a ruby-PortAudio wrapper available here.

    Here's the site for the PortAudio API.

    Hope that helps!