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

📄 lp_syn.test

📁 speech signal process tools
💻 TEST
字号:
#!/bin/csh -f# This material contains unpublished, proprietary software of # Entropic Research Laboratory, Inc. Any reproduction, distribution, # or publication of this work must be authorized in writing by Entropic # Research Laboratory, Inc., and must bear the notice: ##    "Copyright (c) 1994-1996  Entropic Research Laboratory, Inc. #                   All rights reserved"## The copyright notice above does not evidence any actual or intended # publication of this source code.     ## @(#)lp_syn.test	1.2	1/22/97	ERL# # Written by:  Derek Lin# Checked by:# Revised by:# # Brief description: test script for lp_syn# setenv USE_ESPS_COMMON offsetenv ESPS_VERBOSE 0copysd $ESPS_BASE/demo/speech.sd s.dget_f0 s.d s.f0set nsamp = `hditem -i ndrec s.d`echo "computing RC..."refcof -wHANNING -l160 -S80 -o 10 -e0.95 -p1:$nsamp -z -Z s.d s.cof  get_resid -a1 s.d s.cof s.if  echo "computing epochs..."epochs s.if s.pe  mask s.f0 s.pe s.outps_ana -f s.f0p s.d s.out s.rc  lp_syn -t0.2 -f1.2 -u2 s.rc s.f0p s.syn  cat > ref <<EOD1346 1513 1256 1364 706 726 387 378 -352 -463 -997 -1176 -1267 -1450 -1514 -1736 -1514 -1726 -1152 -1302 -1010 EODpplain -r56000:56020 s.syn > testdiff test refecho "diff output for 20 numbers:  there should be little or no difference"rm s.d s.f0 s.cof s.if s.pe s.out s.rc s.f0p s.syn test ref# 1/15/94# At least on sparc and sgi, ONLY on unvoiced regions, the final #    synthesized speech signals have opposite signs, but with same magnitude.#    Perhaps somewhere in the code something is compared with 0.00000000 which#    sign machine dependent.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -