On Sun, Jul 6, 2008 at 4:37 AM, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know if there is a perl module that can be used for recording in > .wav format? > (One that can be used under both Linux and Windows, or at least under > Windows.) > > Thank you. > > Octavian >
Recording what, exactly? An audio input device? A CD? System audio being played through the sound card? There are Perl drivers for OSS devices (Audio::OSS, Audio::DSP, etc.) and also a number of modules that encode and recode audio (FFMPEG::*, Audio::MPEG, Audio::ConvTools, etc.). Whether they will meet your needs depends on whether your audio devices support open standards, or whether there happens to be a module for your specific audio device. Failing that, you can always your system()/Win32::API to capture the output from a proprietary driver, or try to read the device directly with IO::Socket, etc. Of course a CD can be read like any other file system, and there are modules to handle that scenario, too. A CPAN search for "auido" is probably the best place to start. HTH, -- jay -------------------------------------------------- This email and attachment(s): [ ] blogable; [ x ] ask first; [ ] private and confidential daggerquill [at] gmail [dot] com http://www.tuaw.com http://www.downloadsquad.com http://www.engatiki.org values of β will give rise to dom!