| Audio-Cuefile-Parser documentation | view source | Contained in the Audio-Cuefile-Parser distribution. |
Audio::Cuefile::Parser
Version 0.02
Class to parse a cuefile and access the chewy, nougat centre. Returns Audio::Cuefile::Parser::Track objects.
use Audio::Cuefile::Parser;
my $filename = 'filename.cue';
my $cue = Audio::Cuefile::Parser->new($filename);
my ($audio_file, $cd_performer, $cd_title) = ($cue->file, $cue->performer, $cue->title);
foreach my $track ($cue->tracks) {
my ($position, $index, $performer, $title) =
($track->position, $track->index, $track->performer, $track->title);
print "$position $index $performer $title";
}
Returns a list of Audio::Cuefile::Parser::Track objects.
Returns the filename associated with the FILE keyword from the .cue's headers (i.e. the audio file that the .cue file is describing).
The audio file's performer.
The title of the audio file.
Timestamp that signifies the track's beginning.
The track's performer.
The track's position in the audio file.
Track title.
Matt Koscica <matt.koscica@gmail.com>
Probably a few, the regexes are very simple.
Please report any bugs or feature requests to
bug-audio-cuefile-parser@rt.cpan.org, or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Audio-Cuefile-Parser.
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.
Copyright 2005-2010 Matt Koscica, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Audio-Cuefile-Parser documentation | view source | Contained in the Audio-Cuefile-Parser distribution. |