Audio::SoundFile - Perl interface to libsndfile, a sound I/O library


Audio-SoundFile documentation Contained in the Audio-SoundFile distribution.

Index


Code Index:

NAME

Top

 Audio::SoundFile - Perl interface to libsndfile, a sound I/O library

SYNOPSIS

Top

 use Audio::SoundFile;
 use Audio::SoundFile::Header;

 $header = new Audio::SoundFile::Header(...);
 $reader = new Audio::SoundFile::Reader(...);
 $writer = new Audio::SoundFile::Writer(...);
 ...

DESCRIPTION

Top

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.

NOTES

Top

I have only tested the code with .au and .wav formats.

AUTHORS / CONTRIBUTORS

Top

 Taisuke Yamada <tai atmark rakugaki.org>
 Aldo Calpini <dada atmark perl.it>

COPYRIGHT

Top


Audio-SoundFile documentation Contained in the Audio-SoundFile distribution.
# -*- mode: perl -*-
#
# $Id: SoundFile.pm,v 1.6 2002/08/21 15:05:21 tai Exp $
#

package Audio::SoundFile;

use PDL::Core;

use Audio::SoundFile::Header;
use Audio::SoundFile::Reader;
use Audio::SoundFile::Writer;

use strict;
use vars qw($VERSION);

$VERSION = '0.16';

1;