JavaScript lets you type with brain signals
summary
An open-source brain‑computer interface implemented end‑to‑end in JavaScript reads a consumer 14‑electrode wireless EEG, detects the P300 oddball paradigm, and maps attended flashes to letters; raw 128 Hz data is band‑pass filtered to 1–12 Hz, epoched to one‑second trials, normalized and classified with a Bayesian linear discriminant approach (MATLAB used as an eigenvector REST service). The demo sometimes types “hello” but is brittle—jaw or eye movement ruins signals—and while lab setups reach 20 letters per minute, the consumer headset is much slower and flaky.
AI-written summary · about
chapters (6)
- 0:00Start
- 9:11HOW DOES THIS BLACK MAGIC WORK?
- 25:30TECH STACK
- 29:01FORMATTING THE DATA FOR MACHINE LEARNING
- 32:14THANK YOU!
- 34:32SEPARATE BLACK FROM RED
related talks
29mconsole.log(brain)
45mMind control in JavaScript - Experimenting with alternative interactions
30mLook mum, no hands ! Mind control in JavaScript
34mReading Thoughts with JavaScript
41mNeuroJavaScript
33mLook mum, no hands!
42mExploring Alternative Interactions in JavaScript
18mExploring alternative interactions in JavaScript
