📄 readme.v2
字号:
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 allThe 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 maybe turned off by changing the variable 'postfiltering_p' in dmain.c from1 to 0.The makefile generates a dcelpnpf version which has the postfilterturned off.The postfilter relies on the coefficients (a10 and k10) calculated in the durbin recursion (adapters.c) but is otherwise contained wholly inpostfil.c.The encoder produced bitstreams match all the test vectors exactly whilethe decoder + postfilter output speech files match to between 40 and 80 dB SNR with the test vector outputs.See file tv.outThis was generated with the script runtestv, which can only be runif the testvectors are availableVERIFICATIONThis 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 - inputfilef17.bit - bitstream filef17.outnpf - output file (no postfiltering)f17.outpf - postfiltered outputfileIf you get sampled data files that are not identical, try to run ansnr measure on it, and see if you are close. Any SNR > 40 dB would makeit very likely that what you have is fine.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -