Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Getting Started with Raspberry Pi Zero

You're reading from  Getting Started with Raspberry Pi Zero

Product type Book
Published in Mar 2016
Publisher
ISBN-13 9781786469465
Pages 228 pages
Edition 1st Edition
Languages
Author (1):
Richard Grimmett Richard Grimmett
Profile icon Richard Grimmett

Table of Contents (16) Chapters

Getting Started with Raspberry Pi Zero
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Getting Started with Raspberry Pi Zero 2. Programming Raspberry Pi Zero 3. Accessing the GPIO Pins on Raspberry Pi Zero 4. Building and Controlling a Simple Wheeled Robot 5. Building a Robot That Can Walk 6. Adding Voice Recognition and Speech – A Voice Activated Robot 7. Adding Raspberry Pi Zero to an RC Vehicle 8. Playing Rock, Paper, or Scissors with Raspberry Pi Zero 9. Adding Raspberry Pi Zero to a Quadcopter Index

Using eSpeak to allow your robot to respond with an audible 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 by enabling eSpeak, an open source application that provides us with a computerized 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 the Raspberry Pi Zero has a voice. Type the espeak hello command. The speaker should emit "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 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...

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 $15.99/month. Cancel anytime}