raccoons-2014/Mood_Ring — pull request #17 by patriciacarbajal (2014-12-27 23:00:28+00:00)
Title: Junk track filter

Echonest query seems to be about 80-90% accurate. I will continue messing with it.
For now, I set it up so that it saves the song and artist name in an array called tracknames, and tracknames[0] is used to query soundcloud. Soundcloud finds the track with matching title and artist, and plays it.

If you look in the console while clicking the mood buttons, you can see how the list of tracks changes according to mood.

Sometimes, however, it will randomly play a song that is in a completely wrong genre and I'm trying to figure out why.

I also refactored the code in main.js so that there is one onclick function for all moods.
@amixofpersons @sgharms @linkblaine