Difference between revisions of "Festival TTS"

From Robert-Depot
Jump to: navigation, search
(Building a CLUSTERGEN Statistical Parametric Synthesizer)
(Building a CLUSTERGEN Statistical Parametric Synthesizer)
Line 38: Line 38:
 
==Building a CLUSTERGEN Statistical Parametric Synthesizer==
 
==Building a CLUSTERGEN Statistical Parametric Synthesizer==
 
adapted from http://festvox.org/festvox/c3170.html#AEN3172
 
adapted from http://festvox.org/festvox/c3170.html#AEN3172
#<pre>
+
#<code>mkdir uw_us_rdt_arctic
mkdir uw_us_rdt_arctic
 
 
uw_us_rdt_arctic
 
uw_us_rdt_arctic
$FESTVOXDIR/src/clustergen/setup_cg uw us rdt_arctic
+
$FESTVOXDIR/src/clustergen/setup_cg uw us rdt_arctic</code>
</pre>
 
 
#copy text into <code>etc/txt.done.data</code>. use some of the lines from here http://www.festvox.org/cmu_arctic/cmuarctic.data
 
#copy text into <code>etc/txt.done.data</code>. use some of the lines from here http://www.festvox.org/cmu_arctic/cmuarctic.data
#copy audio files into <pre>wav/</pre>
+
#copy audio files into <code>wav/</code>
 +
#use <pre>bin/get_wavs</pre> to copy files to power normalize and convert to proper format.

Revision as of 11:35, 9 October 2012

<<< back to Wiki Home

Getting Started

Learning

Training Voice Models

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 etc/uniphone.data
  8. build cluster unit selection synth:
    festival -b festvox/build_clunits.scm '(build_clunits "etc/uniphone.data")'

Using a Unit Selection Cluster Voice Synth

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

Building a CLUSTERGEN Statistical Parametric Synthesizer

adapted from http://festvox.org/festvox/c3170.html#AEN3172

  1. mkdir uw_us_rdt_arctic

uw_us_rdt_arctic $FESTVOXDIR/src/clustergen/setup_cg uw us rdt_arctic

  1. copy text into etc/txt.done.data. use some of the lines from here http://www.festvox.org/cmu_arctic/cmuarctic.data
  2. copy audio files into wav/
  3. use
    bin/get_wavs
    to copy files to power normalize and convert to proper format.