README.v2
上传用户:touchwatch
上传日期:2007-01-06
资源大小:168k
文件大小:1k
- C version of the G728 (floating point)
- To use,
- Encoder:
- ccelp <input speech file> <output bitstream>
- Decoder:
- dcelp <input bitstream> <output speech file>
- To create,
- make all
- The speech files should be 2-byte per sample and contain no header.
- The bitstreams are written as 2-bytes per 10-bit codeword.
- The command 'dcelp' invokes the decoder + postfilter. The postfilter may
- be turned off by changing the variable 'postfiltering_p' in dmain.c from
- 1 to 0.
- The makefile generates a dcelpnpf version which has the postfilter
- turned off.
- The postfilter relies on the coefficients (a10 and k10) calculated in the
- durbin recursion (adapters.c) but is otherwise contained wholly in
- postfil.c.
- The encoder produced bitstreams match all the test vectors exactly while
- the decoder + postfilter output speech files match to between 40
- and 80 dB SNR with the test vector outputs.
- See file tv.out
- This was generated with the script runtestv, which can only be run
- if the testvectors are available
- VERIFICATION
- This code was test on SUN and SGI platforms using the gcc and cc compilers.
- In the tdata directory there are a few test files.
- f17.in - inputfile
- f17.bit - bitstream file
- f17.outnpf - output file (no postfiltering)
- f17.outpf - postfiltered outputfile
- If you get sampled data files that are not identical, try to run an
- snr measure on it, and see if you are close. Any SNR > 40 dB would make
- it very likely that what you have is fine.