Инструменты пользователя

Инструменты сайта


сервис_festival

Сервис Festival

Установка

Debian/Ubuntu

# apt install festival festvox-ru

FreeBSD

# pkg install festival festvox-kal16 festvox-russian

# cp /usr/local/etc/nasd.conf.eg /usr/local/etc/nasd.conf

# cat /usr/local/etc/nasd.conf
...
#inputsection
#
#       device          "/dev/dsp"           # The input device, usually
#...
#end

# These are used by voxware only for now.
outputsection
        device          "/dev/dsp0.0"           # The output device, usually
        mixer           "/dev/mixer0"           # mixer device
...
/usr/local/bin/nasd &

Варианты использования из shell

# festival
(SayText "Hello World 11")
(voice_msu_ru_nsh_clunits)
(SayText "Здравствуй Мир 11")
(tts "file.txt" nil)
(exit)
# festival -b '(SayText "Hello World")'

# festival -b '(begin (voice_msu_ru_nsh_clunits) (SayText "Здравствуй Мир"))'

# cat file.txt | festival --language russian --tts

# cat file.txt | text2wave -eval '(voice_msu_ru_nsh_clunits)' > file.wav

Варианты использования в режиме server

# festival -b '(voice_msu_ru_nsh_clunits)' --server &

# apt install netcat

# nc localhost 1314
(SayText "Здравствуй Мир 11")
(exit)
сервис_festival.txt · Последние изменения: 2019/05/23 14:47 — val