deadkarma has asked for the wisdom of the Perl Monks concerning the following question:
I was considering expanding this code to include a nice GUI (either with Tk, Win32::GUI, or maybe even Wx),the problem that I am faced with now is how the heck can perl grab data from a microphone under Windows?
I'm thinking it might be neccesary to use Win32::API and do some funky dll calls, but I'm not familiar with the Windows API.
Is there a magic microphone device in windows like LPT1 and COM1?
I imagine that might not be too difficult to write a stand-alone exe that can open the mic and stream wav data, that way perl can do a nice open(MIC, "| mic.exe")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: recording sound with perl under win32?
by cheshirecat (Sexton) on Oct 14, 2002 at 15:31 UTC | |
|
Win32::SoundRec for Re: recording sound with perl under win32?
by elwarren (Priest) on Sep 29, 2003 at 15:45 UTC | |
by deadkarma (Monk) on Oct 04, 2003 at 15:53 UTC | |
by elwarren (Priest) on Oct 06, 2003 at 15:53 UTC |