NAME
Audio::C4Stream::Wav - Perl extension for open and stream WAV files.
SYNOPSIS
use Audio::C4Stream::Wav;
my $audio = new Audio::C4Stream::Wav(
filename => $file,
leftTrimLen => 5,5, #in seconds
rightTrimLen => 5,5, #seconds
fadeInLen => 10, #seconds
fadeOutLen => 10, #seconds
leftBlankDetectLen => 0, #seconds (default 20)
rightBlankDetectLen => 0, #seconds (default 20)
blankDetectDb => 30, #decibels
normalize => 0, #decibels
);
DESCRIPTION
The functions are :
getPngData
-
Get the sine wave graphic of the WAV data
getNextData
-
Get next data
getNextRawData
-
Get next source data
getOrigDataLen
-
Get the original data length
getOrigSec
-
Get the number of seconds of the original data
getDataLen
-
Get the length of the mixed data
getSec
-
Get the seconds of the data
SEE ALSO
See Audio::C4Stream::Mixer
Depends on IO::Scalar and C library GD https://bitbucket.org/pierrejoye/gd-libgd/overview
AUTHOR
cloud4pc, adeamara@cloud4pc.com
COPYRIGHT AND LICENSE
Copyright (C) 2012 by cloud4pc
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.