<?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=CiTay</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=CiTay"/>
	<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Special:Contributions/CiTay"/>
	<updated>2026-04-29T09:25:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=20225</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=20225"/>
		<updated>2010-03-17T00:33:52Z</updated>

		<summary type="html">&lt;p&gt;CiTay: 3.98.3&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| screenshot = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.98.3&lt;br /&gt;
| preview_release = none&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality [[MP3]] encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources. That branch (a patch against the reference sources) became LAME 2.0, and only on LAME 3.81 they got rid of all dist10 code, making LAME a completely new program-not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid-high bitrates and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers like Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, etc. And development is still going on...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
It is suggested that the compiles available here be used with the recommended encoder settings you can find below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with [[LAME]] for highest quality [[MP3]] encoding. These settings require LAME 3.98 or later (the latest stable version is recommended).&lt;br /&gt;
&lt;br /&gt;
===Quick start (short answer)===&lt;br /&gt;
====Best quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;quot;archiving&amp;quot;&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt;. This is the strongest setting for [[MP3]], with the lowest risk of [[artifact]]s.&lt;br /&gt;
With the exception of a few situations, quality is rarely better than the highest [[VBR]] profiles described below. However, &#039;archiving&#039; music using a lossy format like [[MP3]] is never recommended &amp;amp;ndash; no matter how transparent the resulting files might sound.&lt;br /&gt;
The alternative is to use [[Lossless]] formats like [[WavPack]], [[FLAC]] etc. that allow true archiving, bit for bit like on the original CD.&lt;br /&gt;
&lt;br /&gt;
====High quality: &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;HiFi, home or quiet listening&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~245 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~225 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~175 kbps) are recommended.&lt;br /&gt;
These settings will normally produce [[transparent]] encoding (transparent = most people can&#039;t distinguish the [[MP3]] from the original in an [[ABX]] blind test).&lt;br /&gt;
Audible differences between these presets exist, but are rare.&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;background noise and low bitrate requirement, small sizes&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~165 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps) are recommended.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an &amp;quot;acceptable&amp;quot; quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&lt;br /&gt;
===Detailed explanation (long answer)===&lt;br /&gt;
====VBR (variable bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[VBR]] is best used to target a specific quality level, instead of a specific bitrate. The final file size of a [[VBR]] encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V(number)&amp;lt;/code&amp;gt; where number is 0-9, 0 being highest quality, 9 being the lowest.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The switch &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt;, which enabled a superior VBR mode in LAME 3.97 and some previous versions, is no longer needed with LAME 3.98 as it is now the default VBR mode. However, if you&#039;re still using LAME 3.97 or older, you have to add &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; to your commandline to use that mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Bitrate overview (mostly based on LAME 3.98.2 results)&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbit/s&#039;&#039;&#039; || &#039;&#039;&#039;Bitrate range kbit/s&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -b 320 || --preset insane || 320 || 320 CBR&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset fast extreme || 245 || 220...260&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 ||&amp;amp;nbsp;|| 225 || 190...250&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset fast standard || 190 || 170...210&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 ||&amp;amp;nbsp;|| 175 || 150...195&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset fast medium  || 165 || 140...185&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 ||&amp;amp;nbsp;|| 130 || 120...150&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 ||&amp;amp;nbsp;|| 115 || 100...130&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 ||&amp;amp;nbsp;|| 85 || 70...105&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|}&lt;br /&gt;
See also [[#Technical information|Technical details for recommended LAME settings]].&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use [[ABR]] or [[CBR]] modes, described below.&lt;br /&gt;
&lt;br /&gt;
====ABR (average bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between [[VBR]] and [[CBR]] modes, [[ABR]] encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use [[ABR]] when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) can be any value between 8 - 320 , like eg. 9, 17, 80, 128, 133, 200 etc.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[ABR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====CBR (constant bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. [[CBR]] encoding is not efficient. Whereas [[VBR]] and [[ABR]] modes can supply more bits to complex music passages and save bits on simpler ones, [[CBR]] encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[CBR]] is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[CBR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] ([[VBR]] &amp;gt; [[ABR]] &amp;gt; [[CBR]] in terms of quality). The exception to this is when you choose the highest possible [[CBR]] bitrate, which is 320 kbps (-b 320 = --alt-preset insane), but this produces the largest filesizes for doubtful audible benefit.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the [[MP3]] standard, and the resulting MP3s should be playable by every [[MP3]] decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, not LAME.&lt;br /&gt;
&lt;br /&gt;
* Avoid using alpha (a) versions of LAME. More often than not those are exclusively for testing purposes. Use them only if you want to help developers with feedback. History of [http://www.hydrogenaudio.org/forums/index.php?showtopic=28125/ Lame versions &amp;amp; compiles].&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enables the new [[VBR]] mode (no longer needed with LAME 3.98, as it is now the default VBR mode). In terms of quality, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; appears to be better than the old model, but reports of artifacts when using the new model do exist. Despite these possible issues, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is currently recommended over the default [[VBR]] mode due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;-mm&#039;&#039;&#039; : the sound will be encoded in &#039;&#039;&#039;mono&#039;&#039;&#039;. Useful for low bitrates and/or when stereo is not important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:lame-chart-2.png|frame|center|Here a trial to see how the &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;perceived listening quality&amp;lt;/font&amp;gt; improves with settings/&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;averaged filesize&amp;lt;/font&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hey! What happened to &amp;quot;--alt-preset&amp;quot;?====&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90; it was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions. Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, which allows finer control over the desired bitrate; the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backwards compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039; (Although adding &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is recommended for now, see above for details.)&lt;br /&gt;
&lt;br /&gt;
More encoding options are available under the new system, such as &amp;lt;code&amp;gt;-V1&amp;lt;/code&amp;gt;, which provides a level of quality between the old &amp;quot;standard&amp;quot; and &amp;quot;extreme&amp;quot; presets, or &amp;lt;code&amp;gt;-V3&amp;lt;/code&amp;gt;, which is between the old &amp;quot;medium&amp;quot; and &amp;quot;standard&amp;quot; presets.&lt;br /&gt;
&lt;br /&gt;
Recent LAME versions feature more streamlined command line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the tables above.&lt;br /&gt;
&lt;br /&gt;
For example, the following command lines will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(&amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt; is the exact same thing as &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt;, etc.)&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
The table below contains technical details about the recommended settings. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbps&#039;&#039;&#039; || &#039;&#039;&#039;Y Switch&#039;&#039;&#039; || &#039;&#039;&#039;Lowpass&#039;&#039;&#039; || &#039;&#039;&#039;Resample&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset fast extreme ||  ~245 || || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 || || ~225 || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset fast standard || ~190 || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 || || ~175 || Y || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset fast medium || ~165 || Y || 17249 Hz - 17782 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 || || ~130 || Y || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 || || ~115 || Y || 15115 Hz - 15648 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 || || ~100 || Y || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 || || ~85 || Y || 12516 Hz - 12903 Hz ||  32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 || || ~65 || Y || 9336 Hz -  9602 Hz || 24000 Hz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[Exact_Audio_Copy|Exact Audio Copy]]&lt;br /&gt;
* [[EAC_and_Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;People who took part in suggesting the different settings:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, r3mix, ff123, Hans Heijden, kjempen, Benjamin Lebsanft, GeSomeone, Wombat &amp;amp; GuruBoolez for his immense testing.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Creation of the alt preset system and related special code level quality enhancements:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, with technical assistance from Robert Hegemann and Naoki Shibata, Gabriel and extensive tuning help and quality verification via listening tests from JohnV and also initial help (--dm-preset era) from Hans Heijden, ff123, Wombat, and others. Test clips, bitrate information, and further listening tests provided by TheBashar, zbutsam, Pio2001, BadDuDeX, r3mix, h, TarX, Hans Heijden, ff123, Wombat, Filburt, Volcano, Garf, MrDrew, TrNSZ, nyaochi, Amadeus93, in no particular order, and many, many others we (Dibrom, user) probably forgot to mention.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Idea (also exposing the need for a unified preset system), Original post and list of original settings collected by:&#039;&#039;&#039; user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Layout and additional work by:&#039;&#039;&#039; dev0, CiTay, SNYder, Dibrom.&lt;br /&gt;
&lt;br /&gt;
And finally...&lt;br /&gt;
&lt;br /&gt;
Thank you ALL in the community for making it what it is, providing interest and discussion and helping to work towards the most concise, well tuned, and most thought out MP3 quality &amp;quot;paradigm&amp;quot; seen yet! -- Dibrom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
*[[CBR]]&lt;br /&gt;
*[[ABR]]&lt;br /&gt;
*[[VBR]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
*[http://www.rjamorim.com/test/ Several multiformat listening tests] featuring LAME and other encoders.&lt;br /&gt;
*[http://www.rarewares.org/mp3.html RareWares MP3 page]&lt;br /&gt;
*[http://www.hydrogenaudio.org/forums/index.php?showtopic=478&amp;amp;st=0 Discussion of recommended Lame compiles in the Hydrogenaudio forum]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=16&amp;amp;t=32288 Forum discussion of the recommended settings]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=15&amp;amp;t=203 Forum discussion of the recommended settings (older)]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=32288&amp;amp;view=findpost&amp;amp;p=327262 Previous recommendations (outdated)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Replay_Gain&amp;diff=19704</id>
		<title>Replay Gain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Replay_Gain&amp;diff=19704"/>
		<updated>2009-08-16T19:39:39Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Replay Gain&#039;&#039;&#039; is the name of a technique invented to achieve the same playback volume of audio files. It specifies the reference level of 89dB and an algorithm to measure the &#039;&#039;&#039;perceived&#039;&#039;&#039; loudness of audio data.&lt;br /&gt;
&lt;br /&gt;
Replay Gain is different from [[Normalization|peak normalization]]. In peak normalization, you merely ensure that the peak amplitude reaches a certain level. This does not ensure equal loudness. The Replay Gain technique measures the &#039;&#039;effective power&#039;&#039; (i.e. taking RMS after an &#039;&#039;Equal Loudness contour&#039;&#039;) of the waveform, and amplifies the waveform accordingly. The result is that Replay Gained waveforms are usually more uniformly amplified then peak-normalized waveforms.&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
There are different Replay Gain implementations, each with its own uses and strength. Most of them use [[metadata]] to indicate the level of the volume change (Volume is adjusted on playback; needs player/decoder support) others modify the audio data itself. Generally it is recommended to use an implementation which uses the metadata and does not touch the audio itself.&lt;br /&gt;
&lt;br /&gt;
In a metadata based solution, information on both types of Replay Gain can be stored, and the desired playback effect can be switched back and forth in the appropriate player. However, if the audio data is permanently modified, only one type of Replay Gain can be chosen. Furthermore, if the audio data is modified, you may not be able to restore the original data, especially if the Replay Gain technique produces a negative amplification.&lt;br /&gt;
&lt;br /&gt;
Replay Gain has significant advantages over normalizing. It allows the loudness of a song to be consistant over an entire collection of audio, similar to (but more accurate than) RMS normalizing (this is called &#039;Track Gain&#039;, or &#039;Radio Gain&#039; in earlier parlance). However, it also allows the loudness of an album to be consistant over a entire music collection, allowing the dynamics of album to remain (This is called &#039;Album Gain&#039;, or &#039;Audiophile Gain&#039; in earlier parlance). This is usually very important in classical CDs, as there may be quiet segments and loud segments written into different tracks.&lt;br /&gt;
&lt;br /&gt;
=== MP3Gain ===&lt;br /&gt;
[[MP3Gain]] is an implementation of Replay Gain. It either modifies target data reversibly, or attaches metadata.&lt;br /&gt;
&lt;br /&gt;
* Format: [[MP3]]&lt;br /&gt;
* Method: Audio / Meta&lt;br /&gt;
* Limitations: Limited to 1.5dB steps mode, may become irreversible&lt;br /&gt;
* http://mp3gain.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
=== AACGain ===&lt;br /&gt;
[[AACGain]] is a modified version of MP3Gain that works on both MP3 and AAC files.&lt;br /&gt;
&lt;br /&gt;
* Format: [[MP3]], [[AAC]]&lt;br /&gt;
* Method: Audio / Meta&lt;br /&gt;
* Limitations: Limited to 1.5dB steps mode, may become irreversible&lt;br /&gt;
* http://altosdesign.com/aacgain/&lt;br /&gt;
&lt;br /&gt;
=== [[LAME]] ===&lt;br /&gt;
* Method: Header ([http://gabriel.mp3-tech.org/mp3infotag.html mp3infotag])&lt;br /&gt;
* Notes:&lt;br /&gt;
** Tags added during encoding; not supported by any player yet; Track Gain only&lt;br /&gt;
** Replay Gaining MP3&#039;s are usually done using MP3Gain (see [[Replay Gain#MP3Gain|above]]) or [[Replay Gain#foobar2000 Replay Gain scanner|foobar2000]]&lt;br /&gt;
* http://lame.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
=== [[Musepack]] Replay Gain ===&lt;br /&gt;
* Method: Header (similar to Meta data method)&lt;br /&gt;
* Notes: Replay Gain values are stored in the header and Replay Gain is part of the Musepack specifications; therefore any Musepack decoder that does not support Replay Gain can be considered broken.&lt;br /&gt;
* http://www.musepack.net/&lt;br /&gt;
&lt;br /&gt;
=== VorbisGain ===&lt;br /&gt;
* Format: (Ogg) [[Vorbis]]&lt;br /&gt;
* Method: Meta (in [[Vorbis comment]])&lt;br /&gt;
* http://www.sjeng.org/vorbisgain.html&lt;br /&gt;
** new compiles of VorbisGain at [http://www.rarewares.org/ogg.html www.rarewares.org]&lt;br /&gt;
:&#039;&#039;&#039;&#039;&#039;Note:&#039;&#039;&#039; Andavari has provided a very useful script to integrate VorbisGain, which is a CLI tool, into Windows Explorer. Please (Ogg) [[Vorbis#Replay Gain|check this section]].&lt;br /&gt;
&lt;br /&gt;
=== FLAC / METAFLAC ===&lt;br /&gt;
* Format: [[Free Lossless Audio Codec|FLAC]]&lt;br /&gt;
* Method: Meta (in [[Vorbis comment]])&lt;br /&gt;
* http://flac.sf.net&lt;br /&gt;
&lt;br /&gt;
=== WavPack / WVGAIN ===&lt;br /&gt;
* Format: [[WavPack]]&lt;br /&gt;
* Method: Meta (in [[APEv2]] tag)&lt;br /&gt;
* http://www.wavpack.com&lt;br /&gt;
&lt;br /&gt;
=== Wavegain ===&lt;br /&gt;
* Format: waveform&lt;br /&gt;
* Method: Audio&lt;br /&gt;
* Limitations: Irreversible&lt;br /&gt;
* http://www.rarewares.org/files/others/wavegain.zip&lt;br /&gt;
&lt;br /&gt;
=== [[foobar2000]] Replay Gain scanner ===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[MP3]]: Values written to [[ID3v2]] (default) or [[APEv2]] tags.&lt;br /&gt;
** [[Musepack]]: Values written to header.&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[WavPack]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[AAC]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[MP4]]: Uses its own iTunes-compatible tagging system (though iTunes does not support Replay Gain).&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[APE]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** Modules ([[MOD]] etc.): Optionally saved into [[APEv2]] tags.&lt;br /&gt;
&lt;br /&gt;
* http://foobar2000.org&lt;br /&gt;
&lt;br /&gt;
=== [[MediaMonkey]] ===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[MP3]]: Values written to [[APEv2]] or [[ID3v2]] tags.&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[WMA]]: Values stored in MediaMonkey&#039;s MDB database.&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[APE]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[WAV]]: Values stored in MediaMonkey&#039;s MDB database.&lt;br /&gt;
** [[MPC]]: Internal gain Structure.&lt;br /&gt;
* In addition to tags, all Replay Gain values are also stored in MediaMonkey&#039;s MDB database&lt;br /&gt;
* Does not support Album/Audiophile Replay Gain (Added to new [[MediaMonkey]] version 3&lt;br /&gt;
* Also capable of (irreversibly) changing the volume of MP3 tracks, similar to [[MP3Gain]]&lt;br /&gt;
* http://www.mediamonkey.com&lt;br /&gt;
&lt;br /&gt;
=== [[Winamp]] Replay Gain scanner===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[MP3]]: Values written to [[ID3v2]] tags.&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[WMA]]: Values stored in Windows Media Audio tags.&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[APE]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[AAC]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[MP4]]&lt;br /&gt;
** [[TAK]]: Values written to [[APEv2]] tags.&lt;br /&gt;
* Support Album/Track Gain&lt;br /&gt;
&lt;br /&gt;
== Players support ==&lt;br /&gt;
Replay Gain being present in the specs of FLAC, Musepack, and APE formats, any player that support those formats usually support Replay Gain.&lt;br /&gt;
&lt;br /&gt;
The situation with MP3 is rather different, as it was not part of the MP3 specs. The APEv2 tags metadata implementation is somewhat becoming the de-facto standard.&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
* [[foobar2000]] supports Replay Gain in all possible aspects.&lt;br /&gt;
* [[Winamp]] supports Replay Gain in album or track mode.&lt;br /&gt;
* [[MediaMonkey]] supports track Replay Gain only&lt;br /&gt;
* [[XMPlay]] recently implemented Replay Gain&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;...and probably others.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
* [[XMMS]]. Reads Replay Gain from [[Free Lossless Audio Codec|FLAC]], [[Musepack]], (Ogg) [[Vorbis]] ..&lt;br /&gt;
:For [[MP3]], use the CVS version of the [http://xmms-mad.sourceforge.net/ xmms-mad] mp3 plugin (it&#039;s not yet released as binary, furthermore not available in distribs&#039; versions for now. Meanwhile binaries are available here: [http://perso.crans.org/~krempp/xmms-mad/ custom binaries])&lt;br /&gt;
* [[amarok]]. By using the amarok-script [http://kde-apps.org/content/show.php?content=26073 Replay Gain]&lt;br /&gt;
:And possibly others, since [http://developer.kde.org/~wheeler/taglib.html TagLib] added support for [[APEv2]] tags in [[MP3]] files, players using this library (like [[amaroK]] and [[JuK]]) might support that kind of Replay Gain tags in the near future.&lt;br /&gt;
* [http://www.sacredchao.net/quodlibet Quod Libet] reads Replay Gain from (Ogg) [[Vorbis]], [[MP3]], [[Free Lossless Audio Codec|FLAC]], and [[Musepack]].&lt;br /&gt;
:Requires support to be enabled (via the appropriate python bindings and libraries) for the above formats. Does not support Replay Gain values stored in [[APEv2]] tags in [[MP3]]s. Replay Gain values are stored in RVA2 id3v2.4 frames. See the [http://www.sacredchao.net/quodlibet/wiki/Development/ID3Notes Quod Libet RVA2 / Replay Gain notes].&lt;br /&gt;
* [http://www.musicpd.org/ Music Player Daemon] (MPD) reads Replay Gain from (Ogg) [[Vorbis]], [[Free Lossless Audio Codec|FLAC]], and [[Musepack]].&lt;br /&gt;
:foobar2000-style TXXX frames in [[MP3]]s are also supported in the latest development releases.&lt;br /&gt;
* [http://www.mplayerhq.hu/ MPlayer]. Mplayer support for Replay Gain is codec dependent.&lt;br /&gt;
:Codecs that are known to support Replay Gain: vorbis&lt;br /&gt;
:Because of this, you need to prioritize the codecs that support it, or choose it individually on the command line.  To add it to the command line, add an -ac [codec] option after each file that you want to choose the codec for, or at the beginning to make it apply to all files listed.  To prioritize the codecs by default, list them in a line in mplayer.conf:&lt;br /&gt;
 ac=[codec],[othercodec],vorbis,mad,&lt;br /&gt;
&lt;br /&gt;
=== Portable devices ===&lt;br /&gt;
[http://www.rockbox.org/ Rockbox] supports Replay Gain (in album or track mode) for most formats, including  WMA, MP1/2/3, AAC, ALAC, Musepack, Monkey&#039;s Audio, Wavpack, FLAC and Vorbis.  &amp;lt;br&amp;gt;Note that Replay Gain is only supported when using the respective codec&#039;s native tagging format.  For example:  Replay Gain stored in APEv2 tags is not supported for MP3, rather ID3v2.x tags are expected.&lt;br /&gt;
&lt;br /&gt;
There are no other portable players known to support Replay Gain.&lt;br /&gt;
&lt;br /&gt;
The iPod features &#039;&#039;Soundcheck&#039;&#039;, which seems to produce roughly the same normalization gains as Replay Gain, but doesn&#039;t provide an Album Gain.&lt;br /&gt;
&lt;br /&gt;
=== Hi-Fi ===&lt;br /&gt;
Slim Devices a company owned by Logitech Inc, supports Replay Gain on both of their hi-end audiophile players, known as the [[Slim Devices Transporter|Transporter]] and the [[Slim Devices Squeezebox|Squeezebox]].&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://replaygain.hydrogenaudio.org Original Replay Gain website]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Replay_Gain Replay Gain] at Wikipedia&lt;br /&gt;
* [http://www.bobulous.org.uk/misc/Replay-Gain.html Replay Gain using foobar2000] (how to use Replay Gain in Windows using foobar2000).&lt;br /&gt;
* [http://www.bobulous.org.uk/misc/Replay-Gain-in-Linux.html Replay Gain in Linux] (how to use Replay Gain in Linux using foobar2000 and Wine, or using metaflac or vorbisgain).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
[[Category:Metadata]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Replay_Gain&amp;diff=19703</id>
		<title>Replay Gain</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Replay_Gain&amp;diff=19703"/>
		<updated>2009-08-16T19:39:16Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* Windows */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Replay Gain&#039;&#039;&#039; is the name of a technique invented to achieve the same playback volume of audio files. It specifies the reference level of 89dB and an algorithm to measure the &#039;&#039;&#039;perceived&#039;&#039;&#039; loudness of audio data.&lt;br /&gt;
&lt;br /&gt;
Replay Gain is different from [[Normalization|peak normalization]]. In peak normalization, you merely ensure that the peak amplitude reaches a certain level. This does not ensure equal loudness. The Replay Gain technique measures the &#039;&#039;effective power&#039;&#039; (i.e. taking RMS after an &#039;&#039;Equal Loudness contour&#039;&#039;) of the waveform, and amplifies the waveform accordingly. The result is that Replay Gained waveforms are usually more uniformly amplified then peak-normalized waveforms.&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
There are different Replay Gain implementations, each with its own uses and strength. Most of them use [[metadata]] to indicate the level of the volume change (Volume is adjusted on playback; needs player/decoder support) others modify the audio data itself. Generally it is recommended to use an implementation which uses the metadata and does not touch the audio itself.&lt;br /&gt;
&lt;br /&gt;
In a metadata based solution, information on both types of Replay Gain can be stored, and the desired playback effect can be switched back and forth in the appropriate player. However, if the audio data is permanently modified, only one type of Replay Gain can be chosen. Furthermore, if the audio data is modified, you may not be able to restore the original data, especially if the Replay Gain technique produces a negative amplification.&lt;br /&gt;
&lt;br /&gt;
Replay Gain has significant advantages over normalizing. It allows the loudness of a song to be consistant over an entire collection of audio, similar to (but more accurate than) RMS normalizing (this is called &#039;Track Gain&#039;, or &#039;Radio Gain&#039; in earlier parlance). However, it also allows the loudness of an album to be consistant over a entire music collection, allowing the dynamics of album to remain (This is called &#039;Album Gain&#039;, or &#039;Audiophile Gain&#039; in earlier parlance). This is usually very important in classical CDs, as there may be quiet segments and loud segments written into different tracks.&lt;br /&gt;
&lt;br /&gt;
=== MP3Gain ===&lt;br /&gt;
[[MP3Gain]] is an implementation of Replay Gain. It either modifies target data reversibly, or attaches metadata.&lt;br /&gt;
&lt;br /&gt;
* Format: [[MP3]]&lt;br /&gt;
* Method: Audio / Meta&lt;br /&gt;
* Limitations: Limited to 1.5dB steps mode, may become irreversible&lt;br /&gt;
* http://mp3gain.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
=== AACGain ===&lt;br /&gt;
[[AACGain]] is a modified version of MP3Gain that works on both MP3 and AAC files.&lt;br /&gt;
&lt;br /&gt;
* Format: [[MP3]], [[AAC]]&lt;br /&gt;
* Method: Audio / Meta&lt;br /&gt;
* Limitations: Limited to 1.5dB steps mode, may become irreversible&lt;br /&gt;
* http://altosdesign.com/aacgain/&lt;br /&gt;
&lt;br /&gt;
=== [[LAME]] ===&lt;br /&gt;
* Method: Header ([http://gabriel.mp3-tech.org/mp3infotag.html mp3infotag])&lt;br /&gt;
* Notes:&lt;br /&gt;
** Tags added during encoding; not supported by any player yet; Track Gain only&lt;br /&gt;
** Replay Gaining MP3&#039;s are usually done using MP3Gain (see [[Replay Gain#MP3Gain|above]]) or [[Replay Gain#foobar2000 Replay Gain scanner|foobar2000]]&lt;br /&gt;
* http://lame.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
=== [[Musepack]] Replay Gain ===&lt;br /&gt;
* Method: Header (similar to Meta data method)&lt;br /&gt;
* Notes: Replay Gain values are stored in the header and Replay Gain is part of the Musepack specifications; therefore any Musepack decoder that does not support Replay Gain can be considered broken.&lt;br /&gt;
* http://www.musepack.net/&lt;br /&gt;
&lt;br /&gt;
=== VorbisGain ===&lt;br /&gt;
* Format: (Ogg) [[Vorbis]]&lt;br /&gt;
* Method: Meta (in [[Vorbis comment]])&lt;br /&gt;
* http://www.sjeng.org/vorbisgain.html&lt;br /&gt;
** new compiles of VorbisGain at [http://www.rarewares.org/ogg.html www.rarewares.org]&lt;br /&gt;
:&#039;&#039;&#039;&#039;&#039;Note:&#039;&#039;&#039; Andavari has provided a very useful script to integrate VorbisGain, which is a CLI tool, into Windows Explorer. Please (Ogg) [[Vorbis#Replay Gain|check this section]].&lt;br /&gt;
&lt;br /&gt;
=== FLAC / METAFLAC ===&lt;br /&gt;
* Format: [[Free Lossless Audio Codec|FLAC]]&lt;br /&gt;
* Method: Meta (in [[Vorbis comment]])&lt;br /&gt;
* http://flac.sf.net&lt;br /&gt;
&lt;br /&gt;
=== WavPack / WVGAIN ===&lt;br /&gt;
* Format: [[WavPack]]&lt;br /&gt;
* Method: Meta (in [[APEv2]] tag)&lt;br /&gt;
* http://www.wavpack.com&lt;br /&gt;
&lt;br /&gt;
=== Wavegain ===&lt;br /&gt;
* Format: waveform&lt;br /&gt;
* Method: Audio&lt;br /&gt;
* Limitations: Irreversible&lt;br /&gt;
* http://www.rarewares.org/files/others/wavegain.zip&lt;br /&gt;
&lt;br /&gt;
=== [[foobar2000]] Replay Gain scanner ===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[MP3]]: Values written to [[ID3v2]] (default) or [[APEv2]] tags.&lt;br /&gt;
** [[Musepack]]: Values written to header.&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[WavPack]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[AAC]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[MP4]]: Uses its own iTunes-compatible tagging system (though iTunes does not support Replay Gain).&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[APE]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** Modules ([[MOD]] etc.): Optionally saved into [[APEv2]] tags.&lt;br /&gt;
&lt;br /&gt;
* http://foobar2000.org&lt;br /&gt;
&lt;br /&gt;
=== [[MediaMonkey]] ===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[MP3]]: Values written to [[APEv2]] or [[ID3v2]] tags.&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[WMA]]: Values stored in MediaMonkey&#039;s MDB database.&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[APE]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[WAV]]: Values stored in MediaMonkey&#039;s MDB database.&lt;br /&gt;
** [[MPC]]: Internal gain Structure.&lt;br /&gt;
* In addition to tags, all Replay Gain values are also stored in MediaMonkey&#039;s MDB database&lt;br /&gt;
* Does not support Album/Audiophile Replay Gain (Added to new [[MediaMonkey]] version 3&lt;br /&gt;
* Also capable of (irreversibly) changing the volume of MP3 tracks, similar to [[MP3Gain]]&lt;br /&gt;
* http://www.mediamonkey.com&lt;br /&gt;
&lt;br /&gt;
=== [[Winamp]] Replay Gain scanner===&lt;br /&gt;
* Format:&lt;br /&gt;
** [[MP3]]: Values written to [[ID3v2]] tags.&lt;br /&gt;
** (Ogg) [[Vorbis]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[WMA]]: Values stored in Windows Media Audio tags.&lt;br /&gt;
** [[Free Lossless Audio Codec|FLAC]]: Values written to [[Vorbis comment]].&lt;br /&gt;
** [[APE]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[AAC]]: Values written to [[APEv2]] tags.&lt;br /&gt;
** [[MP4]]&lt;br /&gt;
** [[TAK]]: Values written to [[APEv2]] tags.&lt;br /&gt;
* Support Album/Track Gain&lt;br /&gt;
&lt;br /&gt;
== Players support ==&lt;br /&gt;
Replay Gain being present in the specs of FLAC, Musepack, and APE formats, any player that support those formats usually support Replay Gain.&lt;br /&gt;
&lt;br /&gt;
The situation with MP3 is rather different, as it was not part of the MP3 specs. The APEv2 tags metadata implementation is somewhat becoming the de-facto standard.&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
* [[foobar2000]] supports Replay Gain in all possible aspects.&lt;br /&gt;
* [[Winamp]] supports Replay Gain in album or track mode.&lt;br /&gt;
* [[MediaMonkey]] supports track Replay Gain only&lt;br /&gt;
* [[XMPlay]] recently implemented Replay Gain&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;...and probably others.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
* [[XMMS]]. Reads Replay Gain from [[Free Lossless Audio Codec|FLAC]], [[Musepack]], (Ogg) [[Vorbis]] ..&lt;br /&gt;
:For [[MP3]], use the CVS version of the [http://xmms-mad.sourceforge.net/ xmms-mad] mp3 plugin (it&#039;s not yet released as binary, furthermore not available in distribs&#039; versions for now. Meanwhile binaries are available here: [http://perso.crans.org/~krempp/xmms-mad/ custom binaries])&lt;br /&gt;
* [[amarok]]. By using the amarok-script [http://kde-apps.org/content/show.php?content=26073 Replay Gain]&lt;br /&gt;
:And possibly others, since [http://developer.kde.org/~wheeler/taglib.html TagLib] added support for [[APEv2]] tags in [[MP3]] files, players using this library (like [[amaroK]] and [[JuK]]) might support that kind of Replay Gain tags in the near future.&lt;br /&gt;
* [http://www.sacredchao.net/quodlibet Quod Libet] reads Replay Gain from (Ogg) [[Vorbis]], [[MP3]], [[Free Lossless Audio Codec|FLAC]], and [[Musepack]].&lt;br /&gt;
:Requires support to be enabled (via the appropriate python bindings and libraries) for the above formats. Does not support Replay Gain values stored in [[APEv2]] tags in [[MP3]]s. Replay Gain values are stored in RVA2 id3v2.4 frames. See the [http://www.sacredchao.net/quodlibet/wiki/Development/ID3Notes Quod Libet RVA2 / Replay Gain notes].&lt;br /&gt;
* [http://www.musicpd.org/ Music Player Daemon] (MPD) reads Replay Gain from (Ogg) [[Vorbis]], [[Free Lossless Audio Codec|FLAC]], and [[Musepack]].&lt;br /&gt;
:Foobar2000 style TXXX frames in [[MP3]]s are also supported in the latest development releases.&lt;br /&gt;
* [http://www.mplayerhq.hu/ MPlayer]. Mplayer support for Replay Gain is codec dependent.&lt;br /&gt;
:Codecs that are known to support Replay Gain: vorbis&lt;br /&gt;
:Because of this, you need to prioritize the codecs that support it, or choose it individually on the command line.  To add it to the command line, add an -ac [codec] option after each file that you want to choose the codec for, or at the beginning to make it apply to all files listed.  To prioritize the codecs by default, list them in a line in mplayer.conf:&lt;br /&gt;
 ac=[codec],[othercodec],vorbis,mad,&lt;br /&gt;
&lt;br /&gt;
=== Portable devices ===&lt;br /&gt;
[http://www.rockbox.org/ Rockbox] supports Replay Gain (in album or track mode) for most formats, including  WMA, MP1/2/3, AAC, ALAC, Musepack, Monkey&#039;s Audio, Wavpack, FLAC and Vorbis.  &amp;lt;br&amp;gt;Note that Replay Gain is only supported when using the respective codec&#039;s native tagging format.  For example:  Replay Gain stored in APEv2 tags is not supported for MP3, rather ID3v2.x tags are expected.&lt;br /&gt;
&lt;br /&gt;
There are no other portable players known to support Replay Gain.&lt;br /&gt;
&lt;br /&gt;
The iPod features &#039;&#039;Soundcheck&#039;&#039;, which seems to produce roughly the same normalization gains as Replay Gain, but doesn&#039;t provide an Album Gain.&lt;br /&gt;
&lt;br /&gt;
=== Hi-Fi ===&lt;br /&gt;
Slim Devices a company owned by Logitech Inc, supports Replay Gain on both of their hi-end audiophile players, known as the [[Slim Devices Transporter|Transporter]] and the [[Slim Devices Squeezebox|Squeezebox]].&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://replaygain.hydrogenaudio.org Original Replay Gain website]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Replay_Gain Replay Gain] at Wikipedia&lt;br /&gt;
* [http://www.bobulous.org.uk/misc/Replay-Gain.html Replay Gain using foobar2000] (how to use Replay Gain in Windows using foobar2000).&lt;br /&gt;
* [http://www.bobulous.org.uk/misc/Replay-Gain-in-Linux.html Replay Gain in Linux] (how to use Replay Gain in Linux using foobar2000 and Wine, or using metaflac or vorbisgain).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
[[Category:Metadata]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=19300</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=19300"/>
		<updated>2008-11-24T23:18:44Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* VBR (variable bitrate) settings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| screenshot = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.98&lt;br /&gt;
| preview_release = none&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality [[MP3]] encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources. That branch (a patch against the reference sources) became LAME 2.0, and only on LAME 3.81 they got rid of all dist10 code, making LAME a completely new program-not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid-high bitrates and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers like Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, etc. And development is still going on...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
It is suggested that the compiles available here be used with the recommended encoder settings you can find below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with [[LAME]] for highest quality [[MP3]] encoding. These settings require LAME 3.98 or later (the latest stable version is recommended).&lt;br /&gt;
&lt;br /&gt;
===Quick start (short answer)===&lt;br /&gt;
====Best quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;quot;archiving&amp;quot;&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt;. This is the strongest setting for [[MP3]], with the lowest risk of [[artifact]]s.&lt;br /&gt;
With the exception of a few situations, quality is rarely better than the highest [[VBR]] profiles described below. However, &#039;archiving&#039; music using a lossy format like [[MP3]] is never recommended &amp;amp;ndash; no matter how transparent the resulting files might sound.&lt;br /&gt;
The alternative is to use [[Lossless]] formats like [[WavPack]], [[FLAC]] etc. that allow true archiving, bit for bit like on the original CD.&lt;br /&gt;
&lt;br /&gt;
====High quality: &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;HiFi, home or quiet listening&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~230 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~210 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~170 kbps) are recommended.&lt;br /&gt;
These settings will normally produce [[transparent]] encoding (transparent = most people can&#039;t distinguish the [[MP3]] from the original in an [[ABX]] blind test).&lt;br /&gt;
Audible differences between these presets exist, but are rare.&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;background noise and low bitrate requirement, small sizes&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~155 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps) are recommended.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an &amp;quot;acceptable&amp;quot; quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&lt;br /&gt;
===Detailed explanation (long answer)===&lt;br /&gt;
====VBR (variable bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[VBR]] is best used to target a specific quality level, instead of a specific bitrate. The final file size of a [[VBR]] encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V(number)&amp;lt;/code&amp;gt; where number is 0-9, 0 being highest quality, 9 being the lowest.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The switch &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt;, which enabled a superior VBR mode in LAME 3.97 and some previous versions, is no longer needed with LAME 3.98 as it is now the default VBR mode. However, if you&#039;re still using LAME 3.97 or older, you have to add &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; to your commandline to use that mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Bitrate overview (mostly based on LAME 3.98.2 results)&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbit/s&#039;&#039;&#039; || &#039;&#039;&#039;Bitrate range kbit/s&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -b 320 || --preset insane || 320 || 320 CBR&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset fast extreme || 245 || 220...260&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 ||&amp;amp;nbsp;|| 225 || 190...250&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset fast standard || 190 || 170...210&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 ||&amp;amp;nbsp;|| 175 || 150...195&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset fast medium  || 165 || 140...185&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 ||&amp;amp;nbsp;|| 130 || 120...150&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 ||&amp;amp;nbsp;|| 115 || 100...130&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 ||&amp;amp;nbsp;|| 85 || 70...105&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|}&lt;br /&gt;
See also [[#Technical information|Technical details for recommended LAME settings]].&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use [[ABR]] or [[CBR]] modes, described below.&lt;br /&gt;
&lt;br /&gt;
====ABR (average bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between [[VBR]] and [[CBR]] modes, [[ABR]] encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use [[ABR]] when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) can be any value between 8 - 320 , like eg. 9, 17, 80, 128, 133, 200 etc.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[ABR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====CBR (constant bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. [[CBR]] encoding is not efficient. Whereas [[VBR]] and [[ABR]] modes can supply more bits to complex music passages and save bits on simpler ones, [[CBR]] encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[CBR]] is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[CBR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] ([[VBR]] &amp;gt; [[ABR]] &amp;gt; [[CBR]] in terms of quality). The exception to this is when you choose the highest possible [[CBR]] bitrate, which is 320 kbps (-b 320 = --alt-preset insane), but this produces the largest filesizes for doubtful audible benefit.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the [[MP3]] standard, and the resulting MP3s should be playable by every [[MP3]] decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, not LAME.&lt;br /&gt;
&lt;br /&gt;
* Avoid using alpha (a) versions of LAME. More often than not those are exclusively for testing purposes. Use them only if you want to help developers with feedback. History of [http://www.hydrogenaudio.org/forums/index.php?showtopic=28125/ Lame versions &amp;amp; compiles].&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enables the new [[VBR]] mode (no longer needed with LAME 3.98, as it is now the default VBR mode). In terms of quality, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; appears to be better than the old model, but reports of artifacts when using the new model do exist. Despite these possible issues, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is currently recommended over the default [[VBR]] mode due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;-mm&#039;&#039;&#039; : the sound will be encoded in &#039;&#039;&#039;mono&#039;&#039;&#039;. Useful for low bitrates and/or when stereo is not important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:lame-chart-2.png|frame|center|Here a trial to see how the &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;perceived listening quality&amp;lt;/font&amp;gt; improves with settings/&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;averaged filesize&amp;lt;/font&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hey! What happened to &amp;quot;--alt-preset&amp;quot;?====&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90; it was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions. Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, which allows finer control over the desired bitrate; the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backwards compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039; (Although adding &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is recommended for now, see above for details.)&lt;br /&gt;
&lt;br /&gt;
More encoding options are available under the new system, such as &amp;lt;code&amp;gt;-V1&amp;lt;/code&amp;gt;, which provides a level of quality between the old &amp;quot;standard&amp;quot; and &amp;quot;extreme&amp;quot; presets, or &amp;lt;code&amp;gt;-V3&amp;lt;/code&amp;gt;, which is between the old &amp;quot;medium&amp;quot; and &amp;quot;standard&amp;quot; presets.&lt;br /&gt;
&lt;br /&gt;
Recent LAME versions feature more streamlined command line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the tables above.&lt;br /&gt;
&lt;br /&gt;
For example, the following command lines will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(&amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt; is the exact same thing as &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt;, etc.)&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
The table below contains technical details about the recommended settings. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbps&#039;&#039;&#039; || &#039;&#039;&#039;Y Switch&#039;&#039;&#039; || &#039;&#039;&#039;Lowpass&#039;&#039;&#039; || &#039;&#039;&#039;Resample&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset fast extreme ||  ~240 || || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 || || ~210 || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset fast standard || ~190 || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 || || ~175 || Y || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset fast medium || ~165 || Y || 17249 Hz - 17782 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 || || ~130 || Y || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 || || ~115 || Y || 15115 Hz - 15648 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 || || ~100 || Y || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 || || ~85 || Y || 12516 Hz - 12903 Hz ||  32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 || || ~65 || Y || 9336 Hz -  9602 Hz || 24000 Hz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[Exact_Audio_Copy|Exact Audio Copy]]&lt;br /&gt;
* [[EAC_and_Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;People who took part in suggesting the different settings:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, r3mix, ff123, Hans Heijden, kjempen, Benjamin Lebsanft, GeSomeone, Wombat &amp;amp; GuruBoolez for his immense testing.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Creation of the alt preset system and related special code level quality enhancements:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, with technical assistance from Robert Hegemann and Naoki Shibata, Gabriel and extensive tuning help and quality verification via listening tests from JohnV and also initial help (--dm-preset era) from Hans Heijden, ff123, Wombat, and others. Test clips, bitrate information, and further listening tests provided by TheBashar, zbutsam, Pio2001, BadDuDeX, r3mix, h, TarX, Hans Heijden, ff123, Wombat, Filburt, Volcano, Garf, MrDrew, TrNSZ, nyaochi, Amadeus93, in no particular order, and many, many others we (Dibrom, user) probably forgot to mention.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Idea (also exposing the need for a unified preset system), Original post and list of original settings collected by:&#039;&#039;&#039; user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Layout and additional work by:&#039;&#039;&#039; dev0, CiTay, SNYder, Dibrom.&lt;br /&gt;
&lt;br /&gt;
And finally...&lt;br /&gt;
&lt;br /&gt;
Thank you ALL in the community for making it what it is, providing interest and discussion and helping to work towards the most concise, well tuned, and most thought out MP3 quality &amp;quot;paradigm&amp;quot; seen yet! -- Dibrom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
*[[CBR]]&lt;br /&gt;
*[[ABR]]&lt;br /&gt;
*[[VBR]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
*[http://www.rjamorim.com/test/ Several multiformat listening tests] featuring LAME and other encoders.&lt;br /&gt;
*[http://www.rarewares.org/mp3.html RareWares MP3 page]&lt;br /&gt;
*[http://www.hydrogenaudio.org/forums/index.php?showtopic=478&amp;amp;st=0 Discussion of recommended Lame compiles in the Hydrogenaudio forum]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=16&amp;amp;t=32288 Forum discussion of the recommended settings]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=15&amp;amp;t=203 Forum discussion of the recommended settings (older)]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=32288&amp;amp;view=findpost&amp;amp;p=327262 Previous recommendations (outdated)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=19299</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=19299"/>
		<updated>2008-11-24T23:17:16Z</updated>

		<summary type="html">&lt;p&gt;CiTay: Bitrates updated a bit for 3.98.2 results&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| screenshot = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.98&lt;br /&gt;
| preview_release = none&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality [[MP3]] encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources. That branch (a patch against the reference sources) became LAME 2.0, and only on LAME 3.81 they got rid of all dist10 code, making LAME a completely new program-not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid-high bitrates and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers like Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, etc. And development is still going on...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
It is suggested that the compiles available here be used with the recommended encoder settings you can find below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with [[LAME]] for highest quality [[MP3]] encoding. These settings require LAME 3.98 or later (the latest stable version is recommended).&lt;br /&gt;
&lt;br /&gt;
===Quick start (short answer)===&lt;br /&gt;
====Best quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;quot;archiving&amp;quot;&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt;. This is the strongest setting for [[MP3]], with the lowest risk of [[artifact]]s.&lt;br /&gt;
With the exception of a few situations, quality is rarely better than the highest [[VBR]] profiles described below. However, &#039;archiving&#039; music using a lossy format like [[MP3]] is never recommended &amp;amp;ndash; no matter how transparent the resulting files might sound.&lt;br /&gt;
The alternative is to use [[Lossless]] formats like [[WavPack]], [[FLAC]] etc. that allow true archiving, bit for bit like on the original CD.&lt;br /&gt;
&lt;br /&gt;
====High quality: &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;HiFi, home or quiet listening&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~230 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~210 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~170 kbps) are recommended.&lt;br /&gt;
These settings will normally produce [[transparent]] encoding (transparent = most people can&#039;t distinguish the [[MP3]] from the original in an [[ABX]] blind test).&lt;br /&gt;
Audible differences between these presets exist, but are rare.&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;background noise and low bitrate requirement, small sizes&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~155 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps) are recommended.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an &amp;quot;acceptable&amp;quot; quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&lt;br /&gt;
===Detailed explanation (long answer)===&lt;br /&gt;
====VBR (variable bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[VBR]] is best used to target a specific quality level, instead of a specific bitrate. The final file size of a [[VBR]] encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V(number)&amp;lt;/code&amp;gt; where number is 0-9, 0 being highest quality, 9 being the lowest.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The switch &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt;, which enabled a superior VBR mode in LAME 3.97 and some previous versions, is no longer needed with LAME 3.98 as it is now the default VBR mode. However, if you&#039;re still using LAME 3.97 or older, you have to add &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; to your commandline to use that mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Bitrate overview (mostly based on LAME 3.97 bitrates)&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbit/s&#039;&#039;&#039; || &#039;&#039;&#039;Bitrate range kbit/s&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -b 320 || --preset insane || 320 || 320 CBR&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset fast extreme || 245 || 220...260&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 ||&amp;amp;nbsp;|| 225 || 190...250&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset fast standard || 190 || 170...210&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 ||&amp;amp;nbsp;|| 175 || 150...195&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset fast medium  || 165 || 140...185&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 ||&amp;amp;nbsp;|| 130 || 120...150&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 ||&amp;amp;nbsp;|| 115 || 100...130&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 ||&amp;amp;nbsp;|| 85 || 70...105&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|}&lt;br /&gt;
See also [[#Technical information|Technical details for recommended LAME settings]].&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use [[ABR]] or [[CBR]] modes, described below.&lt;br /&gt;
&lt;br /&gt;
====ABR (average bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between [[VBR]] and [[CBR]] modes, [[ABR]] encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use [[ABR]] when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) can be any value between 8 - 320 , like eg. 9, 17, 80, 128, 133, 200 etc.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[ABR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====CBR (constant bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. [[CBR]] encoding is not efficient. Whereas [[VBR]] and [[ABR]] modes can supply more bits to complex music passages and save bits on simpler ones, [[CBR]] encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[CBR]] is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[CBR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] ([[VBR]] &amp;gt; [[ABR]] &amp;gt; [[CBR]] in terms of quality). The exception to this is when you choose the highest possible [[CBR]] bitrate, which is 320 kbps (-b 320 = --alt-preset insane), but this produces the largest filesizes for doubtful audible benefit.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the [[MP3]] standard, and the resulting MP3s should be playable by every [[MP3]] decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, not LAME.&lt;br /&gt;
&lt;br /&gt;
* Avoid using alpha (a) versions of LAME. More often than not those are exclusively for testing purposes. Use them only if you want to help developers with feedback. History of [http://www.hydrogenaudio.org/forums/index.php?showtopic=28125/ Lame versions &amp;amp; compiles].&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enables the new [[VBR]] mode (no longer needed with LAME 3.98, as it is now the default VBR mode). In terms of quality, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; appears to be better than the old model, but reports of artifacts when using the new model do exist. Despite these possible issues, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is currently recommended over the default [[VBR]] mode due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;-mm&#039;&#039;&#039; : the sound will be encoded in &#039;&#039;&#039;mono&#039;&#039;&#039;. Useful for low bitrates and/or when stereo is not important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:lame-chart-2.png|frame|center|Here a trial to see how the &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;perceived listening quality&amp;lt;/font&amp;gt; improves with settings/&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;averaged filesize&amp;lt;/font&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hey! What happened to &amp;quot;--alt-preset&amp;quot;?====&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90; it was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions. Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, which allows finer control over the desired bitrate; the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backwards compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039; (Although adding &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is recommended for now, see above for details.)&lt;br /&gt;
&lt;br /&gt;
More encoding options are available under the new system, such as &amp;lt;code&amp;gt;-V1&amp;lt;/code&amp;gt;, which provides a level of quality between the old &amp;quot;standard&amp;quot; and &amp;quot;extreme&amp;quot; presets, or &amp;lt;code&amp;gt;-V3&amp;lt;/code&amp;gt;, which is between the old &amp;quot;medium&amp;quot; and &amp;quot;standard&amp;quot; presets.&lt;br /&gt;
&lt;br /&gt;
Recent LAME versions feature more streamlined command line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the tables above.&lt;br /&gt;
&lt;br /&gt;
For example, the following command lines will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(&amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt; is the exact same thing as &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt;, etc.)&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
The table below contains technical details about the recommended settings. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbps&#039;&#039;&#039; || &#039;&#039;&#039;Y Switch&#039;&#039;&#039; || &#039;&#039;&#039;Lowpass&#039;&#039;&#039; || &#039;&#039;&#039;Resample&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset fast extreme ||  ~240 || || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 || || ~210 || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset fast standard || ~190 || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 || || ~175 || Y || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset fast medium || ~165 || Y || 17249 Hz - 17782 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 || || ~130 || Y || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 || || ~115 || Y || 15115 Hz - 15648 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 || || ~100 || Y || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 || || ~85 || Y || 12516 Hz - 12903 Hz ||  32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 || || ~65 || Y || 9336 Hz -  9602 Hz || 24000 Hz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[Exact_Audio_Copy|Exact Audio Copy]]&lt;br /&gt;
* [[EAC_and_Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;People who took part in suggesting the different settings:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, r3mix, ff123, Hans Heijden, kjempen, Benjamin Lebsanft, GeSomeone, Wombat &amp;amp; GuruBoolez for his immense testing.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Creation of the alt preset system and related special code level quality enhancements:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, with technical assistance from Robert Hegemann and Naoki Shibata, Gabriel and extensive tuning help and quality verification via listening tests from JohnV and also initial help (--dm-preset era) from Hans Heijden, ff123, Wombat, and others. Test clips, bitrate information, and further listening tests provided by TheBashar, zbutsam, Pio2001, BadDuDeX, r3mix, h, TarX, Hans Heijden, ff123, Wombat, Filburt, Volcano, Garf, MrDrew, TrNSZ, nyaochi, Amadeus93, in no particular order, and many, many others we (Dibrom, user) probably forgot to mention.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Idea (also exposing the need for a unified preset system), Original post and list of original settings collected by:&#039;&#039;&#039; user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Layout and additional work by:&#039;&#039;&#039; dev0, CiTay, SNYder, Dibrom.&lt;br /&gt;
&lt;br /&gt;
And finally...&lt;br /&gt;
&lt;br /&gt;
Thank you ALL in the community for making it what it is, providing interest and discussion and helping to work towards the most concise, well tuned, and most thought out MP3 quality &amp;quot;paradigm&amp;quot; seen yet! -- Dibrom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
*[[CBR]]&lt;br /&gt;
*[[ABR]]&lt;br /&gt;
*[[VBR]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
*[http://www.rjamorim.com/test/ Several multiformat listening tests] featuring LAME and other encoders.&lt;br /&gt;
*[http://www.rarewares.org/mp3.html RareWares MP3 page]&lt;br /&gt;
*[http://www.hydrogenaudio.org/forums/index.php?showtopic=478&amp;amp;st=0 Discussion of recommended Lame compiles in the Hydrogenaudio forum]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=16&amp;amp;t=32288 Forum discussion of the recommended settings]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=15&amp;amp;t=203 Forum discussion of the recommended settings (older)]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=32288&amp;amp;view=findpost&amp;amp;p=327262 Previous recommendations (outdated)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18873</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18873"/>
		<updated>2008-07-23T12:26:47Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* High quality: &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;HiFi, home or quiet listening&amp;lt;/font&amp;gt; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| screenshot = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.98&lt;br /&gt;
| preview_release = none&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality [[MP3]] encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources. That branch (a patch against the reference sources) became LAME 2.0, and only on LAME 3.81 they got rid of all dist10 code, making LAME a completely new program-not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid-high bitrates and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers like Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, etc. And development is still going on...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
It is suggested that the compiles available here be used with the recommended encoder settings you can find below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with [[LAME]] for highest quality [[MP3]] encoding. These settings require LAME 3.98 or later (the latest stable version is recommended).&lt;br /&gt;
&lt;br /&gt;
===Quick start (short answer)===&lt;br /&gt;
====Best quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;quot;archiving&amp;quot;&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt;. This is the strongest setting for [[MP3]], with the lowest risk of [[artifact]]s.&lt;br /&gt;
With the exception of a few situations, quality is rarely better than the highest [[VBR]] profiles described below. However, &#039;archiving&#039; music using a lossy format like [[MP3]] is never recommended &amp;amp;ndash; no matter how transparent the resulting files might sound.&lt;br /&gt;
The alternative is to use [[Lossless]] formats like [[WavPack]], [[FLAC]] etc. that allow true archiving, bit for bit like on the original CD.&lt;br /&gt;
&lt;br /&gt;
====High quality: &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;HiFi, home or quiet listening&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~230 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~210 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~175 kbps) are recommended.&lt;br /&gt;
These settings will normally produce [[transparent]] encoding (transparent = most people can&#039;t distinguish the [[MP3]] from the original in an [[ABX]] blind test).&lt;br /&gt;
Audible differences between these presets exist, but are rare.&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;background noise and low bitrate requirement, small sizes&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~160 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps) are recommended.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an &amp;quot;acceptable&amp;quot; quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&lt;br /&gt;
===Detailed explanation (long answer)===&lt;br /&gt;
====VBR (variable bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[VBR]] is best used to target a specific quality level, instead of a specific bitrate. The final file size of a [[VBR]] encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V(number)&amp;lt;/code&amp;gt; where number is 0-9, 0 being highest quality, 9 being the lowest.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The switch &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt;, which enabled a superior VBR mode in LAME 3.97 and some previous versions, is no longer needed with LAME 3.98 as it is now the default VBR mode. However, if you&#039;re still using LAME 3.97 or older, you have to add &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; to your commandline to use that mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Bitrate overview (mostly based on LAME 3.97 bitrates)&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbit/s&#039;&#039;&#039; || &#039;&#039;&#039;Bitrate range kbit/s&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -b 320 || --preset insane || 320 || 320 CBR&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset fast extreme || 245 || 220...260&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 ||&amp;amp;nbsp;|| 225 || 200...250&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset fast standard || 190 || 170...210&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 ||&amp;amp;nbsp;|| 175 || 155...195&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset fast medium  || 165 || 145...185&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 ||&amp;amp;nbsp;|| 130 || 110...150&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 ||&amp;amp;nbsp;|| 115 || 95...135&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 ||&amp;amp;nbsp;|| 85 || 65...105&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|}&lt;br /&gt;
See also [[#Technical information|Technical details for recommended LAME settings]].&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use [[ABR]] or [[CBR]] modes, described below.&lt;br /&gt;
&lt;br /&gt;
====ABR (average bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between [[VBR]] and [[CBR]] modes, [[ABR]] encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use [[ABR]] when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) can be any value between 8 - 320 , like eg. 9, 17, 80, 128, 133, 200 etc.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[ABR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====CBR (constant bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. [[CBR]] encoding is not efficient. Whereas [[VBR]] and [[ABR]] modes can supply more bits to complex music passages and save bits on simpler ones, [[CBR]] encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[CBR]] is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[CBR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] ([[VBR]] &amp;gt; [[ABR]] &amp;gt; [[CBR]] in terms of quality). The exception to this is when you choose the highest possible [[CBR]] bitrate, which is 320 kbps (-b 320 = --alt-preset insane), but this produces the largest filesizes for doubtful audible benefit.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the [[MP3]] standard, and the resulting MP3s should be playable by every [[MP3]] decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, not LAME.&lt;br /&gt;
&lt;br /&gt;
* Avoid using alpha (a) versions of LAME. More often than not those are exclusively for testing purposes. Use them only if you want to help developers with feedback. History of [http://www.hydrogenaudio.org/forums/index.php?showtopic=28125/ Lame versions &amp;amp; compiles].&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enables the new [[VBR]] mode (no longer needed with LAME 3.98, as it is now the default VBR mode). In terms of quality, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; appears to be better than the old model, but reports of artifacts when using the new model do exist. Despite these possible issues, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is currently recommended over the default [[VBR]] mode due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;-mm&#039;&#039;&#039; : the sound will be encoded in &#039;&#039;&#039;mono&#039;&#039;&#039;. Useful for low bitrates and/or when stereo is not important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:lame-chart-2.png|frame|center|Here a trial to see how the &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;perceived listening quality&amp;lt;/font&amp;gt; improves with settings/&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;averaged filesize&amp;lt;/font&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hey! What happened to &amp;quot;--alt-preset&amp;quot;?====&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90; it was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions. Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, which allows finer control over the desired bitrate; the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backwards compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039; (Although adding &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is recommended for now, see above for details.)&lt;br /&gt;
&lt;br /&gt;
More encoding options are available under the new system, such as &amp;lt;code&amp;gt;-V1&amp;lt;/code&amp;gt;, which provides a level of quality between the old &amp;quot;standard&amp;quot; and &amp;quot;extreme&amp;quot; presets, or &amp;lt;code&amp;gt;-V3&amp;lt;/code&amp;gt;, which is between the old &amp;quot;medium&amp;quot; and &amp;quot;standard&amp;quot; presets.&lt;br /&gt;
&lt;br /&gt;
Recent LAME versions feature more streamlined command line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the tables above.&lt;br /&gt;
&lt;br /&gt;
For example, the following command lines will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(&amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt; is the exact same thing as &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt;, etc.)&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
The table below contains technical details about the recommended settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbps&#039;&#039;&#039; || &#039;&#039;&#039;Y Switch&#039;&#039;&#039; || &#039;&#039;&#039;-b&#039;&#039;&#039; || &#039;&#039;&#039;Lowpass&#039;&#039;&#039; || &#039;&#039;&#039;Resample&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset extreme || ~240 || || 128 || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 --vbr-new || --preset fast extreme ||  ~240 || || || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 || || ~210 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 --vbr-new || || ~210 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset standard || ~190 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 --vbr-new || --preset fast standard || ~190 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 --vbr-new || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 --vbr-new || --preset fast medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 --vbr-new || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 --vbr-new || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 --vbr-new || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 || || ~85 || Y || || 12516 Hz - 12903 Hz ||  32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 --vbr-new || || ~85 || Y || || 12516 Hz - 12903 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 --vbr-new || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[Exact_Audio_Copy|Exact Audio Copy]]&lt;br /&gt;
* [[EAC_and_Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;People who took part in suggesting the different settings:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, r3mix, ff123, Hans Heijden, kjempen, Benjamin Lebsanft, GeSomeone, Wombat &amp;amp; GuruBoolez for his immense testing.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Creation of the alt preset system and related special code level quality enhancements:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, with technical assistance from Robert Hegemann and Naoki Shibata, Gabriel and extensive tuning help and quality verification via listening tests from JohnV and also initial help (--dm-preset era) from Hans Heijden, ff123, Wombat, and others. Test clips, bitrate information, and further listening tests provided by TheBashar, zbutsam, Pio2001, BadDuDeX, r3mix, h, TarX, Hans Heijden, ff123, Wombat, Filburt, Volcano, Garf, MrDrew, TrNSZ, nyaochi, Amadeus93, in no particular order, and many, many others we (Dibrom, user) probably forgot to mention.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Idea (also exposing the need for a unified preset system), Original post and list of original settings collected by:&#039;&#039;&#039; user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Layout and additional work by:&#039;&#039;&#039; dev0, CiTay, SNYder, Dibrom.&lt;br /&gt;
&lt;br /&gt;
And finally...&lt;br /&gt;
&lt;br /&gt;
Thank you ALL in the community for making it what it is, providing interest and discussion and helping to work towards the most concise, well tuned, and most thought out MP3 quality &amp;quot;paradigm&amp;quot; seen yet! -- Dibrom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
*[[CBR]]&lt;br /&gt;
*[[ABR]]&lt;br /&gt;
*[[VBR]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
*[http://www.rjamorim.com/test/ Several multiformat listening tests] featuring LAME and other encoders.&lt;br /&gt;
*[http://www.rarewares.org/mp3.html RareWares MP3 page]&lt;br /&gt;
*[http://www.hydrogenaudio.org/forums/index.php?showtopic=478&amp;amp;st=0 Discussion of recommended Lame compiles in the Hydrogenaudio forum]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=16&amp;amp;t=32288 Forum discussion of the recommended settings]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=15&amp;amp;t=203 Forum discussion of the recommended settings (older)]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=32288&amp;amp;view=findpost&amp;amp;p=327262 Previous recommendations (outdated)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18872</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18872"/>
		<updated>2008-07-23T12:26:09Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* Recommended encoder settings */ Another overhaul concerning --vbr-new&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| screenshot = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.98&lt;br /&gt;
| preview_release = none&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality [[MP3]] encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources. That branch (a patch against the reference sources) became LAME 2.0, and only on LAME 3.81 they got rid of all dist10 code, making LAME a completely new program-not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid-high bitrates and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers like Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, etc. And development is still going on...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
It is suggested that the compiles available here be used with the recommended encoder settings you can find below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with [[LAME]] for highest quality [[MP3]] encoding. These settings require LAME 3.98 or later (the latest stable version is recommended).&lt;br /&gt;
&lt;br /&gt;
===Quick start (short answer)===&lt;br /&gt;
====Best quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;quot;archiving&amp;quot;&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt;. This is the strongest setting for [[MP3]], with the lowest risk of [[artifact]]s.&lt;br /&gt;
With the exception of a few situations, quality is rarely better than the highest [[VBR]] profiles described below. However, &#039;archiving&#039; music using a lossy format like [[MP3]] is never recommended &amp;amp;ndash; no matter how transparent the resulting files might sound.&lt;br /&gt;
The alternative is to use [[Lossless]] formats like [[WavPack]], [[FLAC]] etc. that allow true archiving, bit for bit like on the original CD.&lt;br /&gt;
&lt;br /&gt;
====High quality: &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;HiFi, home or quiet listening&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~230 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~210 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~175 kbps) are recommended.&lt;br /&gt;
These settings will normally produce [[transparent]] encoding (transparent = most people cannot distinguish the [[MP3]] from the original in an [[ABX]] blind test).&lt;br /&gt;
Audible differences between these presets exist, but are rare.&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;background noise and low bitrate requirement, small sizes&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~160 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps) are recommended.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an &amp;quot;acceptable&amp;quot; quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&lt;br /&gt;
===Detailed explanation (long answer)===&lt;br /&gt;
====VBR (variable bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[VBR]] is best used to target a specific quality level, instead of a specific bitrate. The final file size of a [[VBR]] encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V(number)&amp;lt;/code&amp;gt; where number is 0-9, 0 being highest quality, 9 being the lowest.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The switch &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt;, which enabled a superior VBR mode in LAME 3.97 and some previous versions, is no longer needed with LAME 3.98 as it is now the default VBR mode. However, if you&#039;re still using LAME 3.97 or older, you have to add &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; to your commandline to use that mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Bitrate overview (mostly based on LAME 3.97 bitrates)&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbit/s&#039;&#039;&#039; || &#039;&#039;&#039;Bitrate range kbit/s&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -b 320 || --preset insane || 320 || 320 CBR&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset fast extreme || 245 || 220...260&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 ||&amp;amp;nbsp;|| 225 || 200...250&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset fast standard || 190 || 170...210&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 ||&amp;amp;nbsp;|| 175 || 155...195&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset fast medium  || 165 || 145...185&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 ||&amp;amp;nbsp;|| 130 || 110...150&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 ||&amp;amp;nbsp;|| 115 || 95...135&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 ||&amp;amp;nbsp;|| 85 || 65...105&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|}&lt;br /&gt;
See also [[#Technical information|Technical details for recommended LAME settings]].&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use [[ABR]] or [[CBR]] modes, described below.&lt;br /&gt;
&lt;br /&gt;
====ABR (average bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between [[VBR]] and [[CBR]] modes, [[ABR]] encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use [[ABR]] when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) can be any value between 8 - 320 , like eg. 9, 17, 80, 128, 133, 200 etc.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[ABR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====CBR (constant bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. [[CBR]] encoding is not efficient. Whereas [[VBR]] and [[ABR]] modes can supply more bits to complex music passages and save bits on simpler ones, [[CBR]] encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[CBR]] is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[CBR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] ([[VBR]] &amp;gt; [[ABR]] &amp;gt; [[CBR]] in terms of quality). The exception to this is when you choose the highest possible [[CBR]] bitrate, which is 320 kbps (-b 320 = --alt-preset insane), but this produces the largest filesizes for doubtful audible benefit.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the [[MP3]] standard, and the resulting MP3s should be playable by every [[MP3]] decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, not LAME.&lt;br /&gt;
&lt;br /&gt;
* Avoid using alpha (a) versions of LAME. More often than not those are exclusively for testing purposes. Use them only if you want to help developers with feedback. History of [http://www.hydrogenaudio.org/forums/index.php?showtopic=28125/ Lame versions &amp;amp; compiles].&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enables the new [[VBR]] mode (no longer needed with LAME 3.98, as it is now the default VBR mode). In terms of quality, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; appears to be better than the old model, but reports of artifacts when using the new model do exist. Despite these possible issues, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is currently recommended over the default [[VBR]] mode due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;-mm&#039;&#039;&#039; : the sound will be encoded in &#039;&#039;&#039;mono&#039;&#039;&#039;. Useful for low bitrates and/or when stereo is not important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:lame-chart-2.png|frame|center|Here a trial to see how the &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;perceived listening quality&amp;lt;/font&amp;gt; improves with settings/&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;averaged filesize&amp;lt;/font&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hey! What happened to &amp;quot;--alt-preset&amp;quot;?====&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90; it was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions. Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, which allows finer control over the desired bitrate; the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backwards compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039; (Although adding &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is recommended for now, see above for details.)&lt;br /&gt;
&lt;br /&gt;
More encoding options are available under the new system, such as &amp;lt;code&amp;gt;-V1&amp;lt;/code&amp;gt;, which provides a level of quality between the old &amp;quot;standard&amp;quot; and &amp;quot;extreme&amp;quot; presets, or &amp;lt;code&amp;gt;-V3&amp;lt;/code&amp;gt;, which is between the old &amp;quot;medium&amp;quot; and &amp;quot;standard&amp;quot; presets.&lt;br /&gt;
&lt;br /&gt;
Recent LAME versions feature more streamlined command line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the tables above.&lt;br /&gt;
&lt;br /&gt;
For example, the following command lines will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(&amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt; is the exact same thing as &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt;, etc.)&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
The table below contains technical details about the recommended settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbps&#039;&#039;&#039; || &#039;&#039;&#039;Y Switch&#039;&#039;&#039; || &#039;&#039;&#039;-b&#039;&#039;&#039; || &#039;&#039;&#039;Lowpass&#039;&#039;&#039; || &#039;&#039;&#039;Resample&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset extreme || ~240 || || 128 || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 --vbr-new || --preset fast extreme ||  ~240 || || || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 || || ~210 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 --vbr-new || || ~210 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset standard || ~190 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 --vbr-new || --preset fast standard || ~190 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 --vbr-new || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 --vbr-new || --preset fast medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 --vbr-new || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 --vbr-new || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 --vbr-new || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 || || ~85 || Y || || 12516 Hz - 12903 Hz ||  32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 --vbr-new || || ~85 || Y || || 12516 Hz - 12903 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 --vbr-new || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[Exact_Audio_Copy|Exact Audio Copy]]&lt;br /&gt;
* [[EAC_and_Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;People who took part in suggesting the different settings:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, r3mix, ff123, Hans Heijden, kjempen, Benjamin Lebsanft, GeSomeone, Wombat &amp;amp; GuruBoolez for his immense testing.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Creation of the alt preset system and related special code level quality enhancements:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, with technical assistance from Robert Hegemann and Naoki Shibata, Gabriel and extensive tuning help and quality verification via listening tests from JohnV and also initial help (--dm-preset era) from Hans Heijden, ff123, Wombat, and others. Test clips, bitrate information, and further listening tests provided by TheBashar, zbutsam, Pio2001, BadDuDeX, r3mix, h, TarX, Hans Heijden, ff123, Wombat, Filburt, Volcano, Garf, MrDrew, TrNSZ, nyaochi, Amadeus93, in no particular order, and many, many others we (Dibrom, user) probably forgot to mention.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Idea (also exposing the need for a unified preset system), Original post and list of original settings collected by:&#039;&#039;&#039; user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Layout and additional work by:&#039;&#039;&#039; dev0, CiTay, SNYder, Dibrom.&lt;br /&gt;
&lt;br /&gt;
And finally...&lt;br /&gt;
&lt;br /&gt;
Thank you ALL in the community for making it what it is, providing interest and discussion and helping to work towards the most concise, well tuned, and most thought out MP3 quality &amp;quot;paradigm&amp;quot; seen yet! -- Dibrom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
*[[CBR]]&lt;br /&gt;
*[[ABR]]&lt;br /&gt;
*[[VBR]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
*[http://www.rjamorim.com/test/ Several multiformat listening tests] featuring LAME and other encoders.&lt;br /&gt;
*[http://www.rarewares.org/mp3.html RareWares MP3 page]&lt;br /&gt;
*[http://www.hydrogenaudio.org/forums/index.php?showtopic=478&amp;amp;st=0 Discussion of recommended Lame compiles in the Hydrogenaudio forum]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=16&amp;amp;t=32288 Forum discussion of the recommended settings]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=15&amp;amp;t=203 Forum discussion of the recommended settings (older)]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=32288&amp;amp;view=findpost&amp;amp;p=327262 Previous recommendations (outdated)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18868</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18868"/>
		<updated>2008-07-23T00:29:50Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* Hey! What happened to &amp;quot;--alt-preset&amp;quot;? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| screenshot = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.98&lt;br /&gt;
| preview_release = none&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality [[MP3]] encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources. That branch (a patch against the reference sources) became LAME 2.0, and only on LAME 3.81 they got rid of all dist10 code, making LAME a completely new program-not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid-high bitrates and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers like Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, etc. And development is still going on...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
It is suggested that the compiles available here be used with the recommended encoder settings you can find below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with [[LAME]] for highest quality [[MP3]] encoding. These settings require LAME 3.94 or later (the latest stable version is recommended).&lt;br /&gt;
&lt;br /&gt;
===Quick start (short answer)===&lt;br /&gt;
====Best quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;quot;archiving&amp;quot;&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt;. This is the strongest setting for [[MP3]], with the lowest risk of [[artifact]]s.&lt;br /&gt;
With the exception of a few situations, quality is rarely better than the highest [[VBR]] profiles described below. However, &#039;archiving&#039; music using a lossy format like [[MP3]] is never recommended &amp;amp;ndash; no matter how transparent the resulting files might sound.&lt;br /&gt;
The alternative is to use [[Lossless]] formats like [[WavPack]], [[FLAC]] etc. that allow true archiving, bit for bit like on the original CD.&lt;br /&gt;
&lt;br /&gt;
====High quality: &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;HiFi, home or quiet listening&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~230 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~210 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~175 kbps) are recommended.&lt;br /&gt;
These settings will normally produce [[transparent]] encoding (transparent = most people cannot distinguish the [[MP3]] from the original in an [[ABX]] blind test).&lt;br /&gt;
Audible differences between these presets exist, but are rare.&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;background noise and low bitrate requirement, small sizes&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~160 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps) are recommended.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an &amp;quot;acceptable&amp;quot; quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4--vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&lt;br /&gt;
===Detailed explanation (long answer)===&lt;br /&gt;
====VBR (variable bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[VBR]] is best used to target a specific quality level, instead of a specific bitrate. The final file size of a [[VBR]] encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V(number)&amp;lt;/code&amp;gt; where number is 0-9, 0 being highest quality, 9 being the lowest.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;List of recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbit/s&#039;&#039;&#039; || &#039;&#039;&#039;Bitrate range kbit/s&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -b 320 || --preset insane || 320 || 320 CBR&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 --vbr-new || --preset fast extreme ||  245 || 220...260&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset extreme || 245 || 220...260&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 --vbr-new ||&amp;amp;nbsp;|| 225 || 200...250&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 ||&amp;amp;nbsp;|| 225 || 200...250&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 --vbr-new || --preset fast standard || 190 || 170...210&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset standard || 190 || 170...210&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 --vbr-new ||&amp;amp;nbsp;|| 175 || 155...195&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 ||&amp;amp;nbsp;|| 175 || 155...195&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 --vbr-new || --preset fast medium || 165 || 145...185&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset medium  || 165 || 145...185&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 --vbr-new ||&amp;amp;nbsp;|| 130 || 110...150&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 ||&amp;amp;nbsp;|| 130 || 110...150&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 --vbr-new ||&amp;amp;nbsp;|| 115 || 95...135&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 ||&amp;amp;nbsp;|| 115 || 95...135&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 --vbr-new ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 --vbr-new ||&amp;amp;nbsp;|| 85 || 65...105&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 ||&amp;amp;nbsp;|| 85 || 65...105&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 --vbr-new ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|}&lt;br /&gt;
See also [[#Technical information|Technical details for recommended LAME settings]].&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use [[ABR]] or [[CBR]] modes, described below.&lt;br /&gt;
&lt;br /&gt;
====ABR (average bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between [[VBR]] and [[CBR]] modes, [[ABR]] encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use [[ABR]] when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) can be any value between 8 - 320 , like eg. 9, 17, 80, 128, 133, 200 etc.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[ABR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====CBR (constant bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. [[CBR]] encoding is not efficient. Whereas [[VBR]] and [[ABR]] modes can supply more bits to complex music passages and save bits on simpler ones, [[CBR]] encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[CBR]] is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[CBR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] ([[VBR]] &amp;gt; [[ABR]] &amp;gt; [[CBR]] in terms of quality). The exception to this is when you choose the highest possible [[CBR]] bitrate, which is 320 kbps (-b 320 = --alt-preset insane), but this produces the largest filesizes for doubtful audible benefit.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the [[MP3]] standard, and the resulting MP3s should be playable by every [[MP3]] decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, not LAME.&lt;br /&gt;
&lt;br /&gt;
* Avoid using alpha (a) versions of LAME. More often than not those are exclusively for testing purposes. Use them only if you want to help developers with feedback. History of [http://www.hydrogenaudio.org/forums/index.php?showtopic=28125/ Lame versions &amp;amp; compiles].&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enables the new [[VBR]] mode (no longer needed with LAME 3.98). In terms of quality, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; appears to be better than the old model, but reports of artifacts when using the new model do exist. Despite these possible issues, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is currently recommended over the default [[VBR]] mode due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;-mm&#039;&#039;&#039; : the sound will be encoded in &#039;&#039;&#039;mono&#039;&#039;&#039;. Useful for low bitrates and/or when stereo is not important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:lame-chart-2.png|frame|center|Here a trial to see how the &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;perceived listening quality&amp;lt;/font&amp;gt; improves with settings/&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;averaged filesize&amp;lt;/font&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hey! What happened to &amp;quot;--alt-preset&amp;quot;?====&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90; it was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions. Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, which allows finer control over the desired bitrate; the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backwards compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039; (Although adding &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is recommended for now, see above for details.)&lt;br /&gt;
&lt;br /&gt;
More encoding options are available under the new system, such as &amp;lt;code&amp;gt;-V1&amp;lt;/code&amp;gt;, which provides a level of quality between the old &amp;quot;standard&amp;quot; and &amp;quot;extreme&amp;quot; presets, or &amp;lt;code&amp;gt;-V3&amp;lt;/code&amp;gt;, which is between the old &amp;quot;medium&amp;quot; and &amp;quot;standard&amp;quot; presets.&lt;br /&gt;
&lt;br /&gt;
Recent LAME versions feature more streamlined command line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the tables above.&lt;br /&gt;
&lt;br /&gt;
For example, the following command lines will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(&amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt; is the exact same thing as &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt;, etc.)&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
The table below contains technical details about the recommended settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbps&#039;&#039;&#039; || &#039;&#039;&#039;Y Switch&#039;&#039;&#039; || &#039;&#039;&#039;-b&#039;&#039;&#039; || &#039;&#039;&#039;Lowpass&#039;&#039;&#039; || &#039;&#039;&#039;Resample&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset extreme || ~240 || || 128 || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 --vbr-new || --preset fast extreme ||  ~240 || || || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 || || ~210 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 --vbr-new || || ~210 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset standard || ~190 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 --vbr-new || --preset fast standard || ~190 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 --vbr-new || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 --vbr-new || --preset fast medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 --vbr-new || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 --vbr-new || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 --vbr-new || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 || || ~85 || Y || || 12516 Hz - 12903 Hz ||  32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 --vbr-new || || ~85 || Y || || 12516 Hz - 12903 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 --vbr-new || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[Exact_Audio_Copy|Exact Audio Copy]]&lt;br /&gt;
* [[EAC_and_Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;People who took part in suggesting the different settings:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, r3mix, ff123, Hans Heijden, kjempen, Benjamin Lebsanft, GeSomeone, Wombat &amp;amp; GuruBoolez for his immense testing.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Creation of the alt preset system and related special code level quality enhancements:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, with technical assistance from Robert Hegemann and Naoki Shibata, Gabriel and extensive tuning help and quality verification via listening tests from JohnV and also initial help (--dm-preset era) from Hans Heijden, ff123, Wombat, and others. Test clips, bitrate information, and further listening tests provided by TheBashar, zbutsam, Pio2001, BadDuDeX, r3mix, h, TarX, Hans Heijden, ff123, Wombat, Filburt, Volcano, Garf, MrDrew, TrNSZ, nyaochi, Amadeus93, in no particular order, and many, many others we (Dibrom, user) probably forgot to mention.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Idea (also exposing the need for a unified preset system), Original post and list of original settings collected by:&#039;&#039;&#039; user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Layout and additional work by:&#039;&#039;&#039; dev0, CiTay, SNYder, Dibrom.&lt;br /&gt;
&lt;br /&gt;
And finally...&lt;br /&gt;
&lt;br /&gt;
Thank you ALL in the community for making it what it is, providing interest and discussion and helping to work towards the most concise, well tuned, and most thought out MP3 quality &amp;quot;paradigm&amp;quot; seen yet! -- Dibrom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
*[[CBR]]&lt;br /&gt;
*[[ABR]]&lt;br /&gt;
*[[VBR]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
*[http://www.rjamorim.com/test/ Several multiformat listening tests] featuring LAME and other encoders.&lt;br /&gt;
*[http://www.rarewares.org/mp3.html RareWares MP3 page]&lt;br /&gt;
*[http://www.hydrogenaudio.org/forums/index.php?showtopic=478&amp;amp;st=0 Discussion of recommended Lame compiles in the Hydrogenaudio forum]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=16&amp;amp;t=32288 Forum discussion of the recommended settings]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=15&amp;amp;t=203 Forum discussion of the recommended settings (older)]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=32288&amp;amp;view=findpost&amp;amp;p=327262 Previous recommendations (outdated)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18867</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18867"/>
		<updated>2008-07-23T00:29:13Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* Hey! What happened to &amp;quot;--alt-preset&amp;quot;? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| screenshot = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.98&lt;br /&gt;
| preview_release = none&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality [[MP3]] encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources. That branch (a patch against the reference sources) became LAME 2.0, and only on LAME 3.81 they got rid of all dist10 code, making LAME a completely new program-not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid-high bitrates and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers like Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, etc. And development is still going on...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
It is suggested that the compiles available here be used with the recommended encoder settings you can find below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with [[LAME]] for highest quality [[MP3]] encoding. These settings require LAME 3.94 or later (the latest stable version is recommended).&lt;br /&gt;
&lt;br /&gt;
===Quick start (short answer)===&lt;br /&gt;
====Best quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;quot;archiving&amp;quot;&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt;. This is the strongest setting for [[MP3]], with the lowest risk of [[artifact]]s.&lt;br /&gt;
With the exception of a few situations, quality is rarely better than the highest [[VBR]] profiles described below. However, &#039;archiving&#039; music using a lossy format like [[MP3]] is never recommended &amp;amp;ndash; no matter how transparent the resulting files might sound.&lt;br /&gt;
The alternative is to use [[Lossless]] formats like [[WavPack]], [[FLAC]] etc. that allow true archiving, bit for bit like on the original CD.&lt;br /&gt;
&lt;br /&gt;
====High quality: &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;HiFi, home or quiet listening&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~230 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~210 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~175 kbps) are recommended.&lt;br /&gt;
These settings will normally produce [[transparent]] encoding (transparent = most people cannot distinguish the [[MP3]] from the original in an [[ABX]] blind test).&lt;br /&gt;
Audible differences between these presets exist, but are rare.&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;background noise and low bitrate requirement, small sizes&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~160 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps) are recommended.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an &amp;quot;acceptable&amp;quot; quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4--vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&lt;br /&gt;
===Detailed explanation (long answer)===&lt;br /&gt;
====VBR (variable bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[VBR]] is best used to target a specific quality level, instead of a specific bitrate. The final file size of a [[VBR]] encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V(number)&amp;lt;/code&amp;gt; where number is 0-9, 0 being highest quality, 9 being the lowest.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;List of recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbit/s&#039;&#039;&#039; || &#039;&#039;&#039;Bitrate range kbit/s&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -b 320 || --preset insane || 320 || 320 CBR&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 --vbr-new || --preset fast extreme ||  245 || 220...260&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset extreme || 245 || 220...260&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 --vbr-new ||&amp;amp;nbsp;|| 225 || 200...250&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 ||&amp;amp;nbsp;|| 225 || 200...250&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 --vbr-new || --preset fast standard || 190 || 170...210&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset standard || 190 || 170...210&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 --vbr-new ||&amp;amp;nbsp;|| 175 || 155...195&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 ||&amp;amp;nbsp;|| 175 || 155...195&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 --vbr-new || --preset fast medium || 165 || 145...185&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset medium  || 165 || 145...185&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 --vbr-new ||&amp;amp;nbsp;|| 130 || 110...150&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 ||&amp;amp;nbsp;|| 130 || 110...150&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 --vbr-new ||&amp;amp;nbsp;|| 115 || 95...135&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 ||&amp;amp;nbsp;|| 115 || 95...135&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 --vbr-new ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 --vbr-new ||&amp;amp;nbsp;|| 85 || 65...105&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 ||&amp;amp;nbsp;|| 85 || 65...105&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 --vbr-new ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|}&lt;br /&gt;
See also [[#Technical information|Technical details for recommended LAME settings]].&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use [[ABR]] or [[CBR]] modes, described below.&lt;br /&gt;
&lt;br /&gt;
====ABR (average bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between [[VBR]] and [[CBR]] modes, [[ABR]] encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use [[ABR]] when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) can be any value between 8 - 320 , like eg. 9, 17, 80, 128, 133, 200 etc.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[ABR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====CBR (constant bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. [[CBR]] encoding is not efficient. Whereas [[VBR]] and [[ABR]] modes can supply more bits to complex music passages and save bits on simpler ones, [[CBR]] encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[CBR]] is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[CBR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] ([[VBR]] &amp;gt; [[ABR]] &amp;gt; [[CBR]] in terms of quality). The exception to this is when you choose the highest possible [[CBR]] bitrate, which is 320 kbps (-b 320 = --alt-preset insane), but this produces the largest filesizes for doubtful audible benefit.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the [[MP3]] standard, and the resulting MP3s should be playable by every [[MP3]] decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, not LAME.&lt;br /&gt;
&lt;br /&gt;
* Avoid using alpha (a) versions of LAME. More often than not those are exclusively for testing purposes. Use them only if you want to help developers with feedback. History of [http://www.hydrogenaudio.org/forums/index.php?showtopic=28125/ Lame versions &amp;amp; compiles].&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enables the new [[VBR]] mode (no longer needed with LAME 3.98). In terms of quality, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; appears to be better than the old model, but reports of artifacts when using the new model do exist. Despite these possible issues, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is currently recommended over the default [[VBR]] mode due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;-mm&#039;&#039;&#039; : the sound will be encoded in &#039;&#039;&#039;mono&#039;&#039;&#039;. Useful for low bitrates and/or when stereo is not important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:lame-chart-2.png|frame|center|Here a trial to see how the &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;perceived listening quality&amp;lt;/font&amp;gt; improves with settings/&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;averaged filesize&amp;lt;/font&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hey! What happened to &amp;quot;--alt-preset&amp;quot;?====&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90; it was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions. Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, which allows finer control over the desired bitrate; the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backwards compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039; (Although adding &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is recommended for now, see above for details.)&lt;br /&gt;
&lt;br /&gt;
More encoding options are available under the new system, such as &amp;lt;code&amp;gt;-V1&amp;lt;/code&amp;gt;, which provides a level of quality between the old &amp;quot;standard&amp;quot; and &amp;quot;extreme&amp;quot; presets, or &amp;lt;code&amp;gt;-V3&amp;lt;/code&amp;gt;, which is between the old &amp;quot;medium&amp;quot; and &amp;quot;standard&amp;quot; presets.&lt;br /&gt;
&lt;br /&gt;
Recent LAME versions feature more streamlined command line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the tables above. &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;You don&#039;t need to worry&amp;lt;/font&amp;gt; anymore about quality, settings, arcane combinations of switches, or presets.&lt;br /&gt;
&lt;br /&gt;
For example, the following command lines will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(&amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt; is the exact same thing as &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt;, etc.)&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
The table below contains technical details about the recommended settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbps&#039;&#039;&#039; || &#039;&#039;&#039;Y Switch&#039;&#039;&#039; || &#039;&#039;&#039;-b&#039;&#039;&#039; || &#039;&#039;&#039;Lowpass&#039;&#039;&#039; || &#039;&#039;&#039;Resample&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset extreme || ~240 || || 128 || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 --vbr-new || --preset fast extreme ||  ~240 || || || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 || || ~210 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 --vbr-new || || ~210 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset standard || ~190 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 --vbr-new || --preset fast standard || ~190 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 --vbr-new || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 --vbr-new || --preset fast medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 --vbr-new || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 --vbr-new || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 --vbr-new || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 || || ~85 || Y || || 12516 Hz - 12903 Hz ||  32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 --vbr-new || || ~85 || Y || || 12516 Hz - 12903 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 --vbr-new || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[Exact_Audio_Copy|Exact Audio Copy]]&lt;br /&gt;
* [[EAC_and_Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;People who took part in suggesting the different settings:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, r3mix, ff123, Hans Heijden, kjempen, Benjamin Lebsanft, GeSomeone, Wombat &amp;amp; GuruBoolez for his immense testing.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Creation of the alt preset system and related special code level quality enhancements:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, with technical assistance from Robert Hegemann and Naoki Shibata, Gabriel and extensive tuning help and quality verification via listening tests from JohnV and also initial help (--dm-preset era) from Hans Heijden, ff123, Wombat, and others. Test clips, bitrate information, and further listening tests provided by TheBashar, zbutsam, Pio2001, BadDuDeX, r3mix, h, TarX, Hans Heijden, ff123, Wombat, Filburt, Volcano, Garf, MrDrew, TrNSZ, nyaochi, Amadeus93, in no particular order, and many, many others we (Dibrom, user) probably forgot to mention.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Idea (also exposing the need for a unified preset system), Original post and list of original settings collected by:&#039;&#039;&#039; user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Layout and additional work by:&#039;&#039;&#039; dev0, CiTay, SNYder, Dibrom.&lt;br /&gt;
&lt;br /&gt;
And finally...&lt;br /&gt;
&lt;br /&gt;
Thank you ALL in the community for making it what it is, providing interest and discussion and helping to work towards the most concise, well tuned, and most thought out MP3 quality &amp;quot;paradigm&amp;quot; seen yet! -- Dibrom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
*[[CBR]]&lt;br /&gt;
*[[ABR]]&lt;br /&gt;
*[[VBR]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
*[http://www.rjamorim.com/test/ Several multiformat listening tests] featuring LAME and other encoders.&lt;br /&gt;
*[http://www.rarewares.org/mp3.html RareWares MP3 page]&lt;br /&gt;
*[http://www.hydrogenaudio.org/forums/index.php?showtopic=478&amp;amp;st=0 Discussion of recommended Lame compiles in the Hydrogenaudio forum]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=16&amp;amp;t=32288 Forum discussion of the recommended settings]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=15&amp;amp;t=203 Forum discussion of the recommended settings (older)]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=32288&amp;amp;view=findpost&amp;amp;p=327262 Previous recommendations (outdated)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18866</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18866"/>
		<updated>2008-07-23T00:27:55Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* Recommended encoder settings */ Small overhaul&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| screenshot = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.98&lt;br /&gt;
| preview_release = none&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality [[MP3]] encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources. That branch (a patch against the reference sources) became LAME 2.0, and only on LAME 3.81 they got rid of all dist10 code, making LAME a completely new program-not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid-high bitrates and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers like Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, etc. And development is still going on...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
It is suggested that the compiles available here be used with the recommended encoder settings you can find below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with [[LAME]] for highest quality [[MP3]] encoding. These settings require LAME 3.94 or later (the latest stable version is recommended).&lt;br /&gt;
&lt;br /&gt;
===Quick start (short answer)===&lt;br /&gt;
====Best quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;quot;archiving&amp;quot;&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt;. This is the strongest setting for [[MP3]], with the lowest risk of [[artifact]]s.&lt;br /&gt;
With the exception of a few situations, quality is rarely better than the highest [[VBR]] profiles described below. However, &#039;archiving&#039; music using a lossy format like [[MP3]] is never recommended &amp;amp;ndash; no matter how transparent the resulting files might sound.&lt;br /&gt;
The alternative is to use [[Lossless]] formats like [[WavPack]], [[FLAC]] etc. that allow true archiving, bit for bit like on the original CD.&lt;br /&gt;
&lt;br /&gt;
====High quality: &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;HiFi, home or quiet listening&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~230 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~210 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~175 kbps) are recommended.&lt;br /&gt;
These settings will normally produce [[transparent]] encoding (transparent = most people cannot distinguish the [[MP3]] from the original in an [[ABX]] blind test).&lt;br /&gt;
Audible differences between these presets exist, but are rare.&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;background noise and low bitrate requirement, small sizes&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~160 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps) are recommended.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an &amp;quot;acceptable&amp;quot; quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4--vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&lt;br /&gt;
===Detailed explanation (long answer)===&lt;br /&gt;
====VBR (variable bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[VBR]] is best used to target a specific quality level, instead of a specific bitrate. The final file size of a [[VBR]] encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V(number)&amp;lt;/code&amp;gt; where number is 0-9, 0 being highest quality, 9 being the lowest.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;List of recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbit/s&#039;&#039;&#039; || &#039;&#039;&#039;Bitrate range kbit/s&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -b 320 || --preset insane || 320 || 320 CBR&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 --vbr-new || --preset fast extreme ||  245 || 220...260&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset extreme || 245 || 220...260&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 --vbr-new ||&amp;amp;nbsp;|| 225 || 200...250&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 ||&amp;amp;nbsp;|| 225 || 200...250&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 --vbr-new || --preset fast standard || 190 || 170...210&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset standard || 190 || 170...210&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 --vbr-new ||&amp;amp;nbsp;|| 175 || 155...195&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 ||&amp;amp;nbsp;|| 175 || 155...195&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 --vbr-new || --preset fast medium || 165 || 145...185&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset medium  || 165 || 145...185&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 --vbr-new ||&amp;amp;nbsp;|| 130 || 110...150&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 ||&amp;amp;nbsp;|| 130 || 110...150&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 --vbr-new ||&amp;amp;nbsp;|| 115 || 95...135&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 ||&amp;amp;nbsp;|| 115 || 95...135&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 --vbr-new ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 --vbr-new ||&amp;amp;nbsp;|| 85 || 65...105&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 ||&amp;amp;nbsp;|| 85 || 65...105&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 --vbr-new ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|}&lt;br /&gt;
See also [[#Technical information|Technical details for recommended LAME settings]].&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use [[ABR]] or [[CBR]] modes, described below.&lt;br /&gt;
&lt;br /&gt;
====ABR (average bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between [[VBR]] and [[CBR]] modes, [[ABR]] encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use [[ABR]] when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) can be any value between 8 - 320 , like eg. 9, 17, 80, 128, 133, 200 etc.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[ABR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====CBR (constant bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. [[CBR]] encoding is not efficient. Whereas [[VBR]] and [[ABR]] modes can supply more bits to complex music passages and save bits on simpler ones, [[CBR]] encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[CBR]] is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[CBR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] ([[VBR]] &amp;gt; [[ABR]] &amp;gt; [[CBR]] in terms of quality). The exception to this is when you choose the highest possible [[CBR]] bitrate, which is 320 kbps (-b 320 = --alt-preset insane), but this produces the largest filesizes for doubtful audible benefit.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the [[MP3]] standard, and the resulting MP3s should be playable by every [[MP3]] decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, not LAME.&lt;br /&gt;
&lt;br /&gt;
* Avoid using alpha (a) versions of LAME. More often than not those are exclusively for testing purposes. Use them only if you want to help developers with feedback. History of [http://www.hydrogenaudio.org/forums/index.php?showtopic=28125/ Lame versions &amp;amp; compiles].&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enables the new [[VBR]] mode (no longer needed with LAME 3.98). In terms of quality, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; appears to be better than the old model, but reports of artifacts when using the new model do exist. Despite these possible issues, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is currently recommended over the default [[VBR]] mode due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;-mm&#039;&#039;&#039; : the sound will be encoded in &#039;&#039;&#039;mono&#039;&#039;&#039;. Useful for low bitrates and/or when stereo is not important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:lame-chart-2.png|frame|center|Here a trial to see how the &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;perceived listening quality&amp;lt;/font&amp;gt; improves with settings/&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;averaged filesize&amp;lt;/font&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hey! What happened to &amp;quot;--alt-preset&amp;quot;?====&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90; it was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions. Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, which allows finer control over the desired bitrate; the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backwards compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039; (Although adding &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is recommended for now, see above for details.)&lt;br /&gt;
&lt;br /&gt;
More encoding options are available under the new system, such as &amp;lt;code&amp;gt;-V1&amp;lt;/code&amp;gt;, which provides a level of quality between the old &amp;quot;standard&amp;quot; and &amp;quot;extreme&amp;quot; presets, or &amp;lt;code&amp;gt;-V3&amp;lt;/code&amp;gt;, which is between the old &amp;quot;medium&amp;quot; and &amp;quot;standard&amp;quot; presets.&lt;br /&gt;
&lt;br /&gt;
LAME 3.97 features more streamlined command line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the tables above. &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;You don&#039;t need to worry&amp;lt;/font&amp;gt; anymore about quality, settings, arcane combinations of switches, or presets.&lt;br /&gt;
&lt;br /&gt;
For example, the following command lines will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(&amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt; is the exact same thing as &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt;, etc.)&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
The table below contains technical details about the recommended settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbps&#039;&#039;&#039; || &#039;&#039;&#039;Y Switch&#039;&#039;&#039; || &#039;&#039;&#039;-b&#039;&#039;&#039; || &#039;&#039;&#039;Lowpass&#039;&#039;&#039; || &#039;&#039;&#039;Resample&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset extreme || ~240 || || 128 || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 --vbr-new || --preset fast extreme ||  ~240 || || || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 || || ~210 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 --vbr-new || || ~210 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset standard || ~190 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 --vbr-new || --preset fast standard || ~190 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 --vbr-new || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 --vbr-new || --preset fast medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 --vbr-new || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 --vbr-new || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 --vbr-new || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 || || ~85 || Y || || 12516 Hz - 12903 Hz ||  32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 --vbr-new || || ~85 || Y || || 12516 Hz - 12903 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 --vbr-new || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[Exact_Audio_Copy|Exact Audio Copy]]&lt;br /&gt;
* [[EAC_and_Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;People who took part in suggesting the different settings:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, r3mix, ff123, Hans Heijden, kjempen, Benjamin Lebsanft, GeSomeone, Wombat &amp;amp; GuruBoolez for his immense testing.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Creation of the alt preset system and related special code level quality enhancements:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, with technical assistance from Robert Hegemann and Naoki Shibata, Gabriel and extensive tuning help and quality verification via listening tests from JohnV and also initial help (--dm-preset era) from Hans Heijden, ff123, Wombat, and others. Test clips, bitrate information, and further listening tests provided by TheBashar, zbutsam, Pio2001, BadDuDeX, r3mix, h, TarX, Hans Heijden, ff123, Wombat, Filburt, Volcano, Garf, MrDrew, TrNSZ, nyaochi, Amadeus93, in no particular order, and many, many others we (Dibrom, user) probably forgot to mention.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Idea (also exposing the need for a unified preset system), Original post and list of original settings collected by:&#039;&#039;&#039; user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Layout and additional work by:&#039;&#039;&#039; dev0, CiTay, SNYder, Dibrom.&lt;br /&gt;
&lt;br /&gt;
And finally...&lt;br /&gt;
&lt;br /&gt;
Thank you ALL in the community for making it what it is, providing interest and discussion and helping to work towards the most concise, well tuned, and most thought out MP3 quality &amp;quot;paradigm&amp;quot; seen yet! -- Dibrom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
*[[CBR]]&lt;br /&gt;
*[[ABR]]&lt;br /&gt;
*[[VBR]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
*[http://www.rjamorim.com/test/ Several multiformat listening tests] featuring LAME and other encoders.&lt;br /&gt;
*[http://www.rarewares.org/mp3.html RareWares MP3 page]&lt;br /&gt;
*[http://www.hydrogenaudio.org/forums/index.php?showtopic=478&amp;amp;st=0 Discussion of recommended Lame compiles in the Hydrogenaudio forum]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=16&amp;amp;t=32288 Forum discussion of the recommended settings]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=15&amp;amp;t=203 Forum discussion of the recommended settings (older)]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=32288&amp;amp;view=findpost&amp;amp;p=327262 Previous recommendations (outdated)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18856</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18856"/>
		<updated>2008-07-19T20:35:49Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* Recommended encoder compiles and source code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| screenshot = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.98&lt;br /&gt;
| preview_release = none&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality [[MP3]] encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources. That branch (a patch against the reference sources) became LAME 2.0, and only on LAME 3.81 they got rid of all dist10 code, making LAME a completely new program-not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid-high bitrates and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers like Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, etc. And development is still going on...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
It is suggested that the compiles available here be used with the recommended encoder settings you can find below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with [[LAME]] for highest quality [[MP3]] encoding.&lt;br /&gt;
&lt;br /&gt;
These settings require &#039;&#039;&#039;LAME 3.94&#039;&#039;&#039; or later. &#039;&#039;&#039;LAME 3.97&#039;&#039;&#039; is the recommended version.&lt;br /&gt;
&lt;br /&gt;
===Quick start (short answer)===&lt;br /&gt;
====Best quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;quot;archiving&amp;quot;&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt;. This is the strongest setting for [[MP3]], with the lowest risk of [[artifact]]s.&lt;br /&gt;
With the exception of a few situations, quality is rarely better than the highest [[VBR]] profiles described below. However, &#039;archiving&#039; music using a lossy format like [[MP3]] is never recommended &amp;amp;ndash; no matter how transparent the resulting files might be.&lt;br /&gt;
The alternative is to use [[Lossless]] formats like [[WavPack]], [[FLAC]] etc. that allow true archiving bit for bit like on original CD.&lt;br /&gt;
&lt;br /&gt;
====High quality: &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;HiFi, home or quiet listening&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~175 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~210 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~230 kbps) are recommended.&lt;br /&gt;
These settings will produce [[transparent]] encoding (transparent = most people cannot distinguish the [[MP3]] from the original in an [[ABX]] blind test).&lt;br /&gt;
Audible differences between these presets exist, but are extremely rare.&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;background noise and low bitrate requirement, small sizes&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~160 kbps) are recommended for this use.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an acceptable quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4--vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&lt;br /&gt;
===Detailed explanation (long answer)===&lt;br /&gt;
====VBR (variable bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[VBR]] is best used to target a specific quality level, instead of a specific bitrate. The final file size of a [[VBR]] encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V(number)&amp;lt;/code&amp;gt; where number is 0-9, 0 being highest quality, 9 being the lowest.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;List of recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbit/s&#039;&#039;&#039; || &#039;&#039;&#039;Bitrate range kbit/s&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -b 320 || --preset insane || 320 || 320 CBR&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 --vbr-new || --preset fast extreme ||  245 || 220...260&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset extreme || 245 || 220...260&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 --vbr-new ||&amp;amp;nbsp;|| 225 || 200...250&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 ||&amp;amp;nbsp;|| 225 || 200...250&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 --vbr-new || --preset fast standard || 190 || 170...210&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset standard || 190 || 170...210&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 --vbr-new ||&amp;amp;nbsp;|| 175 || 155...195&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 ||&amp;amp;nbsp;|| 175 || 155...195&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 --vbr-new || --preset fast medium || 165 || 145...185&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset medium  || 165 || 145...185&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 --vbr-new ||&amp;amp;nbsp;|| 130 || 110...150&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 ||&amp;amp;nbsp;|| 130 || 110...150&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 --vbr-new ||&amp;amp;nbsp;|| 115 || 95...135&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 ||&amp;amp;nbsp;|| 115 || 95...135&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 --vbr-new ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 --vbr-new ||&amp;amp;nbsp;|| 85 || 65...105&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 ||&amp;amp;nbsp;|| 85 || 65...105&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 --vbr-new ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|}&lt;br /&gt;
See also [[#Technical information|Technical details for recommended LAME settings]].&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use [[ABR]] or [[CBR]] modes, described below.&lt;br /&gt;
&lt;br /&gt;
====ABR (average bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between [[VBR]] and [[CBR]] modes, [[ABR]] encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use [[ABR]] when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) can be any value between 8 - 320 , like eg. 9, 17, 80, 128, 133, 200 etc.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[ABR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====CBR (constant bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. [[CBR]] encoding is not efficient. Whereas [[VBR]] and [[ABR]] modes can supply more bits to complex music passages and save bits on simpler ones, [[CBR]] encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[CBR]] is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[CBR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] ([[VBR]] &amp;gt; [[ABR]] &amp;gt; [[CBR]] in terms of quality). The exception to this is when you choose the highest possible [[CBR]] bitrate, which is 320 kbps (-b 320 = --alt-preset insane), but this produces very large filesizes for very little audible benefit.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the [[MP3]] standard, and the resulting MP3s should be playable by every [[MP3]] decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, and not LAME.&lt;br /&gt;
&lt;br /&gt;
* Avoid using alpha (a) versions of LAME. More often than not those are exclusively for testing purposes. Use them only if you want to help developers with feedback. History of [http://www.hydrogenaudio.org/forums/index.php?showtopic=28125/ Lame versions &amp;amp; compiles].&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enables the new [[VBR]] mode.  Lame will encode much faster than the old/default [[VBR]] mode.  In terms of quality, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; appears to be better than the old model, but reports of artifacts when using the new model do exist.  Despite these possible issues, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is currently recommended over the default [[VBR]] mode due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;-mm&#039;&#039;&#039; : the sound will be encoded in &#039;&#039;&#039;mono&#039;&#039;&#039;. Eg. useful for low bitrates &amp;amp; when stereo is less important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:lame-chart-2.png|frame|center|Here a trial to get a view, how the &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;perceived listening quality&amp;lt;/font&amp;gt; improves with settings/&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;averaged filesize&amp;lt;/font&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hey! What happened to &amp;quot;--alt-preset&amp;quot;?====&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90; it was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions. Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, which allows finer control over the desired bitrate; the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backwards compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039; (Although adding &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is recommended for now, see above for details.)&lt;br /&gt;
&lt;br /&gt;
More encoding options are available under the new system, such as &amp;lt;code&amp;gt;-V1&amp;lt;/code&amp;gt;, which provides a level of quality between the old &amp;quot;standard&amp;quot; and &amp;quot;extreme&amp;quot; presets, or &amp;lt;code&amp;gt;-V3&amp;lt;/code&amp;gt;, which is between the old &amp;quot;medium&amp;quot; and &amp;quot;standard&amp;quot; presets.&lt;br /&gt;
&lt;br /&gt;
LAME 3.97 features more streamlined command line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the tables above. &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;You don&#039;t need to worry&amp;lt;/font&amp;gt; anymore about quality, settings, arcane combinations of switches, or presets.&lt;br /&gt;
&lt;br /&gt;
For example, the following command lines will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(&amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt; is the exact same thing as &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt;, etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
The table below contains technical details about the recommended settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbps&#039;&#039;&#039; || &#039;&#039;&#039;Y Switch&#039;&#039;&#039; || &#039;&#039;&#039;-b&#039;&#039;&#039; || &#039;&#039;&#039;Lowpass&#039;&#039;&#039; || &#039;&#039;&#039;Resample&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset extreme || ~240 || || 128 || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 --vbr-new || --preset fast extreme ||  ~240 || || || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 || || ~210 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 --vbr-new || || ~210 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset standard || ~190 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 --vbr-new || --preset fast standard || ~190 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 --vbr-new || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 --vbr-new || --preset fast medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 --vbr-new || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 --vbr-new || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 --vbr-new || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 || || ~85 || Y || || 12516 Hz - 12903 Hz ||  32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 --vbr-new || || ~85 || Y || || 12516 Hz - 12903 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 --vbr-new || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[Exact_Audio_Copy|Exact Audio Copy]]&lt;br /&gt;
* [[EAC_and_Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;People who took part in suggesting the different settings:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, r3mix, ff123, Hans Heijden, kjempen, Benjamin Lebsanft, GeSomeone, Wombat &amp;amp; GuruBoolez for his immense testing.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Creation of the alt preset system and related special code level quality enhancements:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, with technical assistance from Robert Hegemann and Naoki Shibata, Gabriel and extensive tuning help and quality verification via listening tests from JohnV and also initial help (--dm-preset era) from Hans Heijden, ff123, Wombat, and others. Test clips, bitrate information, and further listening tests provided by TheBashar, zbutsam, Pio2001, BadDuDeX, r3mix, h, TarX, Hans Heijden, ff123, Wombat, Filburt, Volcano, Garf, MrDrew, TrNSZ, nyaochi, Amadeus93, in no particular order, and many, many others we (Dibrom, user) probably forgot to mention.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Idea (also exposing the need for a unified preset system), Original post and list of original settings collected by:&#039;&#039;&#039; user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Layout and additional work by:&#039;&#039;&#039; dev0, CiTay, SNYder, Dibrom.&lt;br /&gt;
&lt;br /&gt;
And finally...&lt;br /&gt;
&lt;br /&gt;
Thank you ALL in the community for making it what it is, providing interest and discussion and helping to work towards the most concise, well tuned, and most thought out MP3 quality &amp;quot;paradigm&amp;quot; seen yet! -- Dibrom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
*[[CBR]]&lt;br /&gt;
*[[ABR]]&lt;br /&gt;
*[[VBR]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
*[http://www.rjamorim.com/test/ Several multiformat listening tests] featuring LAME and other encoders.&lt;br /&gt;
*[http://www.rarewares.org/mp3.html RareWares MP3 page]&lt;br /&gt;
*[http://www.hydrogenaudio.org/forums/index.php?showtopic=478&amp;amp;st=0 Discussion of recommended Lame compiles in the Hydrogenaudio forum]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=16&amp;amp;t=32288 Forum discussion of the recommended settings]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=15&amp;amp;t=203 Forum discussion of the recommended settings (older)]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=32288&amp;amp;view=findpost&amp;amp;p=327262 Previous recommendations (outdated)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18855</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=18855"/>
		<updated>2008-07-19T20:33:06Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* Recommended encoder compiles and source code */ Removed specific version to be recommended and instead added a notice about the last stable version.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| screenshot = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.98&lt;br /&gt;
| preview_release = none&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality [[MP3]] encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources. That branch (a patch against the reference sources) became LAME 2.0, and only on LAME 3.81 they got rid of all dist10 code, making LAME a completely new program-not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid-high bitrates and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers like Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, etc. And development is still going on...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
It is suggested that the compiles available here be used with the [[#Recommended encoder settings|recommended encoder settings]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with [[LAME]] for highest quality [[MP3]] encoding.&lt;br /&gt;
&lt;br /&gt;
These settings require &#039;&#039;&#039;LAME 3.94&#039;&#039;&#039; or later. &#039;&#039;&#039;LAME 3.97&#039;&#039;&#039; is the recommended version.&lt;br /&gt;
&lt;br /&gt;
===Quick start (short answer)===&lt;br /&gt;
====Best quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;&amp;quot;archiving&amp;quot;&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt;. This is the strongest setting for [[MP3]], with the lowest risk of [[artifact]]s.&lt;br /&gt;
With the exception of a few situations, quality is rarely better than the highest [[VBR]] profiles described below. However, &#039;archiving&#039; music using a lossy format like [[MP3]] is never recommended &amp;amp;ndash; no matter how transparent the resulting files might be.&lt;br /&gt;
The alternative is to use [[Lossless]] formats like [[WavPack]], [[FLAC]] etc. that allow true archiving bit for bit like on original CD.&lt;br /&gt;
&lt;br /&gt;
====High quality: &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;HiFi, home or quiet listening&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~175 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~210 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~230 kbps) are recommended.&lt;br /&gt;
These settings will produce [[transparent]] encoding (transparent = most people cannot distinguish the [[MP3]] from the original in an [[ABX]] blind test).&lt;br /&gt;
Audible differences between these presets exist, but are extremely rare.&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;background noise and low bitrate requirement, small sizes&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~160 kbps) are recommended for this use.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6 --vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an acceptable quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4--vbr-new&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&lt;br /&gt;
===Detailed explanation (long answer)===&lt;br /&gt;
====VBR (variable bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[VBR]] is best used to target a specific quality level, instead of a specific bitrate. The final file size of a [[VBR]] encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V(number)&amp;lt;/code&amp;gt; where number is 0-9, 0 being highest quality, 9 being the lowest.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;List of recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbit/s&#039;&#039;&#039; || &#039;&#039;&#039;Bitrate range kbit/s&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -b 320 || --preset insane || 320 || 320 CBR&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 --vbr-new || --preset fast extreme ||  245 || 220...260&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset extreme || 245 || 220...260&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 --vbr-new ||&amp;amp;nbsp;|| 225 || 200...250&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 ||&amp;amp;nbsp;|| 225 || 200...250&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 --vbr-new || --preset fast standard || 190 || 170...210&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset standard || 190 || 170...210&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 --vbr-new ||&amp;amp;nbsp;|| 175 || 155...195&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 ||&amp;amp;nbsp;|| 175 || 155...195&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 --vbr-new || --preset fast medium || 165 || 145...185&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset medium  || 165 || 145...185&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 --vbr-new ||&amp;amp;nbsp;|| 130 || 110...150&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 ||&amp;amp;nbsp;|| 130 || 110...150&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 --vbr-new ||&amp;amp;nbsp;|| 115 || 95...135&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 ||&amp;amp;nbsp;|| 115 || 95...135&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 --vbr-new ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 ||&amp;amp;nbsp;|| 100 || 80...120&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 --vbr-new ||&amp;amp;nbsp;|| 85 || 65...105&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 ||&amp;amp;nbsp;|| 85 || 65...105&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 --vbr-new ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 ||&amp;amp;nbsp;|| 65 || 45...85&lt;br /&gt;
|}&lt;br /&gt;
See also [[#Technical information|Technical details for recommended LAME settings]].&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use [[ABR]] or [[CBR]] modes, described below.&lt;br /&gt;
&lt;br /&gt;
====ABR (average bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between [[VBR]] and [[CBR]] modes, [[ABR]] encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use [[ABR]] when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) can be any value between 8 - 320 , like eg. 9, 17, 80, 128, 133, 200 etc.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[ABR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====CBR (constant bitrate) settings====&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. [[CBR]] encoding is not efficient. Whereas [[VBR]] and [[ABR]] modes can supply more bits to complex music passages and save bits on simpler ones, [[CBR]] encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[CBR]] is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;[[CBR]] setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] ([[VBR]] &amp;gt; [[ABR]] &amp;gt; [[CBR]] in terms of quality). The exception to this is when you choose the highest possible [[CBR]] bitrate, which is 320 kbps (-b 320 = --alt-preset insane), but this produces very large filesizes for very little audible benefit.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the [[MP3]] standard, and the resulting MP3s should be playable by every [[MP3]] decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, and not LAME.&lt;br /&gt;
&lt;br /&gt;
* Avoid using alpha (a) versions of LAME. More often than not those are exclusively for testing purposes. Use them only if you want to help developers with feedback. History of [http://www.hydrogenaudio.org/forums/index.php?showtopic=28125/ Lame versions &amp;amp; compiles].&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enables the new [[VBR]] mode.  Lame will encode much faster than the old/default [[VBR]] mode.  In terms of quality, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; appears to be better than the old model, but reports of artifacts when using the new model do exist.  Despite these possible issues, &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is currently recommended over the default [[VBR]] mode due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;-mm&#039;&#039;&#039; : the sound will be encoded in &#039;&#039;&#039;mono&#039;&#039;&#039;. Eg. useful for low bitrates &amp;amp; when stereo is less important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:lame-chart-2.png|frame|center|Here a trial to get a view, how the &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;perceived listening quality&amp;lt;/font&amp;gt; improves with settings/&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;averaged filesize&amp;lt;/font&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Hey! What happened to &amp;quot;--alt-preset&amp;quot;?====&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90; it was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions. Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, which allows finer control over the desired bitrate; the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backwards compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039; (Although adding &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; is recommended for now, see above for details.)&lt;br /&gt;
&lt;br /&gt;
More encoding options are available under the new system, such as &amp;lt;code&amp;gt;-V1&amp;lt;/code&amp;gt;, which provides a level of quality between the old &amp;quot;standard&amp;quot; and &amp;quot;extreme&amp;quot; presets, or &amp;lt;code&amp;gt;-V3&amp;lt;/code&amp;gt;, which is between the old &amp;quot;medium&amp;quot; and &amp;quot;standard&amp;quot; presets.&lt;br /&gt;
&lt;br /&gt;
LAME 3.97 features more streamlined command line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the tables above. &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;You don&#039;t need to worry&amp;lt;/font&amp;gt; anymore about quality, settings, arcane combinations of switches, or presets.&lt;br /&gt;
&lt;br /&gt;
For example, the following command lines will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt; = &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(&amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt; is the exact same thing as &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt;, etc.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
The table below contains technical details about the recommended settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbps&#039;&#039;&#039; || &#039;&#039;&#039;Y Switch&#039;&#039;&#039; || &#039;&#039;&#039;-b&#039;&#039;&#039; || &#039;&#039;&#039;Lowpass&#039;&#039;&#039; || &#039;&#039;&#039;Resample&#039;&#039;&#039;&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 0 || --preset extreme || ~240 || || 128 || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 --vbr-new || --preset fast extreme ||  ~240 || || || 19383 Hz - 19916 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 1 || || ~210 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 --vbr-new || || ~210 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 2 || --preset standard || ~190 || || 128 || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 --vbr-new || --preset fast standard || ~190 || || || 18671 Hz - 19205 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 3 || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 --vbr-new || || ~175 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 4 || --preset medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 --vbr-new || --preset fast medium || ~165 || Y || || 17960 Hz - 18494 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 5 || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 --vbr-new || || ~130 || Y || || 16538 Hz - 17071 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 6 || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 --vbr-new || || ~115 || Y || || 15826 Hz - 16360 Hz ||&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 7 || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 --vbr-new || || ~100 || Y || || 14581 Hz - 14968 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 8 || || ~85 || Y || || 12516 Hz - 12903 Hz ||  32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 --vbr-new || || ~85 || Y || || 12516 Hz - 12903 Hz || 32000 Hz&lt;br /&gt;
|- style=&amp;quot;background:white;&amp;quot;&lt;br /&gt;
| -V 9 || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 --vbr-new || || ~65 || Y || || 9774 Hz - 10065 Hz || 24000 Hz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[Exact_Audio_Copy|Exact Audio Copy]]&lt;br /&gt;
* [[EAC_and_Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;People who took part in suggesting the different settings:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, r3mix, ff123, Hans Heijden, kjempen, Benjamin Lebsanft, GeSomeone, Wombat &amp;amp; GuruBoolez for his immense testing.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Creation of the alt preset system and related special code level quality enhancements:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, with technical assistance from Robert Hegemann and Naoki Shibata, Gabriel and extensive tuning help and quality verification via listening tests from JohnV and also initial help (--dm-preset era) from Hans Heijden, ff123, Wombat, and others. Test clips, bitrate information, and further listening tests provided by TheBashar, zbutsam, Pio2001, BadDuDeX, r3mix, h, TarX, Hans Heijden, ff123, Wombat, Filburt, Volcano, Garf, MrDrew, TrNSZ, nyaochi, Amadeus93, in no particular order, and many, many others we (Dibrom, user) probably forgot to mention.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Idea (also exposing the need for a unified preset system), Original post and list of original settings collected by:&#039;&#039;&#039; user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Layout and additional work by:&#039;&#039;&#039; dev0, CiTay, SNYder, Dibrom.&lt;br /&gt;
&lt;br /&gt;
And finally...&lt;br /&gt;
&lt;br /&gt;
Thank you ALL in the community for making it what it is, providing interest and discussion and helping to work towards the most concise, well tuned, and most thought out MP3 quality &amp;quot;paradigm&amp;quot; seen yet! -- Dibrom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
*[[CBR]]&lt;br /&gt;
*[[ABR]]&lt;br /&gt;
*[[VBR]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
*[http://www.rjamorim.com/test/ Several multiformat listening tests] featuring LAME and other encoders.&lt;br /&gt;
*[http://www.rarewares.org/mp3.html RareWares MP3 page]&lt;br /&gt;
*[http://www.hydrogenaudio.org/forums/index.php?showtopic=478&amp;amp;st=0 Discussion of recommended Lame compiles in the Hydrogenaudio forum]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=16&amp;amp;t=32288 Forum discussion of the recommended settings]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=15&amp;amp;t=203 Forum discussion of the recommended settings (older)]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=32288&amp;amp;view=findpost&amp;amp;p=327262 Previous recommendations (outdated)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Joint_stereo&amp;diff=18150</id>
		<title>Joint stereo</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Joint_stereo&amp;diff=18150"/>
		<updated>2008-01-11T13:19:55Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* External Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Joint stereo&#039;&#039;&#039; is a property of an audio data stream and means that the stream supports more than one method of stereo coding, such as SS (&amp;quot;simple&amp;quot; or &amp;quot;L/R&amp;quot; stereo), MS (&amp;quot;mid-side&amp;quot; stereo), or IS (&amp;quot;intensity&amp;quot; stereo).  A joint stereo stream may still only employ a single coding method, but for the sake of efficiency or quality may switch between methods on a frame or even sub-frame basis.&lt;br /&gt;
&lt;br /&gt;
For example, a high-[[bitrate]] &amp;quot;joint stereo&amp;quot; [[MP3]] file may contain a mixture of SS and MS frames, or it may contain all SS frames or all MS frames. A non-&amp;quot;joint stereo&amp;quot; MP3 will never contain a mixture of frame types.&lt;br /&gt;
&lt;br /&gt;
Very few MP3 encoders make ideal decisions about what mode to use from frame to frame in joint stereo files, so there has long been a misconception that joint stereo means too many (perhaps 100%) mid-side frames, which is rarely desirable in stereo music and can result in haphazard channel separation and/or suboptimal quality as measured by other criteria.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Joint stereo coding methods&amp;quot; in prose generally refers to whatever alternatives to simple (L/R) stereo coding are supported by a particular format, even though simple stereo is also an option.&lt;br /&gt;
&lt;br /&gt;
==Stereo coding methods or &amp;quot;modes&amp;quot;==&lt;br /&gt;
&lt;br /&gt;
===Left-Right (L/R) or &amp;quot;Simple&amp;quot; Stereo (SS)===&lt;br /&gt;
Simple stereo is the most straightforward method of coding a stereo signal: each channel is treated as a completely separate entity. This can be inefficient and may adversely impact quality (as compared to other modes) when both channels contain nearly identical signals (i.e., are mono or nearly so).&lt;br /&gt;
&lt;br /&gt;
===Mid-side Stereo (MS)===&lt;br /&gt;
Mid-side stereo coding calculates a &amp;quot;mid&amp;quot;-channel by addition of left and right channel, and a &amp;quot;side&amp;quot;-channel, i.e.:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;Left = L \qquad Right = R\,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;Middle=\frac{L+R}{2} \qquad Side=\frac{L-R}{2}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt; &amp;lt;math&amp;gt;Left=Middle+Side \qquad Right=Middle-Side&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Whenever a signal is concentrated in the middle of the stereo image (i.e. more mono-like), mid-side stereo can achieve a significant saving in bitrate, since one can use fewer bits to encode the side-channel. Even more important is the fact that by applying the inverse matrix in the decoder, the quantization noise becomes correlated and falls in the middle of the stereo image, where it is masked by the signal.&lt;br /&gt;
&lt;br /&gt;
Unlike [[Joint stereo#intensity stereo|intensity stereo]] which destroys phase information, mid-side coding keeps the phase information pretty much intact. Correctly implemented mid-side stereo does very little or no damage to the stereo image and increases compression efficiency either by reducing size or increasing overall quality.&lt;br /&gt;
&lt;br /&gt;
===Intensity Stereo===&lt;br /&gt;
&lt;br /&gt;
Intensity stereo coding is a method that achieves a saving in bitrate by replacing the left and the right signal by a single representing signal plus directional information. This replacement is psychoacoustically justified in the higher [[frequency]] range since the human auditory system is insensitive to the signal phase at frequencies above approximately 2kHz.&lt;br /&gt;
&lt;br /&gt;
Intensity stereo is by definition a [[lossy]] coding method thus it is primarily useful at low bitrates. For coding at higher bitrates only mid-side stereo should be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Additional information==&lt;br /&gt;
Some more details about joint stereo &amp;amp; mid-side coding:&lt;br /&gt;
&lt;br /&gt;
* Bugs and/or not-optimized encoders may implement mid-side coding incorrectly, making mid-side coding sound worse than simple stereo, while in reality (see the formulas above) there should be no difference in quality between mid-side stereo and simple stereo.&lt;br /&gt;
&lt;br /&gt;
* Some older MP3 encoders interpret &amp;quot;joint stereo&amp;quot; to mean 100% mid-side, which for stereo music is almost certainly less than ideal.&lt;br /&gt;
&lt;br /&gt;
* Modern/optimized encoders will use mid-side coding or simple stereo coding as necessary, depending on the correlation between the left and right channels.&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
* [http://harmsy.freeuk.com/mostync/ Joint stereo myths and realities] &#039;&#039;(very important read, but fails to observe that a &amp;quot;joint stereo&amp;quot; file may very well contain 100% simple stereo data!)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [http://www.audiocoding.com/ Audiocoding] -- written by Menno Bakker&lt;br /&gt;
&lt;br /&gt;
* [http://www.High-Quality.ch.vu/ High Quality Audio guides] -- written by user&amp;lt;br /&amp;gt;Note: Recommendation of MPC is his preference.&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Joint_stereo joint stereo at wikipedia]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Joint_stereo&amp;diff=18149</id>
		<title>Joint stereo</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Joint_stereo&amp;diff=18149"/>
		<updated>2008-01-11T13:19:32Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* External Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Joint stereo&#039;&#039;&#039; is a property of an audio data stream and means that the stream supports more than one method of stereo coding, such as SS (&amp;quot;simple&amp;quot; or &amp;quot;L/R&amp;quot; stereo), MS (&amp;quot;mid-side&amp;quot; stereo), or IS (&amp;quot;intensity&amp;quot; stereo).  A joint stereo stream may still only employ a single coding method, but for the sake of efficiency or quality may switch between methods on a frame or even sub-frame basis.&lt;br /&gt;
&lt;br /&gt;
For example, a high-[[bitrate]] &amp;quot;joint stereo&amp;quot; [[MP3]] file may contain a mixture of SS and MS frames, or it may contain all SS frames or all MS frames. A non-&amp;quot;joint stereo&amp;quot; MP3 will never contain a mixture of frame types.&lt;br /&gt;
&lt;br /&gt;
Very few MP3 encoders make ideal decisions about what mode to use from frame to frame in joint stereo files, so there has long been a misconception that joint stereo means too many (perhaps 100%) mid-side frames, which is rarely desirable in stereo music and can result in haphazard channel separation and/or suboptimal quality as measured by other criteria.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Joint stereo coding methods&amp;quot; in prose generally refers to whatever alternatives to simple (L/R) stereo coding are supported by a particular format, even though simple stereo is also an option.&lt;br /&gt;
&lt;br /&gt;
==Stereo coding methods or &amp;quot;modes&amp;quot;==&lt;br /&gt;
&lt;br /&gt;
===Left-Right (L/R) or &amp;quot;Simple&amp;quot; Stereo (SS)===&lt;br /&gt;
Simple stereo is the most straightforward method of coding a stereo signal: each channel is treated as a completely separate entity. This can be inefficient and may adversely impact quality (as compared to other modes) when both channels contain nearly identical signals (i.e., are mono or nearly so).&lt;br /&gt;
&lt;br /&gt;
===Mid-side Stereo (MS)===&lt;br /&gt;
Mid-side stereo coding calculates a &amp;quot;mid&amp;quot;-channel by addition of left and right channel, and a &amp;quot;side&amp;quot;-channel, i.e.:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;Left = L \qquad Right = R\,&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;Middle=\frac{L+R}{2} \qquad Side=\frac{L-R}{2}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt; &amp;lt;math&amp;gt;Left=Middle+Side \qquad Right=Middle-Side&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Whenever a signal is concentrated in the middle of the stereo image (i.e. more mono-like), mid-side stereo can achieve a significant saving in bitrate, since one can use fewer bits to encode the side-channel. Even more important is the fact that by applying the inverse matrix in the decoder, the quantization noise becomes correlated and falls in the middle of the stereo image, where it is masked by the signal.&lt;br /&gt;
&lt;br /&gt;
Unlike [[Joint stereo#intensity stereo|intensity stereo]] which destroys phase information, mid-side coding keeps the phase information pretty much intact. Correctly implemented mid-side stereo does very little or no damage to the stereo image and increases compression efficiency either by reducing size or increasing overall quality.&lt;br /&gt;
&lt;br /&gt;
===Intensity Stereo===&lt;br /&gt;
&lt;br /&gt;
Intensity stereo coding is a method that achieves a saving in bitrate by replacing the left and the right signal by a single representing signal plus directional information. This replacement is psychoacoustically justified in the higher [[frequency]] range since the human auditory system is insensitive to the signal phase at frequencies above approximately 2kHz.&lt;br /&gt;
&lt;br /&gt;
Intensity stereo is by definition a [[lossy]] coding method thus it is primarily useful at low bitrates. For coding at higher bitrates only mid-side stereo should be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Additional information==&lt;br /&gt;
Some more details about joint stereo &amp;amp; mid-side coding:&lt;br /&gt;
&lt;br /&gt;
* Bugs and/or not-optimized encoders may implement mid-side coding incorrectly, making mid-side coding sound worse than simple stereo, while in reality (see the formulas above) there should be no difference in quality between mid-side stereo and simple stereo.&lt;br /&gt;
&lt;br /&gt;
* Some older MP3 encoders interpret &amp;quot;joint stereo&amp;quot; to mean 100% mid-side, which for stereo music is almost certainly less than ideal.&lt;br /&gt;
&lt;br /&gt;
* Modern/optimized encoders will use mid-side coding or simple stereo coding as necessary, depending on the correlation between the left and right channels.&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
* [http://harmsy.freeuk.com/mostync/ Joint stereo myths and realities] &#039;&#039;(very important read, but fails to observe that a &amp;quot;joint stereo&amp;quot; file may very well contain 100% simple stereo data!)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [http://www.audiocoding.com/ Audiocoding] -- written by Menno Bakker&lt;br /&gt;
&lt;br /&gt;
* [http://www.High-Quality.ch.vu/ High Quality Audio guides] -- written by user&amp;lt;br /&amp;gt;&#039;&#039;&#039;Note: Recommendation of MPC is his preference.&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Joint_stereo joint stereo at wikipedia]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Musepack&amp;diff=17863</id>
		<title>Musepack</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Musepack&amp;diff=17863"/>
		<updated>2007-09-26T18:53:26Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* Technical links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&#039;&#039;&#039;Musepack&#039;&#039;&#039; is a lossy audio compression scheme created by Andree Buschmann. He started work on the codec in 1998 (then called MP+) because he was unsatisfied with the audio quality of MP3 codecs at the time. It is strongly based on the [[MPEG-1]] Layer-2 ([[MP2]]) algorithms, with 32 subbands of the same bandwidth, but with several significant improvements. Musepack is optimized for &amp;quot;transparency&amp;quot;. The format doesn&#039;t compete well at lower, &#039;streaming&#039; bitrates such as 32/48/64kbps. This is due to MPC being a [[subband]] [[codec]] as well as the fact that very little optimization has gone into such low [[bitrate]]s. However, as can be seen in various 128kbit/s listening tests (see below), despite the fact that MPC has been optimized little for such bitrates it is in the same class of other modern competitors such as [[AAC]] and (Ogg) [[Vorbis]].&lt;br /&gt;
&lt;br /&gt;
== Pros ==&lt;br /&gt;
* Suffers from different &amp;quot;problem cases&amp;quot; than most other formats (less pre-echo)&lt;br /&gt;
* Very fast encoding/decoding&lt;br /&gt;
* Designed to be very good by default at --standard setting.&lt;br /&gt;
* Open source&lt;br /&gt;
* Portable playback by Pocket-PCs, Palm OS-based and Windows CE/Windows Mobile-based devices, even Smartphones, see http://tcpmp.corecodec.org&lt;br /&gt;
* Portable playback on iRiver h1x0 and Archos Gmini players, see http://www.rockbox.org&lt;br /&gt;
* Support &amp;amp; development forum at http://www.Musepack.net&lt;br /&gt;
&lt;br /&gt;
== Cons ==&lt;br /&gt;
* Marginal support (yet) on portable players&lt;br /&gt;
* No [[multichannel]] - to be solved with SV8 (StreamVersion 8), which is in [http://forum.musepack.net/showthread.php?t=395 beta testing]&lt;br /&gt;
* Not streamable - to be solved with SV8&lt;br /&gt;
* Can&#039;t be cut/edited - to be solved with SV8&lt;br /&gt;
* No support for [[sampling rate]]s above 48khz&lt;br /&gt;
&lt;br /&gt;
= Technical details =&lt;br /&gt;
== Supported input formats (SV7) ==&lt;br /&gt;
* channels: 1 or 2&lt;br /&gt;
* bit depths: 1 to 32 bit linear [[PCM]]&lt;br /&gt;
* sample rates: 32kHz, 37.8kHz, 44.1kHz, 48kHz (44.1 and 48 are highly tuned)&lt;br /&gt;
* [[WAV]], raw [[PCM]], a lot of [[lossless]] compressed audio formats like [[FLAC]], [[LPAC]], [[Monkey&#039;s_Audio|APE]], [[OptimFROG]], [[SZIP]] and Shorten ([[SHN]])&lt;br /&gt;
&lt;br /&gt;
== Encoder Functions ==&lt;br /&gt;
[[MPC Encoder Functions]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
== User oriented links ==&lt;br /&gt;
* [http://musepack.net Musepack.net] - a general info, news and software site.&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=1927 Users&#039; HowTo MPC guide at HydrogenAudio]&lt;br /&gt;
* [http://www.saunalahti.fi/~cse/ Case&#039;s page] (Winamp plug-ins and more).&lt;br /&gt;
* [http://www.uni-jena.de/~pfk/mpp/ Frank Klemm&#039;s official page] (out of order now)&lt;br /&gt;
: This page is mirrored at: http://hydrogenaudio.org/musepack/klemm/www.personal.uni-jena.de/~pfk/mpp/&lt;br /&gt;
* [http://betaplayer.corecodec.org/ BetaPlayer], the first Musepack-able player on PocketPCs&lt;br /&gt;
&lt;br /&gt;
== Technical links ==&lt;br /&gt;
* [http://trac.musepack.net/trac/wiki Specifications]&lt;br /&gt;
* [http://www.musepack.net/index.php?pg=src Source code]&lt;br /&gt;
* Frank Klemm&#039;s [http://www.uni-jena.de/~pfk/mpp/ official page] (out of order now)&lt;br /&gt;
: This page is mirrored at: http://hydrogenaudio.org/musepack/klemm/www.personal.uni-jena.de/~pfk/mpp/&lt;br /&gt;
* [http://www.audiocoding.com/modules/wiki/?page=MPC MPC at AudioCodingWiki]&lt;br /&gt;
* [http://www.caddr.com/code/libmusepack libmusepack portable musepack decoding library] (in progress)&lt;br /&gt;
&lt;br /&gt;
== Listening test involving MPC ==&lt;br /&gt;
* [[Listening Tests]] page&lt;br /&gt;
* [http://ff123.net/128tests.html ff123&#039;s 128kbit/s group listening test]&lt;br /&gt;
* [http://ff123.net/128test/instruct.html ff123&#039;s second 128kbit/s group listening test]&lt;br /&gt;
* [http://audio.ciara.us/test/128extension/results.html rjamorim&#039;s 128kbit/s test]&lt;br /&gt;
&lt;br /&gt;
Please note that some of these tests, while valid, used encoder versions which have now been superseded. You should make your own decision about the comparative quality of MPC, listening to clips of music in the style you prefer.&lt;br /&gt;
&lt;br /&gt;
Also note that these are tests at low bitrates; an area where MPC is not particularly optimized. The encoder was designed by the author to be very good at the --standard setting, thus little to no low [[bitrate]] tuning has gone into the [[codec]], opposite to that of [[AAC]], (Ogg) [[Vorbis]], [[WMA]] and others which focus more on this region. However, as can be seen in the various listening test pages, MPC competes surprisingly well with the rest of them.&lt;br /&gt;
&lt;br /&gt;
[[Category: Codecs]]&lt;br /&gt;
[[Category: Lossy]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Musepack&amp;diff=17861</id>
		<title>Musepack</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Musepack&amp;diff=17861"/>
		<updated>2007-09-26T18:51:23Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* Cons */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&#039;&#039;&#039;Musepack&#039;&#039;&#039; is a lossy audio compression scheme created by Andree Buschmann. He started work on the codec in 1998 (then called MP+) because he was unsatisfied with the audio quality of MP3 codecs at the time. It is strongly based on the [[MPEG-1]] Layer-2 ([[MP2]]) algorithms, with 32 subbands of the same bandwidth, but with several significant improvements. Musepack is optimized for &amp;quot;transparency&amp;quot;. The format doesn&#039;t compete well at lower, &#039;streaming&#039; bitrates such as 32/48/64kbps. This is due to MPC being a [[subband]] [[codec]] as well as the fact that very little optimization has gone into such low [[bitrate]]s. However, as can be seen in various 128kbit/s listening tests (see below), despite the fact that MPC has been optimized little for such bitrates it is in the same class of other modern competitors such as [[AAC]] and (Ogg) [[Vorbis]].&lt;br /&gt;
&lt;br /&gt;
== Pros ==&lt;br /&gt;
* Suffers from different &amp;quot;problem cases&amp;quot; than most other formats (less pre-echo)&lt;br /&gt;
* Very fast encoding/decoding&lt;br /&gt;
* Designed to be very good by default at --standard setting.&lt;br /&gt;
* Open source&lt;br /&gt;
* Portable playback by Pocket-PCs, Palm OS-based and Windows CE/Windows Mobile-based devices, even Smartphones, see http://tcpmp.corecodec.org&lt;br /&gt;
* Portable playback on iRiver h1x0 and Archos Gmini players, see http://www.rockbox.org&lt;br /&gt;
* Support &amp;amp; development forum at http://www.Musepack.net&lt;br /&gt;
&lt;br /&gt;
== Cons ==&lt;br /&gt;
* Marginal support (yet) on portable players&lt;br /&gt;
* No [[multichannel]] - to be solved with SV8 (StreamVersion 8), which is in [http://forum.musepack.net/showthread.php?t=395 beta testing]&lt;br /&gt;
* Not streamable - to be solved with SV8&lt;br /&gt;
* Can&#039;t be cut/edited - to be solved with SV8&lt;br /&gt;
* No support for [[sampling rate]]s above 48khz&lt;br /&gt;
&lt;br /&gt;
= Technical details =&lt;br /&gt;
== Supported input formats (SV7) ==&lt;br /&gt;
* channels: 1 or 2&lt;br /&gt;
* bit depths: 1 to 32 bit linear [[PCM]]&lt;br /&gt;
* sample rates: 32kHz, 37.8kHz, 44.1kHz, 48kHz (44.1 and 48 are highly tuned)&lt;br /&gt;
* [[WAV]], raw [[PCM]], a lot of [[lossless]] compressed audio formats like [[FLAC]], [[LPAC]], [[Monkey&#039;s_Audio|APE]], [[OptimFROG]], [[SZIP]] and Shorten ([[SHN]])&lt;br /&gt;
&lt;br /&gt;
== Encoder Functions ==&lt;br /&gt;
[[MPC Encoder Functions]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
== User oriented links ==&lt;br /&gt;
* [http://musepack.net Musepack.net] - a general info, news and software site.&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=1927 Users&#039; HowTo MPC guide at HydrogenAudio]&lt;br /&gt;
* [http://www.saunalahti.fi/~cse/ Case&#039;s page] (Winamp plug-ins and more).&lt;br /&gt;
* [http://www.uni-jena.de/~pfk/mpp/ Frank Klemm&#039;s official page] (out of order now)&lt;br /&gt;
: This page is mirrored at: http://hydrogenaudio.org/musepack/klemm/www.personal.uni-jena.de/~pfk/mpp/&lt;br /&gt;
* [http://betaplayer.corecodec.org/ BetaPlayer], the first Musepack-able player on PocketPCs&lt;br /&gt;
&lt;br /&gt;
== Technical links ==&lt;br /&gt;
* [http://trac.musepack.net/trac/wiki Specifications]&lt;br /&gt;
* Frank Klemm&#039;s [http://www.uni-jena.de/~pfk/mpp/ official page] (out of order now)&lt;br /&gt;
: This page is mirrored at: http://hydrogenaudio.org/musepack/klemm/www.personal.uni-jena.de/~pfk/mpp/&lt;br /&gt;
* [http://www.audiocoding.com/modules/wiki/?page=MPC MPC at AudioCodingWiki]&lt;br /&gt;
* [http://www.caddr.com/code/libmusepack libmusepack portable musepack decoding library] (in progress)&lt;br /&gt;
&lt;br /&gt;
== Listening test involving MPC ==&lt;br /&gt;
* [[Listening Tests]] page&lt;br /&gt;
* [http://ff123.net/128tests.html ff123&#039;s 128kbit/s group listening test]&lt;br /&gt;
* [http://ff123.net/128test/instruct.html ff123&#039;s second 128kbit/s group listening test]&lt;br /&gt;
* [http://audio.ciara.us/test/128extension/results.html rjamorim&#039;s 128kbit/s test]&lt;br /&gt;
&lt;br /&gt;
Please note that some of these tests, while valid, used encoder versions which have now been superseded. You should make your own decision about the comparative quality of MPC, listening to clips of music in the style you prefer.&lt;br /&gt;
&lt;br /&gt;
Also note that these are tests at low bitrates; an area where MPC is not particularly optimized. The encoder was designed by the author to be very good at the --standard setting, thus little to no low [[bitrate]] tuning has gone into the [[codec]], opposite to that of [[AAC]], (Ogg) [[Vorbis]], [[WMA]] and others which focus more on this region. However, as can be seen in the various listening test pages, MPC competes surprisingly well with the rest of them.&lt;br /&gt;
&lt;br /&gt;
[[Category: Codecs]]&lt;br /&gt;
[[Category: Lossy]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Musepack&amp;diff=17860</id>
		<title>Musepack</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Musepack&amp;diff=17860"/>
		<updated>2007-09-26T18:49:51Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* Cons */ SV8 beta update&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&#039;&#039;&#039;Musepack&#039;&#039;&#039; is a lossy audio compression scheme created by Andree Buschmann. He started work on the codec in 1998 (then called MP+) because he was unsatisfied with the audio quality of MP3 codecs at the time. It is strongly based on the [[MPEG-1]] Layer-2 ([[MP2]]) algorithms, with 32 subbands of the same bandwidth, but with several significant improvements. Musepack is optimized for &amp;quot;transparency&amp;quot;. The format doesn&#039;t compete well at lower, &#039;streaming&#039; bitrates such as 32/48/64kbps. This is due to MPC being a [[subband]] [[codec]] as well as the fact that very little optimization has gone into such low [[bitrate]]s. However, as can be seen in various 128kbit/s listening tests (see below), despite the fact that MPC has been optimized little for such bitrates it is in the same class of other modern competitors such as [[AAC]] and (Ogg) [[Vorbis]].&lt;br /&gt;
&lt;br /&gt;
== Pros ==&lt;br /&gt;
* Suffers from different &amp;quot;problem cases&amp;quot; than most other formats (less pre-echo)&lt;br /&gt;
* Very fast encoding/decoding&lt;br /&gt;
* Designed to be very good by default at --standard setting.&lt;br /&gt;
* Open source&lt;br /&gt;
* Portable playback by Pocket-PCs, Palm OS-based and Windows CE/Windows Mobile-based devices, even Smartphones, see http://tcpmp.corecodec.org&lt;br /&gt;
* Portable playback on iRiver h1x0 and Archos Gmini players, see http://www.rockbox.org&lt;br /&gt;
* Support &amp;amp; development forum at http://www.Musepack.net&lt;br /&gt;
&lt;br /&gt;
== Cons ==&lt;br /&gt;
* Marginal support (yet) on portable players&lt;br /&gt;
* No [[multichannel]] - to be solved with SV8 (StreamVersion 8) which is in beta testing&lt;br /&gt;
* Not streamable - to be solved with SV8&lt;br /&gt;
* Can&#039;t be cut/edited - to be solved with SV8&lt;br /&gt;
* No support for [[sampling rate]]s above 48khz&lt;br /&gt;
&lt;br /&gt;
= Technical details =&lt;br /&gt;
== Supported input formats (SV7) ==&lt;br /&gt;
* channels: 1 or 2&lt;br /&gt;
* bit depths: 1 to 32 bit linear [[PCM]]&lt;br /&gt;
* sample rates: 32kHz, 37.8kHz, 44.1kHz, 48kHz (44.1 and 48 are highly tuned)&lt;br /&gt;
* [[WAV]], raw [[PCM]], a lot of [[lossless]] compressed audio formats like [[FLAC]], [[LPAC]], [[Monkey&#039;s_Audio|APE]], [[OptimFROG]], [[SZIP]] and Shorten ([[SHN]])&lt;br /&gt;
&lt;br /&gt;
== Encoder Functions ==&lt;br /&gt;
[[MPC Encoder Functions]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
== User oriented links ==&lt;br /&gt;
* [http://musepack.net Musepack.net] - a general info, news and software site.&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=1927 Users&#039; HowTo MPC guide at HydrogenAudio]&lt;br /&gt;
* [http://www.saunalahti.fi/~cse/ Case&#039;s page] (Winamp plug-ins and more).&lt;br /&gt;
* [http://www.uni-jena.de/~pfk/mpp/ Frank Klemm&#039;s official page] (out of order now)&lt;br /&gt;
: This page is mirrored at: http://hydrogenaudio.org/musepack/klemm/www.personal.uni-jena.de/~pfk/mpp/&lt;br /&gt;
* [http://betaplayer.corecodec.org/ BetaPlayer], the first Musepack-able player on PocketPCs&lt;br /&gt;
&lt;br /&gt;
== Technical links ==&lt;br /&gt;
* [http://trac.musepack.net/trac/wiki Specifications]&lt;br /&gt;
* Frank Klemm&#039;s [http://www.uni-jena.de/~pfk/mpp/ official page] (out of order now)&lt;br /&gt;
: This page is mirrored at: http://hydrogenaudio.org/musepack/klemm/www.personal.uni-jena.de/~pfk/mpp/&lt;br /&gt;
* [http://www.audiocoding.com/modules/wiki/?page=MPC MPC at AudioCodingWiki]&lt;br /&gt;
* [http://www.caddr.com/code/libmusepack libmusepack portable musepack decoding library] (in progress)&lt;br /&gt;
&lt;br /&gt;
== Listening test involving MPC ==&lt;br /&gt;
* [[Listening Tests]] page&lt;br /&gt;
* [http://ff123.net/128tests.html ff123&#039;s 128kbit/s group listening test]&lt;br /&gt;
* [http://ff123.net/128test/instruct.html ff123&#039;s second 128kbit/s group listening test]&lt;br /&gt;
* [http://audio.ciara.us/test/128extension/results.html rjamorim&#039;s 128kbit/s test]&lt;br /&gt;
&lt;br /&gt;
Please note that some of these tests, while valid, used encoder versions which have now been superseded. You should make your own decision about the comparative quality of MPC, listening to clips of music in the style you prefer.&lt;br /&gt;
&lt;br /&gt;
Also note that these are tests at low bitrates; an area where MPC is not particularly optimized. The encoder was designed by the author to be very good at the --standard setting, thus little to no low [[bitrate]] tuning has gone into the [[codec]], opposite to that of [[AAC]], (Ogg) [[Vorbis]], [[WMA]] and others which focus more on this region. However, as can be seen in the various listening test pages, MPC competes surprisingly well with the rest of them.&lt;br /&gt;
&lt;br /&gt;
[[Category: Codecs]]&lt;br /&gt;
[[Category: Lossy]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Lossless_comparison&amp;diff=17848</id>
		<title>Lossless comparison</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Lossless_comparison&amp;diff=17848"/>
		<updated>2007-09-18T16:00:53Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* FLAC cons */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;lossless comparison page&#039;&#039;&#039; aims to gather information about lossless codecs available so users can make an informed decision as to what lossless codec to choose for their needs.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Given the enormous amount of [[lossless]] audio compressor choices available, it is a very difficult task to choose the one most suited for each person&#039;s needs.&lt;br /&gt;
&lt;br /&gt;
Several people only take into consideration compression performance when choosing a codec. But as the following table and article shows, there are several other features worth taking into consideration when making that choice.&lt;br /&gt;
&lt;br /&gt;
For example, users wanting good multiplatform compatibility and robustness (E.G, people sharing live recordings) would favour [[WavPack]] or [[FLAC]]. Another user, looking for the very highest compression available, would go with [[OptimFROG]]. Someone wanting portable support would use [[FLAC]] or [[ALAC]], and so on.&lt;br /&gt;
&lt;br /&gt;
En fin, this is not a matter worth getting too worked up about. If you later find out the codec you chose isn&#039;t the best for your needs, you can just transcompress to another format, without risk of losing quality.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; for latest comparison of lossless compression, scroll down to the [[Lossless comparison#External links|Links section of this page]].&lt;br /&gt;
&lt;br /&gt;
== Comparison Table ==&lt;br /&gt;
&amp;lt;!-- Do NOT add links to the table. It&#039;s cluttered and colourful enough as it is. Please add them to the article itself if needed. Thanks --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;2&amp;quot; style=&amp;quot;text-align:center; border:1px solid blue;&amp;quot;&lt;br /&gt;
|width=&amp;quot;120px&amp;quot;|&#039;&#039;&#039;Features&#039;&#039;&#039;&lt;br /&gt;
| width=&amp;quot;95px&amp;quot; style=&amp;quot;background: #00FFFF&amp;quot; | WavPack&lt;br /&gt;
| width=&amp;quot;95px&amp;quot; style=&amp;quot;background: #00FFFF&amp;quot; | ALAC&lt;br /&gt;
| width=&amp;quot;95px&amp;quot; style=&amp;quot;background: #00FFFF&amp;quot; | FLAC&lt;br /&gt;
| width=&amp;quot;95px&amp;quot; style=&amp;quot;background: #00FFFF&amp;quot; | Monkey&#039;s&lt;br /&gt;
| width=&amp;quot;95px&amp;quot; style=&amp;quot;background: #00FFFF&amp;quot; | OptimFROG&lt;br /&gt;
| width=&amp;quot;95px&amp;quot; style=&amp;quot;background: #00FFFF&amp;quot; | Shorten&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Encoding speed&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | very fast&lt;br /&gt;
| style=&amp;quot;background: #FFFFFF&amp;quot; | average&lt;br /&gt;
| style=&amp;quot;background: #CCFFCC&amp;quot; | fast&lt;br /&gt;
| style=&amp;quot;background: #CCFFCC&amp;quot; | fast&lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | slow&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | very fast&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Decoding speed&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | very fast&lt;br /&gt;
| style=&amp;quot;background: #CCFFCC&amp;quot; | fast&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | very fast&lt;br /&gt;
| style=&amp;quot;background: #FFFFFF&amp;quot; | average&lt;br /&gt;
| style=&amp;quot;background: #FFFFFF&amp;quot; | average&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | very fast&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Compression*&lt;br /&gt;
| style=&amp;quot;background: #CCFFCC&amp;quot; | 58.0%&lt;br /&gt;
| style=&amp;quot;background: #CCFFCC&amp;quot; | 58.50%&lt;br /&gt;
| style=&amp;quot;background: #CCFFCC&amp;quot; | 58.70%&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | 55.50%&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | 54.70%&lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | 63.50%&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Flexibility**&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | very good&lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | bad&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | very good&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | very good&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | very good&lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | bad     &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background: #FFFFFF&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Error handling&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | yes&lt;br /&gt;
| style=&amp;quot;background: #FFFFFF&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | yes&lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | no&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | yes&lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | no &lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Seeking&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | yes&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | yes&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | yes&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | yes&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | yes&lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | yes&lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Tagging        ||! style=&amp;quot;background: #00FF00&amp;quot; | ID3/APE      ||! style=&amp;quot;background: #00FF00&amp;quot; | QT tags      ||! style=&amp;quot;background: #00FF00&amp;quot; | Vorbis tags     ||! style=&amp;quot;background: #00FF00&amp;quot; | ID3/APE          ||! style=&amp;quot;background: #00FF00&amp;quot; | ID3/APE         ||! style=&amp;quot;background: #FF9900&amp;quot; | no&lt;br /&gt;
|-|&lt;br /&gt;
| align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Hardware support &lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | limited        &lt;br /&gt;
| style=&amp;quot;background: #CCFFCC&amp;quot; | good          &lt;br /&gt;
| style=&amp;quot;background: #00FF00&amp;quot; | very good           &lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | limited&lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | no             &lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | limited&lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Software support ||! style=&amp;quot;background: #CCFFCC&amp;quot; | good ||! style=&amp;quot;background: #FF9900&amp;quot; | bad         ||! style=&amp;quot;background: #00FF00&amp;quot; | very good     ||! style=&amp;quot;background: #CCFFCC&amp;quot; | good       ||! style=&amp;quot;background: #FFFFFF&amp;quot; | average         ||! style=&amp;quot;background: #00FF00&amp;quot; | very good&lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Hybrid/lossy   ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #FF9900&amp;quot; | no          ||! style=&amp;quot;background: #FF9900&amp;quot; | no           ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes             ||! style=&amp;quot;background: #FF9900&amp;quot; | no&lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Replay Gain     ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #FFFFFF&amp;quot; | sort of      ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes             ||! style=&amp;quot;background: #FF9900&amp;quot; | no&lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | RIFF chunks    ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #FFFFFF&amp;quot; | &amp;amp;nbsp;       ||! style=&amp;quot;background: #FF9900&amp;quot; | no           ||! style=&amp;quot;background: #00FF00&amp;quot; | yes              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes             ||! style=&amp;quot;background: #00FF00&amp;quot; | yes&lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Streaming      ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes             ||! style=&amp;quot;background: #FF9900&amp;quot; | no&lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Pipe support   ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #FF9900&amp;quot; | no          ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #00FF00&amp;quot; | yes              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes             ||! style=&amp;quot;background: #00FF00&amp;quot; | yes&lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Open source    ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #CCFFCC&amp;quot; | Yes (decoding) ||! style=&amp;quot;background: #00FF00&amp;quot; | yes   ||! style=&amp;quot;background: #00FF00&amp;quot; | yes              ||! style=&amp;quot;background: #FF9900&amp;quot; | no             ||! style=&amp;quot;background: #00FF00&amp;quot; | yes&lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Multichannel   ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #FF9900&amp;quot; | no             ||! style=&amp;quot;background: #FF9900&amp;quot; | no&lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | High resolution ||! style=&amp;quot;background: #00FF00&amp;quot; | yes         ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #00FF00&amp;quot; | yes              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes             ||! style=&amp;quot;background: #FF9900&amp;quot; | no&lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | OS support     ||! style=&amp;quot;background: #00FF00&amp;quot; | All          ||! style=&amp;quot;background: #CCFFCC&amp;quot; | Win/Mac ||! style=&amp;quot;background: #00FF00&amp;quot; | All          ||! style=&amp;quot;background: #00FF00&amp;quot; | All              ||! style=&amp;quot;background: #00FF00&amp;quot; | Win/Mac/Linux   ||! style=&amp;quot;background: #00FF00&amp;quot; | All&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;(table continued below)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;2&amp;quot; style=&amp;quot;text-align:center; border:1px solid blue;&amp;quot;&lt;br /&gt;
|width=&amp;quot;120px&amp;quot;|&#039;&#039;&#039;Features&#039;&#039;&#039;&lt;br /&gt;
| width=&amp;quot;95px&amp;quot; style=&amp;quot;background: #00FFFF&amp;quot; | WMA&lt;br /&gt;
| width=&amp;quot;95px&amp;quot; style=&amp;quot;background: #00FFFF&amp;quot; | LA&lt;br /&gt;
| width=&amp;quot;95px&amp;quot; style=&amp;quot;background: #00FFFF&amp;quot; | TTA&lt;br /&gt;
| width=&amp;quot;95px&amp;quot; style=&amp;quot;background: #00FFFF&amp;quot; | LPAC&lt;br /&gt;
| width=&amp;quot;95px&amp;quot; style=&amp;quot;background: #00FFFF&amp;quot; | MPEG-4 ALS&lt;br /&gt;
| width=&amp;quot;95px&amp;quot; style=&amp;quot;background: #00FFFF&amp;quot; | MPEG-4 SLS&lt;br /&gt;
| width=&amp;quot;95px&amp;quot; style=&amp;quot;background: #00FFFF&amp;quot; | Real Lossless&lt;br /&gt;
|-&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Encoding speed ||! style=&amp;quot;background: #FFFFFF&amp;quot; | average      ||! style=&amp;quot;background: #FF9900&amp;quot; | slow            ||! style=&amp;quot;background: #00FF00&amp;quot; | very fast       ||! style=&amp;quot;background: #FFFFFF&amp;quot; | average          ||! style=&amp;quot;background: #FFFFFF&amp;quot; | average         ||! style=&amp;quot;background: #FF9900&amp;quot; | slow         ||! style=&amp;quot;background: #FF9900&amp;quot; | slow           &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Decoding speed ||! style=&amp;quot;background: #FFFFFF&amp;quot; | average      ||! style=&amp;quot;background: #FF9900&amp;quot; | slow            ||! style=&amp;quot;background: #CCFFCC&amp;quot; | fast       ||! style=&amp;quot;background: #CCFFCC&amp;quot; | fast        ||! style=&amp;quot;background: #CCFFCC&amp;quot; | fast         ||! style=&amp;quot;background: #FF9900&amp;quot; | slow         ||! style=&amp;quot;background: #CCFFCC&amp;quot; | fast        &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Compression*   ||! style=&amp;quot;background: #00FF00&amp;quot; | 56.30%       ||! style=&amp;quot;background: #00FF00&amp;quot; | 53.50%           ||! style=&amp;quot;background: #CCFFCC&amp;quot; | 57.10%    ||! style=&amp;quot;background: #CCFFCC&amp;quot; | 57.20%     ||! style=&amp;quot;background: #CCFFCC&amp;quot; | 57.10%        ||! style=&amp;quot;background: #CCFFCC&amp;quot; | ?           ||! style=&amp;quot;background: #CCFFCC&amp;quot; | 57.0%            &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Flexibility**  ||! style=&amp;quot;background: #FF9900&amp;quot; | bad         ||! style=&amp;quot;background: #FFFFFF&amp;quot; | average          ||! style=&amp;quot;background: #FF9900&amp;quot; | bad            ||! style=&amp;quot;background: #FF9900&amp;quot; | bad             ||! style=&amp;quot;background: #00FF00&amp;quot; | very good     ||! style=&amp;quot;background: #FF9900&amp;quot; | bad     ||! style=&amp;quot;background: #FF9900&amp;quot; | bad              &lt;br /&gt;
|-&lt;br /&gt;
|! style=&amp;quot;background: #FFFFFF&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Error handling ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes             ||! style=&amp;quot;background: #FF9900&amp;quot; | no               ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #FFFFFF&amp;quot; | &amp;amp;nbsp;            &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Seeking        ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #00FF00&amp;quot; | yes              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes             ||! style=&amp;quot;background: #FF9900&amp;quot; | slow            ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #00FF00&amp;quot; | yes               &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Tagging        ||! style=&amp;quot;background: #CCFFCC&amp;quot; | Proprietary ||! style=&amp;quot;background: #CCFFCC&amp;quot; | ID3v1 ||! style=&amp;quot;background: #CCFFCC&amp;quot; | ID3       ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes        ||! style=&amp;quot;background: #00FF00&amp;quot; | yes        ||! style=&amp;quot;background: #CCFFCC&amp;quot; | Proprietary &lt;br /&gt;
|-|&lt;br /&gt;
| align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Hardware support &lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | limited        &lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | no              &lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | limited             &lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | no&lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | no&lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | no&lt;br /&gt;
| style=&amp;quot;background: #FF9900&amp;quot; | no               &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Software support ||! style=&amp;quot;background: #CCFFCC&amp;quot; | good ||! style=&amp;quot;background: #FF9900&amp;quot; | bad             ||! style=&amp;quot;background: #FFFFFF&amp;quot; | average         ||! style=&amp;quot;background: #FFFFFF&amp;quot; | average          ||! style=&amp;quot;background: #FF9900&amp;quot; | bad          ||! style=&amp;quot;background: #FF9900&amp;quot; | bad          ||! style=&amp;quot;background: #FF9900&amp;quot; | bad              &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Hybrid/lossy   ||! style=&amp;quot;background: #FF9900&amp;quot; | no          ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #FF9900&amp;quot; | no           ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #FF9900&amp;quot; | no               &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Replay Gain     ||! style=&amp;quot;background: #FF9900&amp;quot; | no          ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes             ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #FF9900&amp;quot; | no               &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | RIFF chunks    ||! style=&amp;quot;background: #FF9900&amp;quot; | no          ||! style=&amp;quot;background: #00FF00&amp;quot; | yes              ||! style=&amp;quot;background: #FF9900&amp;quot; | no             ||! style=&amp;quot;background: #00FF00&amp;quot; | yes              ||! style=&amp;quot;background: #FFFFFF&amp;quot; | &amp;amp;nbsp;        ||! style=&amp;quot;background: #FFFFFF&amp;quot; | &amp;amp;nbsp;        ||! style=&amp;quot;background: #FFFFFF&amp;quot; | &amp;amp;nbsp;            &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Streaming      ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #FFFFFF&amp;quot; | &amp;amp;nbsp;           ||! style=&amp;quot;background: #FF9900&amp;quot; | no             ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #00FF00&amp;quot; | yes               &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Pipe support   ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #00FF00&amp;quot; | yes              ||! style=&amp;quot;background: #FF9900&amp;quot; | no             ||! style=&amp;quot;background: #FFFFFF&amp;quot; | &amp;amp;nbsp;           ||! style=&amp;quot;background: #FFFFFF&amp;quot; | &amp;amp;nbsp;        ||! style=&amp;quot;background: #FFFFFF&amp;quot; | &amp;amp;nbsp;        ||! style=&amp;quot;background: #FF9900&amp;quot; | no               &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Open source    ||! style=&amp;quot;background: #FF9900&amp;quot; | no          ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes             ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #FF9900&amp;quot; | no               &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | Multichannel   ||! style=&amp;quot;background: #00FF00&amp;quot; | yes          ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes             ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #FF9900&amp;quot; | no               &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | High resolution ||! style=&amp;quot;background: #00FF00&amp;quot; | yes         ||! style=&amp;quot;background: #FF9900&amp;quot; | no              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes             ||! style=&amp;quot;background: #00FF00&amp;quot; | yes              ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #00FF00&amp;quot; | yes           ||! style=&amp;quot;background: #FF9900&amp;quot; | no               &lt;br /&gt;
|-|&lt;br /&gt;
|! align=&amp;quot;left&amp;quot; style=&amp;quot;background: #FFFF99&amp;quot; | OS support     ||! style=&amp;quot;background: #CCFFCC&amp;quot; | Win/Mac ||! style=&amp;quot;background: #CCFFCC&amp;quot; | Win/Linux ||! style=&amp;quot;background: #00FF00&amp;quot; | All             ||! style=&amp;quot;background: #CCFFCC&amp;quot; | Win/Linux/Sol ||! style=&amp;quot;background: #00FF00&amp;quot; | All        ||! style=&amp;quot;background: #00FF00&amp;quot; | All        ||! style=&amp;quot;background: #00FF00&amp;quot; | Win/Mac/Linux     &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt; The Compression ratio is calculated with the division of compressed size by uncompressed size * 100. So, lower is better.&lt;br /&gt;
&lt;br /&gt;
Encoding speed, Decoding speed and Compression ratio are based on each encoder&#039;s default settings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;**&amp;lt;/nowiki&amp;gt; Flexibility refers to the amount of encoding choices offered to the users (Fast/low compression, Slow/high compression and everything inbetween)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are the most popular lossless codecs, in alphabetical order:&lt;br /&gt;
&lt;br /&gt;
== Apple Lossless Audio Codec (ALAC) ==&lt;br /&gt;
http://www.apple.com/itunes/import.html &lt;br /&gt;
&lt;br /&gt;
[[ALAC]] is a codec developed by Apple for usage in [[Apple iPod|iPod]] and AirPort Express.&lt;br /&gt;
&lt;br /&gt;
=== ALAC pros ===&lt;br /&gt;
* Very fast decoding&lt;br /&gt;
* [[Open source]] ([http://craz.net/programs/itunes/alac.html decoding only])&lt;br /&gt;
* Hardware support ([[Apple iPod|iPod]], AirPort Express)&lt;br /&gt;
* Streaming support&lt;br /&gt;
* Tagging support (QT tags)&lt;br /&gt;
* Excellent hardware-software-lossy format integration with [[iTunes]]/iPod.&lt;br /&gt;
* Supports [[multichannel]] audio and [[high resolution]]s&lt;br /&gt;
&lt;br /&gt;
=== ALAC cons ===&lt;br /&gt;
* Closed source (encoding)&lt;br /&gt;
* Limited software support&lt;br /&gt;
* Compression efficiency not on par with other lossless codecs&lt;br /&gt;
* No hybrid/lossy mode&lt;br /&gt;
&lt;br /&gt;
=== ALAC Other features ===&lt;br /&gt;
* Fits in the [[MP4]] container&lt;br /&gt;
* Can be used with the AirPort Express gadget&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Free Lossless Audio Codec (FLAC) ==&lt;br /&gt;
http://flac.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
[[FLAC]] is a lossless codec developed by Josh Coalson. It&#039;s part of the Xiph multimedia portfolio, along with [[Ogg]], [[Vorbis]], [[Speex]] and [[Theora]].&lt;br /&gt;
&lt;br /&gt;
=== FLAC pros ===&lt;br /&gt;
* [[Open source]]&lt;br /&gt;
* Very fast decoding&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* Hardware support ([[Rio Karma|Karma]], Phatbox, etc.)&lt;br /&gt;
* Very good software support&lt;br /&gt;
* Error robustness&lt;br /&gt;
* Streaming support&lt;br /&gt;
* Supports [[multichannel]] audio and [[high resolution]]s&lt;br /&gt;
* Tagging support (FLAC tags)&lt;br /&gt;
* Pipe support&lt;br /&gt;
* [[Replay Gain]] compatible&lt;br /&gt;
&lt;br /&gt;
=== FLAC cons ===&lt;br /&gt;
* No hybrid/lossy mode&lt;br /&gt;
&lt;br /&gt;
=== FLAC Other features ===&lt;br /&gt;
* Supports embedded CUE sheets (with [http://flac.sourceforge.net/faq.html#general__no_cuesheet_tags limitations])&lt;br /&gt;
* Includes MD5 hashes for quick integrity checking&lt;br /&gt;
* Fits the [[Ogg]] and [[Matroska]] containers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== LosslessAudio (LA) ==&lt;br /&gt;
http://www.lossless-audio.com/&lt;br /&gt;
&lt;br /&gt;
[[LA]] is a lossless codec developed by Michael Bevin.&lt;br /&gt;
&lt;br /&gt;
=== LA pros ===&lt;br /&gt;
* Very high compression&lt;br /&gt;
* Tagging support ([[ID3v1]])&lt;br /&gt;
* Supports [[RIFF]] chunks&lt;br /&gt;
* Pipe support&lt;br /&gt;
&lt;br /&gt;
=== LA cons ===&lt;br /&gt;
* Closed source&lt;br /&gt;
* Very slow encoding and decoding&lt;br /&gt;
* Doesn&#039;t support [[multichannel]] audio and [[high resolution]]s&lt;br /&gt;
* No hardware support&lt;br /&gt;
* No hybrid/lossy mode&lt;br /&gt;
* Bad software support&lt;br /&gt;
* Doesn&#039;t support [[Replay Gain]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;It&#039;s important to mention that the LA foobar plugin is buggy and doesn&#039;t produce lossless streams!&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lossless Predictive Audio Coder (LPAC) ==&lt;br /&gt;
http://www.nue.tu-berlin.de/wer/liebchen/lpac.html&lt;br /&gt;
&lt;br /&gt;
[[Lossless Predictive Audio Coder]] (LPAC) is a lossless codec developed by Tilman Liebchen. Development of it has been halted in favour of development of [[MPEG-4]] ALS.&lt;br /&gt;
&lt;br /&gt;
=== LPAC pros ===&lt;br /&gt;
* Reasonable compression ratios&lt;br /&gt;
* [[High resolution]] audio support&lt;br /&gt;
* Supports [[RIFF]] chunks&lt;br /&gt;
&lt;br /&gt;
=== LPAC cons ===&lt;br /&gt;
* Closed source&lt;br /&gt;
* No error robustness&lt;br /&gt;
* Slow seeking&lt;br /&gt;
* No tagging&lt;br /&gt;
* No [[multichannel]] support&lt;br /&gt;
* No hybrid/lossy mode&lt;br /&gt;
* No hardware support&lt;br /&gt;
* Doesn&#039;t support [[Replay Gain]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Monkey&#039;s Audio (APE) ==&lt;br /&gt;
http://www.monkeysaudio.com/&lt;br /&gt;
&lt;br /&gt;
[[Monkey&#039;s Audio]] is a very efficient lossless compressor developed by Matt Ashland.&lt;br /&gt;
&lt;br /&gt;
=== APE pros ===&lt;br /&gt;
* [[Open source]]&lt;br /&gt;
* High efficiency&lt;br /&gt;
* Good software support&lt;br /&gt;
* Simple and user friendly. Official GUI provided.&lt;br /&gt;
* Java version (multiplatform)&lt;br /&gt;
* Tagging support ([[ID3v1]], [[APE tags]])&lt;br /&gt;
* [[High resolution]] audio support&lt;br /&gt;
* Supports [[RIFF]] chunks (only in the GUI encoder)&lt;br /&gt;
* Pipe support (only in a [http://www.etree.org/shnutils/shntool/ special] version)&lt;br /&gt;
&lt;br /&gt;
=== APE cons ===&lt;br /&gt;
* No [[multichannel]] support&lt;br /&gt;
* No error robustness&lt;br /&gt;
* No hybrid/lossy mode&lt;br /&gt;
* Limited hardware support ([http://www.engadget.com/2006/08/17/gemei-x-21-offers-ape-support/ Gemei X21])&lt;br /&gt;
* Doesn&#039;t support [[Replay Gain]]&lt;br /&gt;
&lt;br /&gt;
=== APE Other features ===&lt;br /&gt;
* Includes MD5 hashes for quick integrity checking&lt;br /&gt;
* Supports APL image link files (similar to CUE sheets)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MPEG-4 SLS ==&lt;br /&gt;
MPEG-4 SLS allows audio encoding from lossless scalable to [[AAC]].&lt;br /&gt;
&lt;br /&gt;
=== SLS pros ===&lt;br /&gt;
* Transcoding to standard AAC or any higher lossy bitrate at the speed of copying a file&lt;br /&gt;
* Scalable decoding from lossless, to any bitrate down to the AAC core track&lt;br /&gt;
* Best lossless compression available when you count the AAC track (~5% gain over any other lossless compression + AAC)&lt;br /&gt;
* [[High resolution]] audio support&lt;br /&gt;
* Multi channel audio support&lt;br /&gt;
* [[Open source]] (MPEG-4 Reference code)&lt;br /&gt;
* Embedded in standard MP4 files, so supports same tagging and Replay Gain features as AAC does.&lt;br /&gt;
&lt;br /&gt;
=== SLS cons ===&lt;br /&gt;
* No usable software available yet&lt;br /&gt;
* Pure lossless compression not the best there is&lt;br /&gt;
* Seems to be slow in encoding and decoding, but we have to wait for released software&lt;br /&gt;
&lt;br /&gt;
=== SLS Other features ===&lt;br /&gt;
* Transform based lossless codec with optional LC AAC core track&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OptimFROG (OFR) ==&lt;br /&gt;
http://losslessaudiocompression.com/&lt;br /&gt;
&lt;br /&gt;
[[OptimFROG]] is a lossless format developed by Florin Ghido to become the champion in audio compression.&lt;br /&gt;
&lt;br /&gt;
=== OFR pros ===&lt;br /&gt;
* Very high compression&lt;br /&gt;
* Good software support&lt;br /&gt;
* Error robustness&lt;br /&gt;
* Streaming support&lt;br /&gt;
* Supports [[high resolution]]s&lt;br /&gt;
* Hybrid/lossy mode&lt;br /&gt;
* Tagging support ([[ID3]], [[APE tags]])&lt;br /&gt;
* Supports [[RIFF]] chunks&lt;br /&gt;
* [[Replay Gain]] compatible&lt;br /&gt;
&lt;br /&gt;
=== OFR cons ===&lt;br /&gt;
* Closed source&lt;br /&gt;
* No [[multichannel]] audio support&lt;br /&gt;
* No hardware support&lt;br /&gt;
* Quite slow decoding&lt;br /&gt;
&lt;br /&gt;
=== OFR Other features ===&lt;br /&gt;
* Supports 32bit float streams&lt;br /&gt;
* Includes MD5 hashes for quick integrity checking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RealAudio Lossless (RAL) ==&lt;br /&gt;
http://www.realnetworks.com/products/codecs/realaudio.html&lt;br /&gt;
&lt;br /&gt;
RealAudio lossless is the lossless codec developed by Real Networks for their multimedia portfolio&lt;br /&gt;
&lt;br /&gt;
=== RAL pros ===&lt;br /&gt;
* Very fast decoding&lt;br /&gt;
* Streaming support&lt;br /&gt;
* Tagging support (proprietary)&lt;br /&gt;
&lt;br /&gt;
=== RAL cons ===&lt;br /&gt;
* Closed source&lt;br /&gt;
* No [[multichannel]] and [[high resolution]] audio support&lt;br /&gt;
* Little software support (Real Player)&lt;br /&gt;
* No hardware support&lt;br /&gt;
* Compression efficiency not on par with other lossless codecs&lt;br /&gt;
* No hybrid/lossy mode&lt;br /&gt;
* No pipe support&lt;br /&gt;
* Doesn&#039;t support [[Replay Gain]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Shorten (SHN) ==&lt;br /&gt;
http://www.etree.org/shnutils/shorten/&lt;br /&gt;
&lt;br /&gt;
[[Shorten]] is a very old and featureless lossless codec developed by Tony Robinson at SoftSound.&lt;br /&gt;
&lt;br /&gt;
=== SHN pros ===&lt;br /&gt;
* [[Open source]]&lt;br /&gt;
* Fast decoding&lt;br /&gt;
* Very good software support&lt;br /&gt;
* Supports [[RIFF]] chunks&lt;br /&gt;
* Pipe support&lt;br /&gt;
&lt;br /&gt;
=== SHN cons ===&lt;br /&gt;
* Quite inefficient&lt;br /&gt;
* No [[multichannel]] or [[high resolution]] audio support&lt;br /&gt;
* No hybrid/lossy mode&lt;br /&gt;
* No error robustness&lt;br /&gt;
* Not streamable&lt;br /&gt;
* No hardware support&lt;br /&gt;
* No native tagging&lt;br /&gt;
* Doesn&#039;t support [[Replay Gain]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== True Audio (TTA) ==&lt;br /&gt;
http://www.true-audio.com/&lt;br /&gt;
&lt;br /&gt;
[[TTA]] is a new lossless codec developed by a team of russian programmers.&lt;br /&gt;
&lt;br /&gt;
=== TTA pros ===&lt;br /&gt;
* [[Open source]]&lt;br /&gt;
* Good efficiency&lt;br /&gt;
* Hardware support (obscure DVD player)&lt;br /&gt;
* Supports [[multichannel]] audio and [[high resolution]]s&lt;br /&gt;
* Tagging support ([[ID3]])&lt;br /&gt;
* [[Replay Gain]] compatible&lt;br /&gt;
* Error robustness&lt;br /&gt;
&lt;br /&gt;
=== TTA cons ===&lt;br /&gt;
* No streaming support&lt;br /&gt;
* No hybrid/lossy mode&lt;br /&gt;
* Doesn&#039;t support [[RIFF]] chunks&lt;br /&gt;
* No pipe support&lt;br /&gt;
&lt;br /&gt;
=== TTA Other features ===&lt;br /&gt;
* Fits the [[Matroska]] container&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== WavPack (WV) ==&lt;br /&gt;
http://www.wavpack.com/&lt;br /&gt;
&lt;br /&gt;
[[WavPack]] is a fast and featureful lossless codec developed by David Bryant.&lt;br /&gt;
&lt;br /&gt;
=== WV pros ===&lt;br /&gt;
* [[Open source]]&lt;br /&gt;
* Very fast decoding&lt;br /&gt;
* Very fast encoding&lt;br /&gt;
* Good efficiency&lt;br /&gt;
* Error robustness&lt;br /&gt;
* Streaming support&lt;br /&gt;
* Hardware support ([http://www.rockbox.org/ RockBox])&lt;br /&gt;
* Supports [[multichannel]] audio and [[high resolution]]s&lt;br /&gt;
* Hybrid/lossy mode&lt;br /&gt;
* Tagging support ([[ID3v1]], [[APE tags]])&lt;br /&gt;
* Supports [[RIFF]] chunks&lt;br /&gt;
* Ability to create self extracting files for Win32 platform&lt;br /&gt;
* Pipe support&lt;br /&gt;
* Good software support&lt;br /&gt;
* [[Replay Gain]] compatible&lt;br /&gt;
&lt;br /&gt;
=== WV cons ===&lt;br /&gt;
* Limited hardware player support&lt;br /&gt;
&lt;br /&gt;
=== WV Other features ===&lt;br /&gt;
* Supports 32bit float streams&lt;br /&gt;
* Supports embedded CUE sheets&lt;br /&gt;
* Includes MD5 hashes for quick integrity checking&lt;br /&gt;
* Can encode in both symmetrical and assymmetrical modes.&lt;br /&gt;
* Fits the [[Matroska]] container&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Windows Media Audio Lossless (WMAL) ==&lt;br /&gt;
http://www.microsoft.com/windows/windowsmedia/9series/codecs/audio.aspx&lt;br /&gt;
&lt;br /&gt;
WMA Lossless is the lossless codec developed by Microsoft to be featured in their Windows Media codec portfolio.&lt;br /&gt;
&lt;br /&gt;
=== WMAL pros ===&lt;br /&gt;
* Streaming support&lt;br /&gt;
* Very good software support&lt;br /&gt;
* Supports [[multichannel]] audio and [[high resolution]]s.&lt;br /&gt;
* Tagging support (proprietary)&lt;br /&gt;
* Pipe support&lt;br /&gt;
&lt;br /&gt;
=== WMAL cons ===&lt;br /&gt;
* Closed source&lt;br /&gt;
* No hybrid/lossy mode&lt;br /&gt;
* Limited hardware support ([http://en.wikipedia.org/wiki/Gigabeat Gigabeat V and S line from Toshiba])&lt;br /&gt;
* Doesn&#039;t support [[RIFF]] chunks&lt;br /&gt;
* Doesn&#039;t support [[Replay Gain]]&lt;br /&gt;
&lt;br /&gt;
=== WMAL Other features ===&lt;br /&gt;
* Fits the [[ASF]] container&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Oddball Formats ==&lt;br /&gt;
There are several old lossless formats that aren&#039;t being featured in the article above. Reasons are: lack of widespread support, lack of features, bad efficiency and, most importantly, it seems noone is really interested in them.&lt;br /&gt;
&lt;br /&gt;
Most of those would have disappeared by now, but they are being preserved for posterity at [[User:Rjamorim|rjamorim]]&#039;s [http://www.rjamorim.com/rrw/ ReallyRareWares]&lt;br /&gt;
&lt;br /&gt;
=== Advanced Digital Audio (ADA) ===&lt;br /&gt;
* http://www.rjamorim.com/rrw/ada.html&lt;br /&gt;
&lt;br /&gt;
=== Bonk ===&lt;br /&gt;
* http://www.logarithmic.net/pfh/bonk&lt;br /&gt;
&lt;br /&gt;
=== Marian&#039;s a-Pac ===&lt;br /&gt;
* http://www.marian.de/en/downloads#APAC&lt;br /&gt;
* http://www.rjamorim.com/rrw/apac.html&lt;br /&gt;
&lt;br /&gt;
=== AudioZip ===&lt;br /&gt;
* http://www.rjamorim.com/rrw/audiozip.html&lt;br /&gt;
&lt;br /&gt;
=== Dakx WAV ===&lt;br /&gt;
* http://www.dakx.com/&lt;br /&gt;
* http://www.rjamorim.com/rrw/daxwav.html&lt;br /&gt;
&lt;br /&gt;
=== Entis Lab MIO ===&lt;br /&gt;
* http://www.entis.gr.jp/eri/frame.html&lt;br /&gt;
* http://www.rjamorim.com/rrw/mio.html&lt;br /&gt;
&lt;br /&gt;
=== LiteWave ===&lt;br /&gt;
* http://www.clearjump.com/products/LiteWave.html&lt;br /&gt;
* http://www.rjamorim.com/rrw/litewave.html&lt;br /&gt;
&lt;br /&gt;
=== Pegasus SPS ===&lt;br /&gt;
* http://www.krishnasoft.com/sps.htm&lt;br /&gt;
* http://www.rjamorim.com/rrw/pegasussps.html&lt;br /&gt;
&lt;br /&gt;
=== RK Audio (RKAU) ===&lt;br /&gt;
* http://www.rjamorim.com/rrw/split2000.html&lt;br /&gt;
&lt;br /&gt;
=== Sonarc ===&lt;br /&gt;
* http://www.rjamorim.com/rrw/sonarc.html&lt;br /&gt;
&lt;br /&gt;
=== VocPack ===&lt;br /&gt;
* http://www.rjamorim.com/rrw/vocpack.html&lt;br /&gt;
&lt;br /&gt;
=== WavArc ===&lt;br /&gt;
* http://www.rjamorim.com/rrw/wavarc.html&lt;br /&gt;
&lt;br /&gt;
=== WaveZip/MUSICompress ===&lt;br /&gt;
* http://members.aol.com/_ht_a/sndspace/&lt;br /&gt;
* http://www.rjamorim.com/rrw/wavezip.html&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Lossless]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
=== Other lossless compressions comparisons ===&lt;br /&gt;
&#039;&#039;Sorted based on last &#039;&#039;&#039;update&#039;&#039;&#039; date.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* [http://uclc.info/LossLess.pdf Johan De Bock&#039;s speed oriented comparison] - best choices speedwise are indicated in green, mostly electronic music (last updated 2006-07-22)&lt;br /&gt;
* [http://web.inter.nl.net/users/hvdh/lossless/lossless.htm Hans Heijden&#039;s] -- used as reference to build the table (last updated 2006-07-07)&lt;br /&gt;
* [http://synthetic-soul.co.uk/comparison/lossless/ Synthetic Soul&#039;s comparison] (last update 2006-09-14)&lt;br /&gt;
* [http://synthetic-soul.co.uk/comparison/josef/ Josef Pohm&#039;s comparison, hosted by Synthetic Soul] (last update 2006-05-29)&lt;br /&gt;
* [http://www.bobulous.org.uk/misc/lossless_audio_2006.html Bobulous&#039; lossless audio comparison] — a look at six lossless formats in terms of speed and file size (last updated 2006-05-22)&lt;br /&gt;
* [http://uclc.info/lossless_audio_compression_test.htm Johan De Bock&#039;s size oriented comparison] - aimed only at the maximum compression setting for each codec (based on a somewhat limited set of samples, however) (last updated 2006-05-19)&lt;br /&gt;
* [http://guruboolez.free.fr/lossless/ Guruboolez&#039;] -- comparing only classical music (last updated 2005-02-27)&lt;br /&gt;
* [http://members.home.nl/w.speek/comparison.htm Speek&#039;s] (last updated 2005-02-07)&lt;br /&gt;
&lt;br /&gt;
=== More on lossless compressions ===&lt;br /&gt;
* [http://losslessaudioblog.com/ The Lossless Audio Blog] - by windmiller, is a reliable and complete source of news about lossless compression.&lt;br /&gt;
* Go to the [http://www.hydrogenaudio.org/forums/index.php?showtopic=33226 Hydrogenaudio thread] to discuss this article.&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Musepack&amp;diff=17838</id>
		<title>Musepack</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Musepack&amp;diff=17838"/>
		<updated>2007-09-15T19:05:20Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* Technical links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&#039;&#039;&#039;Musepack&#039;&#039;&#039; is a lossy audio compression scheme created by Andree Buschmann. He started work on the codec in 1998 (then called MP+) because he was unsatisfied with the audio quality of MP3 codecs at the time. It is strongly based on the [[MPEG-1]] Layer-2 ([[MP2]]) algorithms, with 32 subbands of the same bandwidth, but with several significant improvements. Musepack is optimized for &amp;quot;transparency&amp;quot;. The format doesn&#039;t compete well at lower, &#039;streaming&#039; bitrates such as 32/48/64kbps. This is due to MPC being a [[subband]] [[codec]] as well as the fact that very little optimization has gone into such low [[bitrate]]s. However, as can be seen in various 128kbit/s listening tests (see below), despite the fact that MPC has been optimized little for such bitrates it is in the same class of other modern competitors such as [[AAC]] and (Ogg) [[Vorbis]].&lt;br /&gt;
&lt;br /&gt;
== Pros ==&lt;br /&gt;
* Suffers from different &amp;quot;problem cases&amp;quot; than most other formats (less pre-echo)&lt;br /&gt;
* Very fast encoding/decoding&lt;br /&gt;
* Designed to be very good by default at --standard setting.&lt;br /&gt;
* Open source&lt;br /&gt;
* Portable playback by Pocket-PCs, Palm OS-based and Windows CE/Windows Mobile-based devices, even Smartphones, see http://tcpmp.corecodec.org&lt;br /&gt;
* Portable playback on iRiver h1x0 and Archos Gmini players, see http://www.rockbox.org&lt;br /&gt;
* Support &amp;amp; development forum at http://www.Musepack.net&lt;br /&gt;
&lt;br /&gt;
== Cons ==&lt;br /&gt;
* Marginal support (yet) on portable players&lt;br /&gt;
* No [[multichannel]]&lt;br /&gt;
* Not streamable&lt;br /&gt;
* Can&#039;t be cut/edited&lt;br /&gt;
* No support for [[sampling rate]]s above 48khz&lt;br /&gt;
&lt;br /&gt;
= Technical details =&lt;br /&gt;
== Supported input formats (SV7) ==&lt;br /&gt;
* channels: 1 or 2&lt;br /&gt;
* bit depths: 1 to 32 bit linear [[PCM]]&lt;br /&gt;
* sample rates: 32kHz, 37.8kHz, 44.1kHz, 48kHz (44.1 and 48 are highly tuned)&lt;br /&gt;
* [[WAV]], raw [[PCM]], a lot of [[lossless]] compressed audio formats like [[FLAC]], [[LPAC]], [[Monkey&#039;s_Audio|APE]], [[OptimFROG]], [[SZIP]] and Shorten ([[SHN]])&lt;br /&gt;
&lt;br /&gt;
== Encoder Functions ==&lt;br /&gt;
[[MPC Encoder Functions]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
== User oriented links ==&lt;br /&gt;
* [http://musepack.net Musepack.net] - a general info, news and software site.&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=1927 Users&#039; HowTo MPC guide at HydrogenAudio]&lt;br /&gt;
* [http://www.saunalahti.fi/~cse/ Case&#039;s page] (Winamp plug-ins and more).&lt;br /&gt;
* [http://www.uni-jena.de/~pfk/mpp/ Frank Klemm&#039;s official page] (out of order now)&lt;br /&gt;
: This page is mirrored at: http://hydrogenaudio.org/musepack/klemm/www.personal.uni-jena.de/~pfk/mpp/&lt;br /&gt;
* [http://betaplayer.corecodec.org/ BetaPlayer], the first Musepack-able player on PocketPCs&lt;br /&gt;
&lt;br /&gt;
== Technical links ==&lt;br /&gt;
* [http://trac.musepack.net/trac/wiki Specifications]&lt;br /&gt;
* Frank Klemm&#039;s [http://www.uni-jena.de/~pfk/mpp/ official page] (out of order now)&lt;br /&gt;
: This page is mirrored at: http://hydrogenaudio.org/musepack/klemm/www.personal.uni-jena.de/~pfk/mpp/&lt;br /&gt;
* [http://www.audiocoding.com/modules/wiki/?page=MPC MPC at AudioCodingWiki]&lt;br /&gt;
* [http://www.caddr.com/code/libmusepack libmusepack portable musepack decoding library] (in progress)&lt;br /&gt;
&lt;br /&gt;
== Listening test involving MPC ==&lt;br /&gt;
* [[Listening Tests]] page&lt;br /&gt;
* [http://ff123.net/128tests.html ff123&#039;s 128kbit/s group listening test]&lt;br /&gt;
* [http://ff123.net/128test/instruct.html ff123&#039;s second 128kbit/s group listening test]&lt;br /&gt;
* [http://audio.ciara.us/test/128extension/results.html rjamorim&#039;s 128kbit/s test]&lt;br /&gt;
&lt;br /&gt;
Please note that some of these tests, while valid, used encoder versions which have now been superseded. You should make your own decision about the comparative quality of MPC, listening to clips of music in the style you prefer.&lt;br /&gt;
&lt;br /&gt;
Also note that these are tests at low bitrates; an area where MPC is not particularly optimized. The encoder was designed by the author to be very good at the --standard setting, thus little to no low [[bitrate]] tuning has gone into the [[codec]], opposite to that of [[AAC]], (Ogg) [[Vorbis]], [[WMA]] and others which focus more on this region. However, as can be seen in the various listening test pages, MPC competes surprisingly well with the rest of them.&lt;br /&gt;
&lt;br /&gt;
[[Category: Codecs]]&lt;br /&gt;
[[Category: Lossy]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Musepack&amp;diff=17837</id>
		<title>Musepack</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Musepack&amp;diff=17837"/>
		<updated>2007-09-15T19:04:20Z</updated>

		<summary type="html">&lt;p&gt;CiTay: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&#039;&#039;&#039;Musepack&#039;&#039;&#039; is a lossy audio compression scheme created by Andree Buschmann. He started work on the codec in 1998 (then called MP+) because he was unsatisfied with the audio quality of MP3 codecs at the time. It is strongly based on the [[MPEG-1]] Layer-2 ([[MP2]]) algorithms, with 32 subbands of the same bandwidth, but with several significant improvements. Musepack is optimized for &amp;quot;transparency&amp;quot;. The format doesn&#039;t compete well at lower, &#039;streaming&#039; bitrates such as 32/48/64kbps. This is due to MPC being a [[subband]] [[codec]] as well as the fact that very little optimization has gone into such low [[bitrate]]s. However, as can be seen in various 128kbit/s listening tests (see below), despite the fact that MPC has been optimized little for such bitrates it is in the same class of other modern competitors such as [[AAC]] and (Ogg) [[Vorbis]].&lt;br /&gt;
&lt;br /&gt;
== Pros ==&lt;br /&gt;
* Suffers from different &amp;quot;problem cases&amp;quot; than most other formats (less pre-echo)&lt;br /&gt;
* Very fast encoding/decoding&lt;br /&gt;
* Designed to be very good by default at --standard setting.&lt;br /&gt;
* Open source&lt;br /&gt;
* Portable playback by Pocket-PCs, Palm OS-based and Windows CE/Windows Mobile-based devices, even Smartphones, see http://tcpmp.corecodec.org&lt;br /&gt;
* Portable playback on iRiver h1x0 and Archos Gmini players, see http://www.rockbox.org&lt;br /&gt;
* Support &amp;amp; development forum at http://www.Musepack.net&lt;br /&gt;
&lt;br /&gt;
== Cons ==&lt;br /&gt;
* Marginal support (yet) on portable players&lt;br /&gt;
* No [[multichannel]]&lt;br /&gt;
* Not streamable&lt;br /&gt;
* Can&#039;t be cut/edited&lt;br /&gt;
* No support for [[sampling rate]]s above 48khz&lt;br /&gt;
&lt;br /&gt;
= Technical details =&lt;br /&gt;
== Supported input formats (SV7) ==&lt;br /&gt;
* channels: 1 or 2&lt;br /&gt;
* bit depths: 1 to 32 bit linear [[PCM]]&lt;br /&gt;
* sample rates: 32kHz, 37.8kHz, 44.1kHz, 48kHz (44.1 and 48 are highly tuned)&lt;br /&gt;
* [[WAV]], raw [[PCM]], a lot of [[lossless]] compressed audio formats like [[FLAC]], [[LPAC]], [[Monkey&#039;s_Audio|APE]], [[OptimFROG]], [[SZIP]] and Shorten ([[SHN]])&lt;br /&gt;
&lt;br /&gt;
== Encoder Functions ==&lt;br /&gt;
[[MPC Encoder Functions]]&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
== User oriented links ==&lt;br /&gt;
* [http://musepack.net Musepack.net] - a general info, news and software site.&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=1927 Users&#039; HowTo MPC guide at HydrogenAudio]&lt;br /&gt;
* [http://www.saunalahti.fi/~cse/ Case&#039;s page] (Winamp plug-ins and more).&lt;br /&gt;
* [http://www.uni-jena.de/~pfk/mpp/ Frank Klemm&#039;s official page] (out of order now)&lt;br /&gt;
: This page is mirrored at: http://hydrogenaudio.org/musepack/klemm/www.personal.uni-jena.de/~pfk/mpp/&lt;br /&gt;
* [http://betaplayer.corecodec.org/ BetaPlayer], the first Musepack-able player on PocketPCs&lt;br /&gt;
&lt;br /&gt;
== Technical links ==&lt;br /&gt;
* Frank Klemm&#039;s [http://www.uni-jena.de/~pfk/mpp/ official page] (out of order now)&lt;br /&gt;
: This page is mirrored at: http://hydrogenaudio.org/musepack/klemm/www.personal.uni-jena.de/~pfk/mpp/&lt;br /&gt;
* [http://www.audiocoding.com/modules/wiki/?page=MPC MPC at AudioCodingWiki]&lt;br /&gt;
* [http://www.caddr.com/code/libmusepack libmusepack portable musepack decoding library] (in progress)&lt;br /&gt;
&lt;br /&gt;
== Listening test involving MPC ==&lt;br /&gt;
* [[Listening Tests]] page&lt;br /&gt;
* [http://ff123.net/128tests.html ff123&#039;s 128kbit/s group listening test]&lt;br /&gt;
* [http://ff123.net/128test/instruct.html ff123&#039;s second 128kbit/s group listening test]&lt;br /&gt;
* [http://audio.ciara.us/test/128extension/results.html rjamorim&#039;s 128kbit/s test]&lt;br /&gt;
&lt;br /&gt;
Please note that some of these tests, while valid, used encoder versions which have now been superseded. You should make your own decision about the comparative quality of MPC, listening to clips of music in the style you prefer.&lt;br /&gt;
&lt;br /&gt;
Also note that these are tests at low bitrates; an area where MPC is not particularly optimized. The encoder was designed by the author to be very good at the --standard setting, thus little to no low [[bitrate]] tuning has gone into the [[codec]], opposite to that of [[AAC]], (Ogg) [[Vorbis]], [[WMA]] and others which focus more on this region. However, as can be seen in the various listening test pages, MPC competes surprisingly well with the rest of them.&lt;br /&gt;
&lt;br /&gt;
[[Category: Codecs]]&lt;br /&gt;
[[Category: Lossy]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Recommended_LAME&amp;diff=7691</id>
		<title>Recommended LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Recommended_LAME&amp;diff=7691"/>
		<updated>2005-10-10T20:29:22Z</updated>

		<summary type="html">&lt;p&gt;CiTay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
This article is meant to explain to the users what are the [[Hydrogenaudio]] recommended settings to be used with [[LAME]] for highest quality [[MP3]] encoding.&lt;br /&gt;
&lt;br /&gt;
These settings require Lame 3.94 or later. Lame 3.97beta found on this website is the recommended version ([[Lame Compiles|check here to download]]).&lt;br /&gt;
&lt;br /&gt;
Avoid using alpha (a) versions of LAME. More often than not those are exclusively for testing purposes, if you want to help developers with feedback.&lt;br /&gt;
&lt;br /&gt;
Note: At a given bitrate range, the quality scale is following: VBR is higher quality than ABR which is higher quality than CBR (VBR &amp;gt; ABR &amp;gt; CBR in terms of quality). The exception to this is when you choose the highest possible CBR bitrate, which is 320 kbps (-b 320 = --alt-preset insane).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: all modes and settings mentioned in this topic belong to the specifications of the MP3 standard, and the resulting MP3s should be played by every standard-conform MP3-Decoder. If this shouldn&#039;t be the case, blame the manufacturer or developer of your MP3-Decoder/device. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==VBR (Variable bitrate) settings==&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode, the goal is to keep a constant quality and saving bits where possible without lowering the quality.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[VBR]] can be useful to get good quality from a specific quality level. Size is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
-V(number) where number is 0-9, 0 being highest quality, 9 being the lowest.&lt;br /&gt;
&lt;br /&gt;
{| align=center border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;4&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;List of recommended settings&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Switch&#039;&#039;&#039; || &#039;&#039;&#039;Preset&#039;&#039;&#039; || &#039;&#039;&#039;Target Kbit/s&#039;&#039;&#039; || &#039;&#039;&#039;Bitrate range kbit/s&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| -b 320 || --preset insane || 320CBR || 320&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 --vbr-new || --preset fast extreme ||  245 || 220...260&lt;br /&gt;
|-&lt;br /&gt;
| -V 0 || --preset extreme || 245 || 220...260&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 --vbr-new || || 225 || 200...250&lt;br /&gt;
|-&lt;br /&gt;
| -V 1 || || 225 || 200...250&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 --vbr-new || --preset fast standard || 190 || 170...210&lt;br /&gt;
|-&lt;br /&gt;
| -V 2 || --preset standard || 190 || 170...210&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 --vbr-new || || 175 || 155...195&lt;br /&gt;
|-&lt;br /&gt;
| -V 3 || || 175 || 155...195&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 --vbr-new || --preset fast medium || 165 || 145...185&lt;br /&gt;
|-&lt;br /&gt;
| -V 4 || --preset medium  || 165 || 145...185&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 --vbr-new || || 130 || 110...150&lt;br /&gt;
|-&lt;br /&gt;
| -V 5 || || 130 || 110...150&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 --vbr-new || || 115 || 95...135&lt;br /&gt;
|-&lt;br /&gt;
| -V 6 || || 150 || 95...135&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 --vbr-new || || 100 || 80...120&lt;br /&gt;
|-&lt;br /&gt;
| -V 7 || || 100 || 80...120&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 --vbr-new || || 85 || 65...105&lt;br /&gt;
|-&lt;br /&gt;
| -V 8 || || 85 || 65...105&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 --vbr-new || || 65 || 45...85&lt;br /&gt;
|-&lt;br /&gt;
| -V 9 || || 65 || 45...85&lt;br /&gt;
|}&lt;br /&gt;
See also [[Technical data for recommended LAME settings]]&lt;br /&gt;
&lt;br /&gt;
If the target is eg. streaming, where you need MP3 in ABR or even CBR mode, there are still the ABR and CBR modes.&lt;br /&gt;
&lt;br /&gt;
==ABR (average bitrate) settings==&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode varies bits around a specified target bitrate&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;(128 kbit/s ABR: roughly the same filesize as 128 kbit/s CBR)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;[[ABR]] Setting tuned from 320 kbit/s down to 80 kbit/s&#039;&#039;&#039;&lt;br /&gt;
** --preset &amp;lt;bitrate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) can be any value between 8 - 320 , like eg. 9, 17, 80, 128, 133, 200 etc.&lt;br /&gt;
&lt;br /&gt;
::  Example: --preset 200&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CBR (constant bitrate) settings==&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode is not efficient regarding distributing bitrate to more complex music parts and saving bits where it would be possible without lowering the quality of those music parts. Only recommended for usage in streaming situations where the upper bitrate margin must be strictly enforced.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;[[CBR]] Setting tuned from 320 kbit/s down to 80 kbit/s&#039;&#039;&#039;&lt;br /&gt;
** -b &amp;lt;bitrate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;bitrate&amp;gt; (bitrate in kbit/s) can be only: 8 , 16 , 24 , 32 , 40 , 48 , 64 , 80 , 96 , 112 , 128 , 160 , 192 , 256 or 320.&lt;br /&gt;
&lt;br /&gt;
==Remarks==&lt;br /&gt;
The &#039;&#039;&#039;--vbr-new&#039;&#039;&#039; switch enables the new VBR mode. Lame will encode much faster compared to old/default vbr mode. Current knowledge qualitywise comparing vbr with --vbr-new is, that --vbr-new might even be better qualitywise than the default vbr mode, but there are also reports about artefact, which is worse in --vbr-new compared to default. Though the general impression is, that --vbr-new should be recommended over vbr-default.&lt;br /&gt;
--vbr-new can be faster and at equal/better quality at same time, because it uses a different algorithm than old/default vbr mode.&lt;br /&gt;
&lt;br /&gt;
===Quick Start===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Best Quality : &#039;archiving&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;--cbr 320&amp;lt;/font&amp;gt;. This is the strongest setting for MP3, with the lowest risk of [[artifact]]s.&lt;br /&gt;
With the exception of a few situations, quality is rarely better than the highest [[VBR]] profiles described below.&lt;br /&gt;
Alternative: [[Lossless]] formats like [[WavPack]], [[Flac]] etc. allow true archiving bit for bit like on original CD.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;High Quality : HiFi, home or quiet listening&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3 --vbr-new&amp;lt;/font&amp;gt; (~175 kbps), &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2 --vbr-new&amp;lt;/font&amp;gt; (~190 kbps), &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1 --vbr-new&amp;lt;/font&amp;gt; (~210 kbps) or &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0 --vbr-new&amp;lt;/font&amp;gt; (~230 kbps) are recommended.&lt;br /&gt;
These settings will produce [[transparent]] encoding (transparent = most people cannot distinguish the mp3 from the original in an ABX blindtest).&lt;br /&gt;
Audible differences between these presets exist, but are extremely marginal.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Portable : background noise and low bitrate requirement, small sizes&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6 --vbr-new&amp;lt;/font&amp;gt; (~115 kbps), &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5 --vbr-new&amp;lt;/font&amp;gt; (~130 kbps) or &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4 --vbr-new&amp;lt;/font&amp;gt; (~160 kbps) are recommended for this use.&lt;br /&gt;
-V6 --vbr-new produces an acceptable quality, while -V4--vbr-new should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Very low bitrate, small sizes:&#039;&#039;&#039; eg. for voice, radio, [[mono]] encoding etc.&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution.&lt;br /&gt;
&lt;br /&gt;
Use &#039;&#039;&#039;--abr xx&#039;&#039;&#039; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
[[Image:Lame-chart-2.png|frame|center|Here a trial to get a view, how the &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;perceived listening quality&amp;lt;/font&amp;gt; improves with settings/&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;averaged filesize&amp;lt;/font&amp;gt;:]]&lt;br /&gt;
&lt;br /&gt;
The revolutionary --alt-preset system introduced in lame 3.90, is replaced nowadays by the preset system, which is already substituted by the above explained settings -V x system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;You don&#039;t need to worry&amp;lt;/font&amp;gt; anymore about quality, settings, switches, presets, if you stick to the recommendations of this topic, all will be fine and even optimized.&lt;br /&gt;
&lt;br /&gt;
If you select nowadays in lame 3.97 either --alt-preset xy , preset xy or corresponding switch xy, you will always get the same, simply stick to one of the recommended switches of the table or described here in the text.&lt;br /&gt;
&lt;br /&gt;
E.G.: --alt-preset cbr 320 is the exact same thing as --alt-preset insane etc.:&lt;br /&gt;
&lt;br /&gt;
--alt-preset insane = --preset insane = -b 320 = --preset 320 = --preset cbr 320&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Setting up EAC for lame.exe with tagging==&lt;br /&gt;
&lt;br /&gt;
{{:EAC and Lame}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Additional reading==&lt;br /&gt;
&lt;br /&gt;
* [[LAME|More information on LAME]]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=16&amp;amp;t=32288 Forum discussion of the recommended settings]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?act=ST&amp;amp;f=15&amp;amp;t=203 Forum discussion of the recommended settings (older)]&lt;br /&gt;
* [[Recommended LAME credits|Credits for the recommended settings]]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=32288&amp;amp;view=findpost&amp;amp;p=327262 Previous recommendations (outdated)]&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[LAME]]&lt;br /&gt;
* [[Exact_Audio_Copy|Exact Audio Copy]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
[[Recommended LAME credits|Credits]]&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Recommended_LAME_credits&amp;diff=8382</id>
		<title>Recommended LAME credits</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Recommended_LAME_credits&amp;diff=8382"/>
		<updated>2005-10-10T20:26:55Z</updated>

		<summary type="html">&lt;p&gt;CiTay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains credits for the [[Recommended LAME|recommended LAME settings]]. All people involved in the development should be listed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A big thanks to all LAME developers for making one kickass MP3 codec.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;People who took part in suggesting the different settings:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, r3mix, ff123, Hans Heijden, kjempen, Benjamin Lebsanft, GeSomeone, Wombat &amp;amp; GuruBoolez for his immense testing.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Creation of the alt preset system and related special code level quality enhancements:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, with technical assistance from Robert Hegemann and Naoki Shibata, Gabriel and extensive tuning help and quality verification via listening tests from JohnV and also initial help (--dm-preset era) from Hans Heijden, ff123, Wombat, and others. Test clips, bitrate information, and further listening tests provided by TheBashar, zbutsam, Pio2001, BadDuDeX, r3mix, h, TarX, Hans Heijden, ff123, Wombat, Filburt, Volcano, Garf, MrDrew, TrNSZ, nyaochi, Amadeus93, in no particular order, and many, many others we (Dibrom, user) probably forgot to mention.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Idea (also exposing the need for a unified preset system), Original post and list of original settings collected by:&#039;&#039;&#039; user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Layout and additional work by:&#039;&#039;&#039; dev0, CiTay, SNYder, Dibrom.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And finally...&lt;br /&gt;
&lt;br /&gt;
Thank you ALL in the community for making it what it is, providing interest and discussion and helping to work towards the most concise, well tuned, and most thought out MP3 quality &amp;quot;paradigm&amp;quot; seen yet! -- Dibrom&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Recommended_LAME_credits&amp;diff=6833</id>
		<title>Recommended LAME credits</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Recommended_LAME_credits&amp;diff=6833"/>
		<updated>2005-10-10T20:26:47Z</updated>

		<summary type="html">&lt;p&gt;CiTay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains credits for the [[Recommended LAME|recommended LAME settings]]. All people involved in the development should be listed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A big thanks to all LAME developers for making one kickass MP3 codec.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;People who took part in suggesting the different settings:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, r3mix, ff123, Hans Heijden, kjempen, Benjamin Lebsanft, GeSomeone, Wombat &amp;amp; GuruBoolez for his immense testing.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Creation of the alt preset system and related special code level quality enhancements:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Dibrom, with technical assistance from Robert Hegemann and Naoki Shibata, Gabriel and extensive tuning help and quality verification via listening tests from JohnV and also initial help (--dm-preset era) from Hans Heijden, ff123, Wombat, and others. Test clips, bitrate information, and further listening tests provided by TheBashar, zbutsam, Pio2001, BadDuDeX, r3mix, h, TarX, Hans Heijden, ff123, Wombat, Filburt, Volcano, Garf, MrDrew, TrNSZ, nyaochi, Amadeus93, in no particular order, and many, many others we (Dibrom, user) probably forgot to mention.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Idea (also exposing the need for a unified preset system), Original post and list of original settings collected by:&#039;&#039;&#039; user&lt;br /&gt;
&#039;&#039;&#039;Layout and additional work by:&#039;&#039;&#039; dev0, CiTay, SNYder, Dibrom.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And finally...&lt;br /&gt;
&lt;br /&gt;
Thank you ALL in the community for making it what it is, providing interest and discussion and helping to work towards the most concise, well tuned, and most thought out MP3 quality &amp;quot;paradigm&amp;quot; seen yet! -- Dibrom&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=User:CiTay&amp;diff=8381</id>
		<title>User:CiTay</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=User:CiTay&amp;diff=8381"/>
		<updated>2005-10-10T19:59:58Z</updated>

		<summary type="html">&lt;p&gt;CiTay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;hello world&lt;/div&gt;</summary>
		<author><name>CiTay</name></author>
	</entry>
</feed>