Tumgik
#tunerio
musixmatch-lyrics ยท 12 years
Text
Say hello to Tuner.io Lyric analysis of the Billboard Charts
We love hacking and hackaton. And we started musiXmatch from there. Here a Guest post by @mutlu82 and @frasiocht, 2 hackers who built an awesome project based on musiXmatch API
Tuner.io was created over 12 hours at a hackday held by the great team at Mashape. It's a website that looks at the lyrics of songs in the Billboard top 100, counts words and overall sentiment (positive, negative, neutral) and then organises the most popular results using the APIs available from Musixmatch and Text Processing. We focused on some key areas such as profanity and love, hoping to draw some conclusions from the data about what type of songs make up the top 100.
The idea came from a discussion about 'What really makes up a rap song these days?" and whether it was possible to show common elements to rap songs automatically. This idea then expanded into looking at the entire Billboard Top 100 and using all this generally overlooked data to analyse songs in a new way. It's really interesting take on music, but we're only scratching the surface.
There's some real potential with Tuner.io, especially if we add the ability to show trends over time. For example how much has profanity increased in songs over the last 20 years? Have songs been more positive or negative during the financial crisis? What type of song is more likely to get into the top 10?
Now for the technical part:
Tuner uses the MaShape API distributer to utilise a number of services to achieve it's goals of Lyrical sentiment analysis. Initially we make a call to Musixmatch to retrieve the current billboard top 100. (The billboard top 100 changes every Thursday at 12:00 EST, Tuner will update weekly to reflect this).
Once we get all these tracks we then do separate calls for each to retrieve the lyrics (again from Musixmatch). We also use the Text Processing API service to gather the sentiment associated with each song. This API returns Negative, Positive and Neutral values associated with the lyrics. While this is going on we explode the song lyrics and sort them against preselected values representing Profanity, Love, Sex and Materialistic features. The results are then presented as an HTML page containing integration to Spotify's Javascript hooks and additionally their pop up player.
Voila!
We had a lot of fun making Tuner.io and can't wait to take it to the next level, thanks to all the guys at Mashape, Musixmatch and Text Processing for your support!
@mutlu82 and @frasiocht
0 notes