-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
darcs-hash:20081029050905-3a4db-6400252a43eb78ca283c0197da5b4b4e2f2fda37.gz
- Loading branch information
0 parents
commit 5d403b4
Showing
66 changed files
with
20,372 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
|
||
* Installation of HTS-demo_CMU-ARCTIC-SLT | ||
========================================== | ||
|
||
1. HTS-demo_CMU-ARCTIC-SLT requires Festival, SPTK-3.1, HTS-2.1, and hts_engine_API-1.0. | ||
Please install them before running this demo. | ||
You can download them from the following websites: | ||
|
||
Festival: http://www.festvox.org/festival/ | ||
SPTK: http://sourceforge.net/projects/sp-tk/ | ||
HTS: http://hts.sp.nitech.ac.jp/ | ||
|
||
In HTS-demo_CMU-ARCTIC-SLT, a simple F0 extraction script written 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. Setup HTS-demo_CMU-ARCTIC-SLT by running configure script: | ||
|
||
% cd HTS-demo_CMU-ARCTIC-SLT | ||
% ./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.1/bin \ | ||
--with-hts-search-path=/usr/local/HTS-2.1_for_HTK-3.4/bin \ | ||
--with-hts-engine-search-path=/usr/local/hts_engine_API-1.0/src/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 speech analysis conditions and model training conditions | ||
through ./configure arguments. For example | ||
|
||
% ./configure MGCORDER=24 MGCLSP=0 GAMMA=0 FREQWARP=0.0 (24-th order cepstrum) | ||
% ./configure MGCORDER=24 MGCLSP=0 GAMMA=0 FREQWARP=0.42 (24-th order Mel-cepstrum) | ||
% ./configure MGCORDER=24 MGCLSP=0 GAMMA=3 FREQWARP=0.0 (24-th order generalized cepstrum) | ||
% ./configure MGCORDER=24 MGCLSP=0 GAMMA=3 FREQWARP=0.42 (24-th order Mel-generalized cepstrum) | ||
|
||
% ./configure MGCORDER=12 MGCLSP=1 GAMMA=1 FREQWARP=0.0 LNGAIN=0 (12-th order LSP, linear gain) | ||
% ./configure MGCORDER=12 MGCLSP=1 GAMMA=1 FREQWARP=0.0 LNGAIN=1 (12-th order LSP, log gain) | ||
% ./configure MGCORDER=12 MGCLSP=1 GAMMA=1 FREQWARP=0.42 LNGAIN=1 (12-th order Mel-LSP, log gain) | ||
% ./configure MGCORDER=12 MGCLSP=1 GAMMA=3 FREQWARP=0.42 LNGAIN=1 (12-th order MGC-LSP, log gain) | ||
|
||
% ./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 | ||
|
||
|
||
3. Start running demonstration as follows: | ||
|
||
% cd HTS-demo_CMU-ARCTIC-SLT | ||
% make | ||
|
||
After composing training data, HMMs are estimated and speech waveforms are synthesized. | ||
It takes about 6 to 12 hours :-) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# ----------------------------------------------------------------- # | ||
# The HMM-Based Speech Synthesis System (HTS) # | ||
# developed by HTS Working Group # | ||
# http://hts.sp.nitech.ac.jp/ # | ||
# ----------------------------------------------------------------- # | ||
# # | ||
# Copyright (c) 2001-2008 Nagoya Institute of Technology # | ||
# Department of Computer Science # | ||
# # | ||
# 2001-2008 Tokyo Institute of Technology # | ||
# Interdisciplinary Graduate School of # | ||
# Science and Engineering # | ||
# # | ||
# All rights reserved. # | ||
# # | ||
# Redistribution and use in source and binary forms, with or # | ||
# without modification, are permitted provided that the following # | ||
# conditions are met: # | ||
# # | ||
# - Redistributions of source code must retain the above copyright # | ||
# notice, this list of conditions and the following disclaimer. # | ||
# - Redistributions in binary form must reproduce the above # | ||
# copyright notice, this list of conditions and the following # | ||
# disclaimer in the documentation and/or other materials provided # | ||
# with the distribution. # | ||
# - Neither the name of the HTS working group nor the names of its # | ||
# contributors may be used to endorse or promote products derived # | ||
# from this software without specific prior written permission. # | ||
# # | ||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND # | ||
# CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, # | ||
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # | ||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE # | ||
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS # | ||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # | ||
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED # | ||
# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # | ||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON # | ||
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # | ||
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # | ||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # | ||
# POSSIBILITY OF SUCH DAMAGE. # | ||
# ----------------------------------------------------------------- # | ||
|
||
all: data voice | ||
|
||
data: | ||
@ (cd data ; $(MAKE) all) | ||
|
||
voice: | ||
echo "Running a training/synthesis perl script (Training.pl) in background...." | ||
@PERL@ scripts/Training.pl scripts/Config.pm > log 2>&1 & | ||
|
||
clean: clean-data clean-voice | ||
|
||
clean-data: | ||
@ (cd data ; $(MAKE) clean) | ||
|
||
clean-voice: | ||
rm -rf configs edfiles gen models proto stats trees voices | ||
|
||
distclean: clean | ||
@ (cd data; $(MAKE) distclean) | ||
rm -f scripts/Config.pm | ||
rm -f Makefile | ||
rm -f config.log | ||
rm -f config.status | ||
rm -rf autom4te.cache | ||
|
||
.PHONY: data voice clean distclean |
Oops, something went wrong.