| Windows Media Audio | |
|---|---|
| Filename extension | .wma |
| Internet media type | audio/x-ms-wma |
| Developed by | Microsoft |
| Initial release | August 17, 1999; 26 years ago (1999-08-17)[1] |
| Type of format | Audio |
| Open format? | No |
| Free format? | No |
| Website | microsoft.com/windowsmedia at theWayback Machine (archived 2008-02-11) |
Windows Media Audio (WMA) is a series ofaudio codecs and their correspondingaudio coding formats developed byMicrosoft. It is aproprietary technology that forms part of theWindows Media framework. Audio encoded in WMA is stored in adigital container format calledAdvanced Systems Format (ASF).
WMA consists of four distinct codecs. The original WMA codec, known simply asWMA, was conceived as a competitor to the popularMP3 andRealAudio codecs.[2][3]WMA Pro, a newer and more advanced codec, supportsmultichannel andhigh-resolution audio.[4] Alossless codec,WMA Lossless, compresses audio data without loss of audio fidelity (the regular WMA format islossy).[4]WMA Voice, targeted at voice content, applies compression using a range of lowbit rates.[4]
The first WMAcodec was based on earlier work byHenrique Malvar and his team which was transferred to the Windows Media team at Microsoft.[5] Malvar was a senior researcher and manager of the Signal Processing Group atMicrosoft Research,[6] whose team worked on theMSAudio project.[7] The first finalized codec was initially referred to asMSAudio 4.0.[8][9] It was later officially released asWindows Media Audio,[1] as part of Windows Media Technologies 4.0. Microsoft claimed that WMA could produce files that were half the size of equivalent-quality MP3 files;[10] Microsoft also claimed that WMA delivered "near CD-quality" audio at 64 kbit/s.[10] The former claim however was rejected by someaudiophiles[11] and both claims have been refuted through publicly-availablecodec listening tests.RealNetworks also challenged Microsoft's claims regarding WMA's superior audio quality compared to RealAudio.[3]
Newer versions of WMA became available:Windows Media Audio 2 in 1999,[12]Windows Media Audio 7 in 2000,[13]Windows Media Audio 8 in 2001,[14] andWindows Media Audio 9 in 2003.[4] Microsoft first announced its plans to license WMA technology to third parties in 1999.[15] Prior toWindows XP, WMA files were primarily streamed using the Windows Media Source Filter (DirectShow codec), later being removed in Windows Vista with the addition of Media Foundation.[16] Although earlier versions ofWindows Media Player played WMA files, support for WMA file creation was not added until the seventh version.[17] In 2003, Microsoft released new audio codecs that were not compatible with the original WMA codec. These codecs wereWindows Media Audio 9 Professional,[4]Windows Media Audio 9 Lossless,[4] andWindows Media Audio 9 Voice.[4]
All versions of WMA released since version 9.0 – namely 9.1, 9.2, and 10 – have been backwards compatible with the original v9 decoder and are therefore not considered separate codecs. The sole exception to this is the WMA 10 Professional codec whose Low Bit Rate (LBR) mode is only backwards compatible with the older WMA Professional decoders at a half sampling rate (similar to how HE-AAC is backwards compatible with AAC-LC). Full fidelity decoding of WMA 10 Professional LBR bitstreams requires a WMA version 10 or newer decoder.
A WMA file is in most circumstances contained in theAdvanced Systems Format (ASF), aproprietary Microsoftcontainer format fordigital audio ordigital video.[18] The ASF container format specifies howmetadata about the file is to be encoded, similar to theID3 tags used by MP3 files. Metadata may include song name, track number, artist name, and alsoaudio normalization values. This container can optionally supportdigital rights management (DRM) using a combination ofelliptic curve cryptography key exchange,DES block cipher, a custom block cipher,RC4 stream cipher and theSHA-1 hashing function. SeeWindows Media DRM for further information.
Since 2008 Microsoft has also been using WMA Professional in its Protected Interoperable File Format (PIFF) based on theISO Base Media File Format and most commonly used for Smooth Streaming, a form of adaptive bitrate streaming over HTTP. Related industry standards such as DECEUltraViolet andMPEG-DASH have not standardized WMA as a supported audio codec, deciding in favor of the more industry-prevalent MPEG and Dolby audio codecs.
Each WMA file features a single audio track in one of the four sub-formats: WMA, WMA Pro, WMA Lossless, or WMA Voice. These formats are implemented differently from one another, such that they are technically distinct and mutually incompatible; that is to say, a device or software compatible with one sub-format does not therefore automatically support any of the other codecs. Each codec is further explained below.
Windows Media Audio (WMA) is the most common codec of the four WMA codecs. The colloquial usage of the termWMA, especially in marketing materials and device specifications, usually refers to this codec only. The first version of the codec released in 1999 is regarded as WMA 1. In the same year, thebit stream syntax, orcompression algorithm, was altered in minor ways and became WMA 2.[12] Since then, newer versions of the codec have been released, but the decoding process remained the same, ensuring compatibility between codec versions.[12] WMA is a lossy audio codec based on the study ofpsychoacoustics. Audio signals that are deemed to be imperceptible to the human ear are encoded with reduced resolution during the compression process.
WMA can encode audio signals sampled at up to 48 kHz with up to two discrete channels (stereo). WMA 9 introducedvariable bit rate (VBR) andaverage bit rate (ABR) coding techniques into the MS encoder although both were technically supported by the original format.[12] WMA 9.1 also added support for low-delay audio,[19] which reduceslatency for encoding and decoding.
Fundamentally, WMA is a transform coder based onmodified discrete cosine transform (MDCT), somewhat similar toAAC,Cook andVorbis. The bit stream of WMA is composed of superframes, each containing 1 or more frames of 2048 samples. If the bit reservoir is not used, a frame is equal to a superframe. Each frame contains several blocks, which are 128, 256, 512, 1024, or 2048 samples long after being transformed into the frequency domain via the MDCT. In the frequency domain, masking for the transformed samples is determined, and then used to requantize the samples. Finally, thefloating point samples are decomposed into coefficient and exponent parts and independentlyhuffman coded. Stereo information is typicallymid/side coded. At low bit rates,line spectral pairs (typically less than 17 kbit/s) and a form of noise coding (typically less than 33 kbit/s) can also be used to improve quality.
Like AAC and Ogg Vorbis, WMA was intended to address perceived deficiencies in the MP3 standard. Given their common design goals, the three formats ended up making similar design choices. All three are pure transform codecs. Furthermore, the MDCT implementation used in WMA is essentially a superset of those used in Ogg and AAC such that WMA iMDCT and windowing routines can be used to decode AAC and Ogg Vorbis almost unmodified. However, quantization and stereo coding is handled differently in each codec. The primary distinguishing trait of the WMA Standard format is its unique use of 5 different block sizes, compared to MP3, AAC, and Ogg Vorbis which each restrict files to just two sizes. WMA Pro extends this by adding a 6th block size used at 88.2/96 kHz sampling rate.
CertifiedPlaysForSure devices, as well as a large number of uncertified devices, ranging from portable hand-held music players to set-topDVD players, support the playback of WMA files. Most PlaysForSure-certified online stores distribute content using this codec only. In 2005,Nokia announced its plans to support WMA playback in future Nokia handsets.[20] In the same year, an update was made available for thePlayStation Portable (version 2.60) which allowed WMA files to be played on the device for the first time.[21]
Windows Media Audio Professional (WMA Pro) is an improved lossy codec closely related to WMA standards. It retains most of the same general coding features, but also features improved entropy coding and quantization strategies as well as more efficient stereo coding. Notably, many of the WMA standard's low bitrate features have been removed, as the core codec is designed for efficient coding at most bitrates. Its main competitors includeAAC,HE-AAC,Vorbis, Dolby Digital, and DTS. It supports 16-bit and 24-bit sample bit depth, sampling rates up to 96 kHz, and up to eight discrete channels (7.1 channel surround).[22] WMA Pro also supportsdynamic range compression, which reduces the volume difference between the loudest and quietest sounds in the audio track. According to Microsoft's Amir Majidimehr, WMA Pro could theoretically go beyond 7.1 surround sound and support "an unlimited number of channels"; however, Microsoft chose to limit its current capability to eight (7.1 discrete channels).[23]
The codec's bit stream syntax was frozen at the first version, WMA 9 Pro.[24] Later versions of WMA Pro introduced low-bit rate encoding, low-delay audio,[25] frequency interpolation mode,[26] and an expanded range ofsampling rate andbit-depth encoding options. A WMA 10 Pro file compressed with frequency interpolation mode comprises a WMA 9 Pro track encoded at half the original sampling rate, which is then restored using a new compression algorithm.[27] In this situation, WMA 9 Pro players which have not been updated to the WMA 10 Pro codec can only decode the lower quality WMA 9 Pro stream. Starting with WMA 10 Pro, eight channel encoding starts at 128 kbit/s, and tracks can be encoded at the native audio CD resolution (44.1 kHz, 16-bit), previously the domain of WMA Standard.
Despite a growing number of supported devices and its superiority over WMA, WMA Pro still has little hardware and software support. Some notable exceptions to this are theMicrosoft Zune (limited to stereo),[28]Xbox 360,[29]Windows Mobile-powered devices with Windows Media Player 10 Mobile,[30] newerToshiba Gigabeat andMotorola devices,[31][32] and devices running recent versions of theRockbox alternative firmware.[33] In addition, WMA Pro is a requirement for theWMV HD certification program.[34] On the software side,Verizon utilizes WMA 10 Pro for its V CAST Music Service,[35] andWindows Media Player 11 has promoted the codec as an alternative to WMA for copying audio CD tracks.[36] WMA Pro is supported in Silverlight as of version 2 (though only in stereo mode). In the absence of the appropriate audio hardware, WMA Pro can automaticallydownmix multichannel audio to stereo ormono, and 24-bit resolution to 16-bit during playback.
A notable example of WMA Pro being used instead of WMA Standard is the NBC Olympics website which uses WMA 10 Pro in its low-bitrate mode at 48 kbit/s.[citation needed]

As part of the Windows Media 9 series, Microsoft introducedWindows Media Audio Lossless in early 2003, alossless audio format sharing the .wma file extension as its lossy counterparts. It is designed to store a digital audio stream (such as aCD-Audio track) at some fraction of the original. Each sample in a channel can be encoded at up to 24 bits, at a rate of 96 KHz, with up to 6 discrete channels (for5.1 surround sound). The container is also said to have dynamic range compression control. Like WMA Pro, the WMA Lossless decoder can perform downmixing when capable audio hardware is not present.[citation needed] While the details of the format have never been publicly documented, it has been reverse-engineered for use on non-Microsoft platforms by the open sourceFFmpeg project. Only 16-bit WMA files are supported as of 2012.[needs update]
Designed for archival purposes,[37] it competed withATRAC Advanced Lossless,Dolby TrueHD,DTS-HD Master Audio,Shorten,Monkey's Audio,FLAC,Apple Lossless, andWavPack. Since late 2011,[38][39][40] the last three have the advantage of havingopen source encoders, no licensing costs, and availability on nearly anyoperating system. The typical compression ratio for music varies between 1.7:1 and 3:1.[37][41][42] It compresses an audio CD to a range of 206 to 411 MB, at bit rates of 470 to 940 kbit/s.
Like WMA Standard, WMA Lossless was adopted by a few online distribution stores in the mid-2000s.[43][44] Hardware support for the codec became available on the first-partyZune 4, 8,30,80, 120 (with firmware version 2.2 or later), andHD portable media players and theXbox 360.[29] Third-party support emerged in the Cowon A3,[45] Cowon S9,Bang & Olufsen Serenata,[46] Sony Walkman NWZ-A and NWZ-S series, Toshiba Gigabeat S and V models, Toshiba T-400, the Meizu M3, andBest Buy-exclusive Insignia NS-DV, Pilot, and Sport music players. The Logitech Squeezebox Touch was also updated to support the format natively; previously it was added through transcoding.Windows Mobile-powered devices with Windows Media Player 10 Mobile,[30] and Windows Phone (version 8 and above) also included playback support for the format.
Windows Media Audio Voice (WMA Voice) is a lossy audio codec that competes withSpeex (used in Microsoft's ownXbox Live online service[47]),ACELP, and other codecs. Designed for low-bandwidth, voice playback applications,[48] it employs low-pass and high-pass filtering of sound outside the human speech frequency range to achieve higher compression efficiency than WMA. It can automatically detect sections of an audio track containing both voice and music and use the standard WMA compression algorithm instead.[24] WMA Voice supports up to 22.05 kHz for a single channel (mono) only.[48] Encoding is limited toconstant bit rate (CBR) and up to 20 kbit/s. The first and only version of the codec is WMA 9 Voice.
Windows Mobile-powered devices with Windows Media Player 10 Mobile have native support for WMA 9 Voice playback.[30] In addition,BBC World Service has employed WMA Voice for itsInternet radio streaming service.[49]
Microsoft claims that audio encoded with WMA sounds better than MP3 at the same bit rate; Microsoft also claims that audio encoded with WMA at lower bit rates sound better than MP3 at higher bit rates.[50]Double blind listening tests with other lossy audio codecs have shown varying results, from failure to support Microsoft's claims about its superior quality to supremacy over other codecs. One independent test conducted in May 2004 at 128 kbit/s showed that WMA was roughly equivalent toLAME MP3; inferior to AAC and Vorbis; and superior toATRAC3 (software version).[51]
Some studies concluded:
Microsoft's claims of WMA sound quality have frequently drawn complaints. "Some audiophiles challenge Microsoft's claims regarding WMA's quality", according to a published article from EDN.[11] Another article from MP3 Developments wrote that Microsoft's claim about CD-quality audio at 64 kbit/s with WMA was "very far from the truth".[52] At the early stages of WMA's development, a representative from RealNetworks claimed that WMA was a "clear and futile effort by Microsoft to catch up withRealAudio 8".[53]
Microsoft has sometimes claimed that the sound quality of WMA at 64 kbit/s equals or exceeds that of MP3 at 128 kbit/s (both WMA and MP3 are considered near-transparent at 192 kbit/s by most listeners). In a 1999 study funded by Microsoft,National Software Testing Laboratories (NSTL) found that listeners preferred WMA at 64 kbit/s to MP3 at 128 kbit/s (as encoded byMusicMatch Jukebox).[54]
Both MP3 and WMA encoders have undergone active development and improvement for many years, so their relative quality may change over time.
Apart from Windows Media Player, most of the WMA compression formats can be played usingALLPlayer,VLC media player,[55]Media Player Classic,[56]MPlayer,RealPlayer,Winamp,Zune Software (with certain limitations—DSP plugin support and DirectSound output is disabled using the default WMA plugin),[citation needed] and many other software media players. The Microsoft Zune media management software supports most WMA codecs, but uses a variation ofWindows Media DRM which is used by PlaysForSure.
TheFFmpeg project has reverse-engineered and re-implemented the WMA codecs to allow their use onPOSIX-compliant operating systems such asLinux. TheRockbox project further extended this codec to be suitable for embedded cores, allowing playback on portable MP3 players and cell phones running open source software. RealNetworks has announced plans to support playback of DRM-free WMA files in RealPlayer for Linux.[57] On theMacintosh platform, Microsoft released aPowerPC version of Windows Media Player forMac OS X in 2003,[58] but further development of the software has ceased. Microsoft currently endorses the third-partyFlip4Mac WMA, aQuickTime component that allows Macintosh users to play WMA files in any player that uses the QuickTime framework.[59] Flip4Mac, however, does not currently support the Windows Media Audio Voice codec.[60]
The coreAndroid platform does not itself support WMA, but there is third-party WMA software for Android devices.[61]
WMA format can be played on almost all Windows Mobile and later Windows Phone devices.
There are many proprietary andopen source software packages that can export audio in WMA format, including amongst many others Windows Media Player,Windows Movie Maker,Microsoft Expression Encoder,Sony Sound Forge,GOM Player,RealPlayer,[62]Adobe Premiere Pro,[63]Adobe Audition,[64]Adobe Soundbooth, andVLC media player.[65]Microsoft Office OneNote supports encoding in all WMA codecs,[66] andWindows Media Encoder supports all available bit rate and resolution options as well.
The WMA codecs are most often used with the ASF container format, which has an optional DRM facility. Windows Media DRM, which can be used in conjunction with WMA, supports time-limited music subscription services such as those offered by unlimited download services, including MTV'sURGE,Napster,Rhapsody,Yahoo! Music Unlimited, andVirgin Digital. Windows Media DRM, a component of PlaysForSure andWindows Media Connect, is supported on many modern portable audio devices and streaming media clients such asRoku,SoundBridge,Xbox 360, andWii. Players that support the WMA format but not Windows Media DRM cannot play DRM-protected files.
some audiophiles challenge Microsoft's claims regarding WMA's quality