Andy Grundman > MP3-Cut-Gapless > MP3::Cut::Gapless::Track

Download:
MP3-Cut-Gapless-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

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.

syntax highlighting: