This is the Hindi TTS system produced by HP Labs India. There are three tar files: 1. hpl_hindi_v1.0.tar is the HPL Hindi Voice distribution v1.0 2. hpl_hindi_database.tar is the voice database (also available as 10 separate tars) 3. hpl_festival_modules_v1.0.tar contains HPL Hindi Voice specific festival modules All tars should be untarred from the directory where speech_tools and festival are. Here are some notes on them: 1. Voice distribution The voice will untar into its own hindi directory at the top level, except for the main scheme file, which will be placed in festival/lib/voices-multisyn/hindi/hpl_hindi_multisyn. The database tar(s) will untar into the database directory: hindi/hpl_hindi_multisyn/db/lpc 2. Festival Modules These will untar into festival/src/modules/hpl_hin_g2p and festival/src/modules/hpl_normalizer. You will need to compile these into festival to use the hpl_hindi system. To do this (a) add them to the last (non-commented) line of festival/config/config: "ALSO_INCLUDE += hpl_hin_g2p hpl_normalizer" (b) install flex if you don't have it already (c) add "-lfl" to both the festival and festival_client dependencies in festival/src/main/Makefile: "festival: festival_main.o $(LIBDEPS) $(LINK_COMMAND) -o festival festival_main.o $(LIBS) -lfl" "festival_client: festival_client.o $(REQUIRED_LIBDEPS) $(LINK_COMMAND) -o festival_client festival_client.o $(LIBS) -lfl" (d) go to your festival directory and make. Running the HPL Hindi System ---------------------------- (a) You need to define "FEST_DIR" to be your festival directory. e.g. in bash shell: "export FEST_DIR=~/festival" (b) The text you want to synthesize needs to be in a text file in ISCII format. We have provided two example files in hindi/hpl_hindi_multisyn. (c) run festival/bin/festival (d) ignore the warnings about no voice. First load the Hindi voice: (voice_hpl_hindi_multisyn) (e) once the voice has loaded you can synthesize your file by giving the command: (synth_file "myfile") If "myfile" doesn't exist you will get the message "Segment relation is empty". You can write the output to file instead by giving the command: (synth_file_to_file "myfile") Rebuilding Festival with hpl_hindi_modules ------------------------------------------ There are two ways of adding hpl_hindi_modules to Festival: 1. Make festival without the modules added to the config file, then add the information about these two modules into config file and 'make' again in the festival directory. i.e. the procedure as descibed in the above section "Festival Modules" 2. After 'make clean' (which you will have to do explicitly in the two hpl modules as 'make clean' in festival will leave these directories alone), you can either follow the above procedure or these 3 steps: (a) 'make' in festival/src/modules/hpl_normalizer and in festival/src/modules/hpl_hin_g2p (ignore error related with archive problems) (b) 'make' in festival/src (c) 'make' in festival Roger Tucker Ksenia Shalonova Feb 2004