home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix CD 4.0
/
Phoenix_CD_40.cdr
/
voice
/
synth.bat
< prev
next >
Wrap
DOS Batch File
|
1991-03-13
|
3KB
|
103 lines
ECHO OFF
CLS
ECHO **************************************************************************
ECHO This program will now speak the following test phrase to check
echo that the audio output section of the HEARSAY hardware is
echo operating properly:
echo .
echo TESTING. TESTING. CAN YOU HEAR ME?
echo .
echo TO HEAR THE PRASE.......
echo **************************************************************************
pause
HEARSAY /s+/h2960
SPEECH
EDITOR
hearsay /s-
goto mid
:mid
CLS
ECHO **************************************************************************
ECHO .
ECHO Speaking test phrase. Please listen.
echo .
echo .
echo .
echo .
echo .
echo ╔══════════════════════════════════╗
echo off
hearsay /s+
echo TESTING TESTING CAN YOU HEAR ME?
HEARSAY /s-
cls
ECHO **************************************************************************
ECHO **************************************************************************
echo .
ECHO Do you hear the phrase?
echo .
echo .
echo **************************************************************************
echo **************************************************************************
SELECTION YyNn ENTER Y OR N.....
IF ERRORLEVEL 4 GOTO ERR
IF ERRORLEVEL 3 GOTO ERR
IF ERRORLEVEL 2 GOTO FIN
IF ERRORLEVEL 1 GOTO FIN
:ERR
CLS
ECHO **************************************************************************
echo The audio output section of the HEARSAY hardware
echo is not functioning properly. This could be due to
echo any of the following reasons:
echo .
echo 1. The volume may be too low. Turn VOL 1 up.
echo .
echo 2. The headset may not be plugged in.
echo .
echo 3. The HEARSAY hardware may be defective.
echo .
ECHO *************************************************************************
selection EeTt Press E to EXIT or T to TRY again
if errorlevel 4 goto try
if errorlevel 3 goto try
if errorlevel 2 goto BADTXT
if errorlevel 1 goto BADTXT
:try
goto mid
:fin
cls
echo **************************************************************************
echo THE SPEECH SYSNTHESIS TEST HAS BEEN COMPLETED.
ECHO .
ECHO YOU ARE NOW READY TO SETUP YOUR SYSTEM
ECHO AND TRAIN YOUR HEARSAY VOCABULARIES
echo .
echo YOU MUST FIRST RE-BOOT YOUR SYSTEM.
ECHO .
ECHO TO CONTINUE PLEASE TYPE "SETUP".
ECHO .
ECHO **************************************************************************
PAUSE
GOTO END
:BADTXT
CLS
ECHO **************************************************************************
ECHO PLEASE REFER TO YOUR HEARSAY INSTRUCTION
ECHO MANUAL TO CORRECT ANY HARDWARE PROBLEM
ECHO THAT YOU MAY HAVE.
ECHO **************************************************************************
PAUSE
GOTO END
:end
CLS
ECHO .
ECHO .
ECHO .
echo .
echo .
echo .
ECHO ******************************
ECHO * PLEASE RE-BOOT YOUR SYSTEM *
echo ******************************