This is a simple voice-controlled assistant built using Python that responds to your voice commands to open websites and play music π΅. Just say the wake word "Jarvis", give a command like "open Google" or "play Wolf", and it works like magic β¨.
- ποΈ Voice recognition using microphone input
- π Opens websites like Google, LinkedIn, YouTube via voice
- π΅ Plays music from a custom YouTube music library
- π£οΈ Responds using Text-to-Speech with real-time audio output
SpeechRecognitiongTTS(Google Text-to-Speech)Pygame(for audio playback)Webbrowser(to open URLs)
-
Clone the repository
git clone https://github.com/AdithyaSalian23/Python-Voice-Assistant.git cd Python-Voice-Assistant -
Install dependencies
pip install -r requirements.txt
-
Run the assistant
python main.py
"Hello open Google"
"Hello open LinkedIn"
"Hello play Skyfall"
Ensure your microphone is enabled and working.
You can customize the song list in musicLibrary.py
If you face any issues or want to learn more, you can watch a helpful tutorial by CodeWithHarry on YouTube.
π Watch on YouTube β Jarvis Mega Project (Timestamp: 09:30:22)
π§ Timestamp: 09:30:22 β Mega Project 1: Jarvis