Inspiration

We were initially inspired to do this project by our friends with ADHD. Many people we knew often struggled to focus, and we noticed that setting timers for work (like the Pomodoro method) and having music playing both often were effective for their productivity. We expanded on this idea to make our application work with anything, so it could supply playlists with the perfect vibe for any activity - down to the last second.

What it does

All Music Glass needs to work is an active Spotify account. To generate the playlist, Music Glass firsts asks the user what they are planning to do and how long that activity will be. From that information, a playlist with that exact length is created, from a list of songs the AI recognized as relevant.

How we built it

We first used Figma to create a sketch of the graphics for the website. Then, we decided first to create the algorithm that would fit playlists to be the exact length requested by the user, using songs the user already listened to frequently without including AI. From there, we designed all the visual components of the project, going off the original Figma designs. Lastly, we integrated the openAI API into our code, to finish the product.

Challenges we ran into

One of our biggest problems was that the GitHub frequently had issues, which made it difficult for team members to collaborate on one project. On top of this, our team had a wide range of skill levels, so we had to first make sure everyone was on the same page and equipped with all the developmental tools so everyone could contribute. Lastly, when preparing to submit, many of the tools stopped working due to switching the GitHub from private to public. Although it was not as frustrating as some of the other issues we faced, one memorable problem we dealt with was a strange error that only occurred on one person's computer. After painstakingly going through the code, we realized that the error was not due to any programming mistake, but because we had set up the app to access the Spotify account's profile picture - and one person did not have a profile picture for their account. Without a doubt, this was a very unexpected issue to encounter!

Accomplishments that we're proud of

Due to us making a clear Figma prototype at the start, the final UI/UX for Music Glass looks really nice and clean. Also, the process of designing the algorithm for generating playlists of a specific length went very smoothly, and the algorithm itself runs extremely well too.

What we learned

Team work makes the dream work :)

What's next for Music Glass

At this moment, the clearest spot for improvement would be the addition of a database to log users' searches and songs. This would allow the program to assign weights to different songs based off of the users, which would allow for the creation of playlists better curated for the user, and more precise recommendations for the user's prompt.

+ 1 more
Share this project:

Updates