]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
added vt.variety_handler
authorequilet <2237372+equilet@users.noreply.github.com>
Wed, 14 May 2025 20:39:10 +0000 (13:39 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Wed, 14 May 2025 20:39:10 +0000 (13:39 -0700)
engine_voice.fragments~.maxpat

index 0bf274ef497e8f47577a78febfcc1c239aa4b9c5..b4188c5d43324f55b499ff5f64baa33156ef05a4 100644 (file)
                "subpatcher_template" : "Untitled5_template",
                "boxes" : [                     {
                                "box" :                                 {
-                                       "id" : "obj-11",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "", "" ],
-                                       "patching_rect" : [ 194.0, 179.0, 97.0, 22.0 ],
-                                       "text" : "t l l"
-                               }
-
-                       }
-,                      {
-                               "box" :                                 {
-                                       "id" : "obj-17",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "" ],
-                                       "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 ]
-                                                                                               }
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 367.0, 643.0, 55.0, 22.0 ],
+                                       "text" : "*~ 0."
+                               }
 
-                                                                                       }
-,                                                                                      {
-                                                                                               "patchline" :                                                                                           {
-                                                                                                       "destination" : [ "obj-1", 0 ],
-                                                                                                       "source" : [ "obj-9", 0 ]
-                                                                                               }
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 428.0, 788.0, 42.0, 22.0 ],
+                                       "text" : "out~ 2"
+                               }
 
-                                                                                       }
- ]
-                                                                       }
-,
-                                                                       "patching_rect" : [ 41.0, 110.0, 98.0, 22.0 ],
-                                                                       "text" : "p handle_variety"
-                                                               }
+                       }
+,                      {
+                               "box" :                                 {
+                                       "comment" : "",
+                                       "id" : "obj-10",
+                                       "index" : 0,
+                                       "maxclass" : "outlet",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 367.0, 783.0, 36.0, 36.0 ]
+                               }
 
-                                                       }
-,                                                      {
-                                                               "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"
-                                                               }
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-33",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 812.0, 605.0, 72.0, 22.0 ],
+                                       "text" : "prepend set"
+                               }
 
-                                                       }
- ],
-                                               "lines" : [                                                     {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-3", 0 ],
-                                                                       "source" : [ "obj-1", 0 ]
-                                                               }
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 719.0, 605.0, 72.0, 22.0 ],
+                                       "text" : "prepend set"
+                               }
 
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-2", 0 ],
-                                                                       "source" : [ "obj-16", 0 ]
-                                                               }
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontsize" : 12.0,
+                                       "id" : "obj-26",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "", "", "FullPacket" ],
+                                       "patching_rect" : [ 719.0, 563.0, 205.0, 22.0 ],
+                                       "text" : "o.route /l /r"
+                               }
 
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-4", 0 ],
-                                                                       "source" : [ "obj-16", 1 ]
-                                                               }
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 812.0, 737.0, 64.0, 22.0 ],
+                                       "text" : "send~ ch2"
+                               }
 
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-16", 0 ],
-                                                                       "source" : [ "obj-3", 0 ]
-                                                               }
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 719.0, 737.0, 64.0, 22.0 ],
+                                       "text" : "send~ ch1"
+                               }
 
-                                                       }
-,                                                      {
-                                                               "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 ]
-                                                               }
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "" ],
+                                       "patching_rect" : [ 194.0, 179.0, 97.0, 22.0 ],
+                                       "text" : "t l l"
+                               }
 
-                                                       }
- ]
-                                       }
-,
-                                       "patching_rect" : [ 367.0, 189.0, 89.0, 22.0 ],
-                                       "text" : "p initial_bundle"
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-17",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 367.0, 189.0, 99.0, 22.0 ],
+                                       "text" : "vt.handle_variety"
                                }
 
                        }
                                        "maxclass" : "outlet",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 1027.0, 778.0, 36.0, 36.0 ]
+                                       "patching_rect" : [ 1188.0, 770.0, 36.0, 36.0 ]
                                }
 
                        }
                                        "numoutlets" : 5,
                                        "outlettype" : [ "", "", "", "", "FullPacket" ],
                                        "patching_rect" : [ 367.0, 330.0, 488.0, 22.0 ],
-                                       "text" : "o.route /gain /line /auxsend /duroff"
+                                       "text" : "o.route /gain /line /auxsend /st"
                                }
 
                        }
                                        "maxclass" : "comment",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 883.0, 794.0, 81.0, 20.0 ],
+                                       "patching_rect" : [ 1044.0, 786.0, 81.0, 20.0 ],
                                        "text" : "for [busymap]"
                                }
 
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 836.0, 793.0, 35.0, 22.0 ],
+                                       "patching_rect" : [ 997.0, 785.0, 35.0, 22.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "attr_comment" : ""
+                                       }
+,
                                        "text" : "out 1"
                                }
 
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "signal" ],
-                                       "patching_rect" : [ 550.5, 685.0, 70.0, 22.0 ],
+                                       "patching_rect" : [ 550.5, 757.0, 70.0, 22.0 ],
                                        "text" : "*~ 0."
                                }
 
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 393.0, 793.0, 52.0, 22.0 ],
-                                       "saved_object_attributes" :                                     {
-                                               "attr_comment" : ""
-                                       }
-,
+                                       "patching_rect" : [ 285.0, 788.0, 52.0, 22.0 ],
                                        "text" : "out~ 1"
                                }
 
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
                                        "patching_rect" : [ 292.0, 50.0, 38.0, 22.0 ],
-                                       "saved_object_attributes" :                                     {
-                                               "attr_comment" : ""
-                                       }
-,
                                        "text" : "in 1"
                                }
 
                                                                                                "box" :                                                                                                 {
                                                                                                        "fontface" : 0,
                                                                                                        "id" : "obj-27",
-                                                                                                       "linecount" : 12,
+                                                                                                       "linecount" : 13,
                                                                                                        "maxclass" : "o.expr.codebox",
                                                                                                        "numinlets" : 1,
                                                                                                        "numoutlets" : 2,
                                                                                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                                                                                       "patching_rect" : [ 50.0, 100.0, 560.0, 172.0 ],
-                                                                                                       "text" : "/segment ??= [0., 1.], \n/gain/range ??= [0.8, 1.2],\n/trajspeed/range ??= [20, 50],\n/spacing/range *= 1000.,\n\n/gain = scale(/r/gain, 0., 1., /gain/range[[0]], /gain/range[[1]]), \n/tspeed = scale(/r/tspeed, 0., 1., /trajspeed/range[[0]], /trajspeed/range[[1]]),\n/area = /segment * /buffer/len,\n/dur = abs(/area[[0]] - /area[[1]]) * (1. / /speed),\n/line = [/area[[0]], 0, /area[[1]], /dur], \n/sdelay = scale(/r/space, 0., 1., /spacing/range[[0]], /spacing/range[[1]]), \n/duroff = /dur - 20."
+                                                                                                       "patching_rect" : [ 50.0, 100.0, 560.0, 185.0 ],
+                                                                                                       "text" : "/segment ??= [0., 1.], \n/gain/range ??= [0.8, 1.2],\n/trajspeed/range ??= [20, 50],\n/spacing/range *= 1000.,\n/speed ??= 1.,\n\n/gain = scale(/r/gain, 0., 1., /gain/range[[0]], /gain/range[[1]]), \n/tspeed = scale(/r/tspeed, 0., 1., /trajspeed/range[[0]], /trajspeed/range[[1]]),\n/area = /segment * /buffer/len,\n/dur = abs(/area[[0]] - /area[[1]]) * (1. / /speed),\n/line = [/area[[0]], 0, /area[[1]], /dur], \n/sdelay = scale(/r/space, 0., 1., /spacing/range[[0]], /spacing/range[[1]]), \n/duroff = /dur - 20."
                                                                                                }
 
                                                                                        }
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "signal" ],
-                                       "patching_rect" : [ 332.0, 631.0, 171.0, 22.0 ],
+                                       "patching_rect" : [ 292.0, 643.0, 55.0, 22.0 ],
                                        "text" : "*~ 0."
                                }
 
                                        "id" : "obj-32",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "signal", "bang" ],
-                                       "patching_rect" : [ 484.0, 585.0, 71.0, 22.0 ],
-                                       "text" : "play~ buffet"
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "signal", "signal", "bang" ],
+                                       "patching_rect" : [ 484.0, 585.0, 81.0, 22.0 ],
+                                       "text" : "play~ buffet 2"
                                }
 
                        }
                                        "maxclass" : "outlet",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 332.0, 788.0, 36.0, 36.0 ]
+                                       "patching_rect" : [ 224.0, 783.0, 36.0, 36.0 ]
                                }
 
                        }
                                        "source" : [ "obj-1", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-26", 0 ],
+                                       "source" : [ "obj-1", 3 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                        "source" : [ "obj-15", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "order" : 2,
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                        "source" : [ "obj-2", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-20", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-8", 0 ],
+                                       "order" : 1,
                                        "source" : [ "obj-20", 0 ]
                                }
 
                                        "source" : [ "obj-25", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-33", 0 ],
+                                       "source" : [ "obj-26", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 0 ],
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                        "source" : [ "obj-30", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 1 ],
+                                       "source" : [ "obj-32", 1 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                        "source" : [ "obj-32", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "source" : [ "obj-33", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-14", 0 ],
-                                       "order" : 1,
+                                       "order" : 2,
                                        "source" : [ "obj-8", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-30", 0 ],
+                                       "destination" : [ "obj-23", 0 ],
                                        "order" : 0,
                                        "source" : [ "obj-8", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-30", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-8", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-34", 0 ],
-                                       "order" : 2,
+                                       "order" : 3,
                                        "source" : [ "obj-8", 0 ]
                                }
 
                                "name" : "o.var.mxo",
                                "type" : "iLaX"
                        }
+,                      {
+                               "name" : "vt.handle_variety.maxpat",
+                               "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj",
+                               "patcherrelativepath" : ".",
+                               "type" : "JSON",
+                               "implicit" : 1
+                       }
  ],
                "autosave" : 0
        }