demoetut

来自「speech signal process tools」· 代码 · 共 56 行

TXT
56
字号
#! /bin/sh## demoetut: ESPS tutorial demo script.  @(#)demoetut	1.5 12/1/92 ERL##ESPS_VERBOSE=0export ESPS_VERBOSE#echo \"demoetut:  demonstate some simple ESPS programs.  @(#)demoetut	1.5 12/1/92 ERL"## make noexist programrm -f noexist echo "#! /bin/sh" 					>  noexistecho "IFS=:" 	  					>> noexistecho "for i in $PATH"					>> noexistecho "	do"						>> noexistecho "		if test -r \$i/\$1 -a ! -d \$i/\$1" 	>> noexistecho "			then"				>> noexistecho "			exit 1"				>> noexistecho "		fi"					>> noexistecho "	done"						>> noexistecho "exit 0"						>> noexist## make executablechmod a+x noexist# Check if ESPS programs are on the PATHif noexist emanthen	{	echo "ERROR: the executable program \"eman\" doesn't seem to"	echo "exist in $ESPS/bin.  Please consult your system manager."	echo "ESPS demonstration aborted."	exit	}fi# Create an empty params filetouch params# Run ESPS teaser	echo "testsd -f 0.1 -p 1000 -C 15 -d 1 -r 500 slinky.sd"	testsd -f 0.1 -p 1000 -C 15 -d 1 -r 500 slinky.sd	echo "plotsd slinky.sd"	plotsd slinky.sd #echo " "echo " "echo "ESPS demo complete."

⌨️ 快捷键说明

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