Inspiration
Have you ever been invited to a concert of an artist you don't know that much? You feel lost in the middle of the crowd and what is supposed to be a great evening turns into an uncomfortable situation. Well, this doesn't need to happen anymore thanks to concert genie!
What it does
Concert genie provides you a possible outline of the concert based on a probabilistic model that analyses the previous concerts of the artist. By choosing an artist you will obtain a list of songs that corresponds to the possible concert playlist. Moreover, for each song you will be able to read its lyrics and export the playlist to your Spotify account to get in the mood before the great event!
For those with deeper interest in the model we also provide a graph visualisation of the relation between songs where the width of the edges is given by the probability of them appearing together. The playlist generated is marked in red.
How I built it
Data exploration with Jupyter Notebook. Flask backend, React single page for front-end.
The webapp combines information from both previous concerts and information of the songs and artist obtained through the Spotify API.
The setlist generator uses data of the previous concerts of the chosen artist. It then models the playlist as a markov chain where the transition probability between two songs is proportional to the number of times these two songs have been played consecutively. The final list is generated by sampling this markov chain with weights given by the normalised transition probabilities.
Challenges I ran into
Generating new playlists in Spotify and getting a meaningful setlist based on previous concerts' data. Combining different services together and handle cases where data is not accurate or limited.
Accomplishments that I'm proud of
Deploying a successful model that predicts playlist accurately. Providing full experience to the user: from setlist generation to fully integration of the playlist on Spotify, together with lyrics and statistics of the artist.
What I learned
Integration with Spotify API. How concerts are shaped.
What's next for Concert Genie
Integrate Spotify statistics on playlist model.
Log in or sign up for Devpost to join the conversation.