Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi Robotic Blueprints

You're reading from   Raspberry Pi Robotic Blueprints Utilize the powerful ingredients of Raspberry Pi to bring to life your amazing robots that can act, draw, and have fun with laser tags

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781784396282
Length 198 pages
Edition 1st Edition
Concepts
Arrow right icon
Toc

Table of Contents (9) Chapters Close

Preface 1. Adding Raspberry Pi to an RC Vehicle 2. Adding Raspberry Pi to a Humanoid Robot FREE CHAPTER 3. Building a Tracked Vehicle That Can Plan Its Own Path 4. Building a Robot That Can Play Laser Tag 5. A Robot That Can Draw 6. A Robot That Can Play Air Hockey 7. A Robot That Can Fly Index

Using eSpeak to allow your robot to respond in voice

Sound is an important tool in our robotic toolkit, but you will want to do more than just play music. Let's make our robot speak. You're going to start with enabling eSpeak, an open source application that provides us with a computer voice. It is a voice generation application. To get this free functionality, download the eSpeak library by typing sudo apt-get install espeak at the prompt. The download may take a while but the prompt will reappear when it is complete. Now, let's see if Raspberry Pi has a voice. Type the espeak "hello" command. The speaker should emit a hello in a computer generated voice. If it does not, check the speakers and the volume level.

Now that we have a computer generated voice, you may 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...

You have been reading a chapter from
Raspberry Pi Robotic Blueprints
Published in: Oct 2015
Publisher:
ISBN-13: 9781784396282
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