The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MP3::Cut::Gapless::Track - A track within a cue sheet

SYNOPSIS

    # Cut file using a cue sheet
    my $cut = MP3::Cut::Gapless->new(
        cue => 'file.cue'
    );
    for my $track ( $cut->tracks ) {
        $cut->write( $track, $track->position . '.mp3' );
    }
    

DESCRIPTION

This is a lightweight object representing a track within a cue sheet.

METHODS

new( Audio::Cuefile::Parser::Track object )

new() takes an Audio::Cuefile::Parser::Track object, and is not designed to be called directly.

position()

The position of the track in the cue sheet, for example "01".

performer()

The performer of the track.

title()

The title of the track.

index()

The index of the track, in MM:SS:FF notation.

start_ms()

The start of the track in milliseconds.

end_ms()

The end of the track in milliseconds. This value will be undef for the last track in the cue sheet, which is assumed to extend to the end of the track.

AUTHOR

Andy Grundman, <andy@slimdevices.com>

COPYRIGHT AND LICENSE

Copyright (C) 2010 Logitech, Inc.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.