OpenBCI Observable
Reactive OpenBCI for Node
Getting started
This library works with the following OpenBCI hardware:
Get started by importing the module:
npm install --save openbci-observable
const Cyton Ganglion Wifi = ;// Or with an alias...const BrainObservable = Ganglion;
Examples
Basic usage
Cyton
const Cyton = ;{const cyton = ;await cyton;await cytonstart;cytonstream;};
Ganglion
const Ganglion = ;{const ganglion = ;await ganglion;await ganglionstart;ganglionstream;};
Wifi
const Wifi = ;{const wifi = ;await wifi;await wifistart;wifistream;};
Adding operators
** All operators from this library have been migrated to the eeg-pipes project. Now these can be used as "lettable" RxJS operators. **
// npm install openbci-observable eeg-pipesconst Ganglion = ;const voltsToMicrovolts bufferFFT alphaRange = ;{const ganglion = ;await ganglion;await ganglionstart;ganglionstream;};
And now we have an FFT buffer of Alpha waves!
Dependencies Prerequisites
Make sure you have Node version >= 7.8 installed for development purpose.
License
MIT © Alex Castillo