{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 4 } , "rect" : [ 0.0, 44.0, 1440.0, 747.0 ], "bglocked" : 0, "openinpresentation" : 1, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "statusbarvisible" : 2, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "boxes" : [ { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-64", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 320.75, 302.0, 150.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-63", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 101.0, 702.0, 150.0, 20.0 ], "text" : "select" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-58", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 101.0, 682.0, 150.0, 20.0 ], "text" : "itable" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-48", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 0.0, 99.0, 150.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-38", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "patching_rect" : [ 211.5, 702.0, 52.0, 20.0 ], "text" : "select 0" } } , { "box" : { "id" : "obj-37", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 54.0, 702.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-179", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 30.0, 600.209961, 32.5, 18.0 ], "text" : "0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-178", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 30.0, 523.0, 32.5, 18.0 ], "text" : "1" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-171", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 915.48999, 746.0, 72.0, 20.0 ], "text" : "r MenuLoad" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-172", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 915.48999, 773.0, 70.0, 18.0 ], "text" : "#1_7DigPin" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-173", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 915.48999, 826.0, 101.0, 20.0 ], "text" : "s B_Menus_Load" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-174", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 915.48999, 800.0, 95.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-167", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 809.290039, 746.0, 72.0, 20.0 ], "text" : "r MenuLoad" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-168", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 809.290039, 773.0, 70.0, 18.0 ], "text" : "#1_6DigPin" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-169", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 809.290039, 826.0, 101.0, 20.0 ], "text" : "s B_Menus_Load" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-170", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 809.290039, 800.0, 95.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-163", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 702.840088, 746.0, 72.0, 20.0 ], "text" : "r MenuLoad" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-164", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 702.840088, 773.0, 70.0, 18.0 ], "text" : "#1_5DigPin" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-165", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 702.840088, 826.0, 101.0, 20.0 ], "text" : "s B_Menus_Load" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-166", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 702.840088, 800.0, 95.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-159", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 594.840088, 746.0, 72.0, 20.0 ], "text" : "r MenuLoad" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-160", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 594.840088, 773.0, 70.0, 18.0 ], "text" : "#1_4DigPin" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-161", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 594.840088, 826.0, 101.0, 20.0 ], "text" : "s B_Menus_Load" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-162", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 594.840088, 800.0, 95.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-155", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 490.840118, 746.0, 72.0, 20.0 ], "text" : "r MenuLoad" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-156", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 490.840118, 773.0, 70.0, 18.0 ], "text" : "#1_3DigPin" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-157", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 490.840118, 826.0, 101.0, 20.0 ], "text" : "s B_Menus_Load" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-158", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 490.840118, 800.0, 95.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-152", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 385.290039, 746.0, 72.0, 20.0 ], "text" : "r MenuLoad" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-153", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 385.290039, 773.0, 70.0, 18.0 ], "text" : "#1_2DigPin" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-53", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 385.290039, 826.0, 101.0, 20.0 ], "text" : "s B_Menus_Load" } } , { "box" : { "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-154", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 385.290039, 800.0, 95.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-144", "linecount" : 2, "maxclass" : "newobj", "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 915.48999, 656.669128, 50.0, 34.0 ], "text" : "scale 0 1 0. 0.1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-143", "linecount" : 2, "maxclass" : "newobj", "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 809.290039, 656.669128, 50.0, 34.0 ], "text" : "scale 0 1 0. 0.1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-142", "linecount" : 2, "maxclass" : "newobj", "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 702.840088, 656.669128, 50.0, 34.0 ], "text" : "scale 0 1 0. 0.1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-141", "linecount" : 2, "maxclass" : "newobj", "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 594.840088, 656.669128, 50.0, 34.0 ], "text" : "scale 0 1 0. 0.1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-140", "linecount" : 2, "maxclass" : "newobj", "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 490.840118, 676.669128, 50.0, 34.0 ], "text" : "scale 0 1 0. 0.1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-139", "linecount" : 2, "maxclass" : "newobj", "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 385.290039, 676.669128, 50.0, 34.0 ], "text" : "scale 0 1 0. 0.1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-125", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 1066.0, 616.669128, 89.0, 20.0 ], "text" : "threshhold rate" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-111", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 4 } , "rect" : [ 705.0, 310.0, 841.0, 613.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "statusbarvisible" : 2, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "boxes" : [ { "box" : { "fontname" : "Arial", "fontsize" : 48.0, "id" : "obj-9", "linecount" : 12, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 46.0, 28.0, 465.0, 669.0 ], "text" : "This patch listens for I/O inputs from the arduino.\n\nThe scale & thresh objects are used to smooth out the values, as the arduino will rapidly bang updates regardless of changes." } } , { "box" : { "hidden" : 1, "id" : "obj-7", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 594.0, 512.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "hidden" : 1, "id" : "obj-5", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 594.0, 545.0, 181.0, 18.0 ], "text" : "window flags float, window exec" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "hidden" : 1, "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 545.0, 577.0, 69.0, 20.0 ], "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ], "text" : "thispatcher" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "hidden" : 1, "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "front" ], "patching_rect" : [ 545.0, 532.0, 41.0, 20.0 ], "text" : "t front" } } , { "box" : { "comment" : "", "hidden" : 1, "id" : "obj-1", "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 545.0, 474.0, 25.0, 25.0 ] } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 1, "source" : [ "obj-7", 0 ] } } ], "dependency_cache" : [ ] } , "patching_rect" : [ 1210.389893, 83.0, 45.0, 20.0 ], "saved_object_attributes" : { "tags" : "", "globalpatchername" : "", "default_fontface" : 0, "digest" : "", "default_fontname" : "Arial", "fontname" : "Arial", "default_fontsize" : 12.0, "description" : "", "fontface" : 0, "fontsize" : 12.0 } , "text" : "p Help" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-112", "maxclass" : "textbutton", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "", "int" ], "parameter_enable" : 0, "patching_rect" : [ 1210.389893, 56.0, 42.0, 23.0 ], "presentation" : 1, "presentation_rect" : [ 237.0, 42.5, 42.0, 23.0 ], "text" : "?", "varname" : "textbutton" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-113", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 4, "outlettype" : [ "", "", "", "" ], "patching_rect" : [ 1072.0, 55.0, 133.0, 20.0 ], "restore" : { "dial" : [ 0 ], "number" : [ 0 ], "number[10]" : [ 1 ], "number[13]" : [ 1 ], "number[16]" : [ 1 ], "number[1]" : [ 0 ], "number[2]" : [ 0 ], "number[3]" : [ 17 ], "number[4]" : [ 0 ], "number[5]" : [ 0 ], "number[7]" : [ 1 ], "textbutton" : [ -1 ], "toggle" : [ 0 ], "toggle[1]" : [ 0 ], "toggle[2]" : [ 1 ], "toggle[3]" : [ 1 ], "toggle[4]" : [ 0 ], "toggle[5]" : [ 0 ], "toggle[6]" : [ 0 ], "toggle[7]" : [ 0 ], "umenu" : [ 0 ], "umenu[1]" : [ 0 ] } , "text" : "autopattr @autoname 1", "varname" : "u006000404" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-110", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 8.0, 450.0, 48.0, 20.0 ], "text" : "r Reset" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-75", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 915.48999, 716.669128, 80.0, 20.0 ], "text" : "s #1_7DigPin" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-74", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 809.290039, 716.669128, 80.0, 20.0 ], "text" : "s #1_6DigPin" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-73", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 702.840088, 716.669128, 80.0, 20.0 ], "text" : "s #1_5DigPin" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-72", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 594.840088, 716.669128, 80.0, 20.0 ], "text" : "s #1_4DigPin" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-69", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 490.840118, 716.669128, 80.0, 20.0 ], "text" : "s #1_3DigPin" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595187, "id" : "obj-83", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 385.290039, 716.669128, 80.0, 20.0 ], "text" : "s #1_2DigPin" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-60", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 915.48999, 636.669128, 54.0, 20.0 ], "text" : "thresh 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-61", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 915.48999, 616.669128, 50.0, 20.0 ], "varname" : "number[16]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-62", "maxclass" : "newobj", "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 915.48999, 596.669128, 86.5, 20.0 ], "text" : "scale 0 1 1 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-55", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 809.290039, 636.669128, 54.0, 20.0 ], "text" : "thresh 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-56", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 809.290039, 616.669128, 50.0, 20.0 ], "varname" : "number[13]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-57", "maxclass" : "newobj", "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 809.290039, 596.669128, 86.5, 20.0 ], "text" : "scale 0 1 1 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-49", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 702.840088, 636.669128, 54.0, 20.0 ], "text" : "thresh 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-51", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 702.840088, 616.669128, 50.0, 20.0 ], "varname" : "number[10]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-52", "maxclass" : "newobj", "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 702.840088, 596.669128, 86.5, 20.0 ], "text" : "scale 0 1 1 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-44", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 594.840088, 636.669128, 54.0, 20.0 ], "text" : "thresh 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-45", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 594.840088, 616.669128, 50.0, 20.0 ], "varname" : "number[7]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-46", "maxclass" : "newobj", "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 594.840088, 596.669128, 86.5, 20.0 ], "text" : "scale 0 1 1 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-24", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 490.840118, 656.669128, 50.0, 20.0 ], "varname" : "number[5]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-26", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 490.840118, 636.669128, 54.0, 20.0 ], "text" : "thresh 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-31", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 490.840118, 616.669128, 50.0, 20.0 ], "varname" : "number[4]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-34", "maxclass" : "newobj", "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 490.840118, 596.669128, 86.5, 20.0 ], "text" : "scale 0 1 1 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-126", "linecount" : 3, "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 915.48999, 530.690002, 42.0, 48.0 ], "text" : "r Pin7_DigiIn" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-127", "linecount" : 3, "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 809.290039, 530.690002, 39.0, 48.0 ], "text" : "r Pin6_DigiIn" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-129", "linecount" : 3, "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 702.840088, 530.690002, 43.0, 48.0 ], "text" : "r Pin5_DigiIn" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-136", "linecount" : 3, "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 594.840088, 530.690002, 46.0, 48.0 ], "text" : "r Pin4_DigiIn" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-137", "linecount" : 3, "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 490.840118, 530.690002, 45.999992, 48.0 ], "text" : "r Pin3_DigiIn" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-138", "linecount" : 3, "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 385.290039, 530.690002, 47.0, 48.0 ], "text" : "r Pin2_DigiIn" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-123", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 1009.73999, 616.669128, 50.0, 20.0 ], "varname" : "number[3]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-122", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 385.290039, 656.669128, 50.0, 20.0 ], "varname" : "number[2]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-121", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 385.290039, 636.669128, 54.0, 20.0 ], "text" : "thresh 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-81", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 385.290039, 616.669128, 50.0, 20.0 ], "varname" : "number[1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-77", "maxclass" : "newobj", "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 385.290039, 596.669128, 86.5, 20.0 ], "text" : "scale 0 1 1 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-135", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 1177.889893, 244.0, 19.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 167.5, 133.0, 19.0, 20.0 ], "text" : "6" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-134", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 1161.389893, 244.0, 19.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 129.5, 133.0, 19.0, 20.0 ], "text" : "5" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-133", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 1144.389893, 244.0, 19.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 92.5, 133.0, 19.0, 20.0 ], "text" : "4" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-132", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 1123.389893, 244.0, 19.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 54.5, 133.0, 19.0, 20.0 ], "text" : "3" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-131", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 1102.389893, 244.0, 19.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 16.5, 133.0, 19.0, 20.0 ], "text" : "2" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-130", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 1199.389893, 244.0, 19.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 205.5, 133.0, 19.0, 20.0 ], "text" : "7" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-128", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 942.0, 131.5, 150.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 48.0, 17.5, 115.0, 20.0 ], "text" : "poll digital pins 2-7" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-119", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 1110.0, 191.0, 44.0, 18.0 ], "text" : "[p 7 0]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-118", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 1066.0, 191.0, 44.0, 18.0 ], "text" : "[p 6 0]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-117", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 1024.0, 191.0, 44.0, 18.0 ], "text" : "[p 5 0]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-116", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 984.0, 191.0, 44.0, 18.0 ], "text" : "[p 4 0]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-115", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 945.0, 191.0, 44.0, 18.0 ], "text" : "[p 3 0]" } } , { "box" : { "fgcolor" : [ 0.631373, 0.866667, 0.360784, 1.0 ], "id" : "obj-114", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 901.0, 122.0, 39.0, 39.0 ], "presentation" : 1, "presentation_rect" : [ 7.0, 8.0, 39.0, 39.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-109", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 901.0, 191.0, 44.0, 18.0 ], "text" : "[p 2 0]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-93", "linecount" : 3, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 254.0, 588.0, 43.0, 48.0 ], "text" : "s Pin7_DigiIn" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-92", "linecount" : 3, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 216.0, 588.0, 43.0, 48.0 ], "text" : "s Pin6_DigiIn" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-91", "linecount" : 3, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 178.0, 588.0, 43.0, 48.0 ], "text" : "s Pin5_DigiIn" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-90", "linecount" : 3, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 141.0, 588.0, 43.0, 48.0 ], "text" : "s Pin4_DigiIn" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-89", "linecount" : 3, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 103.0, 588.0, 43.0, 48.0 ], "text" : "s Pin3_DigiIn" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-88", "linecount" : 3, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 65.0, 588.0, 43.0, 48.0 ], "text" : "s Pin2_DigiIn" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-1", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 561.0, 83.0, 20.0, 20.0 ], "text" : "3:" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-87", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 804.0, 27.0, 312.0, 20.0 ], "text" : "beta, beta, beta, beta, beta, beta, beta, beta, beta, beta" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-84", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 955.27002, 295.0, 280.0, 20.0 ], "text" : " " } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-79", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 621.0, 274.0, 40.0, 20.0 ], "text" : "0-255" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-50", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 30.0, 27.0, 360.0, 48.0 ], "text" : "For standard Arduino´s (UNO, Duemilenova).\nOther Arduino´s can work as well, but not all pin´s are by default accessible." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-5", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 955.27002, 275.0, 271.0, 20.0 ], "text" : "Rasmus Lunding, Lasse Vestergaard April 2012" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-39", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 733.0, 421.0, 118.0, 48.0 ], "text" : "Click the button to see serial ports in the Max-window." } } , { "box" : { "fgcolor" : [ 0.137255, 0.486275, 0.929412, 1.0 ], "id" : "obj-6", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 705.0, 439.0, 29.0, 29.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-3", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 729.0, 492.0, 194.0, 20.0 ], "text" : "Argument is serial port Max-name" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-71", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 584.0, 354.0, 135.0, 48.0 ], "text" : "(The Arduino code protocol for data transmission from Max)" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-70", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 88.0, 353.0, 127.0, 48.0 ], "text" : "(The Arduino code protocol for pins and pin state)" } } , { "box" : { "id" : "obj-27", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 254.0, 552.0, 32.0, 32.0 ], "presentation" : 1, "presentation_rect" : [ 199.0, 101.0, 32.0, 32.0 ], "varname" : "toggle[7]" } } , { "box" : { "id" : "obj-29", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 216.0, 552.0, 32.0, 32.0 ], "presentation" : 1, "presentation_rect" : [ 161.0, 101.0, 32.0, 32.0 ], "varname" : "toggle[6]" } } , { "box" : { "id" : "obj-18", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 178.0, 552.0, 32.0, 32.0 ], "presentation" : 1, "presentation_rect" : [ 123.0, 101.0, 32.0, 32.0 ], "varname" : "toggle[5]" } } , { "box" : { "id" : "obj-20", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 141.0, 552.0, 32.0, 32.0 ], "presentation" : 1, "presentation_rect" : [ 86.0, 101.0, 32.0, 32.0 ], "varname" : "toggle[4]" } } , { "box" : { "id" : "obj-17", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 103.0, 552.0, 32.0, 32.0 ], "presentation" : 1, "presentation_rect" : [ 48.0, 101.0, 32.0, 32.0 ], "varname" : "toggle[3]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-14", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 174.0, 203.0, 20.0, 20.0 ], "text" : "2:" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-13", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 46.0, 156.0, 20.0, 20.0 ], "text" : "2:" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-12", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 66.0, 203.0, 20.0, 20.0 ], "text" : "1:" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-10", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 46.0, 102.0, 20.0, 20.0 ], "text" : "1:" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-8", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 61.0, 150.0, 302.0, 34.0 ], "text" : "Choose what state you want the pin to address:: Digital/Analog In, Digital Out or \"Analog Out\" (PWM)." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-7", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 61.0, 97.0, 316.0, 48.0 ], "text" : "Choose the pin you want to use (once set, the setting is stored until same pin´s state is redefined -So all pins can be set from here, in sequential order)." } } , { "box" : { "id" : "obj-4", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 65.0, 552.0, 32.0, 32.0 ], "presentation" : 1, "presentation_rect" : [ 10.0, 101.0, 32.0, 32.0 ], "varname" : "toggle[2]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-42", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 576.0, 70.0, 127.0, 48.0 ], "presentation" : 1, "presentation_linecount" : 2, "presentation_rect" : [ 48.0, 50.0, 183.0, 34.0 ], "text" : " Toggle poll on, when sensor-data is streamed to Max." } } , { "box" : { "id" : "obj-43", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 672.0, 90.0, 71.0, 71.0 ], "presentation" : 1, "presentation_rect" : [ 10.0, 50.0, 29.5, 29.5 ], "varname" : "toggle[1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-40", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 385.290039, 421.0, 107.0, 48.0 ], "presentation" : 1, "presentation_linecount" : 3, "presentation_rect" : [ 283.0, 17.5, 104.0, 48.0 ], "text" : "set polling samplerate in ms\n(default 15 ms):" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-41", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 492.290039, 450.0, 50.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 233.0, 17.5, 50.0, 20.0 ], "varname" : "number" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-11", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 394.0, 27.0, 160.0, 48.0 ], "text" : "NOTE: The Analog In pins A0-A5 is termed 14-19 in this setup." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-36", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 517.0, 352.0, 66.0, 18.0 ], "text" : "[v 2 0]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-35", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 18.0, 352.0, 66.0, 18.0 ], "text" : "[p 2 0]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-33", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 609.0, 205.0, 38.0, 20.0 ], "text" : "PWM" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-32", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 564.0, 191.0, 45.0, 34.0 ], "text" : "Digital Out" } } , { "box" : { "id" : "obj-30", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 564.0, 228.0, 40.0, 40.0 ], "varname" : "toggle" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-28", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 564.0, 295.0, 42.0, 20.0 ], "text" : "pak i i" } } , { "box" : { "id" : "obj-25", "maxclass" : "dial", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], "parameter_enable" : 0, "patching_rect" : [ 609.0, 228.0, 40.0, 40.0 ], "size" : 256.0, "varname" : "dial" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-23", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 564.0, 325.0, 57.0, 18.0 ], "text" : "[v $1 $2]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-22", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 65.0, 295.0, 48.0, 20.0 ], "text" : "pak i i" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-21", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 65.0, 325.0, 57.0, 18.0 ], "text" : "[p $1 $2]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-19", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 65.0, 257.0, 32.5, 20.0 ], "text" : "+ 2" } } , { "box" : { "bgcolor2" : [ 0.439216, 0.784314, 0.509804, 1.0 ], "fontname" : "Arial", "fontsize" : 12.0, "hltcolor" : [ 0.831373, 0.32549, 0.32549, 1.0 ], "id" : "obj-16", "items" : [ "Digital/Analog", "In", "(Digital", "in", "-", "pins", "2-13.", "Analog", "in", "-", "pins", "14-19)", ",", "Digital", "Out", "(all", "pins)", ",", "PWM", "(analog out", "-", "pins", "3, 5, 6, 9, 10, 11)" ], "maxclass" : "umenu", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "int", "", "" ], "parameter_enable" : 0, "patching_rect" : [ 169.0, 228.0, 358.0, 20.0 ], "varname" : "umenu[1]" } } , { "box" : { "bgcolor2" : [ 0.364706, 0.658824, 0.627451, 1.0 ], "fontname" : "Arial", "fontsize" : 12.0, "hltcolor" : [ 0.784314, 0.254902, 0.254902, 1.0 ], "id" : "obj-15", "items" : [ "Pin", 2, ",", "Pin", 3, ",", "Pin", 4, ",", "Pin", 5, ",", "Pin", 6, ",", "Pin", 7, ",", "Pin", 8, ",", "Pin", 9, ",", "Pin", 10, ",", "Pin", 11, ",", "Pin", 12, ",", "Pin", 13, ",", "Pin", 14, ",", "Pin", 15, ",", "Pin", 16, ",", "Pin", 17, ",", "Pin", 18, ",", "Pin", 19 ], "maxclass" : "umenu", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "int", "", "" ], "parameter_enable" : 0, "patching_rect" : [ 65.0, 228.0, 100.0, 20.0 ], "varname" : "umenu" } } , { "box" : { "annotation" : "", "color" : [ 0.929412, 0.729412, 0.070588, 1.0 ], "fontname" : "Arial", "fontsize" : 12.0, "hint" : "", "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 4, "numoutlets" : 18, "outlettype" : [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "patching_rect" : [ 65.0, 492.0, 661.5, 20.0 ], "text" : "ArduinoMaxInOutDummyCom01 a" } } , { "box" : { "bgcolor" : [ 0.416048, 0.795918, 0.795918, 1.0 ], "id" : "obj-147", "ignoreclick" : 1, "maxclass" : "panel", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 984.0, 325.0, 75.73999, 38.0 ], "presentation" : 1, "presentation_rect" : [ -2.23999, -0.5, 392.23999, 161.0 ] } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 910.5, 484.0 ], "source" : [ "obj-109", 0 ] } } , { "patchline" : { "destination" : [ "obj-178", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-110", 0 ] } } , { "patchline" : { "destination" : [ "obj-111", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-112", 0 ] } } , { "patchline" : { "destination" : [ "obj-109", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-114", 0 ] } } , { "patchline" : { "destination" : [ "obj-115", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-114", 0 ] } } , { "patchline" : { "destination" : [ "obj-116", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-114", 0 ] } } , { "patchline" : { "destination" : [ "obj-117", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-114", 0 ] } } , { "patchline" : { "destination" : [ "obj-118", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-114", 0 ] } } , { "patchline" : { "destination" : [ "obj-119", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-114", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 954.5, 225.0, 911.0, 225.0, 911.0, 484.0, 74.5, 484.0 ], "source" : [ "obj-115", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 993.5, 227.0, 911.0, 227.0, 911.0, 484.0, 74.5, 484.0 ], "source" : [ "obj-116", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 1033.5, 228.0, 910.0, 228.0, 910.0, 484.0, 74.5, 484.0 ], "source" : [ "obj-117", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 1075.5, 226.0, 912.0, 226.0, 912.0, 485.0, 74.5, 485.0 ], "source" : [ "obj-118", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 1119.5, 227.0, 911.0, 227.0, 911.0, 481.0, 74.5, 481.0 ], "source" : [ "obj-119", 0 ] } } , { "patchline" : { "destination" : [ "obj-122", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-121", 0 ] } } , { "patchline" : { "destination" : [ "obj-139", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-122", 0 ] } } , { "patchline" : { "destination" : [ "obj-121", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-123", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-123", 0 ] } } , { "patchline" : { "destination" : [ "obj-44", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-123", 0 ] } } , { "patchline" : { "destination" : [ "obj-49", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-123", 0 ] } } , { "patchline" : { "destination" : [ "obj-55", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-123", 0 ] } } , { "patchline" : { "destination" : [ "obj-60", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-123", 0 ] } } , { "patchline" : { "destination" : [ "obj-62", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-126", 0 ] } } , { "patchline" : { "destination" : [ "obj-57", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-127", 0 ] } } , { "patchline" : { "destination" : [ "obj-52", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-129", 0 ] } } , { "patchline" : { "destination" : [ "obj-46", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-136", 0 ] } } , { "patchline" : { "destination" : [ "obj-34", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-137", 0 ] } } , { "patchline" : { "destination" : [ "obj-77", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-138", 0 ] } } , { "patchline" : { "destination" : [ "obj-83", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-139", 0 ] } } , { "patchline" : { "destination" : [ "obj-69", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-140", 0 ] } } , { "patchline" : { "destination" : [ "obj-72", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-141", 0 ] } } , { "patchline" : { "destination" : [ "obj-73", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-142", 0 ] } } , { "patchline" : { "destination" : [ "obj-74", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-143", 0 ] } } , { "patchline" : { "destination" : [ "obj-75", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-144", 0 ] } } , { "patchline" : { "destination" : [ "obj-19", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-153", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-152", 0 ] } } , { "patchline" : { "destination" : [ "obj-154", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-153", 0 ] } } , { "patchline" : { "destination" : [ "obj-53", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-154", 0 ] } } , { "patchline" : { "destination" : [ "obj-156", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-155", 0 ] } } , { "patchline" : { "destination" : [ "obj-158", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-156", 0 ] } } , { "patchline" : { "destination" : [ "obj-157", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-158", 0 ] } } , { "patchline" : { "destination" : [ "obj-160", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-159", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-162", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-160", 0 ] } } , { "patchline" : { "destination" : [ "obj-161", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-162", 0 ] } } , { "patchline" : { "destination" : [ "obj-164", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-163", 0 ] } } , { "patchline" : { "destination" : [ "obj-166", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-164", 0 ] } } , { "patchline" : { "destination" : [ "obj-165", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-166", 0 ] } } , { "patchline" : { "destination" : [ "obj-168", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-167", 0 ] } } , { "patchline" : { "destination" : [ "obj-170", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-168", 0 ] } } , { "patchline" : { "destination" : [ "obj-89", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-17", 0 ] } } , { "patchline" : { "destination" : [ "obj-169", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-170", 0 ] } } , { "patchline" : { "destination" : [ "obj-172", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-171", 0 ] } } , { "patchline" : { "destination" : [ "obj-174", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-172", 0 ] } } , { "patchline" : { "destination" : [ "obj-173", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-174", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-178", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-179", 0 ] } } , { "patchline" : { "destination" : [ "obj-91", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-19", 0 ] } } , { "patchline" : { "destination" : [ "obj-28", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 74.5, 285.5, 573.5, 285.5 ], "source" : [ "obj-19", 0 ] } } , { "patchline" : { "destination" : [ "obj-17", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 1 ] } } , { "patchline" : { "destination" : [ "obj-18", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 3 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 2 ] } } , { "patchline" : { "destination" : [ "obj-27", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 5 ] } } , { "patchline" : { "destination" : [ "obj-29", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 4 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-90", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 74.5, 345.0, 84.0, 345.0, 84.0, 477.0, 74.5, 477.0 ], "source" : [ "obj-21", 0 ] } } , { "patchline" : { "destination" : [ "obj-35", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-21", 0 ] } } , { "patchline" : { "destination" : [ "obj-21", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-22", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 573.5, 345.0, 253.0, 345.0, 253.0, 412.0, 74.5, 412.0 ], "source" : [ "obj-23", 0 ] } } , { "patchline" : { "destination" : [ "obj-36", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-23", 0 ] } } , { "patchline" : { "destination" : [ "obj-140", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-24", 0 ] } } , { "patchline" : { "destination" : [ "obj-28", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-25", 0 ] } } , { "patchline" : { "destination" : [ "obj-24", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-93", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-27", 0 ] } } , { "patchline" : { "destination" : [ "obj-23", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-28", 0 ] } } , { "patchline" : { "destination" : [ "obj-92", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-29", 0 ] } } , { "patchline" : { "destination" : [ "obj-28", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-31", 0 ] } } , { "patchline" : { "destination" : [ "obj-31", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-34", 0 ] } } , { "patchline" : { "destination" : [ "obj-37", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 0 ] } } , { "patchline" : { "destination" : [ "obj-88", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 2 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-41", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 1 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 681.5, 177.0, 537.0, 177.0, 537.0, 339.0, 288.666656, 339.0 ], "source" : [ "obj-43", 0 ] } } , { "patchline" : { "destination" : [ "obj-141", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-44", 0 ] } } , { "patchline" : { "destination" : [ "obj-44", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-45", 0 ] } } , { "patchline" : { "destination" : [ "obj-45", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-46", 0 ] } } , { "patchline" : { "destination" : [ "obj-142", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-49", 0 ] } } , { "patchline" : { "destination" : [ "obj-49", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-51", 0 ] } } , { "patchline" : { "destination" : [ "obj-51", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-52", 0 ] } } , { "patchline" : { "destination" : [ "obj-143", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-55", 0 ] } } , { "patchline" : { "destination" : [ "obj-55", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-56", 0 ] } } , { "patchline" : { "destination" : [ "obj-56", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-57", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 3 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-6", 0 ] } } , { "patchline" : { "destination" : [ "obj-144", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-60", 0 ] } } , { "patchline" : { "destination" : [ "obj-60", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-61", 0 ] } } , { "patchline" : { "destination" : [ "obj-61", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-62", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-64", 0 ] } } , { "patchline" : { "destination" : [ "obj-81", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-77", 0 ] } } , { "patchline" : { "destination" : [ "obj-121", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-81", 0 ] } } ], "dependency_cache" : [ { "name" : "ArduinoMaxInOutDummyCom01.maxpat", "bootpath" : "/Users/rkaiser/Downloads/Dropbox/Classes/TCS 110/Laser Harp Patches/Templates/ArduinoMax-InOut-forDummies01", "patcherrelativepath" : "../Laser Harp Patches/Templates/ArduinoMax-InOut-forDummies01", "type" : "JSON", "implicit" : 1 } ] } }