Skip to content

Latest commit

 

History

History
executable file
·
18 lines (13 loc) · 676 Bytes

README.md

File metadata and controls

executable file
·
18 lines (13 loc) · 676 Bytes

Socket.io & Express Node for Max example

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.

to install:

  1. Clone
  2. Install Node.js
  3. open Terminal in Folder
  4. use npm install, possibly fix stuff with audit.

start application

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.