LucidLink
Monitors Muse headband EEG data, and triggers events (eg audio) when REM sleep is detected.
Task list can be found here: https://trello.com/b/2ZYLJ2l1/lucid-link
Prepare
- Ensure prerequisite programs are installed: Git (+TortoiseGit), NodeJS, Android SDK, VirtualBox, Genymotion
- Ensure prerequisite Android SDK packages are installed: [...]
- Ensure prerequisite npm modules are installed: react-native-cli
- Ensure a virtual Android 5+ device is set up in Genymotion (which uses VirtualBox). (or have an Android 5+ device)
Install
- Clone this repo to your computer using git. (I use the TortoiseGit ui)
- Open CMD in "Main" folder, and run "npm install".
- Complete installation of "react-native-libmuse" module: https://github.com/Venryx/react-native-libmuse#install
Compile and run
- Start up the virtual Android device. (or connect Android device through usb/wifi)
- Open CMD in "Main" folder, and run "react-native run-android".
Making changes
- For JS (ui) changes, edit the files in "Main/Source". (I use Visual Studio Code)
- For Java changes, edit the files in "Main/android/app/src". (I use Android Studio)