日期:2014-05-16 浏览次数:20889 次
安装:sudo apt-get install festival
使用:
(SayText "Hello!")
# espeak --stdout 'words to speak' | aplay
# espeak -s 140 -f mydocument.txt | aplay
# espeak --stdout -t mydocument.txt | aplay
# espeak -v en-uk --stdout 'reading tips & tricks in TGS' | aplay
Convert your text file to an audio file as shown below.
# espeak -t mydocument.txt -w myaudio.wav参见: