HomeElectrumpet.html
AgendaAgenda.html
Audio / VideoRecordings.html
 ArticlesArticles.html
Material ListMaterial_List.html
AcknowledgmentsAcknowledgments.html
Literature / LinksLiterature_%26_Links.html
ContactContact.html
PhilosophyPhilosophy.html

Instance 1: Controlling

Features: High scheduler rate MAX, no sound processing


Information from the sensors is sent to the computer through a Bluetooth connection. This information comes in through the Bluetooth Serial port on the MAC. MAX/MSP can connect directly to that port through an object called serial. The buffersize of that object is set to the same number of bytes as the length of the measurement string sent out by the Arduino Bluetooth. This prooved important for timing issues. The serial object is banged with a rate of 2 ms, slightly faster than the tempo with which the measurement string holding all the data is send.


The match object sorts out which number corresponds with which place in the string (and thus corresponds with which sensorvalue). The table that shows which place in the string corresponds with which sensor(values) can be found here


The data is unpacked and send to other programs internally through ethernet (127.0.0.1) via two udp-ports (7000 and 7001). The data send through 7001 will be slowed down in the future to match the slower scheduler rate of the receiving instance.


The data coming from the four digital valves is analyzed in the subpatch ‘changingdata’. This patch currently only looks for short fast movements but will be enhanced in the future to look for more elaborate gestures.


Download the MAXruntime-patch here