Moody Player is an interactive voice-driven desktop assistant that engages users in a short conversation, detects their mood using sentiment analysis, and plays a relevant playlist via YouTube.
- Voice interaction using speech recognition
- Detects user mood through sentiment analysis
- Plays a curated playlist from YouTube based on identified mood
- Randomized daily questions to avoid repetition
- Simple and lightweight GUI using Tkinter
- JSON-based playlist and question storage for easy updates
git clone https://github.com/yourusername/MoodyPlayer.git
cd MoodyPlayerconda create -n moodyplayer python=3.10
conda activate moodyplayerpip install -r requirements.txtIf pyaudio fails to install, run:
pip install pipwin
pipwin install pyaudiopython MoodyPlayerGUI.pyMoodyPlayer/
├── MoodyPlayerGUI.py
├── requirements.txt
├── README.md
└── data/
├── mood_playlists.json
├── question_bank.json
└── used_questions.json (auto-generated)
- You can expand or edit the
mood_playlists.jsonfile to include more songs per mood. - Add or replace mood detection questions in
question_bank.json.