Main > Programming > Libraries >

Audio::DSP 0.02

Audio::DSP 0.02

Sponsored Links

Audio::DSP 0.02 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 10 (1 times)
File size: 0.028 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 1231
Date added: 2006-06-19
Publisher: Seth David Johnson

Audio::DSP 0.02 description

Audio::DSP is a Perl interface to *NIX digital audio device.

SYNOPSIS

use Audio::DSP;

($buf, $chan, $fmt, $rate) = (4096, 1, 8, 8192);

$dsp = new Audio::DSP(buffer => $buf,
channels => $chan,
format => $fmt,
rate => $rate);

$seconds = 5;
$length = ($chan * $fmt * $rate * $seconds) / 8;

$dsp->init() || die $dsp->errstr();

# Record 5 seconds of sound
for (my $i = 0; $i < $length; $i += $buf) {
$dsp->read() || die $dsp->errstr();
}

# Play it back
for (;;) {
$dsp->write() || last;
}

$dsp->close();

Audio::DSP is built around the OSS (Open Sound System) API and allows perl to interface with a digital audio device. It provides, among other things, an initialization method which opens and handles ioctl messaging on the audio device file. Audio::DSP also provides some rudimentary methods for the storage and manipulation of audio data in memory.

In order to use Audio::DSP, youll need to have the necessary OSS drivers/libraries installed. OSS is available for many popular Unices, and a GPLed version (with which this extension was initially developed and tested) is distributed with with the Linux kernel.

Audio::DSP 0.02 Screenshot

Advertisements

Audio::DSP 0.02 Keywords

Bookmark Audio::DSP 0.02

Hyperlink code:
Link for forum:

Audio::DSP 0.02 Copyright

WareSeeker periodically updates pricing and software information of Audio::DSP 0.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Audio::DSP 0.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Audio::CD is a Perl interface to libcdaudio (cd + cddb). Free Download
Audio::SPX is a Perl interface to the Sphinx-II audio library. Free Download
Audio::OSS is a pure-perl interface to OSS (open sound system) audio devices. Free Download
Audio::Mad is a Perl interface to the mad MPEG decoder library. Free Download
Audio::RaveMP is a Perl interface to Sensory Science RaveMP player. Free Download
Audio::XMMSClient is a Perl interface to the xmms2 music player. Free Download
Audio::Scrobbler is a Perl interface to audioscrobbler.com/last.fm. Free Download
Guile is a Perl interface to the Guile Scheme interpreter. Free Download