{ "patcher" : { "fileversion" : 1, "rect" : [ 33.0, 75.0, 599.0, 347.0 ], "bglocked" : 0, "defrect" : [ 33.0, 75.0, 599.0, 347.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "message", "text" : "Reset", "id" : "obj-26", "numinlets" : 2, "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 15.0, 15.0, 42.0, 18.0 ], "outlettype" : [ "" ], "bgcolor" : [ 1.0, 0.0, 0.0, 1.0 ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "message", "text" : "0", "id" : "obj-25", "numinlets" : 2, "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 15.0, 45.0, 32.5, 18.0 ], "outlettype" : [ "" ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "message", "text" : "clear", "id" : "obj-24", "numinlets" : 2, "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 15.0, 225.0, 37.0, 18.0 ], "outlettype" : [ "" ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "coll", "id" : "obj-23", "numinlets" : 1, "presentation_rect" : [ 165.0, 328.0, 0.0, 0.0 ], "numoutlets" : 4, "fontname" : "Arial", "patching_rect" : [ 180.0, 255.0, 59.5, 20.0 ], "outlettype" : [ "", "", "", "" ], "fontsize" : 12.0, "saved_object_attributes" : { "embed" : 0 } } } , { "box" : { "maxclass" : "newobj", "text" : "pack", "id" : "obj-22", "numinlets" : 2, "presentation_rect" : [ 170.0, 301.0, 0.0, 0.0 ], "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 180.0, 225.0, 64.0, 20.0 ], "outlettype" : [ "" ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "message", "text" : "1", "id" : "obj-16", "numinlets" : 2, "presentation_rect" : [ 159.0, 216.0, 0.0, 0.0 ], "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 180.0, 135.0, 32.5, 18.0 ], "outlettype" : [ "" ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "number", "id" : "obj-17", "numinlets" : 1, "presentation_rect" : [ 159.0, 276.0, 0.0, 0.0 ], "triangle" : 0, "numoutlets" : 2, "fontname" : "Arial", "patching_rect" : [ 180.0, 195.0, 31.0, 20.0 ], "outlettype" : [ "int", "bang" ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "+", "id" : "obj-18", "numinlets" : 2, "presentation_rect" : [ 159.0, 246.0, 0.0, 0.0 ], "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 180.0, 165.0, 32.5, 20.0 ], "outlettype" : [ "int" ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "number", "id" : "obj-19", "numinlets" : 1, "presentation_rect" : [ 204.0, 276.0, 0.0, 0.0 ], "triangle" : 0, "numoutlets" : 2, "fontname" : "Arial", "patching_rect" : [ 225.0, 135.0, 50.0, 20.0 ], "outlettype" : [ "int", "bang" ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "number", "id" : "obj-20", "numinlets" : 1, "presentation_rect" : [ 204.0, 216.0, 0.0, 0.0 ], "triangle" : 0, "numoutlets" : 2, "fontname" : "Arial", "patching_rect" : [ 225.0, 75.0, 50.0, 20.0 ], "outlettype" : [ "int", "bang" ], "bgcolor" : [ 0.047059, 0.913725, 0.913725, 1.0 ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "+", "id" : "obj-21", "numinlets" : 2, "presentation_rect" : [ 204.0, 246.0, 0.0, 0.0 ], "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 225.0, 105.0, 32.5, 20.0 ], "outlettype" : [ "int" ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "pack", "id" : "obj-12", "numinlets" : 2, "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 60.0, 225.0, 64.0, 20.0 ], "outlettype" : [ "" ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "message", "text" : "1", "id" : "obj-11", "numinlets" : 2, "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 60.0, 135.0, 32.5, 18.0 ], "outlettype" : [ "" ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "number", "id" : "obj-9", "numinlets" : 1, "presentation_rect" : [ 26.0, 271.0, 0.0, 0.0 ], "triangle" : 0, "numoutlets" : 2, "fontname" : "Arial", "patching_rect" : [ 60.0, 195.0, 31.0, 20.0 ], "outlettype" : [ "int", "bang" ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "+", "id" : "obj-10", "numinlets" : 2, "presentation_rect" : [ 26.0, 241.0, 0.0, 0.0 ], "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 60.0, 165.0, 32.5, 20.0 ], "outlettype" : [ "int" ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "coll", "id" : "obj-5", "numinlets" : 1, "numoutlets" : 4, "fontname" : "Arial", "patching_rect" : [ 60.0, 255.0, 59.5, 20.0 ], "outlettype" : [ "", "", "", "" ], "fontsize" : 12.0, "saved_object_attributes" : { "embed" : 0 } } } , { "box" : { "maxclass" : "comment", "text" : "Enter a number into each blue box\n\nPress the green button repeatedly\n\nA list is created in each coll object \n\nEventuallly there will be two numbers that have an equal value\n\nE.G. 5 and 3\n\n5, 10, 15, 20, 25 etc\n\n3, 6, 9, 12, 15 etc.\n\nI require the patch to count until two equal values have been detected.\n\nBecause every combination of numbers will produce varying list lengths I am at a loss how to do this!", "linecount" : 21, "id" : "obj-4", "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial", "patching_rect" : [ 285.0, 15.0, 238.0, 296.0 ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "button", "id" : "obj-48", "numinlets" : 1, "numoutlets" : 1, "fgcolor" : [ 0.0, 1.0, 0.0, 1.0 ], "patching_rect" : [ 105.0, 15.0, 32.0, 32.0 ], "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "number", "id" : "obj-13", "numinlets" : 1, "triangle" : 0, "numoutlets" : 2, "fontname" : "Arial", "patching_rect" : [ 105.0, 135.0, 50.0, 20.0 ], "outlettype" : [ "int", "bang" ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "number", "id" : "obj-14", "numinlets" : 1, "triangle" : 0, "numoutlets" : 2, "fontname" : "Arial", "patching_rect" : [ 105.0, 75.0, 50.0, 20.0 ], "outlettype" : [ "int", "bang" ], "bgcolor" : [ 0.047059, 0.913725, 0.913725, 1.0 ], "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "+", "id" : "obj-15", "numinlets" : 2, "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 105.0, 105.0, 32.5, 20.0 ], "outlettype" : [ "int" ], "fontsize" : 12.0 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ 234.5, 128.5, 189.5, 128.5 ] } } , { "patchline" : { "source" : [ "obj-15", 0 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ 114.5, 128.5, 69.5, 128.5 ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-25", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-24", 0 ], "hidden" : 0, "color" : [ 0.709804, 0.709804, 0.709804, 1.0 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "color" : [ 0.639216, 0.639216, 0.639216, 1.0 ], "midpoints" : [ 24.5, 68.5, 234.5, 68.5 ] } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-14", 0 ], "hidden" : 0, "color" : [ 0.639216, 0.639216, 0.639216, 1.0 ], "midpoints" : [ 24.5, 68.5, 114.5, 68.5 ] } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "color" : [ 0.639216, 0.639216, 0.639216, 1.0 ], "midpoints" : [ 24.5, 128.5, 234.5, 128.5 ] } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "color" : [ 0.639216, 0.639216, 0.639216, 1.0 ], "midpoints" : [ 24.5, 188.5, 189.5, 188.5 ] } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-13", 0 ], "hidden" : 0, "color" : [ 0.639216, 0.639216, 0.639216, 1.0 ], "midpoints" : [ 24.5, 128.5, 114.5, 128.5 ] } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "color" : [ 0.639216, 0.639216, 0.639216, 1.0 ], "midpoints" : [ 24.5, 188.5, 69.5, 188.5 ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-23", 0 ], "hidden" : 0, "color" : [ 0.639216, 0.639216, 0.639216, 1.0 ], "midpoints" : [ 24.5, 248.5, 189.5, 248.5 ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "color" : [ 0.639216, 0.639216, 0.639216, 1.0 ], "midpoints" : [ 24.5, 248.5, 69.5, 248.5 ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-23", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-19", 0 ], "destination" : [ "obj-22", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-22", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-48", 0 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ 114.5, 60.5, 234.5, 60.5 ] } } , { "patchline" : { "source" : [ "obj-20", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-19", 0 ], "destination" : [ "obj-21", 1 ], "hidden" : 0, "midpoints" : [ 234.5, 159.0, 279.0, 159.0, 279.0, 102.0, 248.0, 102.0 ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-18", 1 ], "hidden" : 0, "midpoints" : [ 189.5, 219.0, 215.0, 219.0, 215.0, 162.0, 203.0, 162.0 ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-12", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-10", 1 ], "hidden" : 0, "midpoints" : [ 69.5, 219.0, 95.0, 219.0, 95.0, 162.0, 83.0, 162.0 ] } } , { "patchline" : { "source" : [ "obj-10", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-48", 0 ], "destination" : [ "obj-14", 0 ], "hidden" : 0, "midpoints" : [ 114.5, 60.5, 114.5, 60.5 ] } } , { "patchline" : { "source" : [ "obj-15", 0 ], "destination" : [ "obj-13", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-15", 1 ], "hidden" : 0, "midpoints" : [ 114.5, 159.0, 159.0, 159.0, 159.0, 102.0, 128.0, 102.0 ] } } , { "patchline" : { "source" : [ "obj-14", 0 ], "destination" : [ "obj-15", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }