Digital cellular telecommunications system (Phase 2+) (GSM); Half rate speech; Half rate speech transcoding (GSM 06.20 version 7.0.1 Release 1998)

Upgrade from Phase 2+ to Release 1998

Digitalni celični telekomunikacijski sistem (faza 2+) – Govor s polovično hitrostjo – Prekodiranje pri polovični hitrosti govora (GSM 06.20, različica 7.0.1, izdaja 1998)

General Information

Status
Published
Publication Date
30-Nov-2003
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
01-Dec-2003
Due Date
01-Dec-2003
Completion Date
01-Dec-2003
Mandate

Buy Standard

Standard
EN 300 969 V7.0.1:2003
English language
47 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.Digital cellular telecommunications system (Phase 2+) (GSM); Half rate speech; Half rate speech transcoding (GSM 06.20 version 7.0.1 Release 1998)33.070.50Globalni sistem za mobilno telekomunikacijo (GSM)Global System for Mobile Communication (GSM)ICS:Ta slovenski standard je istoveten z:EN 300 969 Version 7.0.1SIST EN 300 969 V7.0.1:2003en01-december-2003SIST EN 300 969 V7.0.1:2003SLOVENSKI
STANDARD



SIST EN 300 969 V7.0.1:2003



ETSIEN300969V7.0.1(2000-01)EuropeanStandard(Telecommunicationsseries)Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;Halfratespeechtranscoding(GSM06.20version7.0.1Release1998)GLOBALSYSTEMFORMOBILECOMMUNICATIONSRSIST EN 300 969 V7.0.1:2003



ETSIETSIEN300969V7.0.1(2000-01)2(GSM06.20version7.0.1Release1998)ReferenceREN/SMG-110620Q7KeywordsDigitalcellulartelecommunicationssystem,GlobalSystemforMobilecommunications(GSM),CODEC,GSM,speechETSIPostaladdressF-06921SophiaAntipolisCedex-FRANCEOfficeaddress650RoutedesLucioles-SophiaAntipolisValbonne-FRANCETel.:+33492944200Fax:+33493654716SiretN°34862356200017-NAF742CAssociationàbutnonlucratifenregistréeàlaSous-PréfecturedeGrasse(06)N°7803/88Internetsecretariat@etsi.frIndividualcopiesofthisETSIdeliverablecanbedownloadedfromhttp://www.etsi.orgIfyoufinderrorsinthepresentdocument,sendyourcommentto:editor@etsi.frImportantnoticeThisETSIdeliverablemaybemadeavailableinmorethanoneelectronicversionorinprint.Inanycaseofexistingorperceiveddifferenceincontentsbetweensuchversions,thereferenceversionisthePortableDocumentFormat(PDF).Incaseofdispute,thereferenceshallbetheprintingonETSIprintersofthePDFversionkeptonaspecificnetworkdrivewithinETSISecretariat.CopyrightNotificationNopartmaybereproducedexceptasauthorizedbywrittenpermission.Thecopyrightandtheforegoingrestrictionextendtoreproductioninallmedia.©EuropeanTelecommunicationsStandardsInstitute2000.Allrightsreserved.SIST EN 300 969 V7.0.1:2003



ETSIETSIEN300969V7.0.1(2000-01)3(GSM06.20version7.0.1Release1998)ContentsIntellectualPropertyRights.5Foreword.51Scope.72References.73Definitions,symbolsandabbreviations.73.1Definitions.73.2Symbols.93.3Abbreviations.104FunctionaldescriptionoftheGSMhalfratespeechcodec.114.1GSMhalfratespeechencoder.114.1.1High-passfilter.134.1.2Segmentation.144.1.3FixedPointLatticeTechnique(FLAT).144.1.4Spectralquantization.154.1.4.1AutocorrelationFixedPointLatticeTechnique(AFLAT).154.1.5Frameenergycalculationandquantization.174.1.6Softinterpolationofthespectralparameters.174.1.7Spectralnoiseweightingfiltercoefficients.184.1.8LongTermPredictorlagdetermination.194.1.8.1Openlooplongtermsearchinitialization.204.1.8.2Openlooplagsearch.214.1.8.3Framelagtrajectorysearch(Mode≠0).264.1.8.4Voicingmodeselection.284.1.8.5Closedlooplagsearch.284.1.9Harmonicnoiseweighting.294.1.10Codesearchalgorithm.314.1.10.1Decorrelationoffilteredbasisvectors.324.1.10.2Fastsearchtechnique.334.1.11Multimodegainvectorquantization.344.1.11.1CodingGSandP0.344.2GSMhalfratespeechdecoder.374.2.1Excitationgeneration.374.2.2Adaptivepitchprefilter.384.2.3SynthesisFilter.384.2.4Adaptivespectralpostfilter.384.2.5Updatingdecoderstates.405Homingsequences.405.1Functionaldescription.405.2Definitions.405.3Encoderhoming.405.4Decoderhoming.415.5Encoderhomestate.415.6Decoderhomestate.41AnnexA(normative):Codecparameterdescription.42A.1Codecparameterdescription.42A.1.1MODE.42A.1.2R0.42A.1.3LPC1-LPC3.43A.1.4LAG_1-LAG_4.43A.1.5CODEx_1-CODEx_4.43A.1.6GSP0_1-GSP0_4.43SIST EN 300 969 V7.0.1:2003



ETSIETSIEN300969V7.0.1(2000-01)4(GSM06.20version7.0.1Release1998)A.2Basiccoderparameters.43AnnexB(normative):OrderofoccurrenceofthecodecparametersoverAbis.44AnnexC(informative):Bibliography.45AnnexD(informative):ChangeRequestHistory.46History.47SIST EN 300 969 V7.0.1:2003



ETSIETSIEN300969V7.0.1(2000-01)5(GSM06.20version7.0.1Release1998)IntellectualPropertyRightsIPRsessentialorpotentiallyessentialtothepresentdocumentmayhavebeendeclaredtoETSI.TheinformationpertainingtotheseessentialIPRs,ifany,ispubliclyavailableforETSImembersandnon-members,andcanbefoundinSR000314:"IntellectualPropertyRights(IPRs);Essential,orpotentiallyEssential,IPRsnotifiedtoETSIinrespectofETSIstandards",whichisavailablefromtheETSISecretariat.LatestupdatesareavailableontheETSIWebserver(http://www.etsi.org/ipr).PursuanttotheETSIIPRPolicy,noinvestigation,includingIPRsearches,hasbeencarriedoutbyETSI.NoguaranteecanbegivenastotheexistenceofotherIPRsnotreferencedinSR000314(ortheupdatesontheETSIWebserver)whichare,ormaybe,ormaybecome,essentialtothepresentdocument.ForewordThisEuropeanStandard(Telecommunicationsseries)hasbeenproducedbytheSpecialMobileGroup(SMG).ThepresentdocumentspecifiesthespeechcodectobeusedfortheGSMhalfratechannelforthedigitalcellulartelecommunicationssystem.Thepresentdocumentispartofaseriescoveringthehalfratespeechtrafficchannelsasdescribedbelow:GSM06.02"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;Halfratespeechprocessingfunctions".GSM06.06"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;ANSI-CcodefortheGSMhalfratespeechcodec".GSM06.07"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;TestsequencesfortheGSMhalfratespeechcodec".GSM06.20"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;Halfratespeechtranscoding".GSM06.21"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;Substitutionandmutingoflostframesforhalfratespeechtrafficchannels".GSM06.22"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;Comfortnoiseaspectsforhalfratespeechtrafficchannels".GSM06.41"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;DiscontinuousTransmission(DTX)forhalfratespeechtrafficchannels".GSM06.42"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;VoiceActivityDetector(VAD)forhalfratespeechtrafficchannels".ThecontentsofthepresentdocumentissubjecttocontinuingworkwithinSMGandmaychangefollowingformalSMGapproval.ShouldSMGmodifythecontentsofthepresentdocumentitwillbere-releasedwithanidentifyingchangeofreleasedateandanincreaseinversionnumberasfollows:Version7.x.ywhere:7indicatesRelease1998ofGSMPhase2+.xtheseconddigitisincrementedforallchangesofsubstance,i.e.technicalenhancements,corrections,updates,etc.ythethirddigitisincrementedwheneditorialonlychangeshavebeenincorporatedinthespecification.SIST EN 300 969 V7.0.1:2003



ETSIETSIEN300969V7.0.1(2000-01)6(GSM06.20version7.0.1Release1998)NationaltranspositiondatesDateofadoptionofthisEN:31December1999DateoflatestannouncementofthisEN(doa):31March2000DateoflatestpublicationofnewNationalStandardorendorsementofthisEN(dop/e):30September2000DateofwithdrawalofanyconflictingNationalStandard(dow):30September2000SIST EN 300 969 V7.0.1:2003



ETSIETSIEN300969V7.0.1(2000-01)7(GSM06.20version7.0.1Release1998)1ScopeThepresentdocumentspecifiesthespeechcodectobeusedfortheGSMhalfratechannel.Italsospecifiesthetestmethodstobeusedtoverifythatthecodecimplementationcomplieswiththepresentdocument.TherequirementsaremandatoryforthecodectobeusedeitherinGSMMobileStations(MS)sorBaseStationSystems(BSS)sthatutilizethehalfrateGSMspeechtrafficchannel.2ReferencesThefollowingdocumentscontainprovisionswhich,throughreferenceinthistext,constituteprovisionsofthepresentdocument.•Referencesareeitherspecific(identifiedbydateofpublication,editionnumber,versionnumber,etc.)ornon-specific.•Foraspecificreference,subsequentrevisionsdonotapply.•Foranon-specificreference,thelatestversionapplies.•Anon-specificreferencetoanETSshallalsobetakentorefertolaterversionspublishedasanENwiththesamenumber.•ForthisRelease1998document,referencestoGSMdocumentsareforRelease1998versions(version7.x.y).[1]GSM06.02:"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;Halfratespeechprocessingfunctions".[2]GSM06.06:"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;ANSI-CcodefortheGSMhalfratespeechcodec".[3]GSM06.07:"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;TestsequencesfortheGSMhalfratespeechcodec".3Definitions,symbolsandabbreviations3.1DefinitionsForthepurposesofthepresentdocument,thefollowingtermsanddefinitionsapply.adaptivecodebook:Theadaptivecodebookisderivedfromthelongtermfilterstate.Thelagvaluecanbeviewedasanindexintotheadaptivecodebook.adaptivepitchprefilter:IntheGSMhalfratespeechdecoder,thisfilterisappliedtotheexcitationsignaltoenhancetheperiodicityofthereconstructedspeech.Notethatthisisdonepriortotheapplicationoftheshorttermfilter.adaptivespectralpostfilter:IntheGSMhalfratespeechdecoder,thisfilterisappliedtotheoutputoftheshorttermfiltertoenhancetheperceptualqualityofthereconstructedspeech.allowablelags:ThesetoflagvalueswhichmaybecodedbytheGSMhalfratespeechencoderandtransmittedtotheGSMhalfratespeechdecoder.Thissetcontainsbothintegerandfractionalvalues(seetable3).analysiswindow:Foreachframe,theshorttermfiltercoefficientsarecomputedusingthehighpassfilteredspeechsampleswithintheanalysiswindow.Theanalysiswindowis170samplesinlength,andiscenteredaboutthelast100samplesintheframe.basisvectors:AsetofM,M1,orM2vectorsoflengthNsusedtogeneratetheVSELPcodebookvectors.Thesevectorsarenotnecessarilyorthogonal.SIST EN 300 969 V7.0.1:2003



ETSIETSIEN300969V7.0.1(2000-01)8(GSM06.20version7.0.1Release1998)closedlooplagsearch:Aprocessofdeterminingthenearoptimallagvaluefromtheweightedinputspeechandthelongtermfilterstate.closedlooplagtrajectory:Foragivenframe,thesequenceofnearoptimallagvalueswhoseelementscorrespondtoeachofthefoursubframesasdeterminedbytheclosedlooplagsearch.codebook:Asetofvectorsusedinavectorquantizer.Codeword(ORCode):AnM,M1,orM2bitsymbolindicatingthevectortobeselectedfromaVSELPcodebook.Delta(LAG)code:Afourbitcodeindicatingthechangeinlagvalueforasubframerelativetotheprevioussubframe'scodedlag.Forframesinwhichthelongtermpredictorisenabled(MODE1,2,or3),thelagforsubframe1isindependentlycodedusingeightbits,anddeltacodesareusedforsubframes2,3,and4.directformcoefficients:Oneoftheformatsforstoringtheshorttermfilterparameters.Allfilterswhichareusedtomodifyspeechsamplesusedirectformcoefficients.fractionallags:Asetoflagvalueshavingsub-sampleresolution.NotethatnoteveryfractionallagvalueconsideredintheGSMhalfratespeechencoderisanallowablelagvalue.frame:Atimeintervalequalto20ms,or160samplesatan8kHzsamplingrate.harmonicnoiseweightingfilter:Thisfilterexploitsthenoisemaskingpropertiesofthespectralpeakswhichoccuratharmonicsofthepitchfrequencybyweightingtheresidualerrorlessinregionsnearthepitchharmonicsandmoreinregionsawayfromthem.Notethatthisfilterisonlyusedwhenthelongtermfilterisenabled(MODE=1,2or3).highpassfilter:Thisfilterisusedtode-emphasizethelowfrequencycomponentsoftheinputspeechsignal.integerlags:Asetoflagvalueshavingwholesampleresolution.interpolatingfilter:AnFIRfilterusedtoestimatesub-sampleresolutionsamples,givenaninputsampledwithintegersampleresolution.lag:Thelongtermfilterdelay.Thisistypicallythepitchperiod,oramultipleorsub-multipleofit.longtermfilter:Thisfilterisusedtogeneratetheperiodiccomponentintheexcitationforthecurrentsubframe.ThisfilterisonlyenabledforMODE=1,2or3.LPCcoefficients:LinearPredictiveCoding(LPC)coefficientsisagenericdescriptivetermfordescribingtheshorttermfiltercoefficients.openlooplagsearch:Aprocessofestimatingthenearoptimallagdirectlyfromtheweightedspeechinput.Thisisdonetonarrowtherangeoflagvaluesoverwhichtheclosedlooplagsearchshallbeperformed.openlooplagtrajectory:Foragivenframe,thesequenceofnearoptimallagvalueswhoseelementscorrespondtothefoursubframesasdeterminedbytheopenlooplagsearch.reflectioncoefficients:Analternativerepresentationoftheinformationcontainedintheshorttermfilterparameters.residual:Theoutputsignalresultingfromaninversefilteringoperation.shorttermfilter:Thisfilterintroduces,intotheexcitationsignal,shorttermcorrelationwhichmodelstheimpulseresponseofthevocaltract.softinterpolation:Aprocesswhereinadecisionismadeforeachframetouseeitherinterpolatedoruninterpolatedshorttermfilterparametersforthefoursubframesinthatframe.softinterpolationbit:Aonebitcodeindicatingwhetherornotinterpolationoftheshorttermparametersistobeusedinthecurrentframe.spectralnoiseweightingfilter:Thisfilterexploitsthenoisemaskingpropertiesoftheformants(vocaltractresonances)byweightingtheresidualerrorlessinregionsneartheformantfrequenciesandmoreinregionsawayfromthem.subframe:Atimeintervalequalto5ms,or40samplesatan8kHzsamplingrate.SIST EN 300 969 V7.0.1:2003



ETSIETSIEN300969V7.0.1(2000-01)9(GSM06.20version7.0.1Release1998)vectorquantization:Amethodofgroupingseveralparametersintoavectorandquantizingthemsimultaneously.GSP0vectorquantizer:Theprocessofvectorquantization,itsintermediateparameters(GSandP0)forthecodingoftheexcitationgainsβandγ.VSELPcodebook:Vector-SumExcitedLinearPredictive(VSELP)codebook,usedintheGSMhalfratespeechcoder,whereineachcodebookvectorisconstructedasalinearcombinationofthefixedbasisvectors.zeroinputresponse:Theoutputofafilterduetoallpastinputs,i.e.duetothepresentstateofthefilter,giventhataninputofzerosisapplied.zerostateresponse:Theoutputofafilterduetothepresentinput,giventhatnopastinputshavebeenapplied,i.e.giventhestateinformationinthefilterisallzeroes.3.2SymbolsForthepurposesofthepresentdocument,thefollowingsymbolsapply:A(z)Shorttermspectralfilter.αiTheLPCcoefficients.bL(n)Theoutputofthelongtermfilterstate(adaptivecodebook)forlagL.βThelongtermfiltercoefficient.C(z)Secondweightingfilter.e(n)Weightederrorsignalfj(i)Thecoefficientsofthejthphaseofthe10thorderinterpolatingfilterusedtoevaluatecandidatefractionallagvalues;irangesfrom0toPf-1.gj(i)Thecoefficientsofthejthphaseofthe6thorderinterpolatingfilterusedtointerpolateC'sandG'saswellasfractionallagsintheharmonicnoiseweighting;irangesfrom0toPg-1.γThegainappliedtothevector(s)selectedfromtheVSELPcodebook(s).HAM2bitcodeindicatingthevectortobeselectedfromthesecondVSELPcodebook(whenoperatinginmode0).IAMorM1bitcodeindicatingthevectortobeselectedfromoneofthetwofirstVSELPcodebooks.LThelongtermfilterlagvalue.Lmax142(samples),themaximumpossiblevalueforthelongtermfilterlag.Lmin21(samples),theminimumpossiblevalueforthelongtermfilterlag.M9,thenumberofbasisvectors,andthenumberofbitsinacodeword,fortheVSELPcodebookusedinmodes1,2,and3.M17,thenumberofbasisvectors,andthenumberofbitsinacodeword,forthefirstVSELPcodebookusedinmode0.M27,thenumberofbasisvectors,andthenumberofbitsinacodeword,forthesecondVSELPcodebookusedinmode0.MODEAtwobitcodeindicatingthemodeforthecurrentframe(seeannexA).NA170,thelengthoftheanalysiswindow.Thisisthenumberofhighpassfilteredspeechsamplesusedtocomputetheshorttermfilterparametersforeachframe.NF160,thenumberofsamplesperframe(atasamplingrateof8kHz).Np10,theshorttermfilterorder.Ns40,thenumberofsamplespersubframe(atasamplingrateof8kHz).P16,thenumberofbitsintheprequantizerforther1-r3vectorquantizer.P25,thenumberofbitsintheprequantizerforther4-r6vectorquantizer.P34,thenumberofbitsintheprequantizerforther7-r10vectorquantizer.PfTheorderofonephaseofaninterpolatingfilterusedtoevaluatecandidatefractionallagvalues.Pfequals10forj≠0andequalto1forj=0.PgTheorderofonephaseofaninterpolatingfilter,fj(n),usedtointerpolateC'sandG'saswellasfractionallagsintheharmonicnoiseweighting,Pgequals6.pitchThetimedurationbetweentheglottalpulseswhichresultwhenthevocalchordsvibrateduringspeechproduction.Q111,thenumberofbitsinther1-r3reflectioncoefficientvectorquantizer.Q29,thenumberofbitsinther4-r6reflectioncoefficientvectorquantizer.Q38,thenumberofbitsinther7-r10reflectioncoefficientvectorquantizer.SIST EN 300 969 V7.0.1:2003



ETSIETSIEN300969V7.0.1(2000-01)10(GSM06.20version7.0.1Release1998)R0Afivebitcodeusedtoindicatetheenergylevelinthecurrentframe.r(n)Thelongtermfilterstate(thehistoryoftheexcitationsignal);n<0rL(n)ThelongtermfilterstatewiththeadaptivecodebookoutputforlagLappended.s'(n)Synthesizedspeech.W(z)Spectralweightingfilter.λhnwTheharmonicnoiseweightingfiltercoefficient.ξTheadaptivepitchprefiltercoefficient.xCeilingfunction:thelargestintegerywherey


ETSIETSIEN300969V7.0.1(2000-01)11(GSM06.20version7.0.1Release1998)4FunctionaldescriptionoftheGSMhalfratespeechcodecTheGSMhalfratecodecusestheVSELP(Vector-SumExcitedLinearPrediction)algorithm.TheVSELPalgorithmisananalysis-by-synthesiscodingtechniqueandbelongstotheclassofspeechcodingalgorithmsknownasCELP(CodeExcitedLinearPrediction).TheGSMhalfratecodec'sencodingprocessisperformedona20msspeechframeatatime.Aspeechframeofthesampledspeechwaveformisreadandbasedonthecurrentwaveformandthepasthistoryofthewaveform,thecodecencoderderives18parametersthatdescribeit.Theparametersextractedaregroupedintothefollowingthreegeneralclasses:-energyparameters(R0andGSP0);-spectralparameters(LPCandINT_LPC);-excitationparameters(LAGandCODE).Theseparametersarequantizedinto112bitsfortransmissionasdescribedinannexAandtheirorderofoccurrenceoverAbisisgiveninannexB.TheGSMhalfratecodecisananalysis-by-synthesiscodec,thereforethespeechdecoderisprimarilyasubsetofthespeechencoder.Thequantizedparametersaredecodedandasyntheticexcitationisgeneratedusingtheenergyandexcitationparameters.Thesyntheticexcitationisthenfilteredtoprovidethespectralinformationresultinginthegenerationofthesynthesizedspeech(seefigure1).GSMhalfratespeechcodecSpeechencoderSpeechdecoderspeechtransmittedspeechparametersreceivedspeechparameterssynthesisedspeechFigure1:BlockdiagramoftheGSMhalfratespeechcodecTheANSI-CcodethatdescribestheGSMhalfratespeechcodecisgiveninGSM06.06[2]andthetestsequencesinGSM06.07[3](seeclause5forthecodechomingtestsequences).4.1GSMhalfratespeechencoderTheGSMhalfratespeechencoderusesananalysisbysynthesisapproachtodeterminethecodetousetorepresenttheexcitationforeachsubframe.ThecodebooksearchprocedureconsistsoftryingeachcodevectorasapossibleexcitationfortheCodeExcitedLinearPredictive(CELP)synthesizer.Thesynthesizedspeechs'(n)iscomparedagainsttheinputspeechandadifferencesignalisgenerated.Thisdifferencesignalisthenfilteredbyaspectralweightingfilter,W(z),(andpossiblyasecondweightingfilter,C(z))togenerateaweightederrorsignal,e(n).Thepowerine(n)iscomputed.Thecodevectorwhichgeneratestheminimumweightederrorpowerischosenasthecodevectorforthatsubframe.Thespectralweightingfilterservestoweighttheerrorspectrumbasedonperceptualconsiderations.Thisweightingfilterisafunctionofthespeechspectrumandcanbeexpressedintermsoftheαparametersoftheshortterm(spectral)filter.SIST EN 300 969 V7.0.1:2003



ETSIETSIEN300969V7.0.1(2000-01)12(GSM06.20version7.0.1Release1998)()WzzziiiNiiiNpp=−−−=−=1111αα~(1)Thecomputationoftheαicoefficientsisdescribedinsubclause4.1.7.ThesecondweightingfilterC(z),ifused,isaharmonicweightingfilterandisusedtocontroltheamountoferrorintheharmonicsofthespeechsignal.Iftheweightingfilter(s)aremovedtobothinputpathstothesubtracter,anequivalentconfigurationisobtainedasshowninfigure2.Σ( )2VSELPCodebookX_IγInputspeechs(n)y(n)y'(n)e(n)DetermineLPCcoefficientsβLtotalweightederrorLPC1LPC2LPC3R0INT_LPCMODELAG-1CODE_1LAG_2CODE_2LAG_3CODE_3LAG_4CODE_4GSP0-1GSP0_2GSP0_3GSP0_4W(z)C(z)FindMinimumoverLandallIB(z)H(z)C(z)βγfindoptimalgainsand.Figure2:BlockdiagramoftheGSMhalfratespeechencoder(MODE=1,2and3)HereH(z)isthecombinationofA(z),theshortterm(spectral)filter,andW(z),thespectralweightingfilter.ThesefiltersarecombinedsincethedenominatorofA(z)iscancelledbythenumeratorofW(z).SIST EN 300 969 V7.0.1:2003



ETSIETSIEN300969V7.0.1(2000-01)13(GSM06.20version7.0.1Release1998)()HzziiiNp=−−=111~α(2)Therearetwoapproachesthatcanbeusedforcalculatingthegain,γ.Thegaincanbedeterminedpriortocodebooksearchbasedonresidualenergy.Thisgainwouldthenbefixedforthecodebooksearch.Anotherapproachistooptimizethegainforeachcodevectorduringthecodebooksearch.Thecodevectorwhichyieldstheminimumweightederrorwouldbechosenanditscorrespondingoptimalgainwouldbeusedforγ.Thelatterapproachgenerallyyieldsbetterresultssincethegainisoptimizedforeachcodevector.Thisapproachalsoimpliesthatthegaintermneedstobeupdatedatthesubframerate.Theoptimalcodeandgainforthistechniquecanbecomputedasfollows:Theinputspeechisfirstfilteredbyahighpassfilterasdescribedinsubclause4.1.1.Theshorttermfilterparametersarecomputedfromthefilteredinputspeechonceperframe.Afastfixedpointcovariancelatticetechniqueisused.Subclauses4.1.3and4.1.4describesindetailhowtheshorttermparametersaredeterminedandquantized.Anoverallframeenergyisalsocomputedandcodedonceperframe.Onceperframe,oneofthefourvoicingmodesisselected.IfMODE≠0,thelongtermpredictorisusedandthelongtermpredictorlag,L,isupdatedatthesubframerate.LandaVSELPcodewordareselectedsequentially.Eachischosentominimizetheweightedmeansquareerror.Thelong-termfiltercoefficient,β,andthecodebookgain,γ,areoptimizedjointly.Subclause4.1.8describesthetechniqueforselectingfromamongthevoicingmodesand,ifoneofvoicedmodesischosen,determiningthelong-termfilterlag.Subclause4.1.10describesanefficienttechniqueforjointlyoptimizingβ,γandthecodewordselection.Subclause4.1.10alsoincludesthedescriptionofthefastVSELPcodebooksearchtechnique.Theβandγparametersaretransformedtoequivalentparametersusingtheframeenergyterm,andarevectorquantizedeverysubframe.Thecodingoftheframeenergyandtheβ andγparametersisdescribedinsubclause4.1.11.4.1.1High-passfilterThe13bitlinearPulseCodeModulated(PCM)inputspeech,x(n),isfilteredbyafourthorderpole-zerohighpassfilter.Thisfiltersuppressesthefrequencycomponentsoftheinputspeechwhicharebelow120Hz.Thefilterisimplementedasacascadeoftwosecond-orderInfiniteImpulseResponse(IIR)filters.Incorporatedintothefiltercoefficientsisagainof0,5.Thedifferenceequationforthefirstfilteris:()()()~~,,ynbxniaynjiijj=−+−==102112(3)where:b10=0,335052b11=-0,669983a11=0,926117b12=0,335052a12=-0,429413Thedifferenceequationforthesecondfilteris:()()()ynbyniaynjiijj=−+−==202212,,~(4)where:b20=0,335052b21=-0,669434a21=0,965332b22=0,335052a22=-0,469513SIST EN 300 969 V7.0.1:2003



ETSIETSIEN300969V7.0.1(2000-01)14(GSM06.20version7.0.1Release1998)4.1.2SegmentationAsamplebuffercontainingtheprevious195inputhighpassfilteredspeechsamples,y(n),isshiftedsothattheoldest160samplesareshiftedoutwhilethenext160inputsamplesareshiftedin.Theoldest160samplesinthebuffercorrespondtothenextframeofsamplestobeencoded.Theanalysisintervalcomprisesthemostrecent170samplesinthebuffer.Thesamplesinthebufferarelabelledass(n)where0≤n≤194ands(0)isthefirst(oldest)sample.4.1.3FixedPointLatticeTechnique(FLAT)Letrjrepresentthejthreflectioncoefficient.TheFLATalgorithmforthedeterminationofthereflectioncoefficientsisstatedasfollows:STEP1Computethecovariance(autocorrelation)matrixfromtheinputspeech:()()()φiksnisnknNNpA,=+−+−=24240≤i,k≤Np(5)STEP2Theφ(i,k)arrayismodifiedbywindowing()()()φφ',,ikikwik=−0≤i,k≤Np(6)STEP3()()Fikik0,',=φ0≤i,k≤Np-1(7)()()Bikik011,',=++φ0≤i,k≤Np-1(8)()()Cikik01,',=+φ0≤i,k≤Np-1(9)STEP4setj=1STEP5Computerj()()()()()()rCCNjNjFBFNjNjBNjNjjjjppjjjppjpp=−+−
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.