This is an adaptation of LSL_Neuromore from ViacheslavBobrov adapted to work alongside OpenSignals.
Connecting BITalino devices to Neuromore Studio
The script redirects LSL stream to OSC, which Neuromore Studio takes as its input. The script connects Muse headband, but in theory it can work with other devices (for example Open BCI) as long as the data from them goes thought LSL stream. Below is the instruction for Windows 10. For the other platforms the steps are similar, except no need for running BlueMuse, because muse-lsl can be used instead (https://github.com/alexandrebarachant/muse-lsl)
- Python 3 (tested with 3.7 version) with pylsl and python-osc packages installed
pip install pylsl
pip install python-osc
- OpenSignals (r)evolution https://biosignalsplux.com/products/software/opensignals.html
- Neuromore Studio https://github.com/neuromore/studio (tested with 1.4.4 version)
- Pair your device in the bluetooth preferences of your OS
- Start OpenSignals
- Go to the device finder and enable your device. Sample rate and channel selection can also be altered here
- In the settings, go to
INTEGRATION
and tickLab Streaming Layer
- Copy
- Begin acquisition (red record button)
Connect the Muse headband to BlueMuse- Run
python3 stream_data.py
- Open Neuromore Studio and configure OSC Server (
Edit -> Settings
) to listen on input port 4545, address 0.0.0.0 (if everything runs on a local machine) - In the Studio create a Classifier and create 4 (or 5 for aux channel) OSC Input nodes
- Configure each node to listen to one of the OSC addresses (
/bitalino/A1
,/bitalino/A2
etc.) and set the sampling rate to 256 - To see the raw data:
View -> Add -> Signal View
The Script should work for Muse 2 as well, alternative solution https://github.com/naxocaballero/muse2-neuromore
- By default, the script takes data from the OpenSignals directory. If this returns an error, copy from
OpenSignals (r)evolution/configurationsdevice_list.json/
to theLSL_Neuromore
folder and add runpython3 stream_data.py local_dir
-
Currently, this has only been tested with BITalino
-
This has not been tested with multiple devices in the configuration file, only one device should be enabled at one time
-
Only streaming (max 6) analog channels by default, digital channels can be added to the cahnnel list, however.