programming project w/ Spotify Web API

Moooody

How I matched music discovery, recommendations and mood through design and programming

When choosing what to listen on Spotify I often don’t have much time to browse and I end up selecting the usual, or mood-inspired playlists created by others. As a result, I used the Spotify Web API to build a tool designed specifically for discovering new music based on mood, tailored to the user music history. After studying the documentation I created a tool that works as follow:

The program will source the top 10 songs from the user's top 100 artists of the last 6 months. Out of those, 2 songs are selected as seeds to generate a new playlist. I wanted to tailor the playlist to a mood that would resonate with the user's state of mind, and for this I associated mood to animal behaviour. The program asks 'How do you feel today? Sloth, Quokka, Cheetah or curious?'. Each choice is translated into specific values of valence, beats per minute and energy levels which are matched to the songs selected for the playlist. Finally, the curious option will allow you to discover mixed mood songs.

The interface reflects the different feelings. When hovering on a mood button, the background color changes accordingly. Each mood is translated visually into specific gradients, to underline the character of the playlist that will be generated. The application is now live and available here.

project details
  • date 2021 / 2022
  • project by Cinzia Ferrari and Jose Caballero
  • skills Critical thinking, Programming, Heuristic Evaluation, Experience Research, Interface design
  • tools Python, Spotify Web API, Spotipy, Flask, HTML5, CSS, Javascript
  • try it out Moooody
  • to see the code My Github