Building a Multi-Purpose Voice Search App in Python - Part 6

in #programming7 years ago

In this part 6 of the tutorial we start working on the voice recognition functionality.

The modules that we are using are speech_recognition and pygame. These have to be installed as they cannot be found in the core Python package. Once these are imported we'll also have to register for an API key with Google Cloud Speech that has a free tier of usage.

Speech_recognition allows the ability to work with various speech recognition engines, other than Google. These include: Watson, Wit.ai, Sphinx, and others. Some are free (because they're open source - like Sphinx), while others have or have not free tiers. However, I like to stick to using Google's API because I consider it the most accurate.

In this part of the tutorial we work on building the function that's gonna be called when the voice search button is clicked. We'll finish the function in upcoming tutorials. If this sounds confusing, please watch the video. Additionally, the code for the video is in the link of the description (a link to my github)


As a refresher, this video series is about building a voice search app with tkinter and Python, which will allow searching on Google, DuckDuckGo, Youtube, and Amazon effortlessly. The minimalistic aspect of the app is a strong point.


Previous videos in this series:

  1. Building a Multi-Purpose Voice Search App in Python - Part 1
  2. Building a Multi-Purpose Voice Search App in Python - Part 2
  3. Building a Multi-Purpose Voice Search App in Python - Part 3
  4. Building a Multi-Purpose Voice Search App in Python - Part 4
  5. Building a Multi-Purpose Voice Search App in Python - Part 5


To stay in touch with me, follow @cristi

#programming #science #python


Cristi Vlad, Self-Experimenter and Author

Coin Marketplace

STEEM 0.35
TRX 0.12
JST 0.040
BTC 70638.80
ETH 3565.34
USDT 1.00
SBD 4.73