Search icon
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

Training session


In the training session, we are collecting the voices of ON and OFF which are used to develop the codebook for recognition. The audio captured from the microphone connected to the BeagleBoard is saved to the MATLAB workspace for pattern analysis and pattern code generation.

Voice acquisition and segmentation

As shown in the following screenshot, a Simulink model VocRcgBB_Trn.mdl has been developed for training and creating the code book. The ALSA Audio Capture block is configured to a sampling frequency of 22050 Hz and sends out the stereo audio data in a 2205 x 2 frame of 16-bit integers at interval 0.1 s. For floating point processing, the Normalize block converts the captured two-channel audio data (a 2205 x 2 integer matrix) into single-channel double data (a 2205 x 1 double vector).

The rest of the model consists of the following function blocks:

  1. The buffer block (highlighted by a red circle numbered 1) is configured to buffer size 22050 and buffer overlap 9*2205. This...

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}