Skip to content

ErnestWong/MuseDreams

Repository files navigation

MuseDreams

WesternHacks project submission link

  • Detects when user is about to fall asleep and makes adjustments to external environment
  • Sends signal to Arduino to dim a light source
  • Computer volume is gradually lowered
  • Sends data to Rails API which is then consumed by Android application to make appropriate changes (i.e. decrease volume, play/pause music, toggle notifications)
  • When user wakes up, settings are gradually reverted

Technologies

  • Muse SDK
  • Arduino microcontroller
  • Rails API
  • Python server interpreting Muse data
  • Android app

How to Run

  • install Muse IO
  • clone repo git clone https://github.com/ErnestWong/MuseDreams.git
  • cd to MuseDreams
  • run ./muse.bash
  • run python main.py to start local server that listens for data from Muse

#Trouble Installing MuseIO? check out the Muse support page

Otherwise, here are some of the problems we ran into:

Downloading MuseIO Pyliblo:
http://das.nasophon.de/pyliblo/

  1. Download Liblo first
  2. Navigate to Pyliblo directory
  3. type command "./setup.py build"
    -troubleshooting: tidalcycles/Dirt#18
    -install brew if not installed yet:
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

4. type command ".setup.py install"
Liblo:
http://liblo.sourceforge.net/
download liblo 0.28
1. Navigate to Liblo directory in the terminal
2. type command "./configure"
3. type command "make install"

IMAGE ALT TEXT HERE IMAGE ALT TEXT HERE

About

WesternHacks project using Muse headband

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published