http://www.perlmonks.org?node_id=1014234


in reply to How to record audio file?

redss:

One compatible with your computer, operating system, microphone input device and version of perl.

Try looking on http://cpan.org for one.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^2: How to record audio file?
by redss (Monk) on Jan 19, 2013 at 21:26 UTC
    Sorry, I forgot to mention that this is for Windows. I had already looked on CPAN but couldn't find a library. I'm sure what I need is there but would like a recommendation

    I'd like to be able to initiate and terminate the recording of an audio file from within perl. thanks!

      redss:

      I see what you mean. I just looked, and while I found Win32::Sound, it was only for playing sounds. You may have to use Win32::API and connect directly to the Windows sound API to do your recording.

      ...roboticus

      When your only tool is a hammer, all problems look like your thumb.