<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hydrogenaudio.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Junh1024</id>
	<title>Hydrogenaudio Knowledgebase - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hydrogenaudio.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Junh1024"/>
	<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Special:Contributions/Junh1024"/>
	<updated>2026-04-30T12:28:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=AAC_FAQ&amp;diff=23004</id>
		<title>AAC FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=AAC_FAQ&amp;diff=23004"/>
		<updated>2011-09-17T09:52:09Z</updated>

		<summary type="html">&lt;p&gt;Junh1024: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview AAC FAQ= &lt;br /&gt;
===Great, so you&#039;ve given me all the technical stuff, but what is [[AAC]] really?===&lt;br /&gt;
[[AAC]] is the culmination of the current state of the art audio encoding techniques. It is designed &lt;br /&gt;
to improve upon and replace [[MP3]] as the defacto Audio Encoding standard. It usually offers (depending on the codec) equivalent quality to MP3 at a lower bitrate.&lt;br /&gt;
&lt;br /&gt;
===What is the difference between *.MP4 and *.M4A?===&lt;br /&gt;
Besides the extension, absolutely nothing. Apple came up with extension to distiguish between files with Video and Audio (the [[MP4]] extension) and files with Audio only (the M4A extension). As far as the internal structure of the file, nothing is different.&lt;br /&gt;
&lt;br /&gt;
===What MPEG 4 extensions does the Apple iPod Accept?===&lt;br /&gt;
The iPod accepts files with the MP4 extension, the M4A extension, the M4P extension (a Protected AAC file), and the M4B extension for audiobook files (which can be either protected or unprotected). It will not accept unwrapped AAC files (files with the .AAC extension).&lt;br /&gt;
&lt;br /&gt;
===What is the difference between LC (Low Complexity) and HE (High Efficiency)?===&lt;br /&gt;
These are two of the various Object Types in the MPEG4 Systems Standard. LC is the most popular Object Type with all encoders/decoders supporting it. Currently, Apple, Nero, Coding Technolgies, and Panasonic have incorporated the HE AAC standard into their encoders, which allows for higher quality sound at lower bitrates then the LC Object Type does (at the same bitrate). The HE Object Type is only used for music with a bitrate of less than ~80kbps.&lt;br /&gt;
&lt;br /&gt;
===What&#039;s the best AAC encoder?===&lt;br /&gt;
Deciding the best AAC encoder is difficult, because the quality of an encoding depends not only on the encoder implementation, but also on bitrate, audio content, playback equipment and conditions, and the subjective perceptual judgement of the listener at playback time.&lt;br /&gt;
&lt;br /&gt;
Since it is very difficult to quantify the quality of an encoder, [[Listening Tests|listening tests]] are used.&lt;br /&gt;
&lt;br /&gt;
Guruboolez&#039;s [http://www.hydrogenaudio.org/forums/index.php?showtopic=29924 last test] concluded that [http://www.nero.com/en/ Nero AAC] was the best AAC encoder, at 128kbps, on classical samples, at the time the test was conducted.&lt;br /&gt;
&lt;br /&gt;
On the other hand, a public [http://www.rjamorim.com/test/multiformat128/results.html listening test] conducted by [[User:rjamorim|rjamorim]] in mid-2004 comparing different codecs, at 128kbps, with several music styles and featuring several listeners concluded that [[iTunes]] (the only AAC codec included in the test) was better than other codecs - even VBR-enabled ones. &lt;br /&gt;
 &lt;br /&gt;
The quality of any encoder is not linear with bitrates, and therefore these results can not be extrapolated to other higher or lower bitrates. It can also be said with great confidence that both the iTunes AAC encoder and the Nero AAC encoder, although still under development at the end of 2006, are relatively &#039;mature&#039; and should not fail badly (result in any obvious artifacts) on any particular sample at an average bitrate of 128kbps (i.e. Internet Profile for Nero AAC) or above (based on Roberto&#039;s listening tests, see bottom).&lt;br /&gt;
&lt;br /&gt;
Beyond that, only you can decide; you may want to conduct your own private [[Listening Tests|listening tests]], or you may base your decision on other criteria besides audio quality. See the [[Audio format guide]] for more information.&lt;br /&gt;
&lt;br /&gt;
===Do AAC encoded files play back gaplessly?===&lt;br /&gt;
[[Gapless]] playback is not part of the AAC standard and as such is not mandatory. However, certain companies can choose to add gapless encoding/decoding if they desire, providing it doesn&#039;t break compatibility with previous decoders. This is what Ahead have done with their Nero AAC codec. The files get encoded with information that allows the gap heard between files to be removed. This however is only possible with supported players (currently these include foobar2000 and Nero ShowTime). Currently Nero AAC and FAAC are the only encoders to have gapless encoding/decoding support.&lt;br /&gt;
&lt;br /&gt;
===What software players can play back AAC music?===&lt;br /&gt;
There are now a number of software players that can play back this new format. [[foobar2000]] is considered by many to be a very high quality audio player, and it is certainly capable of playing back AAC encoded files. Other players include [http://amarok.kde.org Amarok] using [http://www.audiocoding.com/ libfaad2], Apple&#039;s [[iTunes]], [[Winamp]], [http://www.real.com/ Real Player] and [http://www.microsoft.com/windows/windowsmedia/default.aspx Windows Media Player] using the [http://corecodec.org/projects/coreaac CoreAAC filter] and [http://www.elecard.com/download/ Moonlight MP4 Demultiplexer]. Also for Directshow-based applications playback and encoding is possible using the commercial [http://www.3ivx.com/ 3ivx filter suite].&lt;br /&gt;
&lt;br /&gt;
===What hardware players can play back AAC music?===&lt;br /&gt;
There are also a few hardware players that can play back AAC audio. The most famous of these is the [[Apple iPod]] series of products, all of which feature AAC playback.  A number of mobile (cell) phones also support unwrapped AAC (AAC not contained in the MP4 container). Recent Pioneer HT receivers can play back AAC files on a USB key or other USB mass-storage device.&lt;br /&gt;
&lt;br /&gt;
==Related Links==&lt;br /&gt;
&lt;br /&gt;
* [[AAC]] description article&lt;br /&gt;
* Known [[AAC implementations]].&lt;br /&gt;
* Read the [[AAC guide]] to learn how to obtain AAC/[[MP4]] files out of [[WAV]] files and CDs.&lt;br /&gt;
* Detailed AAC comparisons can be found at [http://www.rjamorim.com/test/ Roberto&#039;s listening tests page].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
[[Category:Codecs]]&lt;/div&gt;</summary>
		<author><name>Junh1024</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=AAC_encoders&amp;diff=23003</id>
		<title>AAC encoders</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=AAC_encoders&amp;diff=23003"/>
		<updated>2011-09-17T09:49:35Z</updated>

		<summary type="html">&lt;p&gt;Junh1024: /* Nero AAC */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are some known [[AAC]] encoder implementations.&lt;br /&gt;
&lt;br /&gt;
==[[Nero AAC]]==&lt;br /&gt;
&lt;br /&gt;
A commercial implementation of both LC AAC and HE AAC, Nero AAC is produced by Nero AG as part of their Nero Digital line of products. It is generally percieved to have the highest quality VBR LC AAC implementation (although [[QuickTime AAC]] beats it in CBR mode at 128kbps). The codec can also create HEv1/v2 AAC streams for extremely low bitrates and supports multi-channel surround sound encoding. As of May 2006, Nero AAC is available for free as a command line tool called &amp;quot;Nero Digital Audio&amp;quot; [http://www.nero.com/nerodigital/eng/down-ndaudio.php here].&lt;br /&gt;
&lt;br /&gt;
===Recommended Nero AAC Presets===&lt;br /&gt;
&lt;br /&gt;
NOTE: Once a preset has been selected, the &amp;quot;Encoding Quality&amp;quot; option should be changed to the &amp;quot;Fast&amp;quot; mode.  Despite the name implying worse quality then high, a test undertaken by guruboolez shows that the &amp;quot;Fast&amp;quot; mode offers significant quality advantages over the &amp;quot;High&amp;quot; (see the test [http://www.hydrogenaudio.org/forums/index.php?showtopic=29924 here]). In the forthcoming release of Nero AAC 3.0 (or a release soon afterwards), the &amp;quot;Fast&amp;quot; mode will become the default and the high quality mode will be removed.&lt;br /&gt;
&lt;br /&gt;
====High Quality====&lt;br /&gt;
&lt;br /&gt;
: - VBR/Stereo - Streaming, 100-120 Kb/s (LC AAC) / Actual bitrate ~150kbps&lt;br /&gt;
&lt;br /&gt;
====Portable====&lt;br /&gt;
&lt;br /&gt;
: - VBR/Stereo - Internet, 90-100 Kb/s (LC AAC) / Actual bitrate ~128kbps&lt;br /&gt;
&lt;br /&gt;
====Small Filesize====&lt;br /&gt;
&lt;br /&gt;
: - VBR/Stereo - Portable, 50-70 Kb/s (HE AAC) / Actual bitrate ~90kbps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The High Quality preset is for the archival of music, while the Small Filesize preset is for internet/streaming purposes.&lt;br /&gt;
&lt;br /&gt;
More information can be found in the [ftp://ftp6.nero.com/infosheets/Nero_Digital/db_nerodigital5.pdf Nero Digital PDF] and on the [http://www.nerodigital.com/ Nero Digital Website].&lt;br /&gt;
&lt;br /&gt;
==iTunes AAC==&lt;br /&gt;
&lt;br /&gt;
Another proprietary AAC implementation, [[iTunes]] AAC is known to be one of the highest quality medium-bitrate [[CBR]] LC AAC encoders.&lt;br /&gt;
&lt;br /&gt;
The codec is available for free through the [[iTunes]] Digital Jukebox.&lt;br /&gt;
&lt;br /&gt;
More information can be found about Apple&#039;s AAC implementation on their [http://www.apple.com/quicktime/technologies/aac/ AAC Audio information page].&lt;br /&gt;
&lt;br /&gt;
The current recommended high quality encoding setting is 160kbps, or 128kbps for portable use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The iTunes AAC encoder can be externally envoked via a command line tool created by Otto42 called [http://www.rarewares.org/files/aac/iTunesEncode46.zip iTunesEncode], which can be found at [http://www.rarewares.org/ RareWares] in the AAC section.  This allows for the generation of iTunes AAC files from audio formats not inherently supported by iTunes using the format conversion functionality found in programs such as [[foobar2000]].&lt;br /&gt;
&lt;br /&gt;
==FAAC==&lt;br /&gt;
&lt;br /&gt;
[[FAAC]] is a free LC AAC encoder under the Lesser GPL license. Its quality has improved drastically over the last few years and FAAC is nowadays a viable alternative to the commercial encoders (although, at 128kbps or lower bitrates, not at the same quality level as some of them, according to Guruboolez&#039;s [http://www.hydrogenaudio.org/forums/index.php?showtopic=29924 last listening test]).&lt;br /&gt;
&lt;br /&gt;
The default quality setting is -q 100 -c 16000 (~120kbps average bitrate), for better quality encodings use -q 150 -c 22000 (~175kbps average bitrate).&lt;br /&gt;
&lt;br /&gt;
More information can be found at [http://www.audiocoding.com/ AudioCoding].&lt;br /&gt;
&lt;br /&gt;
==HHI/zPlane (Compaact!)==&lt;br /&gt;
&lt;br /&gt;
Compaact is one of the newest AAC encoders. Like Nero AAC, compaact is not free, however it does offer an impressive feature set. Roberto Amorim&#039;s last AAC test showed that at 128kbps, Compaact! is tied with both the FAAC and Coding Technologies (Real) encoders. Compaact! features both the LC and Main Object Types, [[CBR]], [[VBR]], [[Multichannel]], high resolution (24bit/96kHz) encoding, and command line support. Development on Compaact has stopped. &lt;br /&gt;
&lt;br /&gt;
For portable encoding, try -q5 to -q6. For music archive purposes, try -q7 to -q8.&lt;br /&gt;
&lt;br /&gt;
More information can be found at the [http://www.compaact.com/aacPage.php?SPRACHE=UK&amp;amp;PAGE=compaact Compaact website].&lt;br /&gt;
&lt;br /&gt;
==PsyTEL==&lt;br /&gt;
&lt;br /&gt;
The creation of Ivan Dimkovic (who now works on Nero AAC), PsyTEL AAC was one of the first AAC encoders. Its multichannel support has bugs that make it unusable, but its stereo mode had the best quality available in its day. Since the implementation of Nero AAC, this codec has become obsolete. It&#039;s is now outclassed by both Nero AAC and [[iTunes]] - both offer higher quality and are much faster encoders.&lt;br /&gt;
&lt;br /&gt;
The PsyTEL encoder can be found in the AAC section of [http://www.rjamorim.com/rrw/ ReallyRareWares].&lt;br /&gt;
&lt;br /&gt;
===Usability (Psytel aacenc/fastenc)===&lt;br /&gt;
&lt;br /&gt;
; -tape&lt;br /&gt;
; -radio&lt;br /&gt;
; -internet&lt;br /&gt;
; -streaming&lt;br /&gt;
; -normal&lt;br /&gt;
; -extreme&lt;br /&gt;
; -archive&lt;br /&gt;
; -ultra&lt;br /&gt;
&lt;br /&gt;
For music encoding. The quality ranges from -tape (lowest [[VBR]] quality) to -ultra (highest VBR quality). Ultra is considered overkill for most audio tracks, i.e: shouldn&#039;t be used except for extremely difficult music signals. Example: aacenc -extreme -if &amp;quot;audio file.wav&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Encoder switches (Psytel aacenc/fastenc)===&lt;br /&gt;
&lt;br /&gt;
; -if &lt;br /&gt;
: Input filename. The name of the track to be encoded (must be a [[WAV]] file)&lt;br /&gt;
&lt;br /&gt;
; -of &lt;br /&gt;
: Output filename. May be omitted, because encoder will automatically create the output file name from the input file name.&lt;br /&gt;
&lt;br /&gt;
; -br &lt;br /&gt;
: Bitrate switch ([[CBR]] mode). Sets the number of bits utilized per second for the encoding process. Example: aacenc -br 192 -if &amp;quot;audio file.wav&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; -vbrhi &lt;br /&gt;
: High quality [[VBR]] mode. Can be used with -br switch to select base BitRate. If -br is not specified, it takes as default 64kbps/channel. Example: aacenc -br 192 -vbrhi -if &amp;quot;audio file.wav&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; -vr &lt;br /&gt;
: Lower quality [[VBR]] mode. Recommended for internet streaming. Example: aacenc -vr -if &amp;quot;audio file.wav&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; -c &lt;br /&gt;
: LowPassFilter cut-off (in Hertz). Not recommended. Example: aacenc -br 128 -c 15995 -if &amp;quot;audio file.wav&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; -qual &lt;br /&gt;
: Encoder quality level (1 to 9). 9 is usually taken as default, but you can use smaller numbers if you need high speed and high quality isn&#039;t essential. Example: aacenc -br 192 -qual 9 -if &amp;quot;audio file.wav&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; -adif &lt;br /&gt;
: Use adif instead of adts (default) headers. For compatibility with some decoder software and hardware players. Example: aacenc -br 192 -adif -if &amp;quot;audio file.wav&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; -nh &lt;br /&gt;
:  No headers (raw iso aac stream). For decoder compatibility. Example: aacenc -br 192 -nh -if &amp;quot;audio file.wav&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; -profile &amp;quot;x&amp;quot; &lt;br /&gt;
: Choose iso aac encoding profile:&lt;br /&gt;
:: 0 - low complexity (default, recommended)&lt;br /&gt;
:: 1 - main (not recommended, buggy)&lt;br /&gt;
:: 2 - main ltp (mpeg-4 only)&lt;br /&gt;
&lt;br /&gt;
: Only lc profile is playable on hardware players so far. Example: aacenc -br 192 -profile 2 -if &amp;quot;audio file.wav&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; -ihsc &lt;br /&gt;
: Improved human speech coding. Best for human voice encoding. Not recommended for low Bitrates or [CBR] coding. Example: aacenc -vbrhi -br 192 -ihsc -if &amp;quot;audio file.wav&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; -low_ath &lt;br /&gt;
: Tells encoder to use highest sensitivity threshold of audibility. Not recommended on Bitrates lower than 192kbps. Example: aacenc -br 192 -low_ath -if &amp;quot;audio file.wav&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; -pns &lt;br /&gt;
: (perceptual noise substitution) - Improves the quality at very low Bitrates. Should be used only at 64kbps or less. Example: aacenc -br 56 -pns -if &amp;quot;audio file.wav&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Imagine==&lt;br /&gt;
&lt;br /&gt;
Imagine Technology provided an [[MPEG-4]] LC AAC plugin for [[Adobe Audition]]. This plugin provided file input and output for the MPEG-4 AAC specification, defined in ISO/IEC 14496-3. After Imagine was bought by Ingenient Technologies, they stopped marketing the Audition plugin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Coding Technologies==&lt;br /&gt;
&lt;br /&gt;
Coding Technologies (CT) is a Swedish/German company that works close to FhG IIS in development and research of new audio compression techniques.&lt;br /&gt;
&lt;br /&gt;
Thet have distinguished themselves in development of parametric coding methods, such as [[SBR]] and Parametric Stereo. SBR is the technology behind the quality boost in MP3pro and HE AAC/AACplus.&lt;br /&gt;
&lt;br /&gt;
They have licensed their encoding and decoding tools to several companies - E.G, Real Networks and Magix.&lt;br /&gt;
&lt;br /&gt;
Does exist an encoder, [[Aacplusenc]], which is based on the Coding Technologies reference code&lt;br /&gt;
&lt;br /&gt;
==FhG==&lt;br /&gt;
&lt;br /&gt;
[http://www.iis.fraunhofer.de/amm/techinf/aac/ Audio &amp;amp; Multimedia MPEG-2 AAC]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Emuzed==&lt;br /&gt;
&lt;br /&gt;
Emuzed develops and sells various products and technologies for the PC multimedia and embedded multimedia markets. They have ported and optimized codecs for MPEG-4 ASP and AAC LC for a chip vendor preparing to offer bundled multimedia hardware and software. More info can be found at their [http://www.emuzed.com/encoders.html encoders &amp;amp; decoders] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NEC==&lt;br /&gt;
&lt;br /&gt;
NEC Corporation has developed an LC AAC decoding algorithm for mobile devices. They have also developed a codec named MPEG-4 AAC Ext.1, which they claim decreases bitrate while maintaining the same audio quality. The new MPEG-4 AAC Ext.1 coding technology also features high compatibility with current MPEG-4 AAC. For more information, see [http://www.neceurope.com/release.asp?parentid=671&amp;amp;Area=1 NEC&#039;s press release].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Panasonic==&lt;br /&gt;
&lt;br /&gt;
Panasonic has developed an HE AAC codec together with NEC and Coding Technologies as described in &lt;br /&gt;
[http://www.telos-systems.com/techtalk/hosted/m4-in-30100%20(M4IF_HE_AAC_paper).pdf this MPEG Industry Forum paper].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Real/Helix Producer==&lt;br /&gt;
&lt;br /&gt;
RealNetworks has incorporated Coding Technologies/FhG&#039;s MPEG-4 AAC / aacPlus™ technology and software within RealNetworks’ software products. As a result, in the newest version of RealProducer 10, AAC has replaced [[ATRAC]]3 as the high bitrate audio codec, and that software can encode AAC files wrapped in the [[MP4]] container. In addition, the Producer SDK on Windows also includes HE-AAC encoding. More info can be found at [http://www.realnetworks.com/company/press/releases/2004/codingtech.html RealNetworks&#039; press release], as well as Coding Technologies&#039; [http://www.codingtechnologies.com/products/aacPlus.htm aacPlus page].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;/div&gt;</summary>
		<author><name>Junh1024</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Nero_AAC&amp;diff=23002</id>
		<title>Nero AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Nero_AAC&amp;diff=23002"/>
		<updated>2011-09-17T09:47:53Z</updated>

		<summary type="html">&lt;p&gt;Junh1024: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A commercial implementation of both LC AAC and HE AAC, Nero AAC is produced by Nero AG as part of their Nero Digital line of products. It is generally percieved to have the highest quality [[VBR]] LC AAC implementation (although [[QuickTime AAC]] beats it in [[CBR]] mode at 128kbps). The codec can also create HEv1/v2 AAC streams for extremely low bitrates and supports multi-channel surround sound encoding. As of May 2006, Nero AAC is available for free as a command line tool called &amp;quot;Nero Digital Audio&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Command Line Options==&lt;br /&gt;
&lt;br /&gt;
===Usage===&lt;br /&gt;
neroAacEnc.exe [options] -if &amp;lt;input-file&amp;gt; -of &amp;lt;output-file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;input-file&amp;gt;: Path to source file to encode. The file must be in Microsoft WAV format and contain PCM data.  Specify - to encode from stdin.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;output-file&amp;gt;: Path to output file to encode to, in MP4 format.&lt;br /&gt;
&lt;br /&gt;
===Quality/Bitrate Control===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-q &amp;lt;number&amp;gt;&#039;&#039;&#039;:&lt;br /&gt;
Enables &amp;quot;target quality&amp;quot; mode.  &amp;lt;number&amp;gt; is floating-point number between 0 and 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-br &amp;lt;number&amp;gt;&#039;&#039;&#039;:&lt;br /&gt;
Specifies &amp;quot;target bitrate&amp;quot; mode.  &amp;lt;number&amp;gt; is target bitrate in bits per second.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-cbr &amp;lt;number&amp;gt;&#039;&#039;&#039;:&lt;br /&gt;
Specifies &amp;quot;target bitrate (streaming)&amp;quot; mode.  &amp;lt;number&amp;gt; is target bitrate in bits per second.&lt;br /&gt;
&lt;br /&gt;
When none of above quality/bitrate options is used, the encoder defaults to equivalent of -q 0.5&lt;br /&gt;
&lt;br /&gt;
===Multipass Encoding===&lt;br /&gt;
&#039;&#039;&#039;-2pass&#039;&#039;&#039;:&lt;br /&gt;
Enables two-pass encoding mode.  Note that two-pass more requires a physical file as input, rather than stdin.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-2passperiod &amp;lt;number&amp;gt;&#039;&#039;&#039;: Overrides two-pass encoding bitrate averaging period, in milliseconds.  Specify zero to use least restrictive value possible (default).&lt;br /&gt;
&lt;br /&gt;
===Advanced Features / Troubleshooting===&lt;br /&gt;
&#039;&#039;&#039;-lc&#039;&#039;&#039;: Forces use of LC AAC profile (HE features disabled)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-he&#039;&#039;&#039;: Forces use of HE AAC profile (HEv2 features disabled)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-hev2&#039;&#039;&#039;: Forces use of HEv2 AAC profile&lt;br /&gt;
                &lt;br /&gt;
Note that the above switches (-lc, -he, -hev2) should not be used; optimal AAC profile is automatically determined from quality/bitrate settings when no override is specified.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-hinttrack&#039;&#039;&#039;: Generates an RTP hint track in output MP4 file.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;-ignorelength&#039;&#039;&#039;: Ignores length signaled by WAV headers of input file. Useful for certain frontends using stdin.&lt;br /&gt;
&lt;br /&gt;
==Example EAC Settings==&lt;br /&gt;
&lt;br /&gt;
The following settings are examples of what one might use for music and spoken word sources, respectively. Files will be tagged properly using these commands via neroaactag.exe. These commands do run ReplayGain on the files.&lt;br /&gt;
&lt;br /&gt;
This is the syntax for older versions of EAC. For 1.0 beta 2 and above, variables have a changed syntax. See [[http://wiki.hydrogenaudio.org/index.php?title=EAC_and_AAC]]&lt;br /&gt;
&lt;br /&gt;
===320kbps CBR AAC (Forced LC)===&lt;br /&gt;
&#039;&#039;&#039;Program, including path, used for compression&#039;&#039;&#039;: C:\Windows\system32\cmd.exe&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Additional Command Line Options&#039;&#039;&#039;: /c &amp;quot;&amp;quot;C:\path\to\neroaacenc.exe&amp;quot; -cbr 320000 -lc -if %s -of %d &amp;amp;&amp;amp; &amp;quot;C:\path\to\Neroaactag.exe&amp;quot; %d -meta:artist=&amp;quot;%a&amp;quot; -meta:album=&amp;quot;%g&amp;quot; -meta:track=&amp;quot;%n&amp;quot; -meta:title=&amp;quot;%t&amp;quot; -meta:genre=&amp;quot;%m&amp;quot; -meta:year=&amp;quot;%y&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Q0.3 VBR AAC (Forced HC)===&lt;br /&gt;
&#039;&#039;&#039;Program, including path, used for compression&#039;&#039;&#039;: C:\Windows\system32\cmd.exe&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Additional Command Line Options&#039;&#039;&#039;: /c &amp;quot;&amp;quot;C:\Program Files\Exact Audio Copy\neroaacenc.exe&amp;quot; -q 0.3 -hc -if %s -of %d &amp;amp;&amp;amp; &amp;quot;C:\Program Files\Exact Audio Copy\Neroaactag.exe&amp;quot; %d -meta:artist=&amp;quot;%a&amp;quot; -meta:album=&amp;quot;%g&amp;quot; -meta:track=&amp;quot;%n&amp;quot; -meta:title=&amp;quot;%t&amp;quot; -meta:genre=&amp;quot;%m&amp;quot; -meta:year=&amp;quot;%y&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Nero AAC in Foobar ==&lt;br /&gt;
&lt;br /&gt;
The Nero AAC Codec can be used inside Foobar2000&#039;s convert function.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
[http://www.hydrogenaudio.org/forums/index.php?showtopic=44310 Recommended Settings Sticky]&lt;br /&gt;
&lt;br /&gt;
[http://www.hydrogenaudio.org/forums/index.php?showtopic=44283 Discussion Thread for the Recommended Setting Sticky]&lt;br /&gt;
&lt;br /&gt;
== External References ==&lt;br /&gt;
[http://www.nero.com/eng/technologies-aac-codec.html Nero AAC Website].&lt;/div&gt;</summary>
		<author><name>Junh1024</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=User:Junh1024&amp;diff=23001</id>
		<title>User:Junh1024</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=User:Junh1024&amp;diff=23001"/>
		<updated>2011-09-17T08:51:43Z</updated>

		<summary type="html">&lt;p&gt;Junh1024: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi, I am junh1024 and I specialize in AAC implementations and audio analysis.&lt;br /&gt;
&lt;br /&gt;
I also edit the [http://mewiki.project357.com/wiki/Computer_movie_files/Audio AAC section] at the MeGUI wiki&lt;/div&gt;</summary>
		<author><name>Junh1024</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=MainConcept_AAC&amp;diff=23000</id>
		<title>MainConcept AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=MainConcept_AAC&amp;diff=23000"/>
		<updated>2011-09-17T08:48:02Z</updated>

		<summary type="html">&lt;p&gt;Junh1024: Created page with &amp;quot;MainConcept AAC is an AAC encoder that is potentially better than Apple AAC and Nero AAC.  It is only available as commercialware under Mainconcept Reference and the Mainconcept …&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MainConcept AAC is an AAC encoder that is potentially better than Apple AAC and Nero AAC.&lt;br /&gt;
&lt;br /&gt;
It is only available as commercialware under Mainconcept Reference and the Mainconcept AAC packages for Adobe Creative Suite.&lt;br /&gt;
&lt;br /&gt;
Unique to this encoder in the MainConcept Reference GUI is the ability to change cutoff independently of bitrate. Typical encoders, cutoff is a function of bitrate and cannot be modified directly.&lt;/div&gt;</summary>
		<author><name>Junh1024</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Advanced_Audio_Coding&amp;diff=22999</id>
		<title>Advanced Audio Coding</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Advanced_Audio_Coding&amp;diff=22999"/>
		<updated>2011-09-17T08:43:25Z</updated>

		<summary type="html">&lt;p&gt;Junh1024: small updates&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&#039;&#039;&#039;Advanced Audio Coding&#039;&#039;&#039; (&#039;&#039;&#039;AAC&#039;&#039;&#039;) forms part of the latest specifications from the MPEG committee, and is their official successor to the popular [[MP3]] format. As with MP3, the AAC format is an international standard, and is backed by several big-name companies, including Dolby, Sony and Nokia.&lt;br /&gt;
&lt;br /&gt;
With the 13 years that had passed since the creation of the MP3 format, many improvements had been realised leading to a seemingly complex specification with several flavours of AAC available. To potentially add to the confusion, AAC is usually wrapped inside an [[MP4]] container to provide tagging and seeking benefits. For this reason, AAC can also be referred to as MP4 audio.&lt;br /&gt;
&lt;br /&gt;
There are several AAC encoders to choose from, coming from large names such as Apple ([[iTunes]] and [[QuickTime AAC]]), Real Networks and Nero AG (Creators of Nero Burning Rom), or the open source [http://www.audiocoding.com FAAC] which is analogous to the [[LAME]] encoder. AAC is supported on some hardware players, most notably the [[Apple iPod]] and some cell phones, and is available in Apple&#039;s online store.&lt;br /&gt;
&lt;br /&gt;
In terms of quality, the AAC format is on par with (Ogg) [[Vorbis]], [[LAME]] MP3, [[WMA]] Pro and other modern codecs, and with added SBR coding (HE AAC) it can provide quite high quality at low bitrates.&lt;br /&gt;
&lt;br /&gt;
Recent developments have led to [[AACplus]] which is able to give subjectively good results at low bitrates. The website [http://www.tuner2.com Tuner2] has several Internet radio stations which are sending out streams at low rates – such as 40 kbps – and some of these are surprisingly good considering the bit rates used.&lt;br /&gt;
&lt;br /&gt;
== Pros ==&lt;br /&gt;
* An international standard approved by the [http://www.iso.ch ISO]&lt;br /&gt;
* Flexible: supports several [[sampling rate]]s (8000–96000 Hz), bit depths, and [[multichannel]] (up to 48 channels)&lt;br /&gt;
* Several implementations, including free and high quality ones ([http://www.itunes.com iTunes] or [http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html Nero Digital])&lt;br /&gt;
* Reaches transparency in most samples and for most users at around 150 kbps&lt;br /&gt;
* Part of [[MPEG-4]] specs&lt;br /&gt;
* Anyone can create its own implementation (specifications and demo sources available)&lt;br /&gt;
* Some portable players support it (Philips Expanium, [[Apple iPod]], cell phones from Nokia, Sony Jukebox)&lt;br /&gt;
&lt;br /&gt;
== Cons ==&lt;br /&gt;
* Problem cases that trip out all transform codecs&lt;br /&gt;
* Heavily patented&lt;br /&gt;
* Increased complexity&lt;br /&gt;
* &#039;&#039;&#039;AAC&#039;&#039;&#039; comes in different &amp;quot;flavors&amp;quot; (object types: &#039;&#039;&#039;AAC LC&#039;&#039;&#039;, &#039;&#039;&#039;AAC HE&#039;&#039;&#039;, &#039;&#039;&#039;AAC PS&#039;&#039;&#039; etc.). Many (especially portable) players only support LC (at the moment) so you can have files that are valid but your player won&#039;t play them or play at a reduced quality.&lt;br /&gt;
&lt;br /&gt;
== Technical Information ==&lt;br /&gt;
&#039;&#039;&#039;AAC&#039;&#039;&#039; stands for &#039;Advanced Audio Coding&#039; and is part of the [[MPEG-4]] Systems Standard. Originally known as MPEG-2 Non-Backwards Compatible (As apposed to MPEG-2 Backwards Compatible) it is the succesor to MPEG-1/2 Layer III ([[MP3]]). It uses the [[MP4]] [[container]] (which is based on Apple&#039;s [[MOV]] container) to store metadata (i.e. tag information).&lt;br /&gt;
&lt;br /&gt;
As part of the MPEG-4 Systems Standard, an &#039;&#039;&#039;AAC&#039;&#039;&#039; encoded file can include up to 48 full-bandwith audio channels (up to 96 kHz) and 15 Low Frequency Enhancement channels (limited to 120 Hz) plus 15 data streams.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;AAC&#039;&#039;&#039; encoding methods are organised into Profiles (MPEG-2) or Object Types (MPEG-4). These different Object Types are not necessarily compatible with each other and may not be playable with various decoders. Some of the various Object Types are:&lt;br /&gt;
&lt;br /&gt;
* MPEG-2 AAC LC / Low Complexity&lt;br /&gt;
* MPEG-2 AAC Main&lt;br /&gt;
* MPEG-2 AAC SSR / Scalable Sampling Rate&lt;br /&gt;
* MPEG-4 AAC LC / Low Complexity&lt;br /&gt;
* MPEG-4 AAC Main&lt;br /&gt;
* MPEG-4 AAC SSR / Scalable Sampling Rate&lt;br /&gt;
* MPEG-4 AAC LTP / Long Term Prediction&lt;br /&gt;
* MPEG-4 AAC HE / High Efficiency&lt;br /&gt;
* MPEG-4 AAC LD / Low Delay&lt;br /&gt;
&lt;br /&gt;
Different Object Types vary in complexity. Some take longer to encode/decode as a result of the different complexities. Furthermore, the benefits of the more complex profiles are often not worth the CPU power required to encode/decode them. As a result the Low Complexity/LC Object Type has become the profile used by most encoders and supported by most decoders. However, the High Efficiency (HE) Object Type has become more popular recently with its addition to the Nero and Quicktime &#039;&#039;&#039;AAC&#039;&#039;&#039; encoder.&lt;br /&gt;
&lt;br /&gt;
Currently all players support the LC Object Type, although some will work on only MPEG2 or MPEG4 streams. Players based on the FAAD2 decoder (eg. [[foobar2000]], [[Winamp]] plugins) support almost all Object Types including HE &#039;&#039;&#039;AAC&#039;&#039;&#039;. 3ivX also supports all Object Types except SSR.&lt;br /&gt;
&lt;br /&gt;
== Technologies used for compression ==&lt;br /&gt;
* [[Huffman coding]]&lt;br /&gt;
* [[Quantization]] and scaling&lt;br /&gt;
* [[Joint stereo|M/S matrixing]]&lt;br /&gt;
* [[Intensity stereo]]&lt;br /&gt;
* Channel coupling&lt;br /&gt;
* Backward adaptive prediction&lt;br /&gt;
* Temporal Noise Shaping (TNS)&lt;br /&gt;
* Modified Discrete Cosine Transform (I[[MDCT]])&lt;br /&gt;
* Gain control and hybrid filter bank (polyphase quadrature filter (IPQF)+IMDCT)&lt;br /&gt;
* Long Term Prediction (LTP) – MPEG4 &#039;&#039;&#039;AAC&#039;&#039;&#039; only&lt;br /&gt;
* Perceptual Noise Substitution (PNS) – MPEG4 &#039;&#039;&#039;AAC&#039;&#039;&#039; only&lt;br /&gt;
* Spectral Band Replication ([[SBR]]) – HE &#039;&#039;&#039;AAC&#039;&#039;&#039;&lt;br /&gt;
* Parametric Stereo (PS) – HE &#039;&#039;&#039;AAC&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Encoders / Decoders (Supported Platforms) ==&lt;br /&gt;
* [[Nero AAC]] (Win32 and [[Linux_and_Nero_AAC|Linux under Wine]])&lt;br /&gt;
* [[QuickTime AAC]] (Win32/MacOS X)&lt;br /&gt;
* [[FAAC]] [[FAAD]] (Multiplatform)&lt;br /&gt;
* HHI/zPlane [[Compaact!]] (Win32)&lt;br /&gt;
* [[PsyTEL]] (Win32)&lt;br /&gt;
* [[aacplusenc]] (Multiplatform)&lt;br /&gt;
&lt;br /&gt;
== External References ==&lt;br /&gt;
* [[AAC FAQ]]&lt;br /&gt;
* Known [[AAC implementations]].&lt;br /&gt;
* Read the [[AAC guide]] to learn how to obtain &#039;&#039;&#039;AAC&#039;&#039;&#039;/[[MP4]] files out of WAV files and CDs.&lt;br /&gt;
* Detailed &#039;&#039;&#039;AAC&#039;&#039;&#039; comparisons can be found at [http://www.rjamorim.com/test/ Roberto&#039;s listening tests page].&lt;br /&gt;
&lt;br /&gt;
[[Category:Codecs]]&lt;br /&gt;
[[Category:Lossy]]&lt;/div&gt;</summary>
		<author><name>Junh1024</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Apple_AAC&amp;diff=22998</id>
		<title>Apple AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Apple_AAC&amp;diff=22998"/>
		<updated>2011-09-17T08:00:14Z</updated>

		<summary type="html">&lt;p&gt;Junh1024: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;QuickTime AAC&#039;&#039;&#039; is known to be one of the highest quality medium-bitrate [[CBR]] and [[VBR]] LC &lt;br /&gt;
[[AAC]] encoders and is also another commercial AAC implementation. The current version of Quicktime supports [[Multichannel]] encoding up to 8 channels, and HE-AAC v1 with [[SBR]].&lt;br /&gt;
&lt;br /&gt;
Although this part of the commercial QuickTime Proe, VBR and CBR modes are available for free &lt;br /&gt;
through [http://www.apple.com/itunes/ iTunes] (with a maximum [[sampling rate]] of 44.1khz for iTunes 10+ and 48khz for [http://www.oldapps.com/itunes.php?old_itunes=61 iTunes 9-])&lt;br /&gt;
&lt;br /&gt;
Free Third-party CLI interfaces such as [http://sites.google.com/site/qaacpage/ qAAC] expose more modes such as TVBR (equivalent to quality modes in other encoders) and CVBR (&amp;quot;constrained VBR&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In recent tests for [http://listening-tests.hydrogenaudio.org/igorc/results.html 64kbps HE-AAC] and [http://listening-tests.hydrogenaudio.org/igorc/aac-96-a/results.html 96kbps LC-AAC] Quicktime has consistently come out near the top. This also applies to higher bitrates such as 128kbps and is likely to apply to higher bitrates such as 160kbps and beyond.&lt;br /&gt;
&lt;br /&gt;
In 2009, Quicktime was updated to 7.6 which [http://support.apple.com/kb/HT3292 &amp;quot;Improves AAC encoding fidelity&amp;quot;]. The bitrate distribution algorithm was also [http://forums.macrumors.com/showpost.php?p=6986639&amp;amp;postcount=70 changed].&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://www.apple.com/quicktime Apple&#039;s Quicktime Website]&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;/div&gt;</summary>
		<author><name>Junh1024</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=User:Junh1024&amp;diff=22997</id>
		<title>User:Junh1024</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=User:Junh1024&amp;diff=22997"/>
		<updated>2011-09-17T07:42:48Z</updated>

		<summary type="html">&lt;p&gt;Junh1024: Created page with &amp;quot;Hi, I am junh1024 and I specialize in AAC implementations and audio analysis.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi, I am junh1024 and I specialize in AAC implementations and audio analysis.&lt;/div&gt;</summary>
		<author><name>Junh1024</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Apple_AAC&amp;diff=22996</id>
		<title>Apple AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Apple_AAC&amp;diff=22996"/>
		<updated>2011-09-17T07:41:29Z</updated>

		<summary type="html">&lt;p&gt;Junh1024: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;QuickTime AAC&#039;&#039;&#039; is known to be one of the highest quality medium-bitrate [[CBR]] and [[VBR]] LC &lt;br /&gt;
[[AAC]] encoders and is also another commercial AAC implementation. The current version of Quicktime supports [[Multichannel]] encoding up to 8 channels, and HE-AAC v1 with [[SBR]].&lt;br /&gt;
&lt;br /&gt;
Although this part of the commercial QuickTime Proe, VBR and CBR modes are available for free &lt;br /&gt;
through [http://www.apple.com/itunes/ iTunes] (with a maximum [[sampling rate]] of 44.1khz for iTunes 10+ and 48khz for [http://www.oldapps.com/itunes.php?old_itunes=61 iTunes 9-])&lt;br /&gt;
&lt;br /&gt;
Free Third-party CLI interfaces such as [http://sites.google.com/site/qaacpage/ qAAC] expose more modes such as TVBR (equivalent to quality modes in other encoders) and CVBR (&amp;quot;constrained VBR&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In recent tests for [http://listening-tests.hydrogenaudio.org/igorc/results.html 64kbps HE-AAC] and [http://listening-tests.hydrogenaudio.org/igorc/aac-96-a/results.html 96kbps LC-AAC] Quicktime has consistently come out near the top. This also applies to higher bitrates such as 128kbps and is likely to apply to higher bitrates such as 160kbps and beyond.&lt;br /&gt;
&lt;br /&gt;
In 2009, the core AAC encoding algorithm was updated with &amp;quot;higher fidelity&amp;quot;. The bitrate distribution algorithm was also changed.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://www.apple.com/quicktime Apple&#039;s Quicktime Website]&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;/div&gt;</summary>
		<author><name>Junh1024</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Apple_AAC&amp;diff=22995</id>
		<title>Apple AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Apple_AAC&amp;diff=22995"/>
		<updated>2011-09-17T06:19:47Z</updated>

		<summary type="html">&lt;p&gt;Junh1024: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;QuickTime AAC&#039;&#039;&#039; is known to be one of the highest quality medium-bitrate [[CBR]] and [[VBR]] LC &lt;br /&gt;
[[AAC]] encoders and is also another commercial AAC implementation. The current version of Quicktime supports [[Multichannel]] encoding up to 8 channels, and HE-AAC v1 with [[SBR]].&lt;br /&gt;
&lt;br /&gt;
Although this is a comercial implementation and part of the QuickTime Pro package, VBR and CBR modes (with a maximum [[sampling rate]] of 44.1khz for iTunes 10+ and 48khz for iTunes 9-) are available for free &lt;br /&gt;
through [http://www.apple.com/itunes/ iTunes ]&lt;br /&gt;
&lt;br /&gt;
Free Third-party interfaces such as [http://sites.google.com/site/qaacpage/ qAAC] expose more modes such as TVBR (equivalent to quality modes in other encoders) and CVBR (&amp;quot;constrained VBR&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Multichannel channel mapping is buggy but can be remedied by installing an older version of Quicktime (7.68-)&lt;br /&gt;
&lt;br /&gt;
In recent tests for [http://listening-tests.hydrogenaudio.org/igorc/results.html 64kbps HE-AAC] and [http://listening-tests.hydrogenaudio.org/igorc/aac-96-a/results.html 96kbps LC-AAC] Quicktime has consistently come out near the top.&lt;br /&gt;
&lt;br /&gt;
In 2009, the core AAC encoding algorithm was updated with &amp;quot;higher fidelity&amp;quot;. The bitrate distribution algorithm was also changed.&lt;br /&gt;
&lt;br /&gt;
More information can be found at the [http://www.apple.com/quicktime Apple Quicktime Website]&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;/div&gt;</summary>
		<author><name>Junh1024</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Apple_AAC&amp;diff=22994</id>
		<title>Apple AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Apple_AAC&amp;diff=22994"/>
		<updated>2011-09-17T06:14:25Z</updated>

		<summary type="html">&lt;p&gt;Junh1024: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;QuickTime AAC&#039;&#039;&#039; is known to be one of the highest quality medium-bitrate [[CBR]] and [[VBR]] LC &lt;br /&gt;
[[AAC]] encoders and is also another commercial [[AAC]] implementation. The current version of QUicktime supports Multichannel encoding up to 8 channels, and HE-AAC v1 with [[SBR]].&lt;br /&gt;
&lt;br /&gt;
Although this is a comercial implementation and part of the QuickTime Pro package, VBR and CBR modes (with a maximum [[sampling rate]] of 44.1khz for iTunes 10+ and 48khz for iTunes 9-) are available for free &lt;br /&gt;
through [http://www.apple.com/itunes/ iTunes ]&lt;br /&gt;
&lt;br /&gt;
Third-party interfaces such as [http://sites.google.com/site/qaacpage/ qAAC] expose more modes such as TVBR (equivalent to quality modes in other encoders) and CVBR (&amp;quot;constrained VBR&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Multichannel channel mapping is buggy but can be remedies by installing an olvder version of Quicktime (7.68-)&lt;br /&gt;
&lt;br /&gt;
More information can be found at the [http://www.apple.com/quicktime Apple Quicktime Website]&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;/div&gt;</summary>
		<author><name>Junh1024</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=QuickTime&amp;diff=22993</id>
		<title>QuickTime</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=QuickTime&amp;diff=22993"/>
		<updated>2011-09-17T06:06:42Z</updated>

		<summary type="html">&lt;p&gt;Junh1024: HE supp.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;QuickTime is a multimedia platform developed by Apple computer for their MacOS operating system.&lt;br /&gt;
&lt;br /&gt;
Its most known interface is the QuickTime Player, that is also available for Windows.&lt;br /&gt;
&lt;br /&gt;
The latest version of Quicktime can decode [[multichannel]] AAC and HE-[[AAC]] with [[SBR]], but v2 with [[PS]] AAC files will fallback to [[mono]] decoding.&lt;br /&gt;
&lt;br /&gt;
http://www.quicktime.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;/div&gt;</summary>
		<author><name>Junh1024</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=MP3&amp;diff=22992</id>
		<title>MP3</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=MP3&amp;diff=22992"/>
		<updated>2011-09-17T04:42:32Z</updated>

		<summary type="html">&lt;p&gt;Junh1024: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;MPEG-1 Audio Layer 3&#039;&#039;&#039;, more commonly referred to as MP3, is a popular digital audio encoding and lossy compression format, designed to greatly reduce the amount of data required to represent audio, yet still sound like a faithful reproduction of the original uncompressed audio to most listeners. It was invented by a team of European engineers who worked in the framework of the EUREKA 147 DAB digital radio research program, and it became an ISO/IEC standard in 1991.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The MP3 algorithm development started in 1987, with a joint cooperation of [http://www.iis.fraunhofer.de/ Fraunhofer IIS-A] and the University of Erlangen. It is standardized as ISO-MPEG Audio Layer-3 (IS 11172-3 and IS 13818-3).&lt;br /&gt;
&lt;br /&gt;
It soon became the de facto standard for lossy audio encoding, due to the high [[compression rates]] (1/11 of the original size, still retaining considerable quality), the high availability of decoders and the low CPU requirements for playback. (486 DX2-100 is enough for real-time decoding)&lt;br /&gt;
&lt;br /&gt;
It supports [[multichannel]] files (see [http://www.mp3surround-format.com/ page]), [[sampling rate]]s from 16 kHz to 24 kHz (MPEG2 Layer 3) and 32 kHz to 48 kHz (MPEG1 Layer 3)&lt;br /&gt;
&lt;br /&gt;
Formal and informal listening tests have shown that MP3 at the 160-224 kbps range provide encoded results indistinguishable from the original materials in most of the cases.&lt;br /&gt;
&lt;br /&gt;
== Encoding and decoding ==&lt;br /&gt;
=== Encoding of MP3 audio ===&lt;br /&gt;
The MPEG-1 standard does not include a precise specification for an MP3 encoder. The decoding algorithm and file format, as a contrast, are well defined. Implementers of the standard were supposed to devise their own algorithms suitable for removing parts of the information in the raw audio (or rather its MDCT representation in the frequency domain). During encoding 576 time domain samples are taken and are transformed to 576 frequency domain samples. If there is a transient 192 samples are taken instead of 576. This is done to limit the temporal spread of quantization noise accompanying the transient.&lt;br /&gt;
&lt;br /&gt;
This is the domain of psychoacoustics: the study of subjective human perception of sounds.&lt;br /&gt;
&lt;br /&gt;
As a result, there are many different MP3 encoders available, each producing files of differing quality. Comparisons are widely available, so it is easy for a prospective user of an encoder to research the best choice. It must be kept in mind that an encoder that is proficient at encoding at higher bitrates (such as LAME, which is in widespread use for encoding at higher bitrates) is not necessarily as good at other, lower bitrates.&lt;br /&gt;
&lt;br /&gt;
=== Decoding of MP3 audio ===&lt;br /&gt;
Decoding, on the other hand, is carefully defined in the standard. Most decoders are &amp;quot;bitstream compliant&amp;quot;, meaning that the decompressed output they produce from a given MP3 file will be the same (within a specified degree of rounding tolerance) as the output specified mathematically in the ISO/IEC standard document. The MP3 file has a standard format which is a frame consisting of 384, 576, or 1152 samples (depends on MPEG version and layer) and all the frames have associated header information (32 bits) and side information (9, 17, or 32 bytes, depending on MPEG version and stereo/mono). The header and side information help the decoder to decode the associated Huffman encoded data correctly.&lt;br /&gt;
&lt;br /&gt;
Therefore, for the most part, comparison of decoders is almost exclusively based on how computationally efficient they are (i.e., how much memory or CPU time they use in the decoding process).&lt;br /&gt;
&lt;br /&gt;
== MP3 file structure ==&lt;br /&gt;
[[Image:MP3 file structure.png|thumb|right|500px|Breakdown of an MP3 File&#039;s Structure]]&lt;br /&gt;
An MP3 file is made up of multiple MP3 frames which consist of the MP3 header and the MP3 data. This sequence of frames is called an Elementary stream. Frames are independent items: one can cut the frames from a file and an MP3 player would be able to play it. The MP3 data is the actual audio payload. The diagram shows that the MP3 header consists of a sync word which is used to identify the beginning of a valid frame. This is followed by a bit indicating that this is the MPEG standard and two bits that indicate that layer 3 is being used, hence MPEG-1 Audio Layer 3 or MP3. After this, the values will differ depending on the MP3 file. The range of values for each section of the header along with the specification of the header is defined by ISO/IEC 11172-3.&lt;br /&gt;
&lt;br /&gt;
Most MP3 files today contain ID3 metadata which precedes or follows the MP3 frames; this is also shown in the diagram.&lt;br /&gt;
&lt;br /&gt;
===VBRI, XING, and LAME headers===&lt;br /&gt;
MP3 files often begin with a single frame of silence which contains an extra header that, when supported by decoders, results in the entire frame being treated as informational instead of being played (although some are known to do both). The extra header is in the frame&#039;s data section, before the actual silent audio data, and was originally intended to help with the playback of VBR files.&lt;br /&gt;
&lt;br /&gt;
Xing and Fraunhofer each developed their own formats for this header. The Xing-format header is just called the &#039;&#039;Xing header&#039;&#039; or &#039;&#039;XING header&#039;&#039;. The Fraunhofer-format header is called the &#039;&#039;VBRI header&#039;&#039; or &#039;&#039;VBR Info header&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Both formats specify a table of seek points which help players jump to approximate points in the file. In addition to the seek-point table, the Fraunhofer format contains a combined encoder delay &amp;amp; padding value (measured in samples), which can assist [[gapless playback]].&lt;br /&gt;
&lt;br /&gt;
The [[LAME]] encoder further extended the Xing format to work for CBR and to include encoder settings and separate delay &amp;amp; padding values. This version of the Xing header is often called a &#039;&#039;LAME header&#039;&#039; or &#039;&#039;LAME tag&#039;&#039;, although according to the spec, the actual LAME tag is only the portion that&#039;s different from a normal Xing header. It has an explicit specification, but the Xing and Fraunhofer formats can only be inferred from the C code the companies provided to read the headers:&lt;br /&gt;
* [http://gabriel.mp3-tech.org/mp3infotag.html LAME MP3 Info Tag spec]&lt;br /&gt;
* [http://www.iis.fraunhofer.de/bf/amm/download/MP3%20VBR-Header%20Software%20Development%20Kit.zip Fraunhofer MP3 VBR-Header SDK]&lt;br /&gt;
* [http://www.mp3-tech.org/programmer/sources/vbrheadersdk.zip Xing Variable Bitrate MP3 Playback SDK]&lt;br /&gt;
&lt;br /&gt;
== Technical information ==&lt;br /&gt;
=== Codec block diagram ===&lt;br /&gt;
A basic functional block diagram of the MPEG1 layer 3 audio codec is as shown below.&lt;br /&gt;
[[Image:Layer3_block.png|frame|center|Block diagram of the MPEG1 layer 3 audio]]&lt;br /&gt;
&lt;br /&gt;
=== The hybrid polyphase filterbank ===&lt;br /&gt;
&lt;br /&gt;
The polyphase [[filterbank]] is the key component common to all layers of MPEG1 audio compression. The purpose of the polyphase filterbank is to divide the audio signal into 32 equal-width [[frequency]] [[subband]]s, by using a set of [[bandpass filters]] covering the entire audio frequency range (a set of 512 tap FIR Filters).&lt;br /&gt;
&lt;br /&gt;
====Polyphase Filterbank Formula====&lt;br /&gt;
[[Image:Poly_samples.png|frame|center|Polyphase filterbank]]&lt;br /&gt;
&lt;br /&gt;
Audio is processed by frames of 1152 samples per audio channel. The polyphase filter groups 3 groups of 12 samples (3x12=36) samples per subband as seen from the picture above (3x12x32 subbands=1152 samples).&lt;br /&gt;
&lt;br /&gt;
The polyphase filter bank and its inverse are not [[lossless]] transformations. Even without [[quantize|quantization]], the inverse transformation cannot perfectly recover the original signal. However by design the error introduced by the filter bank is small and inaudible.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;[[Image:Mdct.png|frame|center|MDCT]]&amp;lt;br /&amp;gt;MDCT formula: &amp;lt;math&amp;gt; X(m)= \sum_{k=0}^{n-1}f(k)x(k)\cos [{ {\pi \over {2n}} ({2k+1+{n \over 2}})({2m+1})}],~m=0 ... {n \over 2}-1&amp;lt;/math&amp;gt;&amp;lt;!-- [[Image:Mdct_formula.png|none|frame|MDCT formula]] --&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Layer 3 compensates for some of the filter bank deficiencies by processing the filter bank output with a Modified Discrete Cosine Transform ([[MDCT]]). The polyphase [[filterbank]] and the MDCT are together called as the hybrid filterbank. The hybrid filterbank adapts to the signal characteristics (block switching depending on the signal etc.).&lt;br /&gt;
&lt;br /&gt;
The 32 [[subband]] signals are subdivided further in frequency content by applying a 18-spectral point or 6-spectral point MDCT. Layer 3 specifies two different MDCT block lengths: a long block (18 spectral points) or a short block (6 spectral points).&lt;br /&gt;
&lt;br /&gt;
Long blocks have a higher frequency resolution. Each subband is transformed into 18 spectral coefficients by MDCT, yielding a maximum of 576 spectral coefficients (32x18=576 spectral lines) each representing a bandwidth of 41.67Hz at 48kHz sampling rate. At 48kHz sampling rate a long block has a time resolution of about x ms. There is a 50% overlap between successive transform windows, so the window size is 36 for long blocks.&lt;br /&gt;
&lt;br /&gt;
Short blocks have a higher time resolution. Short block length is one third of a long block and used for transients to provide better time (temporal) resolution. Each subband is transformed into 6 spectral coefficients by MDCT, yielding a maximum of 192 spectral coefficients (32x6=192 spectral lines) each representing a bandwidth of 125Hz at 48kHz [[sampling rate]]. At 48kHz sampling rate a short block has impulse response of 18.6ms. There is a 50% overlap between successive transform windows, so the window size is 12 for short blocks.&lt;br /&gt;
&lt;br /&gt;
Time resolution of long blocks and time resolution of short blocks are not constants, but jitter depending on the position of the sample in the transformed block. See [http://hydrogenaudio.org/musepack/klemm/www.personal.uni-jena.de/~pfk/mpp/timeres.html here] for diagrams showing the average time resolutions of different codecs.&lt;br /&gt;
&lt;br /&gt;
[[Image:Freqlines.png|center|frame|Psychoacoustic-MDCT]]&lt;br /&gt;
&lt;br /&gt;
Block switching ([[MDCT]] window switching) is triggered by [[Psychoacoustic|psycho acoustics]].&lt;br /&gt;
&lt;br /&gt;
For a given frame of 1152 samples, the MDCT&#039;s can all have the same block length (long or short) or have a mixed-block mode (mixed-block mode for Lame is in development).&lt;br /&gt;
&lt;br /&gt;
Unlike only the polyphase [[filterbank]], without quantization the MDCT transformation is [[lossless]].&lt;br /&gt;
&lt;br /&gt;
Once the MDCT converts the audio signal into the [[frequency domain]], the [[aliasing]] introduced by the subsampling in the filterbank can be partially cancelled. The decoder has to undo this so that the inverse MDCT can reconstruct the [[subband]] samples in their original aliased form for reconstruction by the synthesis filterbank.&lt;br /&gt;
&lt;br /&gt;
=== The psychoacoustic model ===&lt;br /&gt;
&lt;br /&gt;
This section is a work in progress. It is incomplete and data is still being gathered.&lt;br /&gt;
&lt;br /&gt;
==== Concepts ====&lt;br /&gt;
;[[Critical band]]s&lt;br /&gt;
: Much of what is done in simultaneous [[masking]] is based on the existence of critical bands. The hearing works much like a non-uniform filterbank, and the critical bands can be said to approximate the characteristics of those filters. Critical bands does not really have specific &amp;quot;on&amp;quot; and &amp;quot;off&amp;quot; frequencies, but rather width as a function of [[frequency]] - critical [[bandwidth]]s.&lt;br /&gt;
&lt;br /&gt;
;Tonality estimation&lt;br /&gt;
&lt;br /&gt;
;Spreading function&lt;br /&gt;
: Masking does not only occur within the [[critical band]], but also spreads to neighboring bands. A spreading function SF(z,a) can be defined, where z is the frequency and a the amplitude of a masker. This function would give a masking threshold produced by a single masker for neighboring frequencies. The simplest function would be a triangular function with slopes of +25 and -10 dB / [[Bark]], but a more sophisticated one is highly nonlinear and depends on both frequency and amplitude of masker.&lt;br /&gt;
&lt;br /&gt;
;Simultaneous masking&lt;br /&gt;
: Simultaneous [[masking]] is a frequency domain phenomenon where a low level signal, e.g, a smallband&amp;lt;!--a what?--&amp;gt; noise (the maskee) can be made inaudible by simultaneously occurring stronger signal (the masker), e.g, a pure tone, if masker and maskee are close enough to each other in frequency. A masking threshold can be measured below which any signal will not be audible. The masking threshold depends on the sound pressure level (SPL) and the frequency of the masker, and on the characteristics of the masker and maskee. The slope of the masking threshold is steeper towards lower frequencies,i.e., higher frequencies are more easily masked.&lt;br /&gt;
&lt;br /&gt;
: Without a masker, a signal is inaudible if its SPL is below the threshold of quiet, which depends on frequency and covers a dynamic range of more than 60 dB. We have just described masking by only one masker. If the source signal consists of many simultaneous maskers, a global masking threshold can be computed that describes the threshold of just noticeable distortions as a function of frequency. The calculation of the global masking threshold is based on the high resolution short term [[frequency|amplitude]] spectrum of the audio or speech signal, sufficient for critical band based analysis, and is determined in audio coding via 512 or 1024 point FFT. In a first step all individual masking thresholds are calculated, depending on signal level, type of masker(noise or tone), and frequency range. Next the global masking threshold is determined by adding all individual thresholds and the threshold in quiet (adding this later threshold ensures that the computed global masking threshold is not below the threshold in quiet). The effects of masking reaching over [[critical band]] bounds must be included in the calculation. Finally the global signal-to-mask ratio (SMR) is determined as the ratio of the maximum of signal power and global masking threshold.&lt;br /&gt;
&lt;br /&gt;
;Temporal masking&lt;br /&gt;
: In addition to simultaneous [[masking]] two [[time domain]] phenomena also play an important role in human auditory perception, pre-masking and post-masking. The temporal masking effects occur before and after a masking signal has been switched on and off, respectively. The duration when pre-masking applies is less than -or as newer results indicate, significantly less than-one tenth that of the post-masking, which is in the order of 50 to 200 msec. Both pre and post-masking are being exploited in the ISO/MPEG audio coding algorithm.&lt;br /&gt;
&lt;br /&gt;
: It uses either a separate [[filterbank]] or combines the calculation of energy values (for the masking calculations) and the main filter bank. The output of the perceptual model consists of values for the masking threshold or the allowed noise for each coder partition. If the quantization noise can be kept below the masking threshold, then the compression results should be indistinguishable from the original signal.&lt;br /&gt;
&lt;br /&gt;
;[[ATH]]&lt;br /&gt;
&lt;br /&gt;
;[[Masking]] threshold&lt;br /&gt;
: Masking raises the threshold of hearing, and compressors take advantage of this effect by raising the noise floor, which allows the audio waveform to be expressed with fewer bits. The noise floor can only be raised at [[frequency|frequencies]] at which there is effective masking.&lt;br /&gt;
&lt;br /&gt;
: The equal widths of the [[subband]]s do not accurately reflect the human auditory system&#039;s frequency dependent behavior. The width of a &amp;quot;[[critical band]]&amp;quot; as a function of frequency is a good indicator of this behavior. Many psychoacoustic effects are consistent with a critical band frequency scaling. For example, both the perceived loudness of a signal and its audibility in the presence of a masking signal is different for signals within one critical band than for signals that extend over more than one critical band. Figure 2 compares the polyphase filter [[bandwidth]]s with the width of these critical bands. At lower frequencies a single subband covers several critical bands.&lt;br /&gt;
&lt;br /&gt;
==== Simplified overview of the psychoacoustic model ====&lt;br /&gt;
* Perform a 1024-sample [[FFT]]s on each half of a frame (1152 samples) of the input signal, selecting the lower of the two masking thresholds to use for that subband.&lt;br /&gt;
* Each frequency bin is mapped to its corresponding critical band.&lt;br /&gt;
* Calculate a tonality index, a measure of whether a signal is more tone-like or noise-like.&lt;br /&gt;
* Use a defined spreading function to calculate the masking effect of the signal on neighbouring [[critical band]]s.&lt;br /&gt;
* Calculate the final masking threshold for each subband, using the tonality index, the output of the spreading function, and the [[ATH]].&lt;br /&gt;
* Calculate the signal-to-mask ratio for each [[subband]], and passes information on to the [[quantize|quantizer]].&lt;br /&gt;
&lt;br /&gt;
==== More detailed overview the psychoacoustic model====&lt;br /&gt;
The MPEG/audio algorithm compresses the audio data in large part by removing the acoustically irrelevant parts of the audio signal. That is, it takes advantage of the human auditory system&#039;s inability to hear quantization noise under conditions of auditory masking. This masking is a perceptual property of the human auditory system that occurs whenever the presence of a strong audio signal makes a temporal or spectral neighborhood of weaker audio signals imperceptible. A variety of psychoacoustic experiments corroborate this masking phenomenon.&lt;br /&gt;
&lt;br /&gt;
Empirical results also show that the human auditory system has a limited, [[frequency]] dependent, resolution. This frequency dependency can be expressed in terms of critical band widths which are less than 100Hz for the lowest audible frequencies and more than 4kHz at the highest. The human auditory system blurs the various signal components within a critical band although this system&#039;s frequency selectivity is much finer than a critical band.&lt;br /&gt;
&lt;br /&gt;
The psychoacoustic model analyzes the audio signal and computes the amount of noise [[masking]] available as a function of frequency. The masking ability of a given signal component depends on its frequency position and its loudness. The encoder uses this information to decide how best to represent the input audio signal with its limited number of code bits. The MPEG/audio standard provides two example implementations of the psychoacoustic model.&lt;br /&gt;
&lt;br /&gt;
Below is a general outline of the basic steps involved in the psychoacoustic calculations for either model. Differences between the two models will be highlighted.&lt;br /&gt;
&lt;br /&gt;
* Time align audio data. There is one psychoacoustic evaluation per frame. The audio data sent to the psychoacoustic model must be concurrent with the audio data to be coded. The psychoacoustic model must account for both the delay of the audio data through the [[filterbank]] and a data offset so that the relevant data is centered within the psychoacoustic analysis window.&lt;br /&gt;
* Convert audio to a [[frequency]] domain representation. The psychoacoustic model should use a separate, independent, time-to-frequency mapping instead of the polyphase filter bank because it needs finer frequency resolution for an accurate calculation of the masking thresholds.&lt;br /&gt;
&lt;br /&gt;
Layer II and III use a 1,152 sample frame size so the 1,024 sample window does not provide complete coverage. While ideally the analysis window should completely cover the samples to be coded, a 1,024 sample window is a reasonable compromise. Samples falling outside the analysis window generally will not have a major impact on the psychoacoustic evaluation.&lt;br /&gt;
&lt;br /&gt;
For Layers II and III, the model computes two 1,024 point psychoacoustic calculations for each frame. The first calculation centers the first half of the 1,152 samples in the analysis window and the second calculation centers the second half. The model combines the results of the two calculations by using the higher of the two signal-to-mask ratios for each [[subband]]. This in effect selects the lower of the two noise masking thresholds for each subband.&lt;br /&gt;
&lt;br /&gt;
* Process spectral values in groupings related to critical band widths. To simplify the psychoacoustic calculations, both models process the frequency values in perceptual quanta.&lt;br /&gt;
&lt;br /&gt;
Psychoacoustic model 2 never actually separates tonal and non-tonal components. Instead, it computes a tonality index as a function of frequency. This index gives a measure of whether the component is more tone-like or noise-like. Model 2 uses this index to interpolate between pure tone-masking-noise and noise-masking-tone values. The tonality index is based on a measure of predictability. Model 2 uses data from the previous two analysis windows to predict, via linear extrapolation, the component values for the current window. Tonal components are more predictable and thus will have higher tonality indices. Because this process relies on more data, it is more likely to better discriminate between tonal and non-tonal components than the model 1 method.&lt;br /&gt;
&lt;br /&gt;
* Apply a spreading function. The [[masking]] ability of a given signal spreads across its surrounding [[critical band]]. The model determines the noise masking thresholds by first applying an empirically determined masking (model 1) or spreading function (model 2) to the signal components.&lt;br /&gt;
&lt;br /&gt;
* Set a lower bound for the threshold values. Both models include an empirically determined absolute masking threshold, the threshold in quiet. This threshold is the lower bound on the audibility of sound.&lt;br /&gt;
&lt;br /&gt;
* Find the masking threshold for each [[subband]]. Model 2 selects the minimum of the masking thresholds covered by the subband only where the band is wide relative to the critical band in that [[frequency]] region. It uses the average of the masking thresholds covered by the subband where the band is narrow relative to the critical band. Model 2 is not less accurate for the higher frequency subbands because it does not concentrate the non-tonal components.&lt;br /&gt;
&lt;br /&gt;
* Calculate the signal-to-mask ratio. The psychoacoustic model computes the signal-to-mask ratio as the ratio of the signal energy within the subband (or, for Layer III , a group of bands) to the minimum masking threshold for that subband. The model passes this value to the bit (or noise) allocation section of the encoder.&lt;br /&gt;
&lt;br /&gt;
==== Model 2 technical details ====&lt;br /&gt;
&amp;lt;!--commented out because it relies on missing diagrams:&lt;br /&gt;
2.1.1.1 Example for Psychoacoustic Model 2 The processes used by psychoacoustic model 2 are somewhat easier to visualize, so this model will be covered first. Figure 12a shows the result, according to psychoacoustic model 2, of transforming the audio signal to the perceptual domain (63, one-third critical band, partitions) and then applying the spreading function. Note the shift of the sinusoid peak and the expansion of the lowpass noise distribution. The perceptual transformation expands the low frequency region and compresses the higher frequency region. Because the spreading function is applied in a perceptual domain, the shape of the spreading function is relatively uniform as a function of partition. Figure 13 shows a plot of the spreading functions. Figure 12b shows the tonality index for the audio signal as computed by psychoacoustic model 2. Figure 14a shows a plot of the masking threshold as computed by the model based on the spread energy and the tonality index. This figure has plots of the masking threshold both before and after the incorporation of the threshold in quiet to illustrate its impact. Note the threshold in quiet significantly increases the noise masking threshold for the higher frequencies. The human auditory system is much less sensitive in this region. Also note how the sinusoid signal increases the masking threshold for the neighboring frequencies. The masking threshold is computed in the uniform frequency domain instead of the perceptual domain in preparation for the final step of the psychoacoustic model, the calculation of the signal-to-mask ratios (SMR) for each [[subband]]. Figure 14b is a plot of these results and figure 14c is a [[frequency]] plot of a processed audio signal using these SMR’s. In this example the audio compression was severe (768 to 64 kbits/sec) so the coder may not necessarily be able to mask all the [[quantize|quantization]] noise.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The psychoacoustic model calculates just-noticeable distortion (JND) profiles for each band in the [[filterbank]]. This noise level is used to determine the actual quantizers and quantizer levels. There are two psychoacoustic models defined by the standard. They can be applied to any layer of the MPEG/Audio algorithm. In practice however, Model 1 has been used for Layers I and II and Model 2 for Layer III. Both models compute a signal-to-mask ratio (SMR) for each band (Layers I and II) or group of bands (Layer III).&lt;br /&gt;
&lt;br /&gt;
The more sophisticated of the two, Model 2, will be discussed. The steps leading to the computation of the JND profiles is outlined below.&lt;br /&gt;
&lt;br /&gt;
;1. Time-align audio data&lt;br /&gt;
&lt;br /&gt;
The psychoacoustic model must estimate the [[masking]] thresholds for the audio data that are to be [[quantize|quantized]]. So, it must account for both the delay through the filterbank and a data offset so that the relevant data is centered within the psychoacoustic analysis window. For the Layer III algorithm, time-aligning the psychoacoustic model with the filterbank demands that the data fed to the model be delayed by 768 samples.&lt;br /&gt;
&lt;br /&gt;
;2. Spectral analysis and normalization.&lt;br /&gt;
&lt;br /&gt;
A high-resolution spectral estimate of the time-aligned data is essential for an accurate estimation of the masking thresholds in the [[critical band]]s. The low frequency resolution of the filterbank leaves no option but to compute an independent time-to-frequency mapping via a fast Fourier Transform ([[FFT]]). A Hanning window is applied to the data to reduce the edge effects of the transform window.&lt;br /&gt;
&lt;br /&gt;
Layer III operates on 1152-sample data frames. Model 2 uses a 1024- point window for spectral estimation. Ideally, the analysis window should completely cover the samples to be coded. The model computes two 1024-point psychoacoustic calculations. On the first pass, the first 576 samples are centered in the analysis window. The second pass centers the remaining samples. The model combines the results of the two calculations by using the more stringent of the two JND estimates for bit or noise allocation in each [[subband]].&lt;br /&gt;
&lt;br /&gt;
Since playback levels are unknown3, the sound-pressure level (SPL) needs to be normalized. This implies clamping the lowest point in the absolute threshold of hearing curves to +/- 1-bit [[frequency|amplitude]]. &lt;br /&gt;
&lt;br /&gt;
;3. Grouping of spectral values into threshold calculation partitions.&lt;br /&gt;
&lt;br /&gt;
The uniform [[frequency]] decomposition and poor selectivity of the filterbank do not reflect the response of the BM. To accurately model the masking phenomenon characteristic of the BM, the spectral values are grouped into a large number of partitions. The exact number of threshold partitions depends on the choice of sampling rate. This transformation provides a resolution of approximately either 1 FFT line or 1/3 critical band, whichever is smaller. At low frequencies, a single line of the FFT will constitute a partition, while at high frequency|frequencies many lines are grouped into one.&lt;br /&gt;
&lt;br /&gt;
;4. Estimation of tonality indices.&lt;br /&gt;
&lt;br /&gt;
It is necessary to identify tonal and non-tonal (noise-like) components because the masking abilities of the two types of signals differ. Model 2 does not explicitly separate tonal and non-tonal components. Instead, it computes a tonality index as a function of frequency. This is an indicator of the tone-like or noise-like nature of the spectral component. The tonality index is based on a measure of predictability. Linear extrapolation is used to predict the component values of the current window from the previous two analysis windows. Model 2 uses this index to interpolate between pure tone-masking-noise and noise-masking-tone values. Tonal components are more predictable and thus have a higher tonality index. As this process has memory, it is more likely to discriminate better between tonal and non-tonal components, unlike psychoacoustic Model 116.&lt;br /&gt;
&lt;br /&gt;
;5. Simulation of the spread of masking on the BM.&lt;br /&gt;
&lt;br /&gt;
A strong signal component affects the audibility of weaker components in the same critical band and the adjacent bands. Model 2 simulates this phenomenon by applying a Spreading function to spread the energy of any critical band into its surrounding bands. On the [[Bark]] scale, the spreading function has a constant shape as a function of partition number, with slopes of +25 and –10 dB per Bark.&lt;br /&gt;
&lt;br /&gt;
;6. Set a lower bound for the threshold values.&lt;br /&gt;
&lt;br /&gt;
An empirically determined absolute [[masking]] threshold, the threshold in quiet, is used as a lower bound on the audibility of sound.&lt;br /&gt;
&lt;br /&gt;
;7. Determination of masking threshold per [[subband]].&lt;br /&gt;
&lt;br /&gt;
At low [[frequency|frequencies]], the minimum of the masking thresholds within a subband is chosen as the threshold value. At higher frequencies, the average of the thresholds within the subband is selected as the masking threshold. Model 2 has the same accuracy for the higher subbands as for low frequency ones because it does not concentrate non-tonal components16.&lt;br /&gt;
&lt;br /&gt;
;8. [[Pre echo]] detection and window switching decision.&lt;br /&gt;
&lt;br /&gt;
;9. Calculation of the signal-to-mask ratio (SMR).&lt;br /&gt;
&lt;br /&gt;
SMR is calculated as a ratio of signal energy within the subband (for Layers I and II) or a group of subbands (Layer III) to the minimum threshold for that subband. This is the final output of the psychoacoustic model.&lt;br /&gt;
&lt;br /&gt;
The masking threshold computed from the spread energy and the tonality index.&lt;br /&gt;
&lt;br /&gt;
== Pros and cons ==&lt;br /&gt;
=== Pros ===&lt;br /&gt;
* Widespread acceptance, support in nearly all hardware audio players and devices&lt;br /&gt;
* An [[ISO]] standard, part of MPEG specs&lt;br /&gt;
* Fast decoding, lower complexity than [[Advanced Audio Coding|AAC]] or [[Vorbis]]&lt;br /&gt;
* Anyone can create their own implementation (Specs and demo sources available)&lt;br /&gt;
* Relaxed licensing schedule&lt;br /&gt;
&lt;br /&gt;
=== Cons ===&lt;br /&gt;
* Lower performance/efficiency than modern codecs.&lt;br /&gt;
* Problem cases that trip out all transform codecs.&lt;br /&gt;
* Sometimes, maximum bitrate (320kbps) isn&#039;t enough.&lt;br /&gt;
* Unusable for high definition audio (sampling rates higher than 48kHz).&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
=== Techniques used in compression ===&lt;br /&gt;
* [[Huffman coding]]&lt;br /&gt;
* [[Quantization]]&lt;br /&gt;
* [[Joint stereo|M/S matrixing]]&lt;br /&gt;
* [[Intensity stereo]]&lt;br /&gt;
* [[Channel coupling]]&lt;br /&gt;
* Modified discrete cosine transform ([[MDCT]])&lt;br /&gt;
* Polyphase filter bank&lt;br /&gt;
&lt;br /&gt;
There is a non-standardized form of MP3 called [[MP3Pro]], which takes advantage of [[SBR]] encoding to provide better quality at low bitrates.&lt;br /&gt;
&lt;br /&gt;
=== Encoders/decoders (supported platforms) ===&lt;br /&gt;
* [[LAME]] (Win32/Posix)&lt;br /&gt;
* [[Audioactive]] (Win32)&lt;br /&gt;
* [[Blade]] (Win32/Posix)&lt;br /&gt;
* [[Xing]] (Win32)&lt;br /&gt;
* [[Gogo]] (Win32/Posix)&lt;br /&gt;
&lt;br /&gt;
=== Metadata (tags) ===&lt;br /&gt;
* [[ID3v1]]&lt;br /&gt;
* [[ID3v1.1]]&lt;br /&gt;
* [[ID3v2]]&lt;br /&gt;
&lt;br /&gt;
== Further reading and bibliography ==&lt;br /&gt;
* [[Best MP3 Decoder]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://web.archive.org/web/20070113015413/http://www.rjamorim.com/test/mp3-128/results.html Roberto&#039;s listening test] featuring MP3 encoders&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Mp3 MP3 at Wikipedia]&lt;br /&gt;
&lt;br /&gt;
[[Category: Codecs]]&lt;br /&gt;
[[Category: Lossy]]&lt;/div&gt;</summary>
		<author><name>Junh1024</name></author>
	</entry>
</feed>