Max5 – installation and general usage

Installation of DataNetwork abstractions

Max5 client download

Unpack the gzip tarball, either with a graphical client, or from the command line:

$ tar -xzf ssdn_max5.tar.gz

To make the DataNetwork abstractions available to the Max5 environment, you must add them to your file preferences.
Start by moving the ssdn_max5 folder to wherever you usually keep Max5 libraries.
Then, add the DataNetwork abstractions to your Max5 file preferences: go to Options -> File Preferences, click the “+” on the bottom-left, and browse to the folder where you just placed the abstractions.

VoilĂ , your patches are ready to use!

General Usage of DataNetwork patches

The abstractions that provide connectivity with a SenseWorld DataNetwork host are called dn.node and dn.makenode.

dn.node is used to subscribe to other nodes on the network. You may then use the data generated by your subscriptions as inputs to your Max5 patch.
Example: subscribing to a light sensor on stage to control the sound level of background music.

dn.makenode is used to publish a node to the network. This allows you to create streams of data to which other clients may subscribe. You can even take data from other nodes, process it, and then publish the results as new streams of data.
Example: subscribing to an accelerometer worn by a dancer, performing analysis of the data to extract events, and then publishing these events for use by collaborators.


Comments are closed.