This project predict music mood by combining cognitive psychology of music and music theory.
Files to get music data:
-
GetPlaylist.py: get songs data in Spotify playlists.
-
GetAnalysis.py: get audio analysis data of songs.
-
GetSongFeature.py: get music analysis data of songs.
To get music data, have to apply Spotify API and collect music data url.
- Python 3.7+
- Pandas
- Spotipy
- Requests, bs4
sudo apt-get install python3.7 # to install python
pip install pandas # to install pandas
python [File Name]
# To execute GetPlaylist.py
python GetPlaylist.py