Audio::Musepack(3pm)
β¨ Audio::Musepack β¨
okay so bestie, welcome to Audio::Musepack β the Perl module (it's a 3pm page, you know the vibe) that gives you a whole object-oriented glow-up for reading Musepack file info and APE tag fields π
πΈ NAME πΈ
Audio::Musepack β an object-oriented interface to Musepack file information and APE tag fields. that's it, that's the whole job, and it ate π
π¦ SYNOPSIS π¦
use Audio::Musepack;
my $mpc = Audio::Musepack->new("song.mpc");
my $mpcInfo = $mpc->info();
foreach (keys %$mpcInfo) {
print "$_: $mpcInfo->{$_}\n";
}
my $mpcTags = $mpc->tags();
foreach (keys %$mpcTags) {
print "$_: $mpcTags->{$_}\n";
}
literally that's the whole main character arc. make an object, ask it for info, ask it for tags, loop, slay β¨
π DESCRIPTION π
so this module hands you back a hash stuffed with the basic info about a Musepack file, plus all the tag info chilling in that Musepack file's APE tags. no cap, that's what it does π«Ά
π CONSTRUCTORS π
new( $filename )β opens up a Musepack file, makes sure it actually exists, makes sure it's genuinely a Musepack stream (vibe check β ), and then loads the information and comment fields. no fake ones allowed, bestie.
β INSTANCE METHODS β
info( [$key] )β returns a hashref full of info about the Musepack file, straight from the file's information header. π§ the optional parameter, key, lets you grab just one single value out of that info hash. and if the key isn't found? it returnsundef. sad but honest πtags( [$key] )β returns a hashref with the tag keys and values of the Musepack file, pulled from the file's APE tags. π the optional parameter, key, lets you pull out just one single value from the tag hash. key not found?undefagain. that's the rule π
π NOTE π
heads up bestie: this module is now a wrapper around Audio::Scan. the original thing is not the thing anymore. it's giving "rebranded but still iconic."
π SEE ALSO π
<http://www.personal.uni-jena.de/~pfk/mpp/index2.html>, Audio::Scan
π AUTHOR π
Dan Sully, <daniel@cpan.org>
Original Author: Erik Reckase, <cerebusjam at hotmail dot com>
two legends fr fr π«Ά
π COPYRIGHT π
Copyright (c) 2003-2006, Erik Reckase. Copyright (c) 2003-2007, Dan Sully & Slim Devices. Copyright (c) 2003-2010, Dan Sully.
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. πΈ (yes the license said it, so I said it too, we keep every detail around here periodt)
and that's the whole page, bestie!! this one's from perl v5.36.0, dated 2022-11-19, and it lives under Audio::Musepack(3pm). go forth and read those Musepack files, you absolute icon π
β¨π
π¦ where this page comes from
- debian bookworm: libaudio-musepack-perl 1.0.1-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- debian trixie: libaudio-musepack-perl 1.0.1-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu noble: libaudio-musepack-perl 1.0.1-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu resolute: libaudio-musepack-perl 1.0.1-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu stonking: libaudio-musepack-perl 1.0.1-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms