A.3 Format for test sequence distribution

06.103GPPFull Rate Speech TranscodingTS

A.3.1 Type of files provided

Three types of files are provided:

‑ Files for input of the encoder: *.INP;

‑ Files for input of decoder or comparison with encoder output: *.COD;

‑ Files for comparison with the decoder output: *.OUT;

Five disks are provided containing all the digital test sequences. Disk1.zip contains all test sequences that are required for a codec implementation without codec homing while disk2.zip and disk3.zip contain the test sequences required for a codec implementation with codec homing. Disk4.zip and disk5.zip contain the 8 bit test sequences with A-law and ‑law compression, respectively.

Disk1.zip contains the SEQ01.INP, SEQ01.COD, SEQ01.OUT, SEQ02.INP, SEQ02.COD, SEQ02.OUT, SEQ03.INP, SEQ03.COD, SEQ03.OUT, SEQ04.INP, SEQ04.COD, SEQ04.OUT, SEQ05.COD, SEQ05.OUT files. Disk2.zip contains the SEQ01H.INP, SEQ01H.COD, SEQ01H.OUT, SEQ02H.INP, SEQ02H.COD, SEQ02H.OUT files.

Disk3.zip contains the SEQ03H.INP, SEQ03H.COD, SEQ03H.OUT, SEQ04H.INP, SEQ04H.COD, SEQ04H.OUT, SEQ05H.COD, SEQ05H.OUT, SEQ06H.INP, SEQ06H.COD, HOMING01.COD, HOMING01.OUT, BITSYNC.INP, SEQSYNC.INP and SYNC000…159.COD files.

Disk4.zip contains the A-law compressed 8 bit test sequences with and without homing. All the files of disk1- 3.zip except for BITSYNC.INP, which is not necessary for TRAU testing, are on disk4.zip. The extension _A is added to the filenames in order to indicate A-law. The files HOMING01, SEQSYC and SYNC000… are renamed to HOM01_A, SEQSYN_A and SYN000_A, respectively.

Disk5.zip contains the -law compressed 8 bit test sequences with and without homing similar to disk4.zip. The _u in the filenames stands for -law.

Table A.3.1a/b gives the contents of the five disks and also the size in bytes and the number of frames for each test sequence file.

A.3.2 File format description

All the files with the linear 13 bit test sequences are written in binary using 16 bit words. This means that input samples (sop[k], on files: *.INP), output samples (srop[k], on files: *.OUT) and coded parameters (on files: *.COD) use 2 bytes each. Hence the sizes of the files are directly related to the number of processed frames.

For files with linear 13 bit sequences and .INP or .OUT extension type:

Size (in bytes) = No of frames * 160 * 2;

All files _x.INP and _x.OUT with the compressed 8 bit test sequences are written in binary using 1 byte per sample.

For files with compressed 8 bit sequences and _x.INP or _x.OUT type:

Size (in bytes) = No of frames * 160 * ;

For all files with .COD extension type:

Size (in bytes) = No of frames * 76 * 2;

Table A.3.1 shows the size of all the 13 bit linear files written in direct binary format. The size of the files containing the optional 8 bit test sequences with type _x.INP and _x.OUT is half the size shown in the table (disk4.zip and disk5.zip).

Table A.3.1a: Contents of disk1.zip (test sequences without codec homing frames and file sizes)

Disk No.

Purpose of Sequence

Name of Sequence

No. Of Frames

Size in Bytes

Justification

1/5

Codec test sequence

SEQ01.INP

584

186 880

Left

1/5

Codec test sequence

SEQ01.COD

584

88 768

Right

1/5

Codec test sequence

SEQ01.OUT

584

186 880

Left

1/5

Codec test sequence

SEQ02.INP

947

303 040

Left

1/5

Codec test sequence

SEQ02.COD

947

143 944

Right

1/5

Codec test sequence

SEQ02.OUT

947

303 040

Left

1/5

Codec test sequence

SEQ03.INP

673

215 360

Left

1/5

Codec test sequence

SEQ03.COD

673

102 296

Right

1/5

Codec test sequence

SEQ03.OUT

673

215 360

Left

1/5

Codec test sequence

SEQ04.INP

520

166 400

Left

1/5

Codec test sequence

SEQ04.COD

520

79 040

Right

1/5

Codec test sequence

SEQ04.OUT

520

166 400

Left

1/5

Decoder test sequence

SEQ05.COD

64

9 728

Right

1/5

Decoder test sequence

SEQ05.OUT

64

20 480

Left

Table A.3.1b: Contents of disk2.zip and disk3.zip (test sequences with codec homing frames and file sizes)

Disk No.

Purpose of Sequence

Name of Sequence

No. Of Frames

Size in Bytes

Justification

2/5

Codec test sequence

SEQ01H.INP

586

187 520

Left

2/5

Codec test sequence

SEQ01H.COD

586

89 072

Right

2/5

Codec test sequence

SEQ01H.OUT

586

187 520

Left

2/5

Codec test sequence

SEQ02H.INP

949

303 680

Left

2/5

Codec test sequence

SEQ02H.COD

949

144 248

Right

2/5

Codec test sequence

SEQ02H.OUT

949

303 680

Left

3/5

Codec test sequence

SEQ03H.INP

675

216 000

Left

3/5

Codec test sequence

SEQ03H.COD

675

102 600

Right

3/5

Codec test sequence

SEQ03H.OUT

675

216 000

Left

3/5

Codec test sequence

SEQ04H.INP

522

167 040

Left

3/5

Codec test sequence

SEQ04H.COD

522

79 344

Right

3/5

Codec test sequence

SEQ04H.OUT

522

167 040

Left

3/5

Decoder test sequence

SEQ05H.COD

66

10 032

Right

3/5

Decoder test sequence

SEQ05H.OUT

66

21 120

Left

3/5

Encoder-homing-frame

SEQ06H.INP

1

320

Left

3/5

Decoder-homing-frame

SEQ06H.COD

1

152

Right

3/5

Decoder homing test

HOMING01.COD

100

15 200

Right

3/5

Decoder homing test

HOMING01.OUT

100

32 000

Left

3/5

Bit Synchronization

BITSYNC.INP

39

1 2480

Left

3/5

Frame Synchronization (input)

SEQSYNC.INP

4

1 280

Left

3/5

3/5

3/5

"
"
3/5

Frame Synchronization (output)

SYNC000.COD

SYNC001.COD

SYNC002.COD

"

"

"

SYNC159.COD

1

1

1

"

"

"

1

152

152

152

"

"

"

152

Right

Right

Right

"

"

"

Right

Annex B (informative):
Test sequence disks

Provided in archive ts_100961v070100p0.zip which accompanies the present document.

Annex C (informative):
Change History

Change history

SMG No.

TDoc. No.

CR. No.

Section affected

New version

Subject/Comments

SMG#07

4.0.2

ETSI Publication

SMG#20

5.0.1

Release 1996 version

SMG#23

97-737

97-741

A002

A003

5.1.1

UAP61 comments

Introduction of Homing and 8 bit Test Sequences for Full Rate Speech Transcoding

SMG#27

6.0.0

Release 1997 version

SMG#28

P-99-138

A004

whole document

7.0.0

Addition of mu-law (PCS 1900)

7.0.1

Update to Version 7.0.1 for OAP

7.0.2

Update to Version 7.0.2 for Publication

7.0.3

Inclusion of associated zip files

7.0.4

Inclusion of present text file

SMG#32

P-00

A008

7.1.0

Correction of figure 3.1

Change history

Date

TSG #

TSG Doc.

CR

Rev

Subject/Comment

Old

New

2001-06

12

SP-010303

A013

Correction of figure 3.2

7.1.0

7.2.0