Skip to content

thismusicdude/genre-classification-network

Repository files navigation

genre-classification-network

Software Setup

add a .env file in repository and fill it with the following environment variables

CLIENT_ID="<client id>"
CLIENT_SECRET="<secret token>"

you can get those tokens from the Spotify Web API Developer Console

Aim of this project

The aim of this project is to develop a more aesthetically pleasing and user-friendly solution. The focus here is on improved visualization, usability and user-friendliness in order to facilitate the exploration of musical genres from user libraries and make it a pleasant experience.

How does it work?

  1. authentication and data retrieval:
    • The user logs in to Spotify (see Figure 1) to grant access to their listening habits. The data is then retrieved via the Spotify API.
  2. data processing:
    • The genres of the most listened to artists are extracted and transferred into a meaningful hierarchy.
  3. Graph generation:
    • Based on the processed data, the FDG is generated. The main genres are positioned at regular intervals around the root node, while subgenres are distributed dynamically.
  4. interaction:
    • The user can manually move or zoom in on the graph to get a customized view.

For a visually appealing design of the application, a shader reminiscent of plasma was implemented for certain backgrounds and textures. This was based on an already published shader from a godot user and was modified to server our puproses. image

About

an interactive force-directed graph that beautifully presents spotify genres. (Unviversity Project)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •