2 # Copyright (c) 2001-2003 Sun Microsystems, Inc.
5 # See the file "license.terms" for information on usage and
6 # redistribution of this file, and for a DISCLAIMER OF ALL
10 # This test script first runs the FreeTTS with our first utterance file,
11 # dumps the wave in text form, and compares (diff) it with our standard
12 # wave form file for our first utterance (first.wave.txt). This test will
13 # tell you how many lines differ from the standard wave form file.
15 # (Reminder: our 'first utterance file' is "Hello world. This is Duke
16 # coming to you from inside the java virtual machine. I'm happy to have
17 # a voice because I've been meaning to tell you how much I care.")
20 # Input: input_file flite_time_wave_file
22 REF_TMP=utterance.ref.res
30 if [ -f $1.diff ]; then
34 java -jar ../lib/freetts.jar -voice kevin -dumpRelations -silent -file $1 > $NEW.t
35 sed < $NEW.t > $NEW s/
\r//g