Text-to-Speech service for ROS using python gTTS library for backend.
sudo pip install -U pydub
- Start server
roslaunch ros_gtts gtts.launch
2.1. Use from euslisp
$ roseus
$ (ros::roseus "sound_client")
$ (load "package://pr2eus/speak.l")
$ (speak "hello" :lang :en)
2.2. Use from python
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node("sound_client")
client = SoundClient()
client.say("Hello!", voice="en")
client.say("Guten tag!", voice="de")
Yuki Furuta <furushchev@jsk.imi.i.u-tokyo.ac.jp>