]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
adding some new utilities involving new engines
authorequilet <2237372+equilet@users.noreply.github.com>
Wed, 14 May 2025 20:50:14 +0000 (13:50 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Wed, 14 May 2025 20:50:14 +0000 (13:50 -0700)
ui.sender.maxpat [new file with mode: 0644]
vt.handle_variety.maxpat [new file with mode: 0644]

diff --git a/ui.sender.maxpat b/ui.sender.maxpat
new file mode 100644 (file)
index 0000000..74645d2
--- /dev/null
@@ -0,0 +1,224 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 59.0, 106.0, 1000.0, 780.0 ],
+               "openinpresentation" : 1,
+               "gridsize" : [ 15.0, 15.0 ],
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "bgcolor" : [ 0.098039215686275, 0.556862745098039, 0.364705882352941, 0.0 ],
+                                       "fontsize" : 11.0,
+                                       "id" : "obj-20",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 271.0, 177.5, 92.0, 19.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 97.0, 3.5, 92.0, 19.0 ],
+                                       "text" : "send to channels",
+                                       "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 166.0, 210.0, 67.0, 22.0 ],
+                                       "text" : "o.pack /st/r"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 146.0, 138.0, 94.0, 22.0 ],
+                                       "text" : "prepend symbol"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 50.0, 138.0, 94.0, 22.0 ],
+                                       "text" : "prepend symbol"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-18",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "FullPacket" ],
+                                       "patching_rect" : [ 50.0, 100.0, 211.0, 22.0 ],
+                                       "text" : "o.route /l /r"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "items" : [ "ch1", ",", "ch2", ",", "ch3", ",", "ch4", ",", "ch5", ",", "ch6", ",", "ch7", ",", "ch8", ",", "ch9", ",", "ch10" ],
+                                       "maxclass" : "umenu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 146.0, 176.0, 59.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 49.0, 2.0, 46.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 70.0, 210.0, 66.0, 22.0 ],
+                                       "text" : "o.pack /st/l"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "items" : [ "ch1", ",", "ch2", ",", "ch3", ",", "ch4", ",", "ch5", ",", "ch6", ",", "ch7", ",", "ch8", ",", "ch9", ",", "ch10" ],
+                                       "maxclass" : "umenu",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "int", "", "" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 50.0, 176.0, 59.0, 22.0 ],
+                                       "presentation" : 1,
+                                       "presentation_rect" : [ 1.0, 2.0, 46.0, 22.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-23",
+                                       "index" : 0,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-24",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 70.0, 270.0, 30.0, 30.0 ]
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "source" : [ "obj-17", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "source" : [ "obj-18", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-18", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "source" : [ "obj-19", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-17", 0 ],
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-18", 0 ],
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "source" : [ "obj-6", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [                  {
+                               "name" : "o.pack.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
+                               "name" : "o.route.mxo",
+                               "type" : "iLaX"
+                       }
+ ],
+               "autosave" : 0
+       }
+
+}
diff --git a/vt.handle_variety.maxpat b/vt.handle_variety.maxpat
new file mode 100644 (file)
index 0000000..87cccc5
--- /dev/null
@@ -0,0 +1,576 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 9,
+                       "minor" : 0,
+                       "revision" : 6,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "classnamespace" : "box",
+               "rect" : [ 327.0, 270.0, 453.0, 410.0 ],
+               "gridsize" : [ 15.0, 15.0 ],
+               "subpatcher_template" : "Untitled5_template",
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 120.0, 230.0, 187.0, 22.0 ],
+                                       "text" : "o.gather /choice /numfiles /variety"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-2",
+                                       "index" : 1,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 41.0, 329.0, 30.0, 30.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-1",
+                                       "index" : 1,
+                                       "maxclass" : "inlet",
+                                       "numinlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 41.0, 35.0, 30.0, 30.0 ]
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 34.0, 87.0, 670.0, 779.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-4",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 31.0, 92.0, 35.0, 22.0 ],
+                                                                       "text" : "o.var"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-3",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 31.0, 205.0, 589.0, 22.0 ],
+                                                                       "text" : "t l l"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-12",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 31.0, 236.0, 295.0, 22.0 ],
+                                                                       "text" : "o.if exists(/choice)"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-1",
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 31.0, 163.0, 110.0, 31.0 ],
+                                                                       "text" : "/variety ??= 1."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-9",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 31.0, 131.0, 132.0, 22.0 ],
+                                                                       "text" : "o.union"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-6",
+                                                                       "index" : 2,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 144.0, 39.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-28",
+                                                                       "linecount" : 14,
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 115.0, 572.0, 355.0, 198.0 ],
+                                                                       "text" : "/last ??= 0, \n/choice ??= 0,\n\nif(/numfiles == 1, \n  /buffer/name = /pbname + \".\" + 1,\n  if(/rpercent < /variety,\n    progn(\n      /buffer/name = /pbname + \".\" + (/choice + 1), \n      /last = /choice\n    ),\n    /buffer/name = /pbname + \".\" + (/last + 1)\n  )\n), \ndelete(/choice)"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-10",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 115.0, 540.0, 505.0, 22.0 ],
+                                                                       "text" : "o.union"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-5",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 31.0, 41.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-8",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 115.0, 795.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-2",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "float" ],
+                                                                       "patching_rect" : [ 31.0, 367.0, 39.0, 22.0 ],
+                                                                       "text" : "/ 999."
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-7",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 115.0, 435.0, 140.0, 22.0 ],
+                                                                       "text" : "gate 2"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-11",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 236.0, 471.0, 136.0, 22.0 ],
+                                                                       "text" : "o.pack /rpercent /choice"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-17",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 4,
+                                                                       "outlettype" : [ "bang", "bang", "", "int" ],
+                                                                       "patching_rect" : [ 307.0, 273.0, 50.5, 22.0 ],
+                                                                       "text" : "t b b l 2"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-13",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "bang", "", "int" ],
+                                                                       "patching_rect" : [ 31.0, 273.0, 103.0, 22.0 ],
+                                                                       "text" : "t b l 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-14",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 115.0, 471.0, 95.0, 22.0 ],
+                                                                       "text" : "o.pack /rpercent"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-25",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 370.0, 404.0, 41.0, 22.0 ],
+                                                                       "text" : "set $1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-16",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 4,
+                                                                       "outlettype" : [ "", "", "", "FullPacket" ],
+                                                                       "patching_rect" : [ 407.0, 366.0, 181.0, 22.0 ],
+                                                                       "text" : "o.route /numfiles /variety /choice"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-43",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 31.0, 329.0, 79.0, 22.0 ],
+                                                                       "text" : "random 1000"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-18",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 3,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 353.0, 435.0, 127.0, 22.0 ],
+                                                                       "text" : "drunk 100 3"
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-3", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-28", 0 ],
+                                                                       "source" : [ "obj-10", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-10", 0 ],
+                                                                       "source" : [ "obj-11", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-13", 0 ],
+                                                                       "source" : [ "obj-12", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-17", 0 ],
+                                                                       "source" : [ "obj-12", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-16", 0 ],
+                                                                       "source" : [ "obj-13", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-43", 0 ],
+                                                                       "source" : [ "obj-13", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-13", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-10", 0 ],
+                                                                       "source" : [ "obj-14", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-18", 1 ],
+                                                                       "source" : [ "obj-16", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-25", 0 ],
+                                                                       "source" : [ "obj-16", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-16", 0 ],
+                                                                       "source" : [ "obj-17", 2 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-18", 0 ],
+                                                                       "source" : [ "obj-17", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-43", 0 ],
+                                                                       "source" : [ "obj-17", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 0 ],
+                                                                       "source" : [ "obj-17", 3 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-11", 1 ],
+                                                                       "source" : [ "obj-18", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-7", 1 ],
+                                                                       "source" : [ "obj-2", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-18", 0 ],
+                                                                       "source" : [ "obj-25", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-8", 0 ],
+                                                                       "source" : [ "obj-28", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-10", 1 ],
+                                                                       "source" : [ "obj-3", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-12", 0 ],
+                                                                       "source" : [ "obj-3", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 0 ],
+                                                                       "source" : [ "obj-4", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "source" : [ "obj-43", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-4", 0 ],
+                                                                       "source" : [ "obj-5", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-9", 1 ],
+                                                                       "source" : [ "obj-6", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-11", 0 ],
+                                                                       "source" : [ "obj-7", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-14", 0 ],
+                                                                       "source" : [ "obj-7", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-1", 0 ],
+                                                                       "source" : [ "obj-9", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 41.0, 110.0, 98.0, 22.0 ],
+                                       "text" : "p handle_variety"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 41.0, 146.0, 98.0, 22.0 ],
+                                       "text" : "t l l"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-16", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 1 ],
+                                       "midpoints" : [ 129.5, 262.0, 324.373687744140625, 262.0, 324.373687744140625, 100.0, 129.5, 100.0 ],
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+ ]
+       }
+
+}