Connector that transmits data from Muse Device to P5 front-end using OSC. To use this package you'll need to buy MindMonitor App.
$ git clone https://github.com/slitrobo/muse-osc-p5
$ cd muse-osc-p5/
$ npm install
node bridge.js
- Start the script to receive OSC (The standart port is 5000)
- Start streaming the data from MindMonitor app
- Open
/client/index.html
in your browser.
Now you should see the data transmitting directly to your browser.
The brainwave data can be obtained from osc.data
object: just use the name the name of the wave (osc.data.delta
).
You can extract custom data by setting different OSC Tags in base/osc.js
file.
Inspired by Gene Kogan's p5js-osc.