Skip to content
This repository has been archived by the owner on Dec 17, 2022. It is now read-only.
/ mood-music Public archive

Play music based on your current mental state. Built for HackUSU 2017.

License

Notifications You must be signed in to change notification settings

themcaffee/mood-music

Repository files navigation

Muse Music

Play music based on your current mood. Using a Muse EEG headband we are able to scan a current level of mellowness from the wearer and use that to queue up songs on Spotify that keep up with the mood of the wearer in realtime.

Muse Music in Action.gif

Getting Started

Prerequisites

You will need:

  • Muse EEG-reading headband
  • Device with python3 to process the headband data and interface with Spotify
  • Spotify account with premium subscription
  • Spotify developer account (free - https://developer.spotify.com)

Usage

./muse-io --device 00:06:66:65:92:94 --osc osc.udp://127.0.0.1:5000
python muse_tool.py
export FLASK_RUN=predict_api.py
flask run --port 8000

Set some environment variables:

export SPOTIPY_CLIENT_ID={your spotify developer account client id}
export SPOTIPY_CLIENT_SECRET={your spotify dev account client secret}
export SPOTIPY_REDIRECT_URI={any redirect URI will do}
export SPOTIFY_USERNAME={your spotify username}

To run the demo application also run this:

python demo.py

Built With

Authors

This project was created by Mitch McAffee and Rahul Ramkumar for hackusu 2017

About

Play music based on your current mental state. Built for HackUSU 2017.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages