Mercurial > hg > audiostuff
comparison spandsp-0.0.6pre17/README.testdata @ 4:26cd8f1ef0b1
import spandsp-0.0.6pre17
| author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
|---|---|
| date | Fri, 25 Jun 2010 15:50:58 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 3:c6c5a16ce2f2 | 4:26cd8f1ef0b1 |
|---|---|
| 1 Setting up test data for the supplied suite of test programs. | |
| 2 ------------------------------------------------------------- | |
| 3 | |
| 4 Some of the tests in the test suite for this package require test data files. These test | |
| 5 data files fall into four categories: | |
| 6 | |
| 7 - Some data files, such as those for some of the FAX tests, are generated by programs | |
| 8 in the package. | |
| 9 | |
| 10 - Some are freely distributable data files, from various sources. These are supplied | |
| 11 with the package. | |
| 12 | |
| 13 - Some are test data files from a standards body. These are the copyright material of | |
| 14 the standards body, and so cannot be distributed with this package. However, most of | |
| 15 these files can currently be downloaded at no charge from the standards body's web | |
| 16 site. This file describes which files are needed, and how they may be processed to | |
| 17 produce the right files in the right places for the tests. | |
| 18 | |
| 19 - The two industry standard sources of test data for DTMF decoders are Bellcore/Telcordia | |
| 20 and Mitel. Neither of these is either free, or supplied in a form directly usable | |
| 21 with the test suite. These data sources are expected by several tests, and not just | |
| 22 the DTMF decoder tests. Sad to say, you are on your own when trying to source data | |
| 23 for these tests. | |
| 24 | |
| 25 For the G.722 tests, obtain the file T-REC-G.722-198703-I!AppII!ZPF-E.zip from the ITU web site, | |
| 26 and place it in this directory. Then run | |
| 27 | |
| 28 ./unpack_g722_data.sh | |
| 29 | |
| 30 For the G.726 tests, obtain the file T-REC-G.726-199103-I!AppII!SOFT-ZST-E.zip from the ITU web | |
| 31 site, and place it in this directory. Then run | |
| 32 | |
| 33 ./unpack_g726_data.sh | |
| 34 | |
| 35 For the GSM 06.10 tests, obtain the file en_300961v080101p0.zip from the ETSI web site, | |
| 36 and place it in this directory. If you are able to run .exe (i.e. MS DOS or Windows) | |
| 37 files you can simply run | |
| 38 | |
| 39 ./unpack_gsm0610_data.sh | |
| 40 | |
| 41 If you are unable to run .exe files on the machine you are using (e.e. you are not using Cygwin, | |
| 42 Mingw, Wine, FreeDOS or something of that sort) you will need to find a machine which will. First, | |
| 43 run | |
| 44 | |
| 45 ./unpack_gsm0610_data.sh --no-exe | |
| 46 | |
| 47 This will leave 6 .EXE files in the etsitetss/gsm0610 directory. Take these to a machine which | |
| 48 can run .EXE files, and execute all of them. This should result in a number of files which end | |
| 49 with .COD, INP and .OUT. Copy these to the etsitests/gsm0610 directory, and run | |
| 50 | |
| 51 ./unpack_gsm0610_data.sh --no-exe-continue | |
| 52 | |
| 53 The remainder of the extraction and repacking of files should then take place. |
