?? tstchan.unx
字號:
#################################################################
# UNIX Script File to exercise the channel encoder #
# test sequences #
#################################################################
#
# The encoded speech parameter input file "infobit.tco" has the following format:
# o G.723.1 Mode 0 frame (6.3 kbit/s)
# o G.723.1 Mode 1 frame (5.3 kbit/s)
# o G.723.1 Mode 2 frame (SID)
# o G.723.1 Mode 0 frame (6.3 kbit/s)
# ...
#
# Two channel codec bitrate configuration files are tested:
# o bitrate0.cfg
# o bitrate1.cfg
#
# The requested actual channel bitrates are stored in file "chanrate.req" and
# contain a channel bitrate for each G.723.1 frame. The step size of the
# bitrate is 34 bps. This rate is mapped to the
# next lower allowed channel bitrate stored in the "bitrateX.cfg" file.
#
# In a second test the channel encoder is set to a special testing mode where
# the mapping of the requested channel bitrate to the allowed channel bitrate
# is switched off so that the module "ChannelCodecInit()" can be tested for each
# possible bitrate. Note that this is not an allowed operational mode.
##################################################################################
#
../enc/chan_enc infobit.tco chanbit0.ttx bitrate0.cfg chanrate.req
../enc/chan_enc infobit.tco chanbit1.ttx bitrate1.cfg chanrate.req
../enc/chan_enc infobit.tco chanbit2.ttx bitrate0.cfg chanrate.req -TestSequence
#
#
# Compare:
echo ------------------
echo Comparing now ...
cmp chanbit0.ttx chanbit0.tx
cmp chanbit1.ttx chanbit1.tx
cmp chanbit2.ttx chanbit2.tx
echo ------------------
echo done
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -