41 | | - sox, normally available in linux. [[BR]] |
42 | | - tcl-tk supporting snack, for example ActiveTcl - Download Link: http://www.activestate.com/Products/ActiveTcl/ [[BR]] |
43 | | - perl, normally available in linux. [[BR]] |
44 | | |
45 | | 0.1) download and un-zip, un-tar the latest speaker dependent training demo for English. |
| 41 | - sox, normally available in linux. Download link: http://sox.sourceforge.net/ [[BR]] |
| 42 | - perl, normally available in linux. Download link: http://www.perl.org/ [[BR]] |
| 43 | - tcl supporting snack, for example ActiveTcl - Download Link: http://www.activestate.com/Products/ActiveTcl/ [[BR]] |
| 44 | |
| 45 | 0.1) Download and un-zip, un-tar the latest speaker dependent training demo for English. |
58 | | 0.3) create a wav directory. |
59 | | |
60 | | 0.4) Run the VoiceImport program |
| 58 | |
| 59 | 0.3) Check if your installed tcl supports snack. In your HTS-demo_CMU-ARCTIC-SLT directory type the following:[[BR]] |
| 60 | |
| 61 | {{{ |
| 62 | /your-Tcl-path/ActiveTcl-x.x/bin/tclshx.x data/scripts/getf0.tcl |
| 63 | }}} |
| 64 | The numbers x.x are the version of your installation, for example in my case is tclsh-8.6[[BR]] |
| 65 | |
| 66 | |
| 67 | If you get: [[BR]] |
| 68 | {{{ |
| 69 | /your-Tcl-path/ActiveTcl-x.x/bin/tclshx.x data/scripts/getf0.tcl |
| 70 | can't find package snack |
| 71 | while executing |
| 72 | "package require snack" |
| 73 | }}} |
| 74 | Then you need to install snack manually downloading it from: http://www.speech.kth.se/snack/download.html [[BR]] |
| 75 | un-tar and un-zip the snack package in /your-Tcl-path/ActiveTcl-x.x/lib/, so after unpacked your tcl directory should look like:[[BR]] |
| 76 | /your-Tcl-path/ActiveTcl-x.x/lib/snack2.2/[[BR]] |
| 77 | |
| 78 | Now test again with the getf0.tcl file, if you have installed correctly the snack library then the output is the following: [[BR]] |
| 79 | {{{ |
| 80 | /your-Tcl-path/ActiveTcl-8.6/bin/tclsh8.6 data/scripts/getf0.tcl |
| 81 | pitch extract tool using snack library (= ESPS get_f0) |
| 82 | Usage data/scripts/getf0.tcl ... |
| 83 | }}} |
| 84 | |
| 85 | One final detail on the name of your tclsh executable, the HTS configure has some problems if the name of your executable is different from tclsh, to avoid this simply create an alias for your tclsh-x.x executable, in my case the soft link looks like: [[BR]] |
| 86 | {{{ |
| 87 | cd /your-Tcl-path/ActiveTcl-8.6/bin/ |
| 88 | ln -s tclsh8.6 tclsh |
| 89 | }}} |
| 90 | |
| 91 | |
| 92 | 0.5) Create a wav directory. |
| 93 | |
| 94 | |
| 95 | 0.6) Run the VoiceImport program |