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


MP3-Cut-Gapless documentation  | view source Contained in the MP3-Cut-Gapless distribution.

Index


NAME

Top

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

VERSION

Top

version 0.02

SYNOPSIS

Top

    # 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

Top

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

METHODS

Top

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

Top

Andy Grundman, <andy@slimdevices.com>

COPYRIGHT AND LICENSE

Top


MP3-Cut-Gapless documentation  | view source Contained in the MP3-Cut-Gapless distribution.