Skip to Content
Learning Robotics using Python
book

Learning Robotics using Python

by Lentin Joseph
May 2015
Intermediate to advanced
330 pages
7h 18m
English
Packt Publishing
Content preview from Learning Robotics using Python

Working with speech synthesis in ROS Indigo and Python

In ROS, there are some ROS packages that perform speech synthesis. Here, we will discuss one ROS package. This package uses Festival as the backend. The package name is sound_play. It has nodes and launch scripts that enable speech synthesis. We need to perform the following steps for speech synthesis:

  1. We can install the sound_play package using the following command:
    $ sudo apt-get install ros-indigo-sound-play
    
  2. After the installation of package, we have to create a sample ROS package to interact with the sound-play node. The following is the command to create a sample package in ROS with the sound-play package as dependency:
    $ catkin_create_pkg sample_tts rospy roscpp sound_play std_msgs
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Robotics using Python - Second Edition

Learning Robotics using Python - Second Edition

Lentin Joseph
Python Robotics Projects

Python Robotics Projects

Prof. Diwakar Vaish

Publisher Resources

ISBN: 9781783287536Supplemental Content