USER’S MANUAL
Section 6: AUDIO CODING REFERENCE 121
standardizedinISO/MPEGIS‐11172.PriortotheavailabilityofAAC,Layer‐3wasspecifically
recommendedfor56and64kbpschannel.
Layer-3 Features
PsychoacousticMasking
TheaudioinLayer‐3isdividedinto576frequencybands.First,apolyphasefilterbankperforms
adivisionintothe32“main”bandswhichcorrespondinfrequencytothoseus
edbytheless
complexLayer‐2.Filtersarethenusedtofurthersubdivideeachofthemainbandsinto18
more.Ata32kHzsamplingrate,theresultingbandwidthis27.78Hz–allowingveryaccurate
calculationofthemaskingthresholdvalues.Sufficientfrequencyresolutionisavailableto
exce
edthewidthoftheear’scriticalbands(100Hzbelow500Hz;20%ofthecenterfrequency
athigherfrequencies)acrosstheaudiblespectrum,resultinginbetterhidingofnoisethan
wouldotherwisebepossible.
RedundancyReduction
RedundancyreductionisaccomplishedbyaHuffmancodingprocesstotakeadv
antageofthe
statisticalpropertiesofthesimplifiedsignaloutputfromthepsychoacousticstage.Valuesthat
appearmorefrequentlyarecodedwithshorterwords,whereasvaluesthatappearonlyrarely
arecodedwithlongerwords.Thisresultsinanoveralldecreaseinthedatarate,withno
degradation,sinceitisalosslessreducti
onscheme.
Noticethatthisredundancyreductionprocessistheidealsupplementtopsychoacoustic
masking.Ingeneral,maskerswithhightonalityhavemoreredundancybutallowlessmasking,
whilenoise‐likesignalshavelowredundancyandhighmaskingeffect.
BitReservoirBuffering
Often,therearesomecriticalpartsinapieceofmu
sicthatcannotbeencodedatagivendata
ratewithoutaudiblenoise.Thesesequencesrequireahigherdataratetoavoidartifacts.Layer‐
3usesashorttime“bitreservoir”buffertoaddressthatneed.Similartoasavingsaccount,this
bufferisfilledin“easytim
es”withdatabitsthatarenotrequiredfortheactualframe.Ifa
criticalpartoccurs,theencodercanusethesavedbitstocodethispartwithahigherdatarate.
AncillaryData
Thebitreservoirbufferoffersaninterestingcapability:aneffectivesolutionfortheinclusionof
suchancillarydataastex
torcontrolsignaling.Thedataisheldinaseparatebufferandgated
ontotheoutputbitstreamusingthebitsallocatedforthereservoirbufferwhentheyarenot
requiredforaudio.
Layer‐3J‐Stereo
Ajointstereomodepermitsadvantagetobetakenfromth
eredundancyinstereoprogram
material.TheencoderswitchesfromdiscreteL/RtoamatrixedL+R/L‐Rmodedynamically,
dependingupontheprogramcontent.Thematrixedmodeofoperationtakesofadvantageof
theusualredundancyofthe“center”channelinformationandthereforesignificantlyimproves
overallfidelity.