Fun speech-based app to get TJBot playing (and dancing to) song snippets using Watson Apis and the Spotify apis
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.DS_Store
.gitignore
README.md
config.default.js
package.json
preview.mp3
test.js
tjdj.js

README.md

tjdj [Beta - meaning still in development]

Fun speech-based app to get TJBot playing (and dancing to) song snippets using Watson Apis and the Spotify apis

How It Works

  • Listen for voice commands containing song name e.g play {cry me a river}
  • Recognize the word play and then trigger a spotify search for the song name
  • Download the song preview (mp3)
  • Convert to wav format (for decoding and sampling)
  • Play song and dance to it.

##Dependencies

This app requires mpg321 to play an mp3 file.

sudo apt-get update
sudo apt-get install mpg321  

Following this, you will need to install node Dependencies npm install

##Running

Start the application. (Note: you need sudo access)

sudo node tjdj.js     

Then you should be able to speak to the microphone and ask your TJBot to play

play smooth criminal by michael jackson
play stranger in moscow

Dependencies List