日期:2014-05-16  浏览次数:20889 次

Linux笔记——linux下的语音合成系统

  1. 1.festival

安装:sudo apt-get install festival 

使用:

(SayText "Hello!")


  1. 2. espeek(ubuntu 自带)


# 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
参见:

How to Convert Text Document to Speech on Ubuntu Using eSpeak