{ "patcher" : { "fileversion" : 1, "rect" : [ 1493.0, -12.0, 347.0, 274.0 ], "bglocked" : 0, "defrect" : [ 1493.0, -12.0, 347.0, 274.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "metadata" : [ ], "boxes" : [ { "box" : { "maxclass" : "newobj", "text" : "r from_stribe", "fontname" : "Arial", "id" : "obj-51", "numinlets" : 0, "numoutlets" : 1, "hidden" : 1, "patching_rect" : [ 195.523804, 87.982262, 61.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "text" : "requires stribe firmware 0.4w and up", "fontname" : "Arial", "id" : "obj-50", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 5.0, 254.0, 170.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "comment", "text" : "= off\n\n= cursor\n\n= handle\n\n= fader", "linecount" : 7, "fontname" : "Arial", "id" : "obj-46", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 288.316986, 65.633972, 55.0, 79.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "message", "text" : "3", "fontname" : "Arial", "id" : "obj-44", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 275.0, 129.0, 16.0, 15.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "2", "fontname" : "Arial", "id" : "obj-43", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 275.0, 109.0, 16.0, 15.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "1", "fontname" : "Arial", "id" : "obj-42", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 275.0, 88.0, 16.0, 15.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "0", "fontname" : "Arial", "id" : "obj-38", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 275.0, 67.0, 17.0, 15.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "434 412 401 395 3 393 415 510", "fontname" : "Arial", "id" : "obj-37", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 157.0, 215.0, 162.490402, 15.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "loadbang", "fontname" : "Arial", "id" : "obj-14", "numinlets" : 1, "numoutlets" : 1, "hidden" : 1, "patching_rect" : [ 181.0, 19.0, 48.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "comment", "text" : "all LEDs OFF", "fontname" : "Arial", "id" : "obj-10", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 85.0, 145.0, 63.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "newobj", "text" : "s to_stribe", "fontname" : "Arial", "id" : "obj-12", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 189.0, 165.0, 61.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "message", "text" : "w o", "bgcolor" : [ 0.317647, 0.709804, 0.321569, 1.0 ], "fontname" : "Arial", "id" : "obj-13", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 160.0, 165.0, 24.0, 15.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "loadmess 75", "fontname" : "Arial", "id" : "obj-15", "numinlets" : 1, "numoutlets" : 1, "hidden" : 1, "patching_rect" : [ 247.0, 18.0, 66.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "s from_stribe", "fontname" : "Arial", "id" : "obj-16", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 89.0, 213.0, 63.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "message", "text" : "clear all", "fontname" : "Arial", "id" : "obj-17", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 95.0, 165.0, 42.0, 15.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "number", "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "fontname" : "Arial", "id" : "obj-19", "numinlets" : 1, "minimum" : 10, "numoutlets" : 2, "patching_rect" : [ 217.0, 65.0, 35.0, 17.0 ], "fontsize" : 9.0, "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "outlettype" : [ "int", "bang" ], "triscale" : 0.9 } } , { "box" : { "maxclass" : "comment", "text" : "2) read sensors", "textcolor" : [ 0.290196, 0.611765, 0.380392, 1.0 ], "fontname" : "Arial", "id" : "obj-20", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 171.803833, 46.0, 72.0, 17.0 ], "fontsize" : 9.0, "frgb" : [ 0.290196, 0.611765, 0.380392, 1.0 ] } } , { "box" : { "maxclass" : "toggle", "id" : "obj-21", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 180.0, 66.0, 15.0, 15.0 ], "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "message", "text" : "refresh port list", "fontname" : "Arial", "id" : "obj-23", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 97.415062, 86.316986, 68.633972, 15.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "umenu", "textcolor2" : [ 0.0, 0.0, 0.0, 1.0 ], "bgcolor2" : [ 0.615686, 0.615686, 0.615686, 1.0 ], "items" : [ "port", "usbserial-m40h0360", ",", "port", "usbserial-A4001nJW", ",", "port", "Bluetooth-PDA-Sync", ",", "port", "Bluetooth-Modem" ], "types" : [ ], "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "framecolor" : [ 0.015686, 0.015686, 0.015686, 1.0 ], "id" : "obj-24", "numinlets" : 1, "discolor" : [ 0.439216, 0.439216, 0.439216, 1.0 ], "numoutlets" : 3, "togcolor" : [ 0.552941, 0.552941, 0.552941, 1.0 ], "patching_rect" : [ 20.0, 66.0, 145.732056, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "int", "", "" ], "hltcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { "box" : { "maxclass" : "newobj", "text" : "p stribe_io", "fontname" : "Arial", "id" : "obj-25", "numinlets" : 6, "numoutlets" : 2, "patching_rect" : [ 19.218906, 213.683014, 61.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "", "" ], "patcher" : { "fileversion" : 1, "rect" : [ 1371.0, 0.0, 758.0, 509.0 ], "bglocked" : 0, "defrect" : [ 1371.0, 0.0, 758.0, 509.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "metadata" : [ ], "boxes" : [ { "box" : { "maxclass" : "message", "text" : "write 1", "fontname" : "Arial", "id" : "obj-44", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 525.0, 390.0, 50.0, 18.0 ], "fontsize" : 12.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "text" : "0 = off\n1 = cursor\n2 = handle\n3 = fader", "linecount" : 4, "fontname" : "Arial", "id" : "obj-43", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 589.0, 70.0, 55.0, 48.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "comment", "text" : "v. spears", "fontname" : "Arial", "id" : "obj-42", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 345.0, 10.0, 150.0, 20.0 ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "r to_stribe", "fontname" : "Arial", "id" : "obj-1", "numinlets" : 0, "numoutlets" : 1, "patching_rect" : [ 434.0, 279.0, 60.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "text" : "8 touchstrips", "fontname" : "Arial", "id" : "obj-2", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 409.0, 468.0, 70.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "comment", "text" : "to serial port ubumenu", "fontname" : "Arial", "id" : "obj-3", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 130.0, 469.0, 111.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "comment", "text" : "from serial ubumenu", "fontname" : "Arial", "id" : "obj-4", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 9.0, 52.0, 102.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "comment", "text" : "refresh serial ports", "fontname" : "Arial", "id" : "obj-5", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 225.0, 51.0, 100.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "comment", "text" : "read inputs", "fontname" : "Arial", "id" : "obj-6", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 409.0, 51.0, 60.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "button", "id" : "obj-7", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 672.0, 111.0, 15.0, 15.0 ], "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "inlet", "id" : "obj-8", "numinlets" : 0, "numoutlets" : 1, "patching_rect" : [ 672.0, 50.0, 15.0, 15.0 ], "outlettype" : [ "" ], "comment" : "(anything) clear all" } } , { "box" : { "maxclass" : "comment", "text" : "clear all", "fontname" : "Arial", "id" : "obj-9", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 689.0, 50.0, 47.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "inlet", "id" : "obj-10", "numinlets" : 0, "numoutlets" : 1, "patching_rect" : [ 208.0, 51.0, 15.0, 15.0 ], "outlettype" : [ "" ], "comment" : "(anything) refresh serial port list" } } , { "box" : { "maxclass" : "inlet", "id" : "obj-11", "numinlets" : 0, "numoutlets" : 1, "patching_rect" : [ 392.0, 51.0, 15.0, 15.0 ], "outlettype" : [ "int" ], "comment" : "(0/1) read analog inputs off/on" } } , { "box" : { "maxclass" : "inlet", "id" : "obj-12", "numinlets" : 0, "numoutlets" : 1, "patching_rect" : [ 485.0, 51.0, 15.0, 15.0 ], "outlettype" : [ "int" ], "comment" : "(int) analog input poll rate ms - default 10" } } , { "box" : { "maxclass" : "inlet", "id" : "obj-13", "numinlets" : 0, "numoutlets" : 1, "patching_rect" : [ 571.0, 50.0, 15.0, 15.0 ], "outlettype" : [ "" ], "comment" : "(0/1) toggle stribe firmware cursor" } } , { "box" : { "maxclass" : "outlet", "id" : "obj-14", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 392.0, 468.0, 15.0, 15.0 ], "comment" : "(list) 8 stribe touchstrip values 0-1023" } } , { "box" : { "maxclass" : "outlet", "id" : "obj-15", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 113.0, 469.0, 15.0, 15.0 ], "comment" : "(message) to serial port ubumenu" } } , { "box" : { "maxclass" : "inlet", "id" : "obj-16", "numinlets" : 0, "numoutlets" : 1, "patching_rect" : [ 113.0, 52.0, 15.0, 15.0 ], "outlettype" : [ "" ], "comment" : "(message) from serial port ubumenu" } } , { "box" : { "maxclass" : "button", "id" : "obj-17", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 208.0, 112.0, 15.0, 15.0 ], "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "newobj", "text" : "p thru", "fontname" : "Arial", "id" : "obj-18", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 208.0, 220.0, 37.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "print" ], "patcher" : { "fileversion" : 1, "rect" : [ 10.0, 59.0, 128.0, 190.0 ], "bglocked" : 0, "defrect" : [ 10.0, 59.0, 128.0, 190.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "metadata" : [ ], "boxes" : [ { "box" : { "maxclass" : "outlet", "id" : "obj-1", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 14.0, 68.0, 15.0, 15.0 ], "comment" : "" } } , { "box" : { "maxclass" : "inlet", "id" : "obj-2", "numinlets" : 0, "numoutlets" : 1, "patching_rect" : [ 14.0, 33.0, 15.0, 15.0 ], "outlettype" : [ "print" ], "comment" : "" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } , "saved_object_attributes" : { "default_fontname" : "Arial", "default_fontsize" : 12.0, "fontname" : "Arial", "globalpatchername" : "", "default_fontface" : 0, "fontface" : 0, "fontsize" : 12.0 } } } , { "box" : { "maxclass" : "newobj", "text" : "prepend append", "fontname" : "Arial", "id" : "obj-19", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 30.0, 221.0, 78.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "prepend port", "fontname" : "Arial", "id" : "obj-20", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 30.0, 194.0, 67.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "route port", "fontname" : "Arial", "id" : "obj-21", "numinlets" : 1, "numoutlets" : 2, "patching_rect" : [ 30.0, 140.0, 56.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "pipe 250", "fontname" : "Arial", "id" : "obj-22", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 237.0, 112.0, 49.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "1", "fontname" : "Arial", "id" : "obj-23", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 237.0, 85.0, 27.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "t print clear", "fontname" : "Arial", "id" : "obj-24", "numinlets" : 1, "numoutlets" : 2, "patching_rect" : [ 208.0, 139.0, 65.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "print", "clear" ] } } , { "box" : { "maxclass" : "newobj", "text" : "zl iter 1", "fontname" : "Arial", "id" : "obj-25", "numinlets" : 2, "numoutlets" : 2, "patching_rect" : [ 30.0, 167.0, 47.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "message", "text" : "w p $1", "bgcolor" : [ 0.290196, 0.611765, 0.380392, 1.0 ], "fontname" : "Arial", "id" : "obj-26", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 517.0, 175.0, 49.0, 15.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "text" : " firmware cursor", "textcolor" : [ 0.290196, 0.611765, 0.380392, 1.0 ], "fontname" : "Arial", "id" : "obj-27", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 588.0, 50.0, 75.0, 17.0 ], "fontsize" : 9.0, "frgb" : [ 0.290196, 0.611765, 0.380392, 1.0 ] } } , { "box" : { "maxclass" : "message", "text" : "w c", "bgcolor" : [ 0.290196, 0.611765, 0.380392, 1.0 ], "fontname" : "Arial", "id" : "obj-28", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 592.0, 175.0, 22.0, 15.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "10", "fontname" : "Arial", "id" : "obj-29", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 434.0, 139.0, 31.0, 15.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "text" : "poll rate", "fontname" : "Arial", "id" : "obj-30", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 445.0, 193.0, 48.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "newobj", "text" : "metro 10", "fontname" : "Arial", "id" : "obj-31", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 392.0, 193.0, 52.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "newobj", "text" : "p asciimessage2max", "fontname" : "Arial", "id" : "obj-32", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 392.0, 414.0, 102.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "" ], "patcher" : { "fileversion" : 1, "rect" : [ 10.0, 59.0, 393.0, 294.0 ], "bglocked" : 0, "defrect" : [ 10.0, 59.0, 393.0, 294.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "metadata" : [ ], "boxes" : [ { "box" : { "maxclass" : "outlet", "id" : "obj-1", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 21.0, 192.0, 15.0, 15.0 ], "comment" : "" } } , { "box" : { "maxclass" : "inlet", "id" : "obj-2", "numinlets" : 0, "numoutlets" : 1, "patching_rect" : [ 21.0, 30.0, 15.0, 15.0 ], "outlettype" : [ "int" ], "comment" : "" } } , { "box" : { "maxclass" : "newobj", "text" : "fromsymbol", "fontname" : "Arial", "id" : "obj-3", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 21.0, 147.0, 64.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "sel 10 13", "fontname" : "Arial", "id" : "obj-4", "numinlets" : 1, "numoutlets" : 3, "patching_rect" : [ 21.0, 57.0, 53.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "bang", "bang", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "zl group 64", "fontname" : "Arial", "id" : "obj-5", "numinlets" : 2, "numoutlets" : 2, "patching_rect" : [ 42.0, 91.0, 61.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "itoa", "fontname" : "Arial", "id" : "obj-6", "numinlets" : 3, "numoutlets" : 1, "patching_rect" : [ 42.0, 117.0, 151.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "comment", "text" : "http://www.arduino.cc/playground/Code/ SimpleMessageSystem", "fontname" : "Arial", "id" : "obj-7", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 49.0, 193.0, 307.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "comment", "text" : "from Arduino SimpleMessageSystem", "fontname" : "Arial", "id" : "obj-8", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 49.0, 179.0, 175.0, 17.0 ], "fontsize" : 9.0 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ 51.5, 140.0, 30.5, 140.0 ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 2 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ 64.5, 82.0, 51.5, 82.0 ] } } , { "patchline" : { "source" : [ "obj-4", 1 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } , "saved_object_attributes" : { "default_fontname" : "Arial", "default_fontsize" : 12.0, "fontname" : "Arial", "globalpatchername" : "", "default_fontface" : 0, "fontface" : 0, "fontsize" : 12.0 } } } , { "box" : { "maxclass" : "newobj", "text" : "p max2asciimessage", "fontname" : "Arial", "id" : "obj-33", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 392.0, 321.0, 102.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "int" ], "patcher" : { "fileversion" : 1, "rect" : [ 10.0, 59.0, 393.0, 294.0 ], "bglocked" : 0, "defrect" : [ 10.0, 59.0, 393.0, 294.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "metadata" : [ ], "boxes" : [ { "box" : { "maxclass" : "comment", "text" : "http://www.arduino.cc/playground/Code/ SimpleMessageSystem", "fontname" : "Arial", "id" : "obj-1", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 49.0, 194.0, 307.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "outlet", "id" : "obj-2", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 27.0, 192.0, 15.0, 15.0 ], "comment" : "" } } , { "box" : { "maxclass" : "inlet", "id" : "obj-3", "numinlets" : 0, "numoutlets" : 1, "patching_rect" : [ 27.0, 43.0, 15.0, 15.0 ], "outlettype" : [ "" ], "comment" : "" } } , { "box" : { "maxclass" : "message", "text" : "13", "fontname" : "Arial", "id" : "obj-4", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 27.0, 129.0, 19.0, 15.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "t b l", "fontname" : "Arial", "id" : "obj-5", "numinlets" : 1, "numoutlets" : 2, "patching_rect" : [ 27.0, 75.0, 27.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "bang", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "spell", "fontname" : "Arial", "id" : "obj-6", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 54.0, 129.0, 27.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "comment", "text" : "from Arduino SimpleMessageSystem", "fontname" : "Arial", "id" : "obj-7", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 49.0, 180.0, 175.0, 17.0 ], "fontsize" : 9.0 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ 63.5, 169.0, 36.0, 169.0 ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 1 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ 44.5, 110.0, 63.5, 110.0 ] } } ] } , "saved_object_attributes" : { "default_fontname" : "Arial", "default_fontsize" : 12.0, "fontname" : "Arial", "globalpatchername" : "", "default_fontface" : 0, "fontface" : 0, "fontsize" : 12.0 } } } , { "box" : { "maxclass" : "newobj", "text" : "route a", "fontname" : "Arial", "id" : "obj-34", "numinlets" : 1, "numoutlets" : 2, "patching_rect" : [ 392.0, 441.0, 42.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "message", "text" : "r a", "fontname" : "Arial", "id" : "obj-35", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 392.0, 220.0, 21.0, 15.0 ], "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "toggle", "id" : "obj-36", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 328.0, 193.0, 15.0, 15.0 ], "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "loadbang", "fontname" : "Arial", "id" : "obj-37", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 328.0, 51.0, 48.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "newobj", "text" : "metro 1", "fontname" : "Arial", "id" : "obj-38", "numinlets" : 2, "numoutlets" : 1, "patching_rect" : [ 328.0, 220.0, 46.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "newobj", "text" : "serial a 115200 8 1 0", "fontname" : "Arial", "id" : "obj-39", "numinlets" : 1, "numoutlets" : 2, "patching_rect" : [ 392.0, 357.0, 110.0, 17.0 ], "fontsize" : 9.0, "outlettype" : [ "int", "" ] } } , { "box" : { "maxclass" : "comment", "text" : "Read analog inputs.", "fontname" : "Arial", "id" : "obj-40", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 413.0, 220.0, 95.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "comment", "text" : "poll rate ms", "fontname" : "Arial", "id" : "obj-41", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 502.0, 51.0, 64.0, 17.0 ], "fontsize" : 9.0 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-39", 1 ], "destination" : [ "obj-44", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-31", 0 ], "destination" : [ "obj-35", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-39", 1 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "color" : [ 0.6667, 0.6667, 0.6667, 1.0 ], "midpoints" : [ 492.5, 393.0, 17.0, 393.0, 17.0, 122.0, 39.5, 122.0 ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-25", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-20", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-19", 0 ], "destination" : [ "obj-15", 0 ], "hidden" : 0, "midpoints" : [ 39.5, 257.0, 122.0, 257.0 ] } } , { "patchline" : { "source" : [ "obj-24", 1 ], "destination" : [ "obj-15", 0 ], "hidden" : 0, "midpoints" : [ 263.5, 311.0, 122.0, 311.0 ] } } , { "patchline" : { "source" : [ "obj-10", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-24", 0 ], "hidden" : 0, "midpoints" : [ 246.5, 134.0, 217.5, 134.0 ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-24", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ 122.0, 175.0, 217.5, 175.0 ] } } , { "patchline" : { "source" : [ "obj-37", 0 ], "destination" : [ "obj-23", 0 ], "hidden" : 0, "color" : [ 0.611765, 0.701961, 1.0, 1.0 ], "midpoints" : [ 337.5, 78.0, 246.5, 78.0 ] } } , { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-22", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-37", 0 ], "destination" : [ "obj-36", 0 ], "hidden" : 0, "color" : [ 0.611765, 0.701961, 1.0, 1.0 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-36", 0 ], "destination" : [ "obj-38", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-31", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-28", 0 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "midpoints" : [ 601.5, 256.0, 401.5, 256.0 ] } } , { "patchline" : { "source" : [ "obj-35", 0 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "midpoints" : [ 526.5, 256.0, 401.5, 256.0 ] } } , { "patchline" : { "source" : [ "obj-33", 0 ], "destination" : [ "obj-39", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-39", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-38", 0 ], "destination" : [ "obj-39", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-39", 0 ], "destination" : [ "obj-32", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-32", 0 ], "destination" : [ "obj-34", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-34", 0 ], "destination" : [ "obj-14", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-37", 0 ], "destination" : [ "obj-29", 0 ], "hidden" : 0, "color" : [ 0.611765, 0.701961, 1.0, 1.0 ], "midpoints" : [ 337.5, 78.0, 443.5, 78.0 ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-31", 1 ], "hidden" : 0, "midpoints" : [ 494.0, 175.0, 434.5, 175.0 ] } } , { "patchline" : { "source" : [ "obj-29", 0 ], "destination" : [ "obj-31", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-26", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-28", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } , "saved_object_attributes" : { "default_fontname" : "Arial", "default_fontsize" : 12.0, "fontname" : "Arial", "globalpatchername" : "", "default_fontface" : 0, "fontface" : 0, "fontsize" : 12.0 } } } , { "box" : { "maxclass" : "button", "id" : "obj-26", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 198.0, 66.0, 15.0, 15.0 ], "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "comment", "text" : "_stribe_io 0.4 - v.spears and j.boughey", "fontname" : "Arial", "id" : "obj-27", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 5.0, 17.0, 170.0, 17.0 ], "fontsize" : 9.0 } } , { "box" : { "maxclass" : "comment", "text" : "1) set this to stribe port", "textcolor" : [ 0.290196, 0.611765, 0.380392, 1.0 ], "fontname" : "Arial", "id" : "obj-28", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 21.0, 46.0, 107.388771, 17.0 ], "fontsize" : 9.0, "frgb" : [ 0.290196, 0.611765, 0.380392, 1.0 ] } } , { "box" : { "maxclass" : "comment", "text" : "3) cursor mode", "textcolor" : [ 0.290196, 0.611765, 0.380392, 1.0 ], "fontname" : "Arial", "id" : "obj-29", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 261.339722, 46.0, 71.633972, 17.0 ], "fontsize" : 9.0, "frgb" : [ 0.290196, 0.611765, 0.380392, 1.0 ] } } , { "box" : { "maxclass" : "comment", "text" : "all LEDs ON", "fontname" : "Arial", "id" : "obj-31", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 158.0, 145.0, 62.0, 17.0 ], "fontsize" : 9.0 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-43", 0 ], "destination" : [ "obj-25", 4 ], "hidden" : 0, "midpoints" : [ 284.5, 125.674461, 62.318905, 125.674461 ] } } , { "patchline" : { "source" : [ "obj-51", 0 ], "destination" : [ "obj-26", 0 ], "hidden" : 1, "midpoints" : [ 205.023804, 109.282143, 197.390869, 109.282143, 197.390869, 63.520245, 207.0, 63.520245 ] } } , { "patchline" : { "source" : [ "obj-44", 0 ], "destination" : [ "obj-25", 4 ], "hidden" : 0, "midpoints" : [ 259.0, 143.0, 259.0, 125.218903, 62.318905, 125.218903 ] } } , { "patchline" : { "source" : [ "obj-42", 0 ], "destination" : [ "obj-25", 4 ], "hidden" : 0, "midpoints" : [ 267.879181, 102.0, 267.879181, 125.58493, 62.318905, 125.58493 ] } } , { "patchline" : { "source" : [ "obj-38", 0 ], "destination" : [ "obj-25", 4 ], "hidden" : 0, "midpoints" : [ 259.732056, 81.0, 259.732056, 125.535896, 62.318905, 125.535896 ] } } , { "patchline" : { "source" : [ "obj-25", 1 ], "destination" : [ "obj-37", 1 ], "hidden" : 0, "midpoints" : [ 70.718903, 239.147125, 155.0, 239.147125, 155.0, 239.147125, 309.990417, 239.147125 ] } } , { "patchline" : { "source" : [ "obj-19", 0 ], "destination" : [ "obj-25", 3 ], "hidden" : 0, "midpoints" : [ 226.5, 110.0, 226.2715, 110.0, 226.2715, 116.535896, 53.918907, 116.535896 ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-25", 5 ], "hidden" : 0, "midpoints" : [ 104.5, 189.0, 70.718903, 189.0 ] } } , { "patchline" : { "source" : [ "obj-14", 0 ], "destination" : [ "obj-42", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-25", 2 ], "hidden" : 0, "midpoints" : [ 189.0, 111.950958, 45.518906, 111.950958 ] } } , { "patchline" : { "source" : [ "obj-14", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-24", 0 ], "hidden" : 0, "midpoints" : [ 28.718906, 237.071793, 15.0, 237.071793, 15.0, 62.0, 29.5, 62.0 ] } } , { "patchline" : { "source" : [ "obj-24", 1 ], "destination" : [ "obj-25", 0 ], "hidden" : 0, "midpoints" : [ 92.866028, 94.830132, 28.718906, 94.830132 ] } } , { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-25", 1 ], "hidden" : 0, "midpoints" : [ 106.915062, 106.0, 37.118908, 106.0 ] } } , { "patchline" : { "source" : [ "obj-25", 1 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-15", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }