LoginSignup
21
21

More than 5 years have passed since last update.

pythonでもっとも簡単に音声合成する方法

Last updated at Posted at 2013-12-23

pythonで手軽に音声合成したいならeSpeakがおすすめです。

eSpeakとは

多言語に対応したオープンソースのスピーチシンセサイザー。

英語はもちろんのこと、スペイン語、ドイツ語、中国語など幅広く対応しています。(残念ながら日本語未対応)

対応言語一覧はこちら

一応日本語に対応させる方法も存在するようです 
 → http://ja.nishimotz.com/espeak

インストール方法

sudo aptitude install python-espeak

テストプログラム

Hello Worldを発声するプログラム

helloworld.py
from espeak import espeak
espeak.synth("Hello World")
21
21
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
21
21