Get Appointment

Voice Command Assistant

Python Voice Assistant — Listen, Understand, and R

T A simple Python-based voice assistant that uses Google Speech Recognition to understand voice commands and responds with speech via pyttsx3. Supports basic commands like greetings, telling the time, and exiting, and can be easily extended with custom commands.

Category
Terminal Code
Source Code
View
Published
Aug. 14, 2025

Project Summery

A simple Python-based voice assistant that listens to your voice commands, processes them, and responds with speech.

Features

  • Listen to your voice using the microphone.
  • Recognize speech using Google Speech Recognition API.
  • Respond with speech using text-to-speech engine (pyttsx3).
  • Supports basic commands like greeting, telling time, and exit.
  • Easy to extend with your own commands.

Requirements

  • Python 3.6+
  • Microphone (for input)

Installation

1. Clone the repository or download the script:

git clone https://github.com/sujit-codezen/voice_assistance.git
cd voice-command-assistant

2. Create and activate a virtual environment (optional but recommended):

python -m venv venv
source venv/bin/activate       # Linux/macOS
venv\Scripts\activate          # Windows

3. Install dependencies:

pip install -r requirements.txt

Output:

alt text

Tags
Share