{ "patcher" : { "fileversion" : 1, "rect" : [ 33.0, 75.0, 640.0, 480.0 ], "bglocked" : 0, "defrect" : [ 33.0, 75.0, 640.0, 480.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" : "comment", "text" : "5", "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-39", "presentation_rect" : [ 73.0, 161.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 73.0, 160.0, 150.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "4", "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-38", "presentation_rect" : [ 72.0, 134.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 72.0, 134.0, 150.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "3 and six", "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-37", "presentation_rect" : [ 71.0, 107.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 43.0, 105.0, 150.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "2", "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-36", "presentation_rect" : [ 71.0, 79.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 71.0, 79.0, 150.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "1", "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-35", "presentation_rect" : [ 28.0, 56.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 71.0, 57.0, 150.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "load stage", "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-34", "fontsize" : 12.0, "patching_rect" : [ 29.0, 37.0, 150.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "click to toggle patchers", "numoutlets" : 0, "fontname" : "Arial", "id" : "obj-33", "fontsize" : 12.0, "patching_rect" : [ 250.0, 10.0, 150.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "gate", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-32", "fontsize" : 12.0, "patching_rect" : [ 535.0, 170.0, 34.0, 20.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "1", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-31", "presentation_rect" : [ 418.0, 232.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 418.0, 232.0, 32.5, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "0", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-30", "fontsize" : 12.0, "patching_rect" : [ 378.0, 233.0, 32.5, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "select 1", "numoutlets" : 2, "fontname" : "Arial", "outlettype" : [ "bang", "" ], "id" : "obj-29", "fontsize" : 12.0, "patching_rect" : [ 385.0, 195.0, 52.0, 20.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "varname" : "u202000247", "text" : "autopattr", "numoutlets" : 4, "fontname" : "Arial", "outlettype" : [ "", "", "", "" ], "id" : "obj-28", "fontsize" : 12.0, "patching_rect" : [ 508.0, 438.0, 59.5, 20.0 ], "numinlets" : 1, "restore" : { "checkbox" : [ 0 ], "getthis" : [ "object (bpatcher)" ] } } } , { "box" : { "maxclass" : "newobj", "varname" : "demo", "text" : "pattrstorage demo", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-27", "fontsize" : 12.0, "patching_rect" : [ 335.0, 453.0, 108.0, 20.0 ], "numinlets" : 1, "saved_object_attributes" : { "client_rect" : [ 100, 100, 500, 600 ], "paraminitmode" : 0, "storage_rect" : [ 200, 200, 800, 500 ], "parameter_enable" : 0 } } } , { "box" : { "maxclass" : "toggle", "varname" : "checkbox", "numoutlets" : 1, "outlettype" : [ "int" ], "id" : "obj-26", "patching_rect" : [ 381.0, 11.0, 20.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "select 0", "numoutlets" : 2, "fontname" : "Arial", "outlettype" : [ "bang", "" ], "id" : "obj-24", "fontsize" : 12.0, "patching_rect" : [ 522.0, 260.0, 52.0, 20.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "toggle", "numoutlets" : 1, "outlettype" : [ "int" ], "id" : "obj-23", "patching_rect" : [ 99.0, 106.0, 20.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "script sendbox getthis replace ", "linecount" : 2, "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-22", "presentation_rect" : [ 410.0, 332.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 410.0, 332.0, 173.0, 32.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "apply", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-21", "presentation_rect" : [ 24.0, 231.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 94.0, 161.0, 39.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "load", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-19", "presentation_rect" : [ 25.0, 203.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 93.0, 136.0, 33.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "apply", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-18", "presentation_rect" : [ 25.0, 177.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 93.0, 82.0, 39.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "load", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-17", "presentation_rect" : [ 25.0, 154.0, 0.0, 0.0 ], "fontsize" : 12.0, "patching_rect" : [ 93.0, 59.0, 33.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "save", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-16", "fontsize" : 12.0, "patching_rect" : [ 93.0, 30.0, 36.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "1", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-15", "fontsize" : 12.0, "patching_rect" : [ 215.0, 361.0, 32.5, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "delay 20", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "bang" ], "id" : "obj-13", "fontsize" : 12.0, "patching_rect" : [ 156.0, 262.0, 56.0, 20.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "write", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-12", "fontsize" : 12.0, "patching_rect" : [ 156.0, 283.0, 36.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "store 1", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-11", "fontsize" : 12.0, "patching_rect" : [ 102.0, 285.0, 47.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "preset", "numoutlets" : 4, "outlettype" : [ "preset", "int", "preset", "int" ], "id" : "obj-10", "patching_rect" : [ 131.0, 398.0, 100.0, 40.0 ], "numinlets" : 1, "pattrstorage" : "demo" } } , { "box" : { "maxclass" : "message", "text" : "script sendbox getthis replace ", "linecount" : 2, "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-9", "fontsize" : 12.0, "patching_rect" : [ 309.0, 292.0, 173.0, 32.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "thispatcher", "numoutlets" : 2, "fontname" : "Arial", "outlettype" : [ "", "" ], "id" : "obj-8", "fontsize" : 12.0, "patching_rect" : [ 410.0, 389.0, 69.0, 20.0 ], "numinlets" : 1, "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ] } } , { "box" : { "maxclass" : "bpatcher", "varname" : "getthis", "numoutlets" : 0, "id" : "obj-7", "args" : [ ], "patching_rect" : [ 381.0, 35.0, 214.0, 124.0 ], "numinlets" : 0 } } , { "box" : { "maxclass" : "message", "text" : "read $1", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-6", "fontsize" : 12.0, "patching_rect" : [ 240.0, 324.0, 51.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "route text", "numoutlets" : 2, "fontname" : "Arial", "outlettype" : [ "", "" ], "id" : "obj-5", "fontsize" : 12.0, "patching_rect" : [ 239.0, 292.0, 61.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "button", "numoutlets" : 1, "outlettype" : [ "bang" ], "id" : "obj-4", "patching_rect" : [ 203.0, 238.0, 20.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "textedit", "numoutlets" : 4, "fontname" : "Arial", "outlettype" : [ "", "int", "", "" ], "id" : "obj-3", "fontsize" : 12.0, "patching_rect" : [ 238.0, 224.0, 100.0, 50.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "set $1", "numoutlets" : 1, "fontname" : "Arial", "outlettype" : [ "" ], "id" : "obj-2", "fontsize" : 12.0, "patching_rect" : [ 226.0, 179.0, 43.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "opendialog", "numoutlets" : 2, "fontname" : "Arial", "outlettype" : [ "", "bang" ], "id" : "obj-1", "fontsize" : 12.0, "patching_rect" : [ 219.0, 141.0, 69.0, 20.0 ], "numinlets" : 1 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-15", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-19", 0 ], "destination" : [ "obj-4", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-32", 0 ], "destination" : [ "obj-24", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-32", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-31", 0 ], "destination" : [ "obj-32", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-30", 0 ], "destination" : [ "obj-32", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-29", 1 ], "destination" : [ "obj-31", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-29", 0 ], "destination" : [ "obj-30", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-29", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-24", 1 ], "destination" : [ "obj-22", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-15", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-13", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-11", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-15", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 3 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }