Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Voice Command Recorder 🎤

A simple voice command recorder using Python, Tkinter, and Speech Recognition. This application listens for voice commands, recognizes them using Google Speech Recognition, and executes corresponding system commands like opening Notepad or Calculator.

🚀 Features

  • 🎙 Voice Recognition: Uses Google Speech Recognition to convert speech to text.
  • 🖥 System Commands Execution: Opens Notepad, Calculator, or performs shutdown/restart based on voice input.
  • 🎛 Graphical User Interface (GUI): Built with Tkinter for easy interaction.
  • 🔄 Multithreading Support: Ensures smooth recording without freezing the interface.

📌 Installation

1️⃣ Clone the Repository

git clone https://github.com/your-username/voice-command-recorder.git
cd voice-command-recorder

2️⃣ Install Dependencies

Ensure you have Python installed, then run:

pip install -r requirements.txt

Dependencies:

  • tkinter (for GUI)
  • speechrecognition (for speech processing)
  • numpy (for audio processing)
  • sounddevice (for recording audio)

3️⃣ Run the Application

python voice_command.py

🛠 How It Works

  1. Click the Record button and speak your command.
  2. The app records your voice for 5 seconds.
  3. Google Speech Recognition processes the audio.
  4. The recognized command is displayed and executed if valid.

🎯 Supported Commands

Command Action
"Notepad" Opens Notepad
"Calculator" / "Calc" Opens Calculator
"Shutdown" Shuts down the system
"Restart" Restarts the system

📸 Screenshots

🔹 Coming Soon!

🛡 Known Issues

  • Requires an internet connection for Google Speech Recognition.
  • Background noise may affect recognition accuracy.

🤝 Contributing

Feel free to fork the repository and submit a pull request! Contributions are always welcome.

📜 License

This project is licensed under the MIT License.

💡 Star this repo if you found it useful! 🌟

About

using tkinter the code will accomplish the tasks

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages