{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 4 } , "rect" : [ 183.0, 431.0, 1004.0, 690.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" : 12.0, "id" : "obj-6", "items" : "", "maxclass" : "umenu", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "int", "", "" ], "parameter_enable" : 0, "patching_rect" : [ 210.0, 71.0, 115.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 210.0, 71.0, 115.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-59", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 359.0, 166.0, 150.0, 48.0 ], "presentation" : 1, "presentation_rect" : [ 45.0, 135.0, 300.0, 20.0 ], "text" : "Step 3: Use the nubered toggles to control the outlets." } } , { "box" : { "fontname" : "Courier", "fontsize" : 30.0, "id" : "obj-58", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 691.0, 345.0, 63.0, 36.0 ], "presentation" : 1, "presentation_rect" : [ 317.5, 495.0, 63.0, 36.0 ], "text" : "8" } } , { "box" : { "fontname" : "Courier", "fontsize" : 30.0, "id" : "obj-57", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 601.0, 345.0, 63.0, 36.0 ], "presentation" : 1, "presentation_rect" : [ 45.0, 495.0, 63.0, 36.0 ], "text" : "7" } } , { "box" : { "fontname" : "Courier", "fontsize" : 30.0, "id" : "obj-56", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 691.0, 240.0, 63.0, 36.0 ], "presentation" : 1, "presentation_rect" : [ 317.5, 390.0, 63.0, 36.0 ], "text" : "6" } } , { "box" : { "fontname" : "Courier", "fontsize" : 30.0, "id" : "obj-55", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 601.0, 240.0, 63.0, 36.0 ], "presentation" : 1, "presentation_rect" : [ 45.0, 390.0, 63.0, 36.0 ], "text" : "5" } } , { "box" : { "fontname" : "Courier", "fontsize" : 30.0, "id" : "obj-54", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 691.0, 135.0, 63.0, 36.0 ], "presentation" : 1, "presentation_rect" : [ 317.5, 285.0, 63.0, 36.0 ], "text" : "4" } } , { "box" : { "fontname" : "Courier", "fontsize" : 30.0, "id" : "obj-53", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 596.0, 135.0, 63.0, 36.0 ], "presentation" : 1, "presentation_rect" : [ 40.0, 285.0, 63.0, 36.0 ], "text" : "3" } } , { "box" : { "fontname" : "Courier", "fontsize" : 30.0, "id" : "obj-52", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 691.0, 30.0, 63.0, 36.0 ], "presentation" : 1, "presentation_rect" : [ 317.5, 180.0, 63.0, 36.0 ], "text" : "2" } } , { "box" : { "fontname" : "Courier", "fontsize" : 30.0, "id" : "obj-51", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 601.0, 30.0, 63.0, 36.0 ], "presentation" : 1, "presentation_rect" : [ 45.0, 180.0, 63.0, 36.0 ], "text" : "1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-50", "linecount" : 13, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 55.0, 254.0, 278.0, 186.0 ], "text" : "Designed for Arduilay by Matthew Mosher.\nhttp://matthewmosher.us\n\nRelies heavily on ArduinoMaxInOutDummy code by Rasmus Lunding and Lasse Vestergaard.\n\nGet the Arduino code from:\nhttp://arduino.cc/playground/uploads/Interfacing/ArduinoMax-InOut-forDummies01.zip\n\nIf you are having issues, first try restarting max. If the Arduino is not connected by USB when Max is launched it may not recognize the serial port." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-47", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 561.0, 420.0, 71.0, 20.0 ], "text" : "s toArduino" } } , { "box" : { "id" : "obj-48", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 561.0, 345.0, 30.0, 30.0 ], "presentation" : 1, "presentation_rect" : [ 85.0, 495.0, 65.0, 65.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-49", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 561.0, 391.0, 50.0, 18.0 ], "text" : "[v 8 $1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-44", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 651.0, 315.0, 71.0, 20.0 ], "text" : "s toArduino" } } , { "box" : { "id" : "obj-45", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 651.0, 240.0, 30.0, 30.0 ], "presentation" : 1, "presentation_rect" : [ 247.0, 390.0, 65.0, 65.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-46", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 651.0, 286.0, 50.0, 18.0 ], "text" : "[v 7 $1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-41", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 561.0, 315.0, 71.0, 20.0 ], "text" : "s toArduino" } } , { "box" : { "id" : "obj-42", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 561.0, 240.0, 30.0, 30.0 ], "presentation" : 1, "presentation_rect" : [ 85.0, 390.0, 65.0, 65.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-43", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 561.0, 286.0, 50.0, 18.0 ], "text" : "[v 6 $1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-38", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 651.0, 210.0, 71.0, 20.0 ], "text" : "s toArduino" } } , { "box" : { "id" : "obj-39", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 651.0, 135.0, 30.0, 30.0 ], "presentation" : 1, "presentation_rect" : [ 247.0, 285.0, 65.0, 65.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-40", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 651.0, 181.0, 50.0, 18.0 ], "text" : "[v 5 $1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-35", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 561.0, 210.0, 71.0, 20.0 ], "text" : "s toArduino" } } , { "box" : { "id" : "obj-36", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 561.0, 135.0, 30.0, 30.0 ], "presentation" : 1, "presentation_rect" : [ 85.0, 285.0, 65.0, 65.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-37", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 561.0, 181.0, 50.0, 18.0 ], "text" : "[v 4 $1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-32", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 651.0, 420.0, 71.0, 20.0 ], "text" : "s toArduino" } } , { "box" : { "id" : "obj-33", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 651.0, 345.0, 30.0, 30.0 ], "presentation" : 1, "presentation_rect" : [ 247.0, 495.0, 65.0, 65.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-34", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 651.0, 391.0, 50.0, 18.0 ], "text" : "[v 9 $1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-29", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 651.0, 105.0, 71.0, 20.0 ], "text" : "s toArduino" } } , { "box" : { "id" : "obj-30", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 651.0, 30.0, 30.0, 30.0 ], "presentation" : 1, "presentation_rect" : [ 247.0, 180.0, 65.0, 65.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-31", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 651.0, 76.0, 50.0, 18.0 ], "text" : "[v 3 $1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-28", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 55.0, 71.0, 69.0, 20.0 ], "text" : "r toArduino" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-27", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 259.0, 194.0, 71.0, 20.0 ], "text" : "s toArduino" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-26", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 561.0, 105.0, 71.0, 20.0 ], "text" : "s toArduino" } } , { "box" : { "id" : "obj-25", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 561.0, 30.0, 30.0, 30.0 ], "presentation" : 1, "presentation_rect" : [ 85.0, 180.0, 65.0, 65.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-24", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 561.0, 76.0, 50.0, 18.0 ], "text" : "[v 2 $1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-23", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 359.0, 119.0, 150.0, 34.0 ], "presentation" : 1, "presentation_linecount" : 2, "presentation_rect" : [ 210.0, 30.0, 135.0, 34.0 ], "text" : "Step 2: Set Pins 2-9 to output with this button." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-22", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 359.0, 71.0, 150.0, 34.0 ], "presentation" : 1, "presentation_linecount" : 2, "presentation_rect" : [ 45.0, 30.0, 150.0, 34.0 ], "text" : "Step 1: Select your USB Arduino port." } } , { "box" : { "id" : "obj-21", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 259.0, 119.0, 30.0, 30.0 ], "presentation" : 1, "presentation_rect" : [ 262.0, 82.5, 35.0, 35.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 4 } , "rect" : [ 25.0, 69.0, 894.0, 461.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" : { "comment" : "", "id" : "obj-2", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 53.0, 201.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "", "id" : "obj-1", "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 50.0, 75.0, 25.0, 25.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-19", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 573.0, 141.0, 44.0, 18.0 ], "text" : "[p 9 1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-17", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 498.0, 141.0, 44.0, 18.0 ], "text" : "[p 8 1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-15", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 423.0, 141.0, 44.0, 18.0 ], "text" : "[p 7 1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-13", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 348.0, 141.0, 44.0, 18.0 ], "text" : "[p 6 1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-11", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 273.0, 141.0, 44.0, 18.0 ], "text" : "[p 5 1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-9", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 198.0, 141.0, 44.0, 18.0 ], "text" : "[p 4 1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-7", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 123.0, 141.0, 44.0, 18.0 ], "text" : "[p 3 1]" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-4", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 50.0, 141.0, 44.0, 18.0 ], "text" : "[p 2 1]" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-11", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-13", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-15", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-17", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-19", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-11", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-17", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-19", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 0 ] } } ], "dependency_cache" : [ ] } , "patching_rect" : [ 259.0, 162.0, 56.0, 20.0 ], "saved_object_attributes" : { "description" : "", "fontname" : "Arial", "globalpatchername" : "", "default_fontface" : 0, "fontface" : 0, "fontsize" : 12.0, "digest" : "", "default_fontname" : "Arial", "default_fontsize" : 12.0, "tags" : "" } , "text" : "p Initiate" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 210.0, 30.0, 60.0, 20.0 ], "text" : "r PortInfo" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 18, "outlettype" : [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 4 } , "rect" : [ 625.0, 597.0, 874.0, 477.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" : 12.0, "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 223.0, 381.0, 62.0, 20.0 ], "text" : "s PortInfo" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-52", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 127.5, 484.0, 467.0, 20.0 ], "text" : "Pins 2-13 (Digital) and A0-A5 output." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-51", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 25.5, 67.0, 259.0, 34.0 ], "text" : "Advanced Features: Only needed if you also have sensors you want to read on the Arduino. " } } , { "box" : { "id" : "obj-50", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 128.0, 166.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-42", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 25.5, 112.0, 127.0, 48.0 ], "text" : " Toggle poll on, when sensor-data is streamed to Max." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-47", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 167.0, 112.0, 116.0, 48.0 ], "text" : "set polling samplerate in ms\n(default 15 ms):" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-48", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 167.0, 166.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-46", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 361.5, 213.0, 79.0, 20.0 ], "text" : "prepend port" } } , { "box" : { "comment" : "", "id" : "obj-45", "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 363.0, 166.0, 25.0, 25.0 ] } } , { "box" : { "color" : [ 0.8, 0.611765, 0.380392, 1.0 ], "fontname" : "Arial", "fontsize" : 9.0, "id" : "obj-44", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 4 } , "rect" : [ 57.0, 733.0, 471.0, 388.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" : 12.0, "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 395.0, 171.0, 98.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-8", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 285.0, 171.0, 98.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 172.0, 171.0, 98.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 62.0, 171.0, 98.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-6", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 357.0, 132.0, 98.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 247.0, 132.0, 98.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 134.0, 132.0, 98.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 24.0, 132.0, 98.0, 20.0 ], "text" : "prepend append" } } , { "box" : { "comment" : "", "id" : "obj-1", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 24.0, 246.0, 20.0, 20.0 ] } } , { "box" : { "comment" : "", "id" : "obj-2", "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 24.0, 32.0, 20.0, 20.0 ] } } , { "box" : { "color" : [ 0.8, 0.611765, 0.380392, 1.0 ], "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-11", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 8, "outlettype" : [ "", "", "", "", "", "", "", "" ], "patching_rect" : [ 24.0, 89.0, 404.0, 20.0 ], "text" : "unpack s s s s s s s s" } } , { "box" : { "color" : [ 0.8, 0.611765, 0.380392, 1.0 ], "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 24.0, 59.0, 93.0, 20.0 ], "text" : "route port" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : [ 0.8, 0.611765, 0.380392, 1.0 ], "id" : "obj-13", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 167.0, 235.0, 258.0, 62.0 ], "text" : "Manages serial name data. Each port name (up to 8, in this case) replaces an item in the drop-down menu of the parent patch (items in drop-down are numbered 0 - 7).", "textcolor" : [ 0.8, 0.611765, 0.380392, 1.0 ] } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-10", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-11", 1 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-11", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-11", 2 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-11", 4 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-11", 6 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-11", 7 ] } } , { "patchline" : { "destination" : [ "obj-8", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-11", 5 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-11", 3 ] } } , { "patchline" : { "color" : [ 0.8, 0.611765, 0.380392, 1.0 ], "destination" : [ "obj-11", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-12", 0 ] } } , { "patchline" : { "color" : [ 0.8, 0.611765, 0.380392, 1.0 ], "destination" : [ "obj-12", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-6", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-8", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 0 ] } } ], "dependency_cache" : [ ] } , "patching_rect" : [ 223.0, 351.0, 50.0, 17.0 ], "saved_object_attributes" : { "description" : "", "fontname" : "Arial", "globalpatchername" : "", "default_fontface" : 0, "fontface" : 0, "fontsize" : 12.0, "digest" : "", "default_fontname" : "Arial", "default_fontsize" : 12.0, "tags" : "" } , "text" : "p sorter" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-15", "linecount" : 6, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 223.0, 253.0, 207.0, 89.0 ], "text" : "When the serial communication is activated, the serial buffer might contain data that Max-objects misread as error-messages, so we reset the serial-buffer at patch startup for good measure." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-11", "linecount" : 7, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 449.0, 248.0, 190.0, 103.0 ], "text" : "To communicate serially between the Arduino soft and hardware, while the max-patch is open, close the port. To communicate between Max and the Arduino board, remember to open the serial port again." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-41", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 257.5, 186.0, 67.0, 20.0 ], "text" : "loadbang" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-40", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 257.5, 213.0, 37.0, 18.0 ], "text" : "reset" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-39", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 595.0, 213.0, 37.0, 18.0 ], "text" : "close" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-20", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 550.0, 213.0, 37.0, 18.0 ], "text" : "open" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-5", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 196.5, 213.0, 34.0, 18.0 ], "text" : "print" } } , { "box" : { "comment" : "Analog In Pin 19 (A5)", "id" : "obj-37", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 569.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Analog In Pin 18 (A4)", "id" : "obj-38", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 543.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Analog In Pin 17 (A3)", "id" : "obj-29", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 517.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Analog In Pin 16 (A2)", "id" : "obj-30", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 491.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Analog In Pin 15 (A1)", "id" : "obj-31", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 465.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Analog In Pin 14 (A0)", "id" : "obj-32", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 439.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Digital In Pin 13", "id" : "obj-33", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 413.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Digital In Pin 12", "id" : "obj-34", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 387.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Digital In Pin 11", "id" : "obj-35", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 361.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Digital In Pin 10", "id" : "obj-36", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 335.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Digital In Pin 9", "id" : "obj-25", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 309.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Digital In Pin 8", "id" : "obj-26", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 283.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Digital In Pin 7", "id" : "obj-27", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 257.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Digital In Pin 6", "id" : "obj-28", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 231.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Digital In Pin 5", "id" : "obj-23", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 205.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Digital In Pin 4", "id" : "obj-24", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 179.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "Digital In Pin 3", "id" : "obj-22", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 153.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 18, "outlettype" : [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "patching_rect" : [ 128.0, 415.0, 460.5, 20.0 ], "text" : "spray 18 2" } } , { "box" : { "annotation" : "", "comment" : "Digital In Pin 2", "hint" : "", "id" : "obj-16", "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 127.5, 444.0, 25.0, 25.0 ] } } , { "box" : { "comment" : "", "id" : "obj-14", "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 40.5, 165.0, 25.0, 25.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 9.0, "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 127.5, 351.0, 46.0, 17.0 ], "text" : "itoa" } } , { "box" : { "fontname" : "Arial", "fontsize" : 9.0, "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 127.5, 331.0, 50.0, 17.0 ], "text" : "zl group 7" } } , { "box" : { "fontname" : "Arial", "fontsize" : 9.0, "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 127.5, 371.0, 57.0, 17.0 ], "text" : "fromsymbol" } } , { "box" : { "fontname" : "Arial", "fontsize" : 9.0, "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "" ], "patching_rect" : [ 127.5, 301.0, 47.0, 17.0 ], "text" : "sel 10 13" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-6", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 128.0, 213.0, 58.0, 20.0 ], "text" : "metro 15" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "list" ], "patching_rect" : [ 41.0, 213.0, 46.0, 20.0 ], "text" : "atoi" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "" ], "patching_rect" : [ 128.0, 253.0, 91.0, 20.0 ], "text" : "serial c 115200" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-13", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-44", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 1 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-13", 2 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-13", 1 ] } } , { "patchline" : { "destination" : [ "obj-10", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-14", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 559.5, 241.5, 137.5, 241.5 ], "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 604.5, 241.5, 137.5, 241.5 ], "source" : [ "obj-39", 0 ] } } , { "patchline" : { "destination" : [ "obj-16", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 1 ] } } , { "patchline" : { "destination" : [ "obj-23", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 3 ] } } , { "patchline" : { "destination" : [ "obj-24", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 2 ] } } , { "patchline" : { "destination" : [ "obj-25", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 7 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 6 ] } } , { "patchline" : { "destination" : [ "obj-27", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 5 ] } } , { "patchline" : { "destination" : [ "obj-28", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 4 ] } } , { "patchline" : { "destination" : [ "obj-29", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 15 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 14 ] } } , { "patchline" : { "destination" : [ "obj-31", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 13 ] } } , { "patchline" : { "destination" : [ "obj-32", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 12 ] } } , { "patchline" : { "destination" : [ "obj-33", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 11 ] } } , { "patchline" : { "destination" : [ "obj-34", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 10 ] } } , { "patchline" : { "destination" : [ "obj-35", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 9 ] } } , { "patchline" : { "destination" : [ "obj-36", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 8 ] } } , { "patchline" : { "destination" : [ "obj-37", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 17 ] } } , { "patchline" : { "destination" : [ "obj-38", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-4", 16 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 267.0, 246.5, 137.5, 246.5 ], "source" : [ "obj-40", 0 ] } } , { "patchline" : { "destination" : [ "obj-40", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-41", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-41", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-44", 0 ] } } , { "patchline" : { "destination" : [ "obj-46", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-45", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-46", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-48", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-50", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-6", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 0 ] } } ], "dependency_cache" : [ ] } , "patching_rect" : [ 55.0, 104.0, 174.0, 20.0 ], "saved_object_attributes" : { "description" : "", "fontname" : "Arial", "globalpatchername" : "", "default_fontface" : 0, "fontface" : 0, "fontsize" : 12.0, "digest" : "", "default_fontname" : "Arial", "default_fontsize" : 12.0, "tags" : "" } , "text" : "p ArduinoMaxInOutDummy" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-27", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-21", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-24", 0 ] } } , { "patchline" : { "destination" : [ "obj-24", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-25", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-28", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-31", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-29", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-31", 0 ] } } , { "patchline" : { "destination" : [ "obj-34", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-33", 0 ] } } , { "patchline" : { "destination" : [ "obj-32", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-34", 0 ] } } , { "patchline" : { "destination" : [ "obj-37", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-36", 0 ] } } , { "patchline" : { "destination" : [ "obj-35", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-37", 0 ] } } , { "patchline" : { "destination" : [ "obj-40", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-39", 0 ] } } , { "patchline" : { "destination" : [ "obj-38", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-40", 0 ] } } , { "patchline" : { "destination" : [ "obj-43", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-42", 0 ] } } , { "patchline" : { "destination" : [ "obj-41", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-43", 0 ] } } , { "patchline" : { "destination" : [ "obj-46", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-45", 0 ] } } , { "patchline" : { "destination" : [ "obj-44", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-46", 0 ] } } , { "patchline" : { "destination" : [ "obj-49", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-48", 0 ] } } , { "patchline" : { "destination" : [ "obj-47", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-49", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-6", 0 ] } } ], "dependency_cache" : [ ] } }