现在的位置: 首页 > 综合 > 正文

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

2013年02月03日 ⁄ 综合 ⁄ 共 372字 ⁄ 字号 评论关闭
  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

抱歉!评论已关闭.