Musepack or MPC is an
open source
Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use and view the source code, design documents, or content of the product. The open source model is a decentrali ...
lossy audio codec, specifically optimized for
transparent compression of stereo audio at bitrates of 160–180 (manual set allows bitrates up to 320)
kbit/s. It was formerly known as MPEGplus, MPEG+ or MP+.
Development of MPC was initiated in 1997 by Andree Buschmann and later assumed by Frank Klemm, and as of 2004 is maintained by the Musepack Development Team (MDT) with assistance from Buschmann and Klemm. Encoders and decoders are available for
Microsoft Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
,
Linux
Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
and
Mac OS X
macOS, previously OS X and originally Mac OS X, is a Unix, Unix-based operating system developed and marketed by Apple Inc., Apple since 2001. It is the current operating system for Apple's Mac (computer), Mac computers. With ...
, and plugins for several third-party media players available from the Musepack website, licensed under the
GNU Lesser General Public License
The GNU Lesser General Public License (LGPL) is a free-software license published by the Free Software Foundation (FSF). The license allows developers and companies to use and integrate a software component released under the LGPL into their own ...
(LGPL) or
BSD licenses
BSD licenses are a family of permissive free software licenses, imposing minimal restrictions on the use and distribution of covered software. This is in contrast to copyleft licenses, which have share-alike requirements. The original BSD lice ...
, and an extensive list of programs supporting the format.
Technical details
Musepack was developed using the
MP2 codec as a starting point, but many features have since been added, including:
* subband selectable M/S encoding (as in
AAC)
*
Huffman coding
In computer science and information theory, a Huffman code is a particular type of optimal prefix code that is commonly used for lossless data compression. The process of finding or using such a code is Huffman coding, an algorithm developed by ...
(as in
MP3 and AAC, but more efficient). Since SV8 the bitstream is compressed by highly optimized canonical huffman tables that yields 2% smaller files and faster decoding
* noise substitution techniques (as in ATSC A-52 and
MPEG-4
MPEG-4 is a group of international standards for the compression of digital audio and visual data, multimedia systems, and file storage formats. It was originally introduced in late 1998 as a group of audio and video coding formats and related ...
AAC V2)
* pure variable bitrate between 0 and 1300 kbit/s (when needed)
The
psychoacoustic model of MPC is based on MPEG ISO model 2, but is extended by CVD (clear voice detection). The quantization algorithm of the MPC encoder performs spectral shaping of the noise, called ''
adaptive noise shaping'' (ANS), in order to overcome the low frequency resolution of the
polyphase quadrature filter bands.
MPC uses the
APEv2 tag metadata
Metadata (or metainformation) is "data that provides information about other data", but not the content of the data itself, such as the text of a message or the image itself. There are many distinct types of metadata, including:
* Descriptive ...
container.
Musepack is mainly optimized for transparent encoding at the "--standard" preset (175-185 kbit/s). Very few optimisations have been made at lower bitrates (like 128 kbit/s). Nevertheless, various
listening tests have been conducted in which Musepack has performed well at both lower and higher bitrates.
Features
* Container-independent format. An SV8 MPC is a container file for a Musepack stream. Raw stream encoding is possible.
* Packetized stream allows muxing into audio and video containers (e.g.
MKA/MKV,
NUT).
* Sample-accurate, fast seeking independent of file length.
* Sample-accurate cutting. Application included in download package (mpccut) allows losslessly cutting stream segments based on selected start/end samples.
* Chapters. Chapter editor (mpcchap) included, for embedding chapters into MPC files.
* No internal clipping.
* Streamable.
Test results
Despite being optimized for 100% transparency at moderately high bitrates, MPC has also scored highly on many 128 kbit/s tests. In May 2004, a series of
double-blind
In a blind or blinded experiment, information which may influence the participants of the experiment is withheld until after the experiment is complete. Good blinding can reduce or eliminate experimental biases that arise from a participants' expec ...
listening tests
(as reported on Slashdot) suggested that Musepack and
Ogg Vorbis
Vorbis is a free and open-source software project headed by the Xiph.Org Foundation. The project produces an audio coding format and software reference encoder/decoder (codec) for lossy audio compression, libvorbis. Vorbis is most common ...
(which was the 1.1 "aoTuV" fork at the time) were the two best available codecs for high-quality audio compression at bitrates around 128 kbit/s, beating
MP3,
AAC,
WMA, and
ATRAC.
Listening tests of MPC:
* 2004 – rjamorim's second 128 kbit/s group listening test – between 14 and 27 listeners. MPC and Vorbis tied for first.
* 2003 – rjamorim's first 128 kbit/s group listening test – between 14 and 29 listeners. AAC, MPC, Vorbis, and WMA tied for first.
* 2002 – ff123's second 128 kbit/s group listening test
* 2001 – ff123's 128 kbit/s group listening test
Hardware and software support
Devices supporting
The Core Pocket Media Player can play MPC. This includes devices running
Palm OS
Palm OS (also known as Garnet OS) is a discontinued mobile operating system initially developed by Palm, Inc., for personal digital assistants (PDAs) in 1996. Palm OS was designed for ease of use with a touchscreen-based graphical user interface. ...
,
Symbian OS,
Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
,
Windows CE and
Windows Mobile
Windows Mobile is a discontinued mobile operating system developed by Microsoft for smartphones and personal digital assistants (PDA). Designed to be the portable equivalent of the Windows desktop OS in the emerging Mobile device, mobile/port ...
(
Pocket PC). All devices with software audio decoding that are supported by
Rockbox, including older revisions of
iPod
The iPod is a series of portable media players and multi-purpose mobile devices that were designed and marketed by Apple Inc. from 2001 to 2022. The iPod Classic#1st generation, first version was released on November 10, 2001, about mon ...
, can also play Musepack files. Playback on
Roku Photobridge HD is supported with a plugin.
There is a plethora of media players for Android supporting Musepack (among them is the ported Rockbox media player).
Musepack distributes the ''libmpcdec'' library for decoding MPC content. Various plugins have been developed, using that library, including for the
XMMS player (on
Unix
Unix (, ; trademarked as UNIX) is a family of multitasking, multi-user computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, a ...
).
Asunder and Jack! The Knife allows ripping Audio CD tracks directly into Musepack files.
References
External links
*
Software supporting MusepackHydrogen Audio Wiki's article on Musepack
{{Compression software implementations
Free audio codecs
Open formats