Example that reads out accelerometer of connected phone and reads it in to Max using Nodejs.
Based on pixelskull's Socket.io-SensorData-Example (https://github.com/pixelskull/Socket.io-SensorData-Example)
simple example how socket.io can be used to send sensor data from a smartphone to the server.
- Clone
- Install Node.js
- open Terminal in Folder
- use
npm install
, possibly fix stuff with audit.
Start the Max patch and start it with script start. Then connect to the service by navigating the phone to the IP of the server, with a port of 3000.