Skip to content

furushchev/ros_gtts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ros_gtts

Text-to-Speech service for ROS using python gTTS library for backend.

Install

sudo pip install -U pydub

Usage

  1. 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")

Author

Yuki Furuta <furushchev@jsk.imi.i.u-tokyo.ac.jp>

About

Text-to-Speech service for ROS using python gTTS library for backend.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published