Classificatore di generi musicali
Matteo Collina
Università degli Studi di Milano
PAPER
Prerequisites :
- pyAudioAnalysis
- musixmatch
- numpy
- pymongo
- youtube_dl
- BeautifulSoup
- pydub
- shutil
-
Start mongo server
$ mongo
-
It's possible to build ground truth only with Musixmatch service, so create api.json and put you API key
{musixmatch:<API_KEY>}
. -
Set
__map_genres_id
: it is a hashmap that contains:
genre(string):id(number)
- genre: name of genre in your local music/ folder
- id: id of genre in Musixmatch API So the system download a list of tracks of current genre and put them in music collection in mongodb.
- Start to download all tracks with
createGroundTruth
, and automatically put them in /music/genre folder.