-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathINSTALL
59 lines (41 loc) · 2.64 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
* Installation of HTS-demo_CMU-ARCTIC-SLT-Formant
* Note: The following are modified from HTS demo downloaded from http://hts.sp.nitech.ac.jp/archives/2.2/HTS-demo_CMU-ARCTIC-SLT.tar.bz2.
==========================================
1. HTS-demo_CMU-ARCTIC-SLT=Formant requires Festival, SPTK-3.4.1, HTS-2.2, and hts_engine API-1.05.
Please install them before running this demo.
You can download them from the following websites:
Festival: http://www.cstr.ed.ac.uk/projects/festival/
SPTK: http://sp-tk.sourceforge.net/
HTS: http://hts.sp.nitech.ac.jp/
hts_engine API: http://hts-engine.sourceforge.net/
In HTS-demo_CMU-ARCTIC-SLT-Formant, a simple F0 extraction script written in Tcl/Tk is included.
In addition, a simple Formant extraction written in in Tcl/Tk is included.
This script calls get_f0 function implemented in the open-source speech toolkit Snack.
Therefore, HTS-demo_CMU-ARCTIC-SLT also requires Tcl/Tk with Snack.
ActiveState (http://www.activestate.com/) provides a Tcl/Tk distribution named ActiveTcl
for many platforms. You can download it from
ActiveTcl: http://downloads.activestate.com/ActiveTcl/
The above distribution includes Snack and it is easy to install and use.
We recommend you to use this to run this demonstration
(Of course you can use your own tcl/tk with Snack).
Note that ActiveTcl 8.5 doesn't include Snack, please use ActiveTcl 8.4.
2. Download http://hts.sp.nitech.ac.jp/archives/2.2/HTS-demo_CMU-ARCTIC-SLT.tar.bz2 and copy it's /data/raw to this demo's /data/raw.
3. Setup HTS-demo_CMU-ARCTIC-SLT-Formant by running configure script:
% cd HTS-demo_CMU-ARCTIC-SLT-Formant
% ./configure --with-tcl-search-path=/usr/local/ActiveTcl/bin \
--with-fest-search-path=/usr/local/festival/examples \
--with-sptk-search-path=/usr/local/SPTK-3.4.1/bin \
--with-hts-search-path=/usr/local/HTS-2.2_for_HTK-3.4.1/bin \
--with-hts-engine-search-path=/usr/local/hts_engine_API-1.05/bin
Please adjust the above directories for your environment.
Note that you should specify festival/examples rather than festival/bin.
You can change various parameters such as model training conditions
through ./configure arguments. For example
% ./configure NSTATE=7 NITER=10 WFLOOR=5 (# of HMM states=7, # of EM iterations=10, mix weight floor=5)
Please refer to the help message for details:
% ./configure --help
4. Start running demonstration as follows:
% cd HTS-demo_CMU-ARCTIC-SLT-Formant
% make
After composing training data, HMMs are estimated and .for and .lf0 files are generated.
It takes several hours!