Changes between Version 8 and Version 9 of HMMVoiceCreationMary4.0
- Timestamp:
- 09/24/09 14:54:26 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HMMVoiceCreationMary4.0
v8 v9 24 24 '''MARY requirements:'''[[BR]] 25 25 - Operating System - Linux (tested on Ubuntu 9.04) [[BR]] 26 - MARY TTS Recent Version - Download link: http://mary.dfki.de/Download [[BR]] 27 - Openmary - SVN from:[[BR]] 28 {{{ 29 svn checkout https://mary.opendfki.de/repos/trunk openmary 30 }}} 26 - MARY TTS 4.0 (beta) including Voice import tools during installation - link: http://mary.dfki.de/download/4.0%20beta/openmary-standalone-install-4.0beta.jar [[BR]] 31 27 - HTS '''speaker dependent training demo''' adapted to the MARY 4.0 beta platform: 32 * without SLT data (112K): included in the openmary directory: openmary/lib/hts/HTS-demo_for_MARY-4.0-beta.tar.gz [[BR]]33 * with SLT data (92MB): link: https://mary.opendfki.de/HTS-demo_CMU-ARCTIC-SLT_for_MARY-4.0-beta.tar.gz [[BR]]28 * without CMU-ARCTIC-SLT data (112K): included in your MARY TTS 4.0 beta installation: $MARY_BASE/lib/hts/HTS-demo_for_MARY-4.0-beta.tar.gz [[BR]] 29 * with CMU-ARCTIC-SLT data (92MB) - link: http://mary.dfki.de/download/4.0%20beta/HTS-demo_CMU-ARCTIC-SLT_for_MARY-4.0-beta.tar.gz [[BR]] 34 30 35 31 '''HTS requirements:''' please download and follow the instructions for installing:[[BR]] … … 45 41 - perl normally available in linux [[BR]] 46 42 - bc normally available in linux [[BR]] 47 - sox, Minimum SoX v13.0.0, normally available in linux. link: http://sox.sourceforge.net/ [[BR]]43 - sox, minimum SoX v13.0.0, normally available in linux. link: http://sox.sourceforge.net/ [[BR]] 48 44 - tcl supporting snack, for example ActiveTcl. link: http://www.activestate.com/Products/ActiveTcl/ [[BR]] 49 45 - snack library for tcl. link: http://www.speech.kth.se/snack/download.html [[BR]] … … 58 54 ''' 59 55 60 Where to start? There are three options :56 Where to start? There are three options a, b and c: 61 57 62 58 '''a-''' If you would like to try the HTS-demo_CMU-ARCTIC-SLT for MARY 4.0 beta from scratch:[[BR]] … … 68 64 69 65 '''b-''' If you have already created a unit selection voice for MARY, with the CMU-ARCTIC-SLT data, and want to build a HMM-based voice for that, 70 copy the openmary/lib/hts/HTS-demo_for_MARY-4.0-beta.tar.gz (112K) in your unit selection voice creation directory and unpack the file:66 copy the $MARY_BASE/lib/hts/HTS-demo_for_MARY-4.0-beta.tar.gz (112K) in your unit selection voice creation directory and unpack the file: 71 67 {{{ 72 68 tar -zxvf HTS-demo_for_MARY-4.0-beta.tar.gz … … 75 71 76 72 '''c-''' If you want to create a HMM voice in other language please see the section V or VI below.[[BR]] 73 77 74 78 75 Once you have unpacked the HTS demo for MARY 4.0 beta, follow the steps: … … 85 82 If all the necessary programs are installed correctly you can continue with step 2. 86 83 87 '''2-''' Run the VoiceImport program 88 89 If you have installed MARY 4.0 beta and the voicebuilding component, you can start the VoiceImport program from '''Applications -> OpenMary -> Voice import tools'''[[BR]] 90 Otherwise you can run it on a terminal in your working directory (the directory where you have unpacked the HTS demo for MARY 4.0 beta), first you need to set your MARY_BASE directory and then run the voiceimport.jar program: 91 {{{ 92 export MARY_BASE="/dir/to/openmary" 93 java -jar -Xmx1024m $MARY_BASE/java/voiceimport.jar 94 }}} 95 96 When starting the voiceimport tools, go to your working directory (the directory where you have unpacked the HTS demo for MARY 4.0 beta) and provide information for: 84 '''2-''' Run the Voice Import Tools program 85 86 The Voice Import Tools programs can be started from: '''Applications -> OpenMary -> Voice import tools'''[[BR]] 87 88 When starting the voice import tools, go to your working directory (the directory where you have unpacked the HTS demo for MARY 4.0 beta) and provide information for: 97 89 {{{ 98 90 db.gender = female 99 91 db.locale = en_US 100 db.marybase = /path -to-MARY_BASE/ or /path-to-openmary/92 db.marybase = /path/to/$MARY_BASE/ 101 93 db.voicename = slt-hsmm 102 94 }}} 103 If you are not familiar or have problems with the VoiceImport program, please read the instructions in the Voice Import Tools 104 Tutorial: http://mary.opendfki.de/wiki/VoiceImportToolsTutorial 95 If you are not familiar or have problems with the Voice Import Tools program, please read the instructions in the Tutorial: http://mary.opendfki.de/wiki/VoiceImportToolsTutorial 105 96 106 97 Please remember that whenever you are in doubt about the settings of a particular component you can check its corresponding help for a description of the meaning 107 98 (and possible values) of each variable. 108 99 109 After starting the voiceimport tools check the global settings of the voice, make sure that the allophones file is provided and exist:110 {{{ 111 db.alophonesSet = MARY_PATH/lib/modules/xx/lexicon/allophones.xx.xml (where xx is the corresponding language)100 After starting the Voice Import Tools check the global settings of the voice, make sure that the allophones file is provided and exist: 101 {{{ 102 db.alophonesSet = $MARY_BASE/lib/modules/xx/lexicon/allophones.xx.xml (where xx is the corresponding language) 112 103 }}} 113 104 … … 190 181 }}} 191 182 192 The allophones set file is language dependent, it can be found in MARY_PATH/lib/modules/en/us/lexicon/allophones.en_US.xml[[BR]]183 The allophones set file is language dependent, it can be found in $MARY_BASE/lib/modules/en/us/lexicon/allophones.en_US.xml[[BR]] 193 184 The hmmFeatures.txt is the file created in step 15 and contains additional context features, apart from phone and phonological features, used for training HMMs.[[BR]] 194 185 … … 197 188 make mgc lf0 str mag cmp-mary gv-mary gv list scp 198 189 }}} 199 The '''label''' directory and the '''mlf''' files in MARY are done with the voiceimport tools: HMMVoiceMakeData.makeLabels()[[BR]]200 The '''questions''' file in MARY is done with the voiceimport tools: HMMVoiceMakeData.makeQuestions()190 The '''label''' directory and the '''mlf''' files in MARY are done with the Voice Import Tools: HMMVoiceMakeData.makeLabels()[[BR]] 191 The '''questions''' file in MARY is done with the Voice Import Tools: HMMVoiceMakeData.makeQuestions() 201 192 202 193 … … 256 247 * a wav or raw directory with the speech files you will use for training the German voice. [[BR]] 257 248 * transcriptions of the files, one text file per speech file, or transcriptions in festival format if available. [[BR]] 258 then copy the openmary/lib/hts/HTS-demo_for_MARY-4.0-beta.tar.gz file in the directory where you have your wav and transcription data and unpack the file:249 then copy the $MARY_BASE/lib/hts/HTS-demo_for_MARY-4.0-beta.tar.gz file in the directory where you have your wav and transcription data and unpack the file: 259 250 {{{ 260 251 tar -zxvf HTS-demo_for_MARY-4.0-beta.tar.gz … … 270 261 271 262 272 - If you have already created a German unit selection voice for MARY and want to build a HMM-based voice for that, copy the openmary/lib/hts/HTS-demo_for_MARY-4.0-beta.tar.gz (112K) in your unit selection voice creation directory and unpack the file:263 - If you have already created a German unit selection voice for MARY and want to build a HMM-based voice for that, copy the $MARY_BASE/lib/hts/HTS-demo_for_MARY-4.0-beta.tar.gz (112K) in your unit selection voice creation directory and unpack the file: 273 264 {{{ 274 265 tar -zxvf HTS-demo_for_MARY-4.0-beta.tar.gz … … 286 277 - '''Minimal NLP components''': if you are creating a new voice from scratch, for example following the steps in [http://mary.opendfki.de/wiki/NewLanguageSupport], you will need to create Minimal NLP components for the new language. These minimal components are necessary to run the MARY server in the new language and extract context features ('''phonefeatures''' directory). 287 278 288 - '''Phoneme set''': contained in MARY_BASE/lib/modules/xx/lexicon/allophones.xx.xml , where xx corresponds to the new language.279 - '''Phoneme set''': contained in $MARY_BASE/lib/modules/xx/lexicon/allophones.xx.xml , where xx corresponds to the new language. 289 280 290 281 - After creating the minimal components, you will need wav files (in a wav directory) and the corresponding transcriptions (one file per wav file in a text directory). [[BR]] 291 Then copy the openmary/lib/hts/HTS-demo_for_MARY-4.0-beta.tar.gz file in the directory where you have your wav and transcription data and unpack the file:282 Then copy the $MARY_BASE/lib/hts/HTS-demo_for_MARY-4.0-beta.tar.gz file in the directory where you have your wav and transcription data and unpack the file: 292 283 {{{ 293 284 tar -zxvf HTS-demo_for_MARY-4.0-beta.tar.gz … … 309 300 310 301 Marcela Charfuelan[[BR]] 311 Thu Sep 10 18:14:12CEST 2009302 Thu Sep 24 14:55:06 CEST 2009