Audio::SoundFile - Perl interface to libsndfile, a sound I/O library
use Audio::SoundFile; use Audio::SoundFile::Header; $header = new Audio::SoundFile::Header(...); $reader = new Audio::SoundFile::Reader(...); $writer = new Audio::SoundFile::Writer(...); ...
This module provides interface to libsndfile, available from
http://www.zip.com.au/~erikd/libsndfile/
With this library, you will be able to read, write, and manipulate sound data of more than 10 formats.
Also, in addition to read/write interface using usual Perl scalar, this module provides interface using PDL object directly. Since PDL provides efficient method to handle large bytestream, sound processing is much faster if this module and PDL is used in pair.
For rest of the details, please consult each module's document.
I have only tested the code with .au and .wav formats.
Taisuke Yamada <tai atmark rakugaki.org> Aldo Calpini <dada atmark perl.it>
Copyright (C) 2001. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Audio::SoundFile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Audio::SoundFile
CPAN shell
perl -MCPAN -e shell install Audio::SoundFile
For more information on module installation, please visit the detailed CPAN module installation guide.