{ "patcher" : { "fileversion" : 1, "rect" : [ 434.0, 55.0, 700.0, 686.0 ], "bglocked" : 0, "defrect" : [ 434.0, 55.0, 700.0, 686.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" : "Look at the zl objects that come with Max. These objects are used for list manipulation", "linecount" : 4, "fontsize" : 18.0, "numoutlets" : 0, "patching_rect" : [ 10.0, 15.0, 205.0, 89.0 ], "id" : "obj-77", "fontname" : "Arial", "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "click this to reset the list", "fontsize" : 12.0, "numoutlets" : 0, "patching_rect" : [ 106.0, 445.0, 150.0, 20.0 ], "id" : "obj-75", "fontname" : "Arial", "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "this object evalutes the length of a list", "fontsize" : 12.0, "numoutlets" : 0, "patching_rect" : [ 400.0, 222.0, 233.0, 20.0 ], "id" : "obj-72", "fontname" : "Arial", "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "this object rotates the elements within a list. if the second input is 1, then the list rotates one place to the right i.e luke john adam, would become adam luke john ", "linecount" : 3, "fontsize" : 12.0, "numoutlets" : 0, "patching_rect" : [ 301.0, 356.0, 364.0, 48.0 ], "id" : "obj-67", "fontname" : "Arial", "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "this oblect laces together the elements of two seperate lists.", "fontsize" : 12.0, "numoutlets" : 0, "patching_rect" : [ 323.0, 418.0, 344.0, 20.0 ], "id" : "obj-63", "fontname" : "Arial", "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "click this first - this is the list of surnames", "linecount" : 2, "fontsize" : 12.0, "numoutlets" : 0, "patching_rect" : [ 431.0, 42.0, 150.0, 34.0 ], "id" : "obj-60", "fontname" : "Arial", "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "click the message box the same number of times as there are item in the list i.e if there are three names in the list, click it three times", "linecount" : 5, "fontsize" : 12.0, "numoutlets" : 0, "patching_rect" : [ 263.0, 58.0, 156.0, 75.0 ], "id" : "obj-58", "fontname" : "Arial", "numinlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "set", "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 168.0, 469.0, 32.5, 18.0 ], "id" : "obj-56", "fontname" : "Arial", "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 203.0, 538.0, 86.0, 18.0 ], "id" : "obj-54", "fontname" : "Arial", "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "prepend set", "fontsize" : 12.0, "numoutlets" : 1, "presentation_rect" : [ 467.0, 601.0, 0.0, 0.0 ], "outlettype" : [ "" ], "patching_rect" : [ 323.0, 478.0, 74.0, 20.0 ], "id" : "obj-49", "fontname" : "Arial", "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "prepend", "fontsize" : 12.0, "numoutlets" : 1, "presentation_rect" : [ 407.0, 601.0, 0.0, 0.0 ], "outlettype" : [ "" ], "patching_rect" : [ 263.0, 478.0, 55.0, 20.0 ], "id" : "obj-50", "fontname" : "Arial", "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "- 1", "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 353.0, 253.0, 32.5, 20.0 ], "id" : "obj-48", "fontname" : "Arial", "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "zl len", "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 353.0, 223.0, 39.0, 20.0 ], "id" : "obj-47", "fontname" : "Arial", "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "t l b l", "fontsize" : 12.0, "numoutlets" : 3, "outlettype" : [ "", "bang", "" ], "patching_rect" : [ 263.0, 178.0, 46.0, 20.0 ], "id" : "obj-46", "fontname" : "Arial", "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "counter 0 1", "fontsize" : 12.0, "numoutlets" : 4, "outlettype" : [ "int", "", "", "int" ], "patching_rect" : [ 293.0, 283.0, 73.0, 20.0 ], "id" : "obj-45", "fontname" : "Arial", "numinlets" : 5 } } , { "box" : { "maxclass" : "newobj", "text" : "zl group 2", "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 263.0, 448.0, 63.0, 20.0 ], "id" : "obj-38", "fontname" : "Arial", "numinlets" : 2 } } , { "box" : { "maxclass" : "number", "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "patching_rect" : [ 301.0, 320.0, 50.0, 20.0 ], "id" : "obj-35", "fontname" : "Arial", "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "zl rot", "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 263.0, 373.0, 37.0, 20.0 ], "id" : "obj-32", "fontname" : "Arial", "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "jones williams evans", "fontsize" : 12.0, "numoutlets" : 1, "presentation_rect" : [ 524.0, 463.0, 0.0, 0.0 ], "outlettype" : [ "" ], "patching_rect" : [ 434.0, 86.0, 120.0, 18.0 ], "id" : "obj-23", "fontname" : "Arial", "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "luke john adam", "fontsize" : 12.0, "numoutlets" : 1, "presentation_rect" : [ 374.0, 463.0, 0.0, 0.0 ], "outlettype" : [ "" ], "patching_rect" : [ 263.0, 148.0, 92.0, 18.0 ], "id" : "obj-24", "fontname" : "Arial", "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "zl lace", "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 263.0, 418.0, 45.0, 20.0 ], "id" : "obj-22", "fontname" : "Arial", "numinlets" : 2 } } , { "box" : { "maxclass" : "panel", "numoutlets" : 0, "patching_rect" : [ 261.0, 414.0, 402.0, 28.0 ], "id" : "obj-61", "numinlets" : 1 } } , { "box" : { "maxclass" : "panel", "numoutlets" : 0, "presentation_rect" : [ 149.0, 342.0, 0.0, 0.0 ], "patching_rect" : [ 263.0, 351.0, 402.0, 56.0 ], "id" : "obj-65", "numinlets" : 1 } } , { "box" : { "maxclass" : "panel", "numoutlets" : 0, "presentation_rect" : [ 153.0, 206.0, 0.0, 0.0 ], "patching_rect" : [ 266.0, 219.0, 402.0, 28.0 ], "id" : "obj-73", "numinlets" : 1 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-22", 1 ], "hidden" : 0, "midpoints" : [ 443.5, 183.0, 678.0, 183.0, 678.0, 409.0, 298.5, 409.0 ] } } , { "patchline" : { "source" : [ "obj-56", 0 ], "destination" : [ "obj-54", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-56", 0 ], "destination" : [ "obj-50", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-50", 0 ], "destination" : [ "obj-54", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-38", 0 ], "destination" : [ "obj-50", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-50", 0 ], "destination" : [ "obj-49", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-49", 0 ], "destination" : [ "obj-50", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-47", 0 ], "destination" : [ "obj-48", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-48", 0 ], "destination" : [ "obj-45", 4 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-46", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-45", 0 ], "destination" : [ "obj-35", 0 ], "hidden" : 0, "midpoints" : [ 302.5, 315.0, 310.5, 315.0 ] } } , { "patchline" : { "source" : [ "obj-46", 1 ], "destination" : [ "obj-45", 0 ], "hidden" : 0, "midpoints" : [ 286.0, 240.0, 302.5, 240.0 ] } } , { "patchline" : { "source" : [ "obj-46", 2 ], "destination" : [ "obj-47", 0 ], "hidden" : 0, "midpoints" : [ 299.5, 210.0, 362.5, 210.0 ] } } , { "patchline" : { "source" : [ "obj-46", 0 ], "destination" : [ "obj-32", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-38", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-35", 0 ], "destination" : [ "obj-32", 1 ], "hidden" : 0, "midpoints" : [ 310.5, 352.5, 290.5, 352.5 ] } } , { "patchline" : { "source" : [ "obj-32", 0 ], "destination" : [ "obj-22", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }