I can read your mind using JavaScript
summary
Claim: live EEG from a Muse headband is captured over Web Bluetooth using the GATT server and muse.js, parsed with RxJS and reduced to a simple blink detector. Code fits roughly 40 lines of code, connects via device.gatt.connect, creates MuseClient, subscribes to client.eegReadings, inspects electrodes 1 and 2, computes Math.max(samples) and triggers left blink/right blink when max > 800. Demonstration shows front sensors work reliably enough to log blinks in real time.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:13EEG headband and libraries
- 2:36Bluetooth and GATT connection
- 4:45Reading EEG streams
- 7:15Processing brainwave data
- 9:00Live blink detection demo
- 10:07Conclusion








