This repository contains tools for getting Muse signals using Python.
You will need some tools to get started with Muse headset and pyMuse:
- Muse SDK --> https://sites.google.com/a/interaxon.ca/muse-developer-site/download
- Python 2.7
- matplotlib --> pip install matplotlib
- numpy --> pip install numpy
- liblo and pyliblo
Don't hesitate to go on Muse Developer website to get information.
For MacOS users that use homebrew, see https://github.com/marionleborgne/cloudbrain#install-liblo
Otherwise, here are the following steps to follow (first two are for liblo, the last two are for pyliblo):
- Download liblo on the sourceforge webpage
- Extract the archive file, open a terminal in that folder and type
./configure
. Thenmake
and finallymake install
. Note that everything is explained in detail in theINSTALL
file. - Dowload pyliblo on the package webpage
- Extract the archive file, open a terminal in that folder and type
python setup.py build
thenpython setup.py install
- Connect your Muse headset with your computer by bluetooth
- Start MuseIO (in a terminal):
muse-io --osc osc.udp://localhost:5001,osc.udp://localhost:5002
- Start EEG display script (in a new terminal):
python eeg_display.py
See the developer webpage for details.
- Connect your Muse headset with your computer by bluetooth
- Start MuseIO (in a terminal):
muse-io --osc osc.udp://localhost:5001,osc.udp://localhost:5002
- Start MuseLab (a GUI for real-time visualization of brainwaves). It allows you to record the whole data for offline analysis (via the Recording tab). You might also look at the Markers tab to add triggers to your experiment.
- Stop MuseIO and MuseLab now that data have been recorded.
- Run MusePlayer to stream the datat to a server.
muse-player -f you_recorded_data.muse -s osc.udp://localhost:5001
Note that you can add your recorded data to the following repository to share it with the other members. 6. Now you can display your recorded session using eeg displayer, or processing with your favorite software.