Here’s a simple Python-based Voice Command File Launcher using speech_recognition
and os
modules. This script allows you to open specific files or apps using voice commands.
Features:
-
Recognizes your voice input via microphone
-
Matches keywords with a predefined dictionary of file paths
-
Launches files or applications accordingly
Prerequisites
Install required packages:
If
pyaudio
fails to install, use:
pip install pipwin
pipwin install pyaudio
Python Script
Customization
-
Replace file paths with the actual path on your system.
-
Add more entries to the
commands
dictionary. -
Add a GUI or logging if needed for advanced use.
This script listens continuously until you say “exit” or “quit”.
Let me know if you want a version with a graphical interface or support for more complex commands.
Leave a Reply