AaronRandall / miri

Raspberry Pi + Music + Siri

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

miri

Miri is a Raspberry Pi-based personal assistant, controlled by voice, that specialises in answering music-related questions, e.g.

  • "Tell me about The Rolling Stones"
  • "Play The Knife"
  • "What is my next concert?"
  • "When did The Beatles break up?"
  • "What frequencies can a violin sound?"

See it in action here: http://goo.gl/jBoJj

Requirements

You will need:

Installation

Install a bunch of stuff:

sudo apt-get install git ncmpcpp mopidy ruby ffmpeg ruby-dev mplayer sox libcurl4-openssl-dev libcurl4-gnutls-dev

and then install Mopidy:

http://docs.mopidy.com/en/latest/installation/raspberrypi/#how-to-for-debian-7-wheezy

checkout the project:

git clone git@github.com:AaronRandall/miri.git

and modify:

miri/lib/miri/app_config.rb

to include API keys for each service. You can sign-up to get API keys from:

Usage

Run:

bin/miri

Say something! e.g.

  • "Tell me about The Rolling Stones"
  • "Play The Knife"
  • "What is my next concert?"
  • "When did The Beatles break up?"
  • "What frequencies can a violin sound?"

Other stuff

Run:

bin/miri_with_detection

to allow for detecting audio (e.g. "Hello Miri!"), and automatically start Miri (hands-free, instead of having to manually run bin/miri).

About

Raspberry Pi + Music + Siri


Languages

Language:Ruby 97.1%Language:Shell 2.9%