Violet is a lightweight, modular voice assistant built with Python that can listen, understand voice commands, and perform tasks like playing music, searching the web, or reading information aloud — similar to Alexa or Google Assistant.
- Wake-word activation ("Hey bot")
- Speech recognition and natural command parsing
- Text-to-speech responses
- Music playback (via YouTube or local files)
- Modular command processing
- Easy to extend with new skills
- Python 3
speech_recognition+pyaudiopyttsx3/gTTSfor speech outputpywhatkit,pafy,yt-dlp,vlcfor mediakeyboard,threadingfor control logic
- Microphone (USB or 3.5mm)
- Speaker output
- Python environment with required libraries
- Internet connection (for online tasks)
│ ├── main.py ├── Brains.py ├── VoicePartitions.py ├── SpeechRec.py ├── Scearch.py ├── requirements.txt ├── README.md
- Listens passively for "hey violet"
- Activates voice recognition and parses the intent
- Executes the command (e.g., play a song, speak a fact)
- Responds via voice output
- API keys (e.g., for YouTube or Reddit) should be stored securely in
.env - Works best on a Raspberry Pi or local machine with mic/speaker
- Modular design makes it easy to add custom skills
- GUI interface
- Visual feedback (LED ring)
- Offline mode with Vosk
- Integration with smart home devices