| 1 |
The ATIS Voice Generation HowTo |
| 2 |
------------------------------- |
| 3 |
|
| 4 |
Required packages / installation hints by J. Denker |
| 5 |
--------------------------------------------------- |
| 6 |
cpan Audio::Wav |
| 7 |
apt-get install festival mbrola sox festlex-oald |
| 8 |
cd \$tars |
| 9 |
wget http://tcts.fpms.ac.be/synthesis/mbrola/dba/en1/en1-980910.zip |
| 10 |
wget http://www.cstr.ed.ac.uk/downloads/festival/1.95/festvox_en1.tar.gz |
| 11 |
cd /usr/share/festival/voices/english |
| 12 |
mkdir en1_mbrola |
| 13 |
cd en1_mbrola |
| 14 |
unzip \$tars/en1-980910.zip |
| 15 |
cd /usr/share/festival |
| 16 |
mkdir lib |
| 17 |
cd lib |
| 18 |
ln -s ../voices ./ |
| 19 |
cd /usr/share |
| 20 |
tar -xpzvf \$tars/festvox_en1.tar.gz |
| 21 |
|
| 22 |
Generating Voice Files |
| 23 |
---------------------- |
| 24 |
|
| 25 |
1. Configure paths to fgdata and flightgear sources |
| 26 |
export FG_ROOT=/home/whatever/fgdata |
| 27 |
export FG_SRC=/home/whatever/flightgear |
| 28 |
|
| 29 |
2. Create phraseology word list |
| 30 |
./atis-lex.pl > phraseology.vlist |
| 31 |
|
| 32 |
3. Create airport word list |
| 33 |
export ATIS_ONLY=yes |
| 34 |
./list-airports.pl | ./words_per_line.sh > airports.vlist |
| 35 |
|
| 36 |
4. Check for and fix non-UTF8 encoded airport names |
| 37 |
./find_nonUTF8.pl |
| 38 |
|
| 39 |
5. Generate phraseology voice file |
| 40 |
./synth.pl phraseology.vlist phraseology.vce phraseology.wav |
| 41 |
|
| 42 |
6. Generate airport voice file |
| 43 |
./synth.pl airports.vlist airports.vce airports.wav |
| 44 |
|
| 45 |
7. Install *.vce and *.wav.gz files in fgdata: |
| 46 |
cp phraseology.vce $(FG_ROOT)/ATC/voices/default/. |
| 47 |
cp phraseology.wav.gz $(FG_ROOT)/ATC/voices/default/. |
| 48 |
cp airports.vce $(FG_ROOT)/ATC/voices/default/. |
| 49 |
cp airports.wav.gz $(FG_ROOT)/ATC/voices/default/. |
| 50 |
|