Node Examples
Last updated
Was this helpful?
Last updated
Was this helpful?
See the 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:
This script receives an LSL EEG stream and prints it to console.
This script streams 4 channels of EEG data at a selected sample rate. It can stream randomly generated data, or from a CSV file with any header where the first 4 columns represent channels 1-4.
Random EEG data at 256Hz:
From a CSV file at 256Hz: