Reactive Brain Waves
summary
Connects a web Bluetooth headset (Muse) to a browser app using the muse-js wrapper and Angular, streams EEG samples as an RxJS observable, reduces each 12-sample packet to a positive max, filters above 100 threshold, uses switchMap + 300 ms timers and distinctUntilChanged to emit blink true/false, and binds that observable in the template to animate an eye emoji. Live demo is flaky but works; the prototype takes about 8 lines of JS to detect blinks and can drive a lightbulb or a blink-controlled game.
AI-written summary · about
chapters (7)
- 0:00Start
- 1:25Web Bluetooth
- 2:18Web Bluetooth What Is Web Bluetooth
- 12:50Game Plan
- 13:18Filter by Electrode
- 15:05Spread Operator
- 16:47Switch Map
related talks
24mReactive Brain Waves
33mReactive Brain Waves
47mReactive Brain Waves
10mI can read your mind using JavaScript
34mMind controlling the Web with Brain Computer Interfaces
35mNeuroJS - Capturing And Visualizing Brainwaves With Angular 2
30mFrom Web Developer to Brain Artist
18mExploring alternative interactions in JavaScript
