© Tanay Pant 2016

Tanay Pant, Building a Virtual Assistant for Raspberry Pi, 10.1007/978-1-4842-2167-9_2

2. Understanding and Building an Application with STT and TTS

Tanay Pant

(1)Ghaziabad, Uttar Pradesh, India

This chapter introduces you to the concepts of speech-to-text (STT) and text-to-speech (TTS). It discusses various STT engines, and you build a Python program that records audio. You then graduate to an application that converts whatever you say to text. You also look at the use of various TTS engines and implement them to make a program that repeats whatever you say.

Speech-to-Text Engines

As you saw in Chapter 1, the STT engine is one of the three main components of the virtual assistant, Melissa. This component is the entry point for the ...

Get Building a Virtual Assistant for Raspberry Pi: The practical guide for constructing a voice-controlled virtual assistant now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.