"Dark" - Your Personalized Voice Assistant
This is a simple voice-controlled assistant program written in Python. It uses speech recognition and text-to-speech libraries to perform tasks based on user commands.
- Greet the user based on the time of day.
- Provide information from Wikipedia.
- Open YouTube, Google, and Stack Overflow in the default web browser.
- Play music from a specified directory.
- Provide the current time.
- Open Visual Studio Code.
- Python 3.x
- Required libraries (install using
pip install
):- pyttsx3
- speech_recognition
- datetime
- wikipedia
- webbrowser
Install the required libraries: $ pip install pyttsx3 speech_recognition wikipedia
1.Run the voice_assistant.py file: $ python voice_assistant.py
2.The assistant will greet you and wait for your command. You can give voice commands like:
"Search Wikipedia for [query]"
"Hi Dark"
"Who am I"
"Open YouTube"
"Play music"
"What's the time"
"Open Code"
3.The assistant will respond to your commands accordingly.
open the exe. file: dist->voiceassistant->voiceassistant.exe