process.unx
来自「语音压缩编码和解码的标准,其中包含部分源代码」· UNX 代码 · 共 32 行
UNX
32 行
###################################################################################################
# $1 : input G.723.1 bitstream file
# $2 : synthesized output speech file
# $3 : channel bitrate configuration file (this ASCII file contains the 8 allowed channel bitrates)
# $4 : channel bitrate (either fixed channel bitrate (e.g. 12000) or binary file with 16 bit
# channel bitrate values for each 30 ms frame)
# $5 : number of frames (either specify "/f=[number of frames]" or a number. In the latter case
# this number specifies the entry to the error pattern and the whole file
# is processed)
###################################################################################################
#
#-------------------
#| channel encoder |
#-------------------
#
enc/chan_enc $1 chanbit.tx $3 $4 $5
#
#----------------
#| transmission |
#----------------
#
map/chan_map chanbit.tx chanbit.rx $3 $5
#
#------------------------------------
#| channel decoder + speech decoder |
#------------------------------------
#
dec/chan_dec chanbit.rx $2 $3 $5
#
rm chanbit.tx
rm chanbit.rx
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?