<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hydrogenaudio.org/index.php?action=history&amp;feed=atom&amp;title=Scale_factor</id>
	<title>Scale factor - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hydrogenaudio.org/index.php?action=history&amp;feed=atom&amp;title=Scale_factor"/>
	<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Scale_factor&amp;action=history"/>
	<updated>2026-04-28T15:20:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Scale_factor&amp;diff=8007&amp;oldid=prev</id>
		<title>Jan at 12:48, 22 March 2005</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Scale_factor&amp;diff=8007&amp;oldid=prev"/>
		<updated>2005-03-22T12:48:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The encoded [[MDCT]] coefficients are grouped into scalefactor bands, allowing an efficient coding. Noise shaping introduces as much [[quantize|quantization]] noise as the [[masking]] for a particular band allows.&lt;br /&gt;
&lt;br /&gt;
It does this by adjusting the [[quantize|quantization]] stepsize. The larger the stepsize, the more [[quantize|quantization]] noise you&amp;#039;ll get. In Mpeg layer3 the global gain defines the largest stepsize to use. The scalefactors are used to reduce the stepsizes for the special needs of the scalefactor bands.&lt;br /&gt;
&lt;br /&gt;
While there already is an inherent noise shaping in the non-linear [[quantize|quantizer]] it is usually not sufficient to achieve acceptable audio quality. To improve the subjective quality of the coded signal the noise is further shaped via scalefactors. The way the scalefactors are working is the following:&lt;br /&gt;
&lt;br /&gt;
Scalefactors are used to amplify the signal in certain spectral regions (the scalefactor bands) to increase the signal-to-noise ratio in these bands. Thus they implicitly modify the bit-allocation over [[frequency]] since higher spectral values usually need more bits to be coded afterwards. Like the global [[quantize|quantizer]] the stepsize of the scalefactors is 1.5db.&lt;br /&gt;
&lt;br /&gt;
To properly reconstruct the original spectral values in the decoder the scalefactors have to be transmitted within the bitstream.&lt;br /&gt;
&lt;br /&gt;
Whenever a scalefactor band is amplified, it will force the next [[quantize|quantization]] to use more bits for that band. This will result in more bits used to encode the [[MDCT]] coefficients in that band, and thus less [[quantize|quantization]] error. That is why bands with audible distortion are amplified. However, it will also result in less bits for the unamplified bands. But these bands had a [[quantize|quantization]] error less than the allowed [[masking]], so hopefully they can tolerate a little more noise. The whole procedure is designed to allocate the bits to the bands which need them the most.&lt;/div&gt;</summary>
		<author><name>Jan</name></author>
	</entry>
</feed>