Audio::C4Stream::Mixer - Perl extension for crossfade mixer.
use Audio::C4Stream::Mixer; my $mixer = new Audio::C4Stream::Mixer(duration => 1, silentOut => 0.8, silentIn => 0); $mixer->switch();
This library can make crossfades. Use it only with 16bits stereo, 44100hz sounds.
Parameters are :
duration
Crossfade time
silentOut
Silence time at the end
silentIn
Silence time at the beginning
The functions are :
mixPcmFrames
Accumulate the audio data
switch
Change the deck (only two : A or B)
None by default.
See Audio::C4Stream::Wav
cloud4pc, adeamara@cloud4pc.com
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.
To install Audio::C4Stream::Mixer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Audio::C4Stream::Mixer
CPAN shell
perl -MCPAN -e shell install Audio::C4Stream::Mixer
For more information on module installation, please visit the detailed CPAN module installation guide.