Play songs from a specific genre across a range of moods.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cache
src
.gitignore
README.md
main.js
my_script.py
package.json
rotary_encoder.py

README.md

#WebMoodRadio

Play 30 second previews from a specific genre across a range of moods using the EchoNest API and Spotify Web API.

##Install

Clone this repo.

git clone https://github.com/vinceallenvince/WebMoodRadio

Run npm install.

npm install

Create a src/config.js that contains your Echo Nest and Spotify API credentials. It should look like this.

var config = {
  EN_API_KEY: 'YOUR_ECHO_NEST_API_KEY',
  SPOTIFY_API_CLIENT_ID: 'YOUR_SPOTIFY_API_CLIENT_ID',
  SPOTIFY_API_CLIENT_SECRET: 'YOUR_SPOTIFY_API_CLIENT_SECRET'
}

exports.config = config;

##Usage

Turn on your speakers. Run the app.

node main

Use your 'left' and 'right arrow keys to navigate the channels. To change the range of moods, edit src/moods.

The genre is hardcoded as the Echo Nest 'Blues' genre. To change the genre, edit src/channel.js. You can find a full list of genres via the Echo Nest API.