3 # This test script first runs the FreeTTS with our first utterance file,
4 # dumps the wave in text form, and compares (diff) it with our standard
5 # wave form file for our first utterance (first.wave.txt). This test will
6 # tell you how many lines differ from the standard wave form file.
8 # (Reminder: our 'first utterance file' is "Hello world. This is Duke
9 # coming to you from inside the java virtual machine. I'm happy to have
10 # a voice because I've been meaning to tell you how much I care.")
13 REF_TMP=utterance.ref.res
17 if [ -f utteranceTest.res ]; then
21 if [ -f utteranceTest.diff ]; then
25 java -cp ../lib/freetts.jar com.sun.speech.freetts.FreeTTSTime \
26 -dumpRelations -silent -time $TIME > $NEW.t
27 sed < $NEW.t > $NEW s/
\r//g