Posts

Showing posts from December, 2020
Image
 Voice Assistant for Desktop: Introduction A virtual assistant, also called an AI assistant or digital assistant, is an application program that understands natural language voice commands and completes tasks for the user. For building any voice based assistant you need two main functions. One for listening to your commands and another to respond to your commands. Along with these two core functions, you need the customized instructions that you will feed your assistant. The first step is to install and import all the necessary libraries. Use  pip install  to install the libraries before importing them. Following are some of the key libraries used in this program: The  SpeechRecognition library  allows Python to access audio from your system’s microphone, transcribe the audio, and save it. Google’s  text-to-speech package, gTTS  converts your audio questions to text. The response from the look-up function that you write for fetching answer to the quest...