NAME

Audio::C4Stream::Mixer - Perl extension for crossfade mixer.

SYNOPSIS

  use Audio::C4Stream::Mixer;
  
  my $mixer = new Audio::C4Stream::Mixer(duration => 1, silentOut => 0.8, silentIn => 0);
  $mixer->switch();

DESCRIPTION

This library can make crossfades. Use it only with 16bits stereo, 44100hz sounds.

Constructor

Parameters are :

duration

Crossfade time

silentOut

Silence time at the end

silentIn

Silence time at the beginning

Fonctions

The functions are :

mixPcmFrames

Accumulate the audio data

switch

Change the deck (only two : A or B)

EXPORT

None by default.

SEE ALSO

See Audio::C4Stream::Wav

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.