alexandrebarachant/muse-lsl

Python script to stream EEG data from the muse 2016 headset

What it solves

Muse LSL provides a way to stream, visualize, and record EEG (electroencephalogram) data from InteraXon Muse devices. It bridges the gap between consumer-grade EEG hardware and research-standard data collection by integrating with the Lab Streaming Layer (LSL) system, which allows for time-synchronized data streams across a network.

How it works

The project operates as both a command-line tool and a Python library. It connects to Muse devices (Muse 2, Muse S, and the original Muse) via Bluetooth using various backends like bleak. Once connected, it captures raw sensor data and broadcasts it as LSL streams. Users can then use the tool to view the data in real-time, record it to CSV files, or integrate the stream into their own Python applications for further analysis.

Who it’s for

It is designed for researchers, developers, and hobbyists working with brain-computer interfaces (BCI) and EEG-based experiments who need a standardized way to acquire and synchronize EEG data from Muse headbands.

Highlights

  • Multi-device support: Compatible with Muse 2, Muse S, and the classic Muse.
  • LSL Integration: Uses Lab Streaming Layer to enable network-wide time synchronization and near real-time access.
  • Comprehensive sensor data: Supports streaming not just EEG, but also PPG (photoplethysmography), accelerometer, and gyroscope data.
  • Flexible usage: Available as a standalone CLI tool for quick setup or a Python library for custom integration.
  • Built-in visualization: Includes a data viewer to monitor signals in real-time.

Related

  • Project
  • Project
  • Project
  • Project
  • Project