At 17:05 -0800 2004.01.01, Bill Becker wrote:
>Has anyone tried to collect voice data via a microphone input using
>Perl on a Macintosh?
use Mac::Sound;
use Mac::QuickDraw;
my $pt = new Point 100, 100;
print Dumper $pt;
my $foo = SndRecord(undef, $pt, siBestQuality);
SndPlay(undef, $foo);
Is that what you want? You want voice data, or do you want the words
someone is saying, such as with speech recognition? The latter is a lot
more difficult.
--
Chris Nandor [EMAIL PROTECTED] http://pudge.net/
Open Source Development Network [EMAIL PROTECTED] http://osdn.com/