NAME
MP3::Splitter - Perl extension for splitting MP3 files
SYNOPSIS
use MP3::Splitter;
mp3split('xx.mp3', [3, 356.25], [389, 615]);
DESCRIPTION
The first argument of mp3split() is a name of MP3 file, the remaining are descriptions of pieces; they are array references with the start and duration of the piece (in seconds), and 3 optional elements: the name callback, finish callback, and arbitrary user data. The callbacks should be function references with signatures
piece_name($pieceNum, $mp3name, $piece);
do_something($mp3name, $piece, $pieceNum, $total_len, $piece_len)
$pieceNum is 1 for the first piece to write. The default value of name callback uses the piece names of the form "03_initial_name.mp3".
EXPORT
mp3split
SEE ALSO
AUTHOR
Ilya Zakharevich, <cpan@ilyaz.org>
COPYRIGHT AND LICENSE
Lousely based on code of mp3cut
by Johan Vromans <jvromans@squirrel.nl>.
Copyright (C) 2004 by Ilya Zakharevich
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.