Audio::DSP 0.02
Details
| Size: | 27K |
| Last Update: | 2008-04-22 21:57:19 |
| OS Support: | Linux |
| License/Program Type: | GPL (GNU General Public License) |
| Publisher: | Seth David Johnson |
| Price: | $0.00 |
Description:
Audio::DSP 0.02 is libraries software developed by Seth David Johnson.
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, you'll 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.
Requirements:
Perl
Audio::DSP 0.02 supports english interface languages and works with Linux.
Downloading Audio::DSP 0.02 will take several seconds if you use fast ADSL connection.
0 comments
Add to
Audio::DSP 0.02 Version History
Related Software
|
|
From category: Assembler-Tools |
| DiffJ 1.1.1 is assembler tools software developed by Jeff Pace. DiffJ is a commandline application that compares Java files based on content, not whitespace, comments, or reordering of types, metho... |
|
|
From category: Libraries |
| Evolution Data Server 1.9.2 is libraries software developed by Novell Inc.. Evolution Data Server provides a single database for common, desktop-wide information, such as a user\'s address book or... |
|
|
From category: Libraries |
| Crypt::X509 0.21 is libraries software developed by Mike Jackson. Crypt::X509 is a Perl module to parse an X.509 certificate. SYNOPSIS use Crypt::X509; $decoded = Crypt::X509... |
|
|
From category: Assembler-Tools |
| CAN Abstraction Layer 0.1.6 is assembler tools software developed by Ake Hedman. The CAN Abstraction Layer (CANAL) provides a single interface for programs to use different CAN drivers. It consi... |
|
|
From category: Libraries |
| python-djvulibre is a set of Python bindings for the DjVuLibre library, an open source implementation of DjVu.... |
|
|
From category: Libraries |
| CSer 0.0.1 is libraries software developed by Jeff Freedman. CSer is a library for C++ serialization, also called &039;persistence&039;. This isn\'t quite a simple as you might think, since one o... |
|
|
From category: Libraries |
| UCommon is a lightweight C++ library to facilitate using C++ design patterns.... |
|
|
From category: Code-Generators |
| Domino Javadoc Generator 0.4 is code generators software developed by Ferdinand Prantl. Domino Javadoc Generator project aims to create a documentation to the Lotus Notes API for Java in a standard... |
|
|
From category: Libraries |
| Bigtop::Docs::TentTut 0.14 is libraries software developed by Phil Crow. Bigtop::Docs::TentTut is Perl module for tentmaker Tutorial (best viewed in html). If you don\'t know what Bigtop is,... |
|
|
From category: Libraries |
| AudioFile::Info::MP3::Tag 1.05 is libraries software developed by Dave Cross. AudioFile::Info::MP3::Tag is a Perl extension to get info from MP3 files. This is a plugin for AudioFile::Info w... |
|
|
From category: Assembler-Tools |
| Avango 1.0.1 is assembler tools software developed by Jurgen Wind. Data distribution is achieved by transparent replication of a shared scene graph among the participating processes of a distribute... |
|
|
From category: Bug-Tracking |
| Bosco 1.2 is bug tracking software developed by Jason Lee. Bosco is a rewrite of the popular Bugzilla defect tracking software in PHP. It is database-independent, and aims to be easy to main... |
|
|
From category: Code-Generators |
| eAccelerator 0.9.5 is code generators software developed by Dominique Karg. eAccelerator is a further development from mmcache PHP Accelerator & Encoder. eAccelerator increases performance o... |
|
|
From category: Libraries |
| Curses::UI::Widget 0.95 is libraries software developed by Maurice Makaay. Curses::UI::Widget is a base class for all widgets. CLASS HIERARCHY Curses::UI::Widget - base class... |
|
|
From category: Libraries |
| Antares is a different project from all of the other Framework\'s which are taking light these days.... |
Leave a comment