Audio::File::AudioProperties 0.10 review

Download
by rbytes.net on

Audio::File::AudioProperties is a Perl module that can abstract an audio file's audio properties. Audio::File::AudioProperties is

License: Perl Artistic License
File size: 72K
Developer: Florian Ragwitz
0 stars award from rbytes.net

Audio::File::AudioProperties is a Perl module that can abstract an audio file's audio properties.

Audio::File::AudioProperties is the base class for other file format independant audio property classes like Audio::File::Flac::AudioProperties or Audio::File::Ogg::AudioProperties. You should not use this class yourself exept you're writing an own file format dependant subclass.

METHODS

new

Constructor. Creates new Audio::File::AudioProperties object. You shoud not use this method yourself. It's called by the filetype-dependant subclasses of Audio::File::Type automatically.

init

Initializes the object. It's called by the constructor and empty by default. It's ought to be overwritten by subclasses.

length

Returns the length of the audio file in seconds.

bitrate

Returns the bitrate of the file.

sample_rate

Returns the sample rate of the audio file.

channels

Returns the number of channels the audio file has.

all

Get all audio properties.

Requirements:
Perl

Audio::File::AudioProperties 0.10 keywords