Difference between revisions of "Festival TTS"
From Robert-Depot
(→Building a Unit Selection Cluster Voice) |
|||
Line 24: | Line 24: | ||
cd uw_uw_rdt | cd uw_uw_rdt | ||
</pre> | </pre> | ||
− | #uniphone setup: | + | #uniphone setup: <pre> $FESTVOXDIR/src/unitsel/setup_clunits uw us rdt uniphone</pre> |
− | <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> | ||
#record sound, using audacity. save as 16k, 16bit mono. | #record sound, using audacity. save as 16k, 16bit mono. | ||
− | #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 wav/*.wav</pre> | ||
Line 34: | Line 33: | ||
</pre> | </pre> | ||
#build cluster unit selection synth: <pre>festival -b festvox/build_clunits.scm '(build_clunits "etc/uniphone.data")'</pre> | #build cluster unit selection synth: <pre>festival -b festvox/build_clunits.scm '(build_clunits "etc/uniphone.data")'</pre> | ||
+ | |||
==Using a Unit Selection Cluster Voice Synth== | ==Using a Unit Selection Cluster Voice Synth== | ||
*from uw_us_rdt directory: <pre>festival festvox/uw_us_rdt_clunits.scm | *from uw_us_rdt directory: <pre>festival festvox/uw_us_rdt_clunits.scm |
Revision as of 11:14, 9 October 2012
Contents
Getting Started
- Festival Speech Synthesis System - http://www.cstr.ed.ac.uk/projects/festival/
- build on os x with do_prompt capabilities - http://linguisticmystic.com/2011/07/15/using-festival-tts-on-os-x/
- this is a class - http://www.speech.cs.cmu.edu/15-492/assignments/tts/index.html
Learning
- Book - http://festvox.org/festvox/book1.html
- short tutorial - http://festvox.org/festtut-2.0/
- exercises and hints - http://festvox.org/festtut-2.0/exercises/
Training a Voice Model
- howto http://festvox.org/festvox/c3170.html#AEN3172
- training text input - http://www.festvox.org/cmu_arctic/cmuarctic.data
- useful tips http://festvox.org/index.html, including name for EMU speech database system http://www.shlrc.mq.edu.au/emu/
- Building a CLUSTERGEN Statistical Parametric Synthesizer: http://festvox.org/festvox/c3170.html#AEN3172
Building a Unit Selection Cluster Voice
(from here http://festvox.org/festvox/x3082.html)
mkdir uw_uw_rdt cd uw_uw_rdt
- uniphone setup:
$FESTVOXDIR/src/unitsel/setup_clunits uw us rdt uniphone
- generate prompts and prompt files:
festival -b festvox/build_clunits.scm '(build_prompts_waves "etc/uniphone.data")'
- record sound, using audacity. save as 16k, 16bit mono.
- make labels:
./bin/make_labs prompt-wav/*.wav
- build utterance structure:
festival -b festvox/build_clunits.scm '(build_utts "etc/uniphone.data")'
- do pitch marking:
./bin/make_pm_wave wav/*.wav
- find Mel Frequency Cepstral Coefficients:
./bin/make_mcep wav/*.wav
- 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
./bin/make_pm_wave etc/uniphone.data