⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tstchan.unx

📁 语音压缩编码和解码的标准,其中包含部分源代码
💻 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 + -