Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Intel Galileo Essentials

You're reading from   Intel Galileo Essentials Leverage the power of Intel Galileo to construct amazingly simple, yet impressive projects

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784398903
Length 162 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (10) Chapters Close

Preface 1. Getting Started with the Galileo FREE CHAPTER 2. Accessing the GPIO Pins 3. Adding Display Functionality 4. Controlling DC Motors 5. Adding Sensors 6. Remote Control 7. Going Further with Galileo 8. Speech Output Index

Using Espeak to allow our projects to respond in a robot voice


Sound is an important tool in our robotic toolkit, but you will want to do more than just record and play your voice. Let's allow your robot to speak. You're going to start by enabling Espeak, an open-source application that provides us with a computer voice. Download the Espeak library by typing sudo apt-get install espeak. The download might take a while, but the prompt will reappear when it is complete. Now let's see if your Galileo has a voice. Type the sudo espeak "hello" command. The speaker should emit a computer-voiced hello. If it does not, check the speakers and volume level.

Now that you have a computer voice, you might want to customize it. Espeak offers a fairly complete set of customization features, including a large number of languages, voices, and other options. To access these, you can type in the options at the command-line prompt. For example, type in espeak -v+f3 "hello" and you should hear a female voice...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image