Difference between revisions of "Festival TTS"

From Robert-Depot
Jump to: navigation, search
(Building a Unit Selection Cluster Voice)
(Building a Unit Selection Cluster Voice)
Line 20: Line 20:
 
==Building a Unit Selection Cluster Voice==
 
==Building a Unit Selection Cluster Voice==
 
(from here http://festvox.org/festvox/x3082.html)
 
(from here http://festvox.org/festvox/x3082.html)
#<pre>
+
#<pre>mkdir uw_uw_rdt
mkdir uw_uw_rdt
+
cd uw_uw_rdt</pre>
cd uw_uw_rdt
 
</pre>
 
 
#uniphone setup: <pre> $FESTVOXDIR/src/unitsel/setup_clunits uw us rdt uniphone</pre>
 
#uniphone setup: <pre> $FESTVOXDIR/src/unitsel/setup_clunits uw us rdt uniphone</pre>
 
#generate prompts and prompt files: <pre>festival -b festvox/build_clunits.scm '(build_prompts_waves "etc/uniphone.data")'</pre>
 
#generate prompts and prompt files: <pre>festival -b festvox/build_clunits.scm '(build_prompts_waves "etc/uniphone.data")'</pre>
Line 29: Line 27:
 
#make labels: <pre>./bin/make_labs prompt-wav/*.wav</pre>
 
#make labels: <pre>./bin/make_labs prompt-wav/*.wav</pre>
 
#build utterance structure: <pre>festival -b festvox/build_clunits.scm '(build_utts "etc/uniphone.data")'</pre>
 
#build utterance structure: <pre>festival -b festvox/build_clunits.scm '(build_utts "etc/uniphone.data")'</pre>
#do pitch marking: <pre>./bin/make_pm_wave wav/*.wav</pre>
+
#do pitch marking: <pre>./bin/make_pm_wave etc/uniphone.data </pre>
 
#find Mel Frequency Cepstral Coefficients: <pre>./bin/make_mcep wav/*.wav
 
#find Mel Frequency Cepstral Coefficients: <pre>./bin/make_mcep wav/*.wav
 
</pre>
 
</pre>

Revision as of 11:16, 9 October 2012

<<< back to Wiki Home

Getting Started

Learning

Training a Voice Model

Building a Unit Selection Cluster Voice

(from here http://festvox.org/festvox/x3082.html)

  1. mkdir uw_uw_rdt
cd uw_uw_rdt
  1. uniphone setup:
     $FESTVOXDIR/src/unitsel/setup_clunits uw us rdt uniphone
  2. generate prompts and prompt files:
    festival -b festvox/build_clunits.scm '(build_prompts_waves "etc/uniphone.data")'
  3. record sound, using audacity. save as 16k, 16bit mono.
  4. make labels:
    ./bin/make_labs prompt-wav/*.wav
  5. build utterance structure:
    festival -b festvox/build_clunits.scm '(build_utts "etc/uniphone.data")'
  6. do pitch marking:
    ./bin/make_pm_wave etc/uniphone.data 
  7. find Mel Frequency Cepstral Coefficients:
    ./bin/make_mcep wav/*.wav
  1. build cluster unit selection synth:
    festival -b festvox/build_clunits.scm '(build_clunits "etc/uniphone.data")'

Using a Unit Selection Cluster Voice Synth

  • from uw_us_rdt directory:
    festival festvox/uw_us_rdt_clunits.scm
  • in Scheme:
    (voice_uw_us_rdt_clunits) 
  • (SayText "this is a little test.")

changes

  • instead of:
festival -b festvox/build_clunits.scm '(build_prompts "etc/uniphone.data")'

do:

festival -b festvox/build_clunits.scm '(build_prompts_waves "etc/uniphone.data")'
  • instead of:
    ./bin/make_pm_wave wav/*.wav
do
./bin/make_pm_wave etc/uniphone.data