SIST EN 300 967 V8.0.1:2003
(Main)Digital cellular telecommunications system (Phase 2+) (GSM); Half rate speech; ANSI-C code for the GSM half rate speech codec (GSM 06.06 version 8.0.1 Release 1999)
- Abstract
Update to Version 8.0.0 CRs from SMG#31
- 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
- T-172
SIST EN 300 967 V8.0.1:2003 is an ETSI European Standard, published by SIST, for the Digital cellular telecommunications system (Phase 2+) (GSM) half rate speech codec. It provides the ANSI-C code for the GSM half rate speech codec, so implementers can build a bit-exact reference for speech transcoding and related functions. It is aimed at engineers and test teams who need the codec code, its file structure, and the verification files used with it.
What does SIST EN 300 967 V8.0.1:2003 specify?
SIST EN 300 967 V8.0.1:2003 specifies an electronic copy of the ANSI-C code for the GSM half rate speech codec. The document also explains how the code is organized, how the supplied programs are run, and where the supporting files are located.
The main structure is:
- Clause 1 - Scope
- Clause 2 - References
- Clause 3 - Definitions and abbreviations
- Clause 4 - C code structure
- Clause 5 - ANSI-C code for the GSM half rate speech codec
- Annex A - Informative change request history
The scope links this code to bit-exact implementation of the GSM half rate speech transcoder, Voice Activity Detector (VAD), comfort noise, Discontinuous Transmission (DTX), and examples for substituting and muting lost frames. In practice, that means the standard is not just describing behavior in words - it gives the reference code and the packaging needed to use it.
What are the key requirements of SIST EN 300 967 V8.0.1:2003?
The most important technical points are in Clause 4 and Clause 5. They tell users what code is supplied, how it is structured, and how to run it for encoding, decoding, and verification.
Code organization and portability
Clause 4 says the ANSI-C code was verified on several systems, including Sun workstations, IBM PC/AT-compatible computers with Borland Turbo-C, and VAX/Digital Equipment Corporation C compilers. ANSI-C 9899 was selected to support portability. For a user, this means the implementation is intended to move across platforms with minimal language issues, but file formats and word order still need attention during installation and testing.
Directory structure and support files
Clause 4.1 gives the directory structure. The c directory contains all source code, header files, and ROM data and is the essential code set. The d directory contains speech coder installation verification data files, which are written and read as 16-bit words and may require byteswapping. The utils directory provides helper programs, including topcwild, tosnwild, swapbin, and reid, while exec contains makefiles and built executables.
How the programs are used
Clause 4.2 describes two separate programs: gsm_hr and reid. gsm_hr runs in encoding-only mode or decoding-only mode, using *.inp to *.cod for encoding and *.dec to *.out for decoding. reid translates a *.cod file into a *.dec file in error-free mode (EP0). In practice, this gives developers a repeatable way to test both encoder and decoder paths.
Code hierarchy and call graphs
Clause 4.3 explains that Figures 1 to 7 are call graphs for the codec, including the decoder, encoder, LPC quantization, open-loop lag search, subframe processing, comfort noise, and VAD. This helps engineers trace function dependencies when debugging or porting the code. The figures also show that standard C functions and basic arithmetic operations are omitted from the graphs.
Bit-exact codec code
Clause 5 contains the ANSI-C code for the GSM half rate speech codec, provided in the accompanying archive. This is the part implementers use when they need the reference algorithm itself rather than a description of it.
What terms does SIST EN 300 967 V8.0.1:2003 define?
- ANSI - American National Standards Institute, the body behind the C language standard referenced here.
- GSM - Global System for Mobile communications, the mobile system covered by the standard.
- DTX - Discontinuous Transmission, a speech traffic-channel feature referenced by the codec code.
- VAD - Voice Activity Detector, the speech-activity function used with DTX.
- I/O - Input/Output, used in the file handling described for the codec programs.
- ROM - Read Only Memory, used here for code data kept in the source directory.
- CODEC - coder-decoder, the speech coding function implemented by the supplied ANSI-C code.
Who uses SIST EN 300 967 V8.0.1:2003?
This standard is used by GSM software developers, speech codec implementers, and telecom equipment vendors working on Phase 2+ half rate speech. It is also used by verification engineers and lab teams who need to run the supplied test data and compare bit-exact results. Quality and integration teams use it to check codec behavior in transcoding, comfort noise, DTX, VAD, and lost-frame handling.
What changed in SIST EN 300 967 V8.0.1:2003 from the previous edition?
SIST EN 300 967 V8.0.1:2003 is an update to Version 8.0.0 CRs from SMG#31. Annex A records the change request history that led to this publication.
Which standards are used with SIST EN 300 967 V8.0.1:2003?
| Standard | What it contributes |
|---|---|
| GSM01.04 | Abbreviations and acronyms used in the GSM series |
| GSM06.20 | Half rate speech transcoding, which uses the code in this document |
| GSM06.21 | Substitution and muting of lost frames for half rate speech traffic channels |
| GSM06.22 | Comfort noise aspects for half rate speech traffic channels |
| GSM06.41 | Discontinuous Transmission (DTX) for half rate speech traffic channels |
| GSM06.42 | Voice Activity Detector (VAD) for half rate speech traffic channels |
| GSM06.07 | Test sequences for the GSM half rate speech codec |
| ANSI 9899 | The C language standard used for the code |
What does the SIST EN 300 967 V8.0.1:2003 document contain?
The document contains a directory map, program execution notes, and call graphs that show the internal structure of the codec implementation. Table 1 lists the directories and their contents, while Figures 1 to 7 show the encoder, decoder, VAD, comfort noise, and related call structures. Clause 4 also describes the gsm_hr and reid programs and how they are used with the supplied files, and Annex A gives the change request history for earlier versions and release updates.
Get Certified
Connect with accredited certification bodies for this standard

ANCE
Mexican certification and testing association.

Intertek Slovenia
Intertek testing, inspection, and certification services in Slovenia.
LNE (Laboratoire National de Métrologie et d'Essais)
French national laboratory for metrology and testing.
Sponsored listings
Frequently Asked Questions
SIST EN 300 967 V8.0.1:2003 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Digital cellular telecommunications system (Phase 2+) (GSM); Half rate speech; ANSI-C code for the GSM half rate speech codec (GSM 06.06 version 8.0.1 Release 1999)". This standard covers: Update to Version 8.0.0 CRs from SMG#31
Update to Version 8.0.0 CRs from SMG#31
SIST EN 300 967 V8.0.1:2003 is classified under the following ICS (International Classification for Standards) categories: 33.070.50 - Global System for Mobile Communication (GSM). The ICS classification helps identify the subject area and facilitates finding related standards.
SIST EN 300 967 V8.0.1:2003 is associated with the following European legislation: Standardization Mandates: T-172. When a standard is cited in the Official Journal of the European Union, products manufactured in conformity with it benefit from a presumption of conformity with the essential requirements of the corresponding EU directive or regulation.
SIST EN 300 967 V8.0.1:2003 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.
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; ANSI-C code for the GSM half rate speech codec (GSM 06.06 version 8.0.1 Release 1999)33.070.50Globalni sistem za mobilno telekomunikacijo (GSM)Global System for Mobile Communication (GSM)ICS:Ta slovenski standard je istoveten z:EN 300 967 Version 8.0.1SIST EN 300 967 V8.0.1:2003en01-december-2003SIST EN 300 967 V8.0.1:2003SLOVENSKI
STANDARD
ETSIEN300967V8.0.1(2000-11)EuropeanStandard(Telecommunicationsseries)Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;ANSI-CcodefortheGSMhalfratespeechcodec(GSM06.06version8.0.1Release1999)GLOBALSYSTEMFORMOBILECOMMUNICATIONSRSIST EN 300 967 V8.0.1:2003
ETSIETSIEN300967V8.0.1(2000-11)2(GSM06.06version8.0.1Release1999)ReferenceREN/SMG-110606Q8KeywordsCODEC,Digitalcellulartelecommunicationssystem,GlobalSystemforMobilecommunications(GSM),speech,ANSI-CcodeETSI650RoutedesLuciolesF-06921SophiaAntipolisCedex-FRANCETel.:+33492944200Fax:+33493654716SiretN°34862356200017-NAF742CAssociationàbutnonlucratifenregistréeàlaSous-PréfecturedeGrasse(06)N°7803/88ImportantnoticeIndividualcopiesofthepresentdocumentcanbedownloadedfrom:http://www.etsi.orgThepresentdocumentmaybemadeavailableinmorethanoneelectronicversionorinprint.Inanycaseofexistingorperceiveddifferenceincontentsbetweensuchversions,thereferenceversionisthePortableDocumentFormat(PDF).Incaseofdispute,thereferenceshallbetheprintingonETSIprintersofthePDFversionkeptonaspecificnetworkdrivewithinETSISecretariat.Usersofthepresentdocumentshouldbeawarethatthedocumentmaybesubjecttorevisionorchangeofstatus.InformationonthecurrentstatusofthisandotherETSIdocumentsisavailableathttp://www.etsi.org/tb/status/Ifyoufinderrorsinthepresentdocument,sendyourcommentto:editor@etsi.frCopyrightNotificationNopartmaybereproducedexceptasauthorizedbywrittenpermission.Thecopyrightandtheforegoingrestrictionextendtoreproductioninallmedia.©EuropeanTelecommunicationsStandardsInstitute2000.Allrightsreserved.SIST EN 300 967 V8.0.1:2003
ETSIETSIEN300967V8.0.1(2000-11)3(GSM06.06version8.0.1Release1999)ContentsIntellectualPropertyRights.4Foreword.41Scope.62References.63Definitionsandabbreviations.63.1Definitions.63.2Abbreviations.74Ccodestructure.74.1Directorystructure.74.2Programexecution.84.3Codehierarchy.85ANSI-CcodefortheGSMhalfratespeechcodec.13AnnexA(informative):ChangeRequestHistory.14History.15SIST EN 300 967 V8.0.1:2003
ETSIETSIEN300967V8.0.1(2000-11)4(GSM06.06version8.0.1Release1999)IntellectualPropertyRightsIPRsessentialorpotentiallyessentialtothepresentdocumentmayhavebeendeclaredtoETSI.TheinformationpertainingtotheseessentialIPRs,ifany,ispubliclyavailableforETSImembersandnon-members,andcanbefoundinETSISR000314:"IntellectualPropertyRights(IPRs);Essential,orpotentiallyEssential,IPRsnotifiedtoETSIinrespectofETSIstandards",whichisavailablefromtheETSISecretariat.LatestupdatesareavailableontheETSIWebserver(http://www.etsi.org/ipr).PursuanttotheETSIIPRPolicy,noinvestigation,includingIPRsearches,hasbeencarriedoutbyETSI.NoguaranteecanbegivenastotheexistenceofotherIPRsnotreferencedinETSISR000314(ortheupdatesontheETSIWebserver)whichare,ormaybe,ormaybecome,essentialtothepresentdocument.ForewordThisEuropeanStandard(Telecommunicationsseries)hasbeenproducedbyETSITechnicalCommitteeSpecialMobileGroup(SMG).Anelectronicattachmentaccompaniesthepresentdocument,thiscontainsclause5,thebit-exactANSI-CcodefortheGSMhalfratecodec.Thepresentdocumentspecifiesthehalfratespeechtrafficchannelsforthedigitalcellulartelecommunicationssystem.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".SIST EN 300 967 V8.0.1:2003
ETSIETSIEN300967V8.0.1(2000-11)5(GSM06.06version8.0.1Release1999)ThecontentsofthepresentdocumentissubjecttocontinuingworkwithinSMGandmaychangefollowingformalSMGapproval.ShouldSMGmodifythecontentsofthepresentdocumentitwillbere-releasedwithanidentifyingchangeofreleasedateandanincreaseinversionnumberasfollows:Version8.x.ywhere:8indicatesRelease1999ofGSMPhase2+.xtheseconddigitisincrementedforallchangesofsubstance,i.e.technicalenhancements,corrections,updates,etc.ythethirddigitisincrementedwheneditorialonlychangeshavebeenincorporatedinthespecification.NationaltranspositiondatesDateofadoptionofthisEN:3November2000DateoflatestannouncementofthisEN(doa):28February2001DateoflatestpublicationofnewNationalStandardorendorsementofthisEN(dop/e):31August2001DateofwithdrawalofanyconflictingNationalStandard(dow):31August2001SIST EN 300 967 V8.0.1:2003
ETSIETSIEN300967V8.0.1(2000-11)6(GSM06.06version8.0.1Release1999)1ScopeThepresentdocumentcontainsanelectroniccopyoftheANSI-CcodefortheGSMhalfratecodec.TheANSI-Ccodeisnecessaryforabitexactimplementationofthehalfratespeechtranscoder(GSM06.20[2]),VoiceActivityDetector(GSM06.42[6]),comfortnoise(GSM06.22[4]),DiscontinuousTransmission(GSM06.41[5])andexamplesolutionsforsubstitutingandmutingoflostframes(GSM06.21[3]).2ReferencesThefollowingdocumentscontainprovisionswhich,throughreferenceinthistext,constituteprovisionsofthepresentdocument.• Referencesareeitherspecific(identifiedbydateofpublication,editionnumber,versionnumber,etc.)ornon-specific.• Foraspecificreference,subsequentrevisionsdonotapply.• Foranon-specificreference,thelatestversionapplies.• Anon-specificreferencetoanETSshallalsobetakentorefertolaterversionspublishedasanENwiththesamenumber.• ForthisRelease1999document,referencestoGSMdocumentsareforRelease1999versions(version8.x.y).[1]GSM01.04:"Digitalcellulartelecommunicationsystem(Phase2+);Abbreviationsandacronyms".[2]GSM06.20:"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;Halfratespeechtranscoding".[3]GSM06.21:"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;Substitutionandmutingoflostframeforhalfratespeechtrafficchannels".[4]GSM06.22:"Digitalcellulartelecommunicationssystem(Phase2+);Halfratespeech;Comfortnoiseaspectsforhalfratespeechtrafficchannels".[5]GSM06.41:"Digitalcellulartelecommunic
...



