Node Examples

Node Installation

See the getting started repo for full scripts. We used Node.js 10.15.3 for these examples. If you don't use LSL, you can probably use versions 14.15.1+.

Install the dependencies:

npm install

Script Examples

This script receives an OSC EEG stream and prints it to console.

node osc_receive.js -t /PetalStream/blink
node osc_receive.js -t /PetalStream/eye
node osc_receive.js -t /PetalStream/bandpower
node osc_receive.js -t /PetalStream/artifact_detect

Last updated