Logo
Anshul Kanodia
Back to Portfolio

Desktop Voice Assistant

Command-Line OS Automation Utility designed for Windows Environments.

Project Banner

Project Overview

The Desktop Voice Assistant (DVA) is a modular productivity toolkit built in Python to streamline operating system automation via text and spoken commands. Instead of manually navigating complex directories, settings profiles, or trigger layouts, DVA hooks directly into speech recognition frameworks and the native Windows API to execute commands on the fly.

Core Capabilities

  • System Automation: Executes voice-activated system tasks, including adjusting volumes, searching hard drives, opening tools, and triggering operations.
  • Speech Synthesis & Recognition: Utilizes speech recognition libraries paired with native TTS engines to support natural, voice-driven execution cycles.
  • Extensible Command Registry: Engineered with a modular script pattern, enabling developers to easily bind new commands to specific voice triggers.

Technology Stack

Python SpeechRecognition Library Pyttsx3 (Text-to-Speech) Windows OS API Subprocess Modules

Project Architecture

The assistant operates using a standard read-eval-print loop (REPL) structure customized for voice inputs:

1

Listening Loop: Spawns a background thread that captures raw microphone input and filters ambient noise dynamically.

2

Command Dispatcher: Maps the transcribed string against custom regex patterns to determine the target action.

3

Windows Shell Execution: Runs subprocess actions safely inside the terminal to trigger tasks without freezing the assistant's loop.