SideTrack

From Music Hack Day

Jump to: navigation, search

A study in using a bunch of APIs by Alan Fineberg (http://alanfineberg.blogspot.com/2012/02/this-weekend-was-one-well-spent-as-i.html)

* start with a song search term
* lookup its lyrics on MusiXMatch
* randomly select 4 words from the lyrics and say the phrase out loud
* search these words on echonest 
* get the first artist match, and store their location
* reverse geocode the artist's location on google and get their country
* search artists in that country on MUSIC BRAINZ using a song title from the artist
* use an artist name and search tracks on spotify
* construct a random phrase from these results and repeat as long as depth is > 0
* when depth is 0, play the first track result for this phrase on Spotify
Personal tools