Audio::File::AudioProperties

Audio::File::AudioProperties is a Perl module that can abstract an audio files audio properties.
Download

Audio::File::AudioProperties Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Florian Ragwitz
  • Publisher web site:
  • http://search.cpan.org/~flora/

Audio::File::AudioProperties Tags


Audio::File::AudioProperties Description

Audio::File::AudioProperties is a Perl module that can abstract an audio files audio properties. 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.METHODSnewConstructor. 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.initInitializes the object. It's called by the constructor and empty by default. It's ought to be overwritten by subclasses.lengthReturns the length of the audio file in seconds.bitrateReturns the bitrate of the file.sample_rateReturns the sample rate of the audio file.channelsReturns the number of channels the audio file has.allGet all audio properties. Requirements: · Perl


Audio::File::AudioProperties Related Software