Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Rapid BeagleBoard Prototyping with MATLAB and Simulink

You're reading from  Rapid BeagleBoard Prototyping with MATLAB and Simulink

Product type Book
Published in Oct 2013
Publisher Packt
ISBN-13 9781849696043
Pages 152 pages
Edition 1st Edition
Languages

Table of Contents (15) Chapters

Rapid BeagleBoard Prototyping with MATLAB and Simulink
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Introducing BeagleBoard 2. Installing Linux on the BeagleBoard 3. C/C++ Development with Eclipse on Windows 4. Automatic Code Generation 5. Digital I/O and Serial Communication 6. Voice Recognition 7. Digital Video-Based Motion Detection Wrapping Up Index

Running the voice recognition application


Since the voice recognition application consists of two phases, training and recognition, running the recognition application is a two-step procedure and is carried out as follows:

  1. Open the training model VocRcgBB_Trn.mdl and run the model.

  2. As VocRcgBB_Trn.mdl is running on the BeagleBoard, click on the Voice Meaning Selection switch to select which command (ON/OFF) the training voice is for. Then speak in the microphone to capture the training voice. At least one training voice for each command should be recorded.

  3. When you finish, stop and close the training model. Two new variables, trsOFF and codebkOFF, should appear in the MATLAB workspace.

  4. Enter the following two commands in the MATLAB command window to generate codebooks for the voice commands ON and OFF, respectively:

    codebkOFF=vqlbg(mfcc(trsOFF), 16);
    codebkON=vqlbg(mfcc(trsON), 16);
  5. Open the recognition model VocRcgBB_Rcg.mdl and run it on the BeagleBoard. You can now speak the voice commands...

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 €14.99/month. Cancel anytime}