Skip to main content
  • Book
  • © 2016

Building a Virtual Assistant for Raspberry Pi

The practical guide for constructing a voice-controlled virtual assistant

Apress

Authors:

  • Develop your own voice controlled assistant, Melissa, in Python
  • Learn concepts by making Melissa more intelligent as we progress along the book
  • Strengthen concepts by building scalable modules for Melissa
  • Discuss how Melissa can be scaled for enterprise quality products so that the learning continues

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 37.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (9 chapters)

  1. Front Matter

    Pages i-xvii
  2. Introduction to Virtual Assistants

    • Tanay Pant
    Pages 1-8
  3. Developing a Music Player for Melissa

    • Tanay Pant
    Pages 43-49
  4. Developing a Note-Taking Application

    • Tanay Pant
    Pages 51-57
  5. Building a Web Interface for Melissa

    • Tanay Pant
    Pages 71-80
  6. Back Matter

    Pages 93-95

About this book

Build a voice-controlled virtual assistant using speech-to-text engines, text-to-speech engines, and conversation modules. This book shows you how to program the virtual assistant to gather data from the internet (weather data, data from Wikipedia, data mining); play music; and take notes. Each chapter covers building a mini project/module to make the virtual assistant better. You'll develop the software on Linux or OS X before transferring it to your Raspberry Pi, ready for deploying in your own home-automation or Internet of Things applications.

Building a Virtual Assistant for Raspberry Pi walks you through various STTs and TTSs and the implementation of these components with the help of Python. After that you will start implementing logic for handling user queries and commands, so that the user can have conversations with Melissa. You will then work to improve logic handling to detect what the user wants Melissa to do. You will also work on building some useful applications/modules for Melissa, which will allow you to gain interesting information from Melissa such as the time, weather information, and data from Wikipedia.

You will develop a music playing application as well as a note taking application for Melissa, laying the foundations for how Melissa can be further extended. Finally, you will learn how to deploy this software to your Raspberry Pi and how you can further scale Melissa to make her more intelligent, interactive and how you can use her in other projects such as home automation as well.

What You'll Learn

  • Design the workflow and discover the concepts of building a voice controlled assistant
  • Develop modules for having conversations with the assistant
  • Enable the assistant to retrieve information from the internet
  • Build utilities like a music player and a note taking application for the virtual assistant
  • Integrate this software with a Raspberry Pi

Who This Book Is For

Anyone who has built a home automation project with Raspberry Pi and now want to enhance it by making it voice-controlled. The book would also interest students from computer science or related disciplines.

Authors and Affiliations

  • Ghaziabad, India

    Tanay Pant

About the author

Tanay Pant is an Indian author, hacker, developer and tech enthusiast. He is best known for his work on "Learning Firefox OS Application Development" which was published by Packt. He is also an official representative of Mozilla. He has been listed in the about:credits of the Firefox web browser for his contributions to the different open source projects of the Mozilla Foundation.

 He also writes for a number of websites like SitePoint and Tuts+ where he shares tips and tricks about web development as well his opinions on different products. He digitally published Code Zer0 in his younger days to spread awareness about cyber security and hacker culture.

He is also the chief architect of Stock Wolf, a global virtual stock trading platform that aims to impart practical education about stocks and markets. This platform has acquired more than 100 colleges and has players from about 15 countries.

Bibliographic Information

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 37.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access