pangblog

 

  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

 

 

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-07-27
  • 2021-06-11
  • 2021-12-13
  • 2021-08-16
  • 2022-12-23
  • 2021-12-17
  • 2022-01-22
猜你喜欢
  • 2021-12-14
  • 2021-11-17
  • 2021-08-02
  • 2021-08-03
  • 2022-01-01
  • 2021-12-10
  • 2021-12-31
相关资源
相似解决方案