]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
added ability to start with a choice
authorequilet <2237372+equilet@users.noreply.github.com>
Wed, 23 Apr 2025 00:56:38 +0000 (17:56 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Wed, 23 Apr 2025 00:56:38 +0000 (17:56 -0700)
polybuf_container~.maxhelp
polybuf_container~.maxpat

index fbf68ea846b1b6abfbd2240d6c2168ddb28a26d4..de8755e09830cb596077e92524e03a702b50eb59 100644 (file)
                }
 ,
                "classnamespace" : "box",
-               "rect" : [ 44.0, 109.0, 1318.0, 524.0 ],
+               "rect" : [ 44.0, 100.0, 1318.0, 524.0 ],
                "gridsize" : [ 15.0, 15.0 ],
                "subpatcher_template" : "Untitled5_template",
                "boxes" : [                     {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-25",
+                                       "maxclass" : "o.compose",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 685.0, 199.0, 120.0, 23.0 ],
+                                       "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0 ],
+                                       "saved_bundle_length" : 44,
+                                       "text" : "/variety : 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "linecount" : 4,
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 442.0, 22.0, 150.0, 60.0 ],
+                                       "text" : "this works, but it will take a while to select the choice since variety is set to a small number..."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 918.0, 217.5, 24.0, 24.0 ]
+                               }
+
+                       }
+,                      {
                                "box" :                                 {
                                        "fontface" : 0,
                                        "id" : "obj-23",
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "bang" ],
-                                       "patching_rect" : [ 918.0, 200.0, 63.0, 22.0 ],
+                                       "patching_rect" : [ 918.0, 187.0, 63.0, 22.0 ],
                                        "text" : "metro 250"
                                }
 
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 494.0, 53.0, 126.0, 36.0 ],
+                                       "patching_rect" : [ 454.0, 84.0, 126.0, 36.0 ],
                                        "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -71, -103, -103, -103, -103, -103, -102, 0, 0, 0, 16, 47, 99, 104, 111, 105, 99, 101, 0, 44, 105, 0, 0, 0, 0, 0, 4 ],
                                        "saved_bundle_length" : 64,
                                        "text" : "/variety : 0.1,\n/choice : 4"
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
                                        "patching_rect" : [ 64.0, 381.0, 138.0, 22.0 ],
-                                       "text" : "100618_02z.aiff"
+                                       "text" : "100618_02am.aiff"
                                }
 
                        }
                                "box" :                                 {
                                        "fontface" : 0,
                                        "id" : "obj-31",
-                                       "linecount" : 7,
+                                       "linecount" : 6,
                                        "maxclass" : "o.display",
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 331.0, 345.0, 250.0, 110.0 ],
-                                       "text" : "/rpercent : 0.726727,\n/variety : 0.99,\n/numfiles : 73,\n/pbname : \"audiocollection\",\n/last : 72,\n/buffer/name : \"audiocollection.73\",\n/buffer/len : 1115.85"
+                                       "patching_rect" : [ 331.0, 345.0, 250.0, 97.0 ],
+                                       "text" : "/rpercent : 0.172172,\n/variety : 1.,\n/numfiles : 73,\n/pbname : \"audiocollection\",\n/last : 16,\n/buffer/name : \"audiocollection.17\""
                                }
 
                        }
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-21", 0 ],
+                                       "destination" : [ "obj-22", 0 ],
                                        "source" : [ "obj-18", 0 ]
                                }
 
                                        "source" : [ "obj-21", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-25", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
index cf67ac049d3311845b3eeeb0cb260de71ffadde5..73a563e0845fbb31ace09b3aa4385ac72bd52878 100644 (file)
                }
 ,
                "classnamespace" : "box",
-               "rect" : [ 228.0, 253.0, 1079.0, 657.0 ],
+               "rect" : [ 361.0, 200.0, 1079.0, 657.0 ],
                "openinpresentation" : 1,
                "gridsize" : [ 15.0, 15.0 ],
                "toolbars_unpinned_last_save" : 15,
                "subpatcher_template" : "Untitled5_template",
                "boxes" : [                     {
                                "box" :                                 {
-                                       "id" : "obj-8",
-                                       "maxclass" : "comment",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 0,
-                                       "patching_rect" : [ 698.0, 277.0, 115.0, 20.0 ],
-                                       "text" : "blend in polybuf info"
+                                       "id" : "obj-10",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 295.0, 276.0, 48.0, 22.0 ],
+                                       "text" : "del 200"
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "id" : "obj-51",
-                                       "maxclass" : "newobj",
+                                       "id" : "obj-22",
+                                       "maxclass" : "button",
                                        "numinlets" : 1,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "int", "FullPacket" ],
-                                       "patcher" :                                     {
-                                               "fileversion" : 1,
-                                               "appversion" :                                          {
-                                                       "major" : 9,
-                                                       "minor" : 0,
-                                                       "revision" : 6,
-                                                       "architecture" : "x64",
-                                                       "modernui" : 1
-                                               }
-,
-                                               "classnamespace" : "box",
-                                               "rect" : [ 59.0, 106.0, 343.0, 397.0 ],
-                                               "gridsize" : [ 15.0, 15.0 ],
-                                               "subpatcher_template" : "Untitled5_template",
-                                               "boxes" : [                                                     {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-1",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "int" ],
-                                                                       "patching_rect" : [ 151.0, 267.0, 22.0, 22.0 ],
-                                                                       "text" : "t 1"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-8",
-                                                                       "maxclass" : "message",
-                                                                       "numinlets" : 2,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 176.0, 192.0, 89.0, 22.0 ],
-                                                                       "text" : "#1"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-35",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 2,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "", "" ],
-                                                                       "patching_rect" : [ 50.0, 198.0, 69.0, 22.0 ],
-                                                                       "text" : "route count"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-33",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "", "bang" ],
-                                                                       "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 ],
-                                                                               "gridsize" : [ 15.0, 15.0 ],
-                                                                               "subpatcher_template" : "Untitled5_template",
-                                                                               "boxes" : [                                                                                     {
-                                                                                               "box" :                                                                                                 {
-                                                                                                       "comment" : "",
-                                                                                                       "id" : "obj-1",
-                                                                                                       "index" : 2,
-                                                                                                       "maxclass" : "outlet",
-                                                                                                       "numinlets" : 1,
-                                                                                                       "numoutlets" : 0,
-                                                                                                       "patching_rect" : [ 294.0, 251.0, 30.0, 30.0 ]
-                                                                                               }
-
-                                                                                       }
-,                                                                                      {
-                                                                                               "box" :                                                                                                 {
-                                                                                                       "id" : "obj-8",
-                                                                                                       "maxclass" : "newobj",
-                                                                                                       "numinlets" : 1,
-                                                                                                       "numoutlets" : 3,
-                                                                                                       "outlettype" : [ "", "", "bang" ],
-                                                                                                       "patching_rect" : [ 43.0, 134.0, 77.0, 22.0 ],
-                                                                                                       "text" : "t getcount l b"
-                                                                                               }
-
-                                                                                       }
-,                                                                                      {
-                                                                                               "box" :                                                                                                 {
-                                                                                                       "id" : "obj-5",
-                                                                                                       "maxclass" : "newobj",
-                                                                                                       "numinlets" : 1,
-                                                                                                       "numoutlets" : 1,
-                                                                                                       "outlettype" : [ "" ],
-                                                                                                       "patching_rect" : [ 50.0, 100.0, 110.0, 22.0 ],
-                                                                                                       "text" : "prepend readfolder"
-                                                                                               }
-
-                                                                                       }
-,                                                                                      {
-                                                                                               "box" :                                                                                                 {
-                                                                                                       "comment" : "",
-                                                                                                       "id" : "obj-26",
-                                                                                                       "index" : 1,
-                                                                                                       "maxclass" : "inlet",
-                                                                                                       "numinlets" : 0,
-                                                                                                       "numoutlets" : 1,
-                                                                                                       "outlettype" : [ "" ],
-                                                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
-                                                                                               }
-
-                                                                                       }
-,                                                                                      {
-                                                                                               "box" :                                                                                                 {
-                                                                                                       "comment" : "",
-                                                                                                       "id" : "obj-29",
-                                                                                                       "index" : 1,
-                                                                                                       "maxclass" : "outlet",
-                                                                                                       "numinlets" : 1,
-                                                                                                       "numoutlets" : 0,
-                                                                                                       "patching_rect" : [ 50.0, 251.0, 30.0, 30.0 ]
-                                                                                               }
-
-                                                                                       }
- ],
-                                                                               "lines" : [                                                                                     {
-                                                                                               "patchline" :                                                                                           {
-                                                                                                       "destination" : [ "obj-5", 0 ],
-                                                                                                       "source" : [ "obj-26", 0 ]
-                                                                                               }
-
-                                                                                       }
-,                                                                                      {
-                                                                                               "patchline" :                                                                                           {
-                                                                                                       "destination" : [ "obj-8", 0 ],
-                                                                                                       "source" : [ "obj-5", 0 ]
-                                                                                               }
-
-                                                                                       }
-,                                                                                      {
-                                                                                               "patchline" :                                                                                           {
-                                                                                                       "destination" : [ "obj-1", 0 ],
-                                                                                                       "source" : [ "obj-8", 2 ]
-                                                                                               }
-
-                                                                                       }
-,                                                                                      {
-                                                                                               "patchline" :                                                                                           {
-                                                                                                       "destination" : [ "obj-29", 0 ],
-                                                                                                       "source" : [ "obj-8", 1 ]
-                                                                                               }
-
-                                                                                       }
-,                                                                                      {
-                                                                                               "patchline" :                                                                                           {
-                                                                                                       "destination" : [ "obj-29", 0 ],
-                                                                                                       "source" : [ "obj-8", 0 ]
-                                                                                               }
-
-                                                                                       }
- ]
-                                                                       }
-,
-                                                                       "patching_rect" : [ 50.0, 100.0, 145.0, 22.0 ],
-                                                                       "text" : "p get_pb_info"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-23",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "bang" ],
-                                                                       "patching_rect" : [ 176.0, 162.0, 58.0, 22.0 ],
-                                                                       "text" : "loadbang"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-19",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 2,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "FullPacket" ],
-                                                                       "patching_rect" : [ 50.0, 227.0, 145.0, 22.0 ],
-                                                                       "text" : "o.pack /numfiles /pbname"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-82",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "", "bang" ],
-                                                                       "patching_rect" : [ 50.0, 162.0, 123.0, 22.0 ],
-                                                                       "saved_object_attributes" :                                                                     {
-                                                                               "embed" : 0
-                                                                       }
-,
-                                                                       "text" : "polybuffer~ #1"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "comment" : "",
-                                                                       "id" : "obj-45",
-                                                                       "index" : 1,
-                                                                       "maxclass" : "inlet",
-                                                                       "numinlets" : 0,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "comment" : "",
-                                                                       "id" : "obj-46",
-                                                                       "index" : 1,
-                                                                       "maxclass" : "outlet",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 0,
-                                                                       "patching_rect" : [ 44.0, 309.0, 30.0, 30.0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "comment" : "",
-                                                                       "id" : "obj-50",
-                                                                       "index" : 2,
-                                                                       "maxclass" : "outlet",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 0,
-                                                                       "patching_rect" : [ 79.0, 309.0, 30.0, 30.0 ]
-                                                               }
-
-                                                       }
- ],
-                                               "lines" : [                                                     {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-46", 0 ],
-                                                                       "source" : [ "obj-1", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-50", 0 ],
-                                                                       "source" : [ "obj-19", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-8", 0 ],
-                                                                       "source" : [ "obj-23", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-23", 0 ],
-                                                                       "source" : [ "obj-33", 1 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-82", 0 ],
-                                                                       "source" : [ "obj-33", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-19", 0 ],
-                                                                       "source" : [ "obj-35", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-33", 0 ],
-                                                                       "source" : [ "obj-45", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-19", 1 ],
-                                                                       "source" : [ "obj-8", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-1", 0 ],
-                                                                       "source" : [ "obj-82", 1 ]
-                                                               }
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 266.0, 292.0, 24.0, 24.0 ]
+                               }
 
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-35", 0 ],
-                                                                       "source" : [ "obj-82", 0 ]
-                                                               }
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontface" : 0,
+                                       "id" : "obj-19",
+                                       "maxclass" : "o.display",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 577.0, 527.0, 150.0, 33.0 ]
+                               }
 
-                                                       }
- ]
-                                       }
-,
-                                       "patching_rect" : [ 825.0, 208.0, 123.0, 22.0 ],
-                                       "text" : "p polybuf_parse_load"
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 698.0, 277.0, 115.0, 20.0 ],
+                                       "text" : "blend in polybuf info"
                                }
 
                        }
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "", "FullPacket" ],
-                                       "patching_rect" : [ 646.0, 136.0, 76.0, 22.0 ],
+                                       "patching_rect" : [ 605.0, 99.0, 76.0, 22.0 ],
                                        "text" : "o.route /path"
                                }
 
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 646.0, 102.0, 128.0, 22.0 ],
+                                       "patching_rect" : [ 631.0, 38.0, 128.0, 22.0 ],
                                        "text" : "o.if exists(/path)"
                                }
 
                                        "id" : "obj-42",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
-                                       "numoutlets" : 0,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
                                        "patcher" :                                     {
                                                "fileversion" : 1,
                                                "appversion" :                                          {
                                                }
 ,
                                                "classnamespace" : "box",
-                                               "rect" : [ 59.0, 106.0, 247.0, 347.0 ],
+                                               "rect" : [ 59.0, 106.0, 724.0, 591.0 ],
                                                "gridsize" : [ 15.0, 15.0 ],
                                                "subpatcher_template" : "Untitled5_template",
                                                "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-2",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "outlet",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 0,
+                                                                       "patching_rect" : [ 340.0, 247.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-10",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 443.0, 81.0, 89.0, 22.0 ],
+                                                                       "text" : "#1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-23",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "bang" ],
+                                                                       "patching_rect" : [ 443.0, 51.0, 58.0, 22.0 ],
+                                                                       "text" : "loadbang"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-19",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "FullPacket" ],
+                                                                       "patching_rect" : [ 295.0, 136.0, 167.0, 22.0 ],
+                                                                       "text" : "o.pack /numfiles /pbname"
+                                                               }
+
+                                                       }
+,                                                      {
                                                                "box" :                                                                 {
                                                                        "comment" : "",
                                                                        "id" : "obj-1",
 
                                                        }
 ,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-22",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 2,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "", "" ],
-                                                                       "patching_rect" : [ 41.0, 81.0, 84.0, 22.0 ],
-                                                                       "text" : "route bufferlist"
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-22",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 3,
+                                                                       "numoutlets" : 3,
+                                                                       "outlettype" : [ "", "", "" ],
+                                                                       "patching_rect" : [ 41.0, 81.0, 117.0, 22.0 ],
+                                                                       "text" : "route bufferlist count"
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-22", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-19", 1 ],
+                                                                       "source" : [ "obj-10", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-2", 0 ],
+                                                                       "source" : [ "obj-19", 0 ]
                                                                }
 
                                                        }
- ],
-                                               "lines" : [                                                     {
+,                                                      {
                                                                "patchline" :                                                           {
-                                                                       "destination" : [ "obj-22", 0 ],
-                                                                       "source" : [ "obj-1", 0 ]
+                                                                       "destination" : [ "obj-19", 0 ],
+                                                                       "source" : [ "obj-22", 1 ]
                                                                }
 
                                                        }
                                                                        "source" : [ "obj-22", 0 ]
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-10", 0 ],
+                                                                       "source" : [ "obj-23", 0 ]
+                                                               }
+
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
  ]
                                        }
 ,
-                                       "patching_rect" : [ 123.0, 275.0, 88.0, 22.0 ],
+                                       "patching_rect" : [ 766.0, 240.0, 88.0, 22.0 ],
                                        "text" : "p clear_routine"
                                }
 
                                                "rect" : [ 34.0, 87.0, 670.0, 769.0 ],
                                                "gridsize" : [ 15.0, 15.0 ],
                                                "subpatcher_template" : "Untitled5_template",
+                                               "visible" : 1,
                                                "boxes" : [                                                     {
                                                                "box" :                                                                 {
                                                                        "id" : "obj-3",
                                        "text" : "t l l"
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "id" : "obj-38",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "FullPacket" ],
-                                       "patcher" :                                     {
-                                               "fileversion" : 1,
-                                               "appversion" :                                          {
-                                                       "major" : 9,
-                                                       "minor" : 0,
-                                                       "revision" : 6,
-                                                       "architecture" : "x64",
-                                                       "modernui" : 1
-                                               }
-,
-                                               "classnamespace" : "box",
-                                               "rect" : [ 59.0, 87.0, 1000.0, 779.0 ],
-                                               "gridsize" : [ 15.0, 15.0 ],
-                                               "subpatcher_template" : "Untitled5_template",
-                                               "boxes" : [                                                     {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-26",
-                                                                       "maxclass" : "message",
-                                                                       "numinlets" : 2,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 110.0, 145.0, 75.0, 22.0 ],
-                                                                       "text" : "set $1, bang"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "fontsize" : 11.0,
-                                                                       "id" : "obj-9",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "", "" ],
-                                                                       "patching_rect" : [ 60.0, 100.0, 29.5, 21.0 ],
-                                                                       "text" : "t l l"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "fontsize" : 11.0,
-                                                                       "id" : "obj-8",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 2,
-                                                                       "outlettype" : [ "", "FullPacket" ],
-                                                                       "patching_rect" : [ 106.0, 119.0, 107.0, 21.0 ],
-                                                                       "text" : "o.route /buffer/name"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-50",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 2,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "FullPacket" ],
-                                                                       "patching_rect" : [ 50.0, 242.0, 140.0, 22.0 ],
-                                                                       "text" : "o.union"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "fontsize" : 12.0,
-                                                                       "id" : "obj-6",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "FullPacket" ],
-                                                                       "patching_rect" : [ 177.0, 218.0, 100.0, 22.0 ],
-                                                                       "text" : "o.pack /buffer/len"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "fontsize" : 11.0,
-                                                                       "id" : "obj-65",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 10,
-                                                                       "outlettype" : [ "float", "list", "float", "float", "float", "float", "float", "", "int", "" ],
-                                                                       "patching_rect" : [ 114.0, 176.0, 113.5, 21.0 ],
-                                                                       "text" : "info~ none"
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "comment" : "",
-                                                                       "id" : "obj-29",
-                                                                       "index" : 1,
-                                                                       "maxclass" : "inlet",
-                                                                       "numinlets" : 0,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 60.0, 40.0, 30.0, 30.0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "comment" : "",
-                                                                       "id" : "obj-37",
-                                                                       "index" : 1,
-                                                                       "maxclass" : "outlet",
-                                                                       "numinlets" : 1,
-                                                                       "numoutlets" : 0,
-                                                                       "patching_rect" : [ 50.0, 324.0, 30.0, 30.0 ]
-                                                               }
-
-                                                       }
- ],
-                                               "lines" : [                                                     {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-65", 0 ],
-                                                                       "source" : [ "obj-26", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-9", 0 ],
-                                                                       "source" : [ "obj-29", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-37", 0 ],
-                                                                       "source" : [ "obj-50", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-50", 1 ],
-                                                                       "source" : [ "obj-6", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-6", 0 ],
-                                                                       "source" : [ "obj-65", 6 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-26", 0 ],
-                                                                       "source" : [ "obj-8", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-50", 0 ],
-                                                                       "source" : [ "obj-9", 0 ]
-                                                               }
-
-                                                       }
-,                                                      {
-                                                               "patchline" :                                                           {
-                                                                       "destination" : [ "obj-8", 0 ],
-                                                                       "source" : [ "obj-9", 1 ]
-                                                               }
-
-                                                       }
- ]
-                                       }
-,
-                                       "patching_rect" : [ 646.0, 442.0, 65.0, 22.0 ],
-                                       "text" : "p o.bufinfo"
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                                        "oncolor" : [ 0.333333333333333, 0.76078431372549, 0.247058823529412, 1.0 ],
                                        "outlettype" : [ "int" ],
                                        "parameter_enable" : 0,
-                                       "patching_rect" : [ 334.0, 286.0, 52.0, 52.0 ],
+                                       "patching_rect" : [ 219.0, 382.0, 52.0, 52.0 ],
                                        "presentation" : 1,
                                        "presentation_rect" : [ 236.0, 45.0, 35.0, 35.0 ]
                                }
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
                                        "numoutlets" : 4,
-                                       "outlettype" : [ "bang", "", "", "" ],
-                                       "patching_rect" : [ 646.0, 169.0, 288.0, 22.0 ],
-                                       "text" : "t b s s s"
+                                       "outlettype" : [ "", "", "", "bang" ],
+                                       "patching_rect" : [ 736.0, 135.0, 235.0, 22.0 ],
+                                       "text" : "t s s s b"
                                }
 
                        }
                                        "maxclass" : "comment",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 123.0, 419.0, 150.0, 33.0 ],
+                                       "patching_rect" : [ 203.0, 564.0, 150.0, 33.0 ],
                                        "text" : "current limitation:\nno spaces in filenames"
                                }
 
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 121.0, 354.0, 141.0, 22.0 ],
+                                       "patching_rect" : [ 201.0, 499.0, 141.0, 22.0 ],
                                        "text" : "prepend set polyb name:"
                                }
 
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 121.0, 323.0, 109.0, 22.0 ],
+                                       "patching_rect" : [ 201.0, 468.0, 109.0, 22.0 ],
                                        "text" : "loadmess #1"
                                }
 
                                        "maxclass" : "comment",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 121.0, 387.0, 141.0, 20.0 ],
+                                       "patching_rect" : [ 201.0, 532.0, 141.0, 20.0 ],
                                        "presentation" : 1,
                                        "presentation_rect" : [ 1.0, 60.0, 272.0, 20.0 ],
                                        "text" : "polyb name: #1"
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 312.0, 356.0, 109.0, 22.0 ],
+                                       "patching_rect" : [ 396.0, 521.0, 109.0, 22.0 ],
                                        "text" : "prepend set folder:"
                                }
 
                                        "maxclass" : "comment",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 312.0, 394.0, 145.0, 20.0 ],
+                                       "patching_rect" : [ 396.0, 559.0, 145.0, 20.0 ],
                                        "presentation" : 1,
                                        "presentation_rect" : [ 1.0, 44.0, 272.0, 20.0 ],
                                        "text" : "folder: <foldername>"
                                        "patching_rect" : [ 55.0, 589.0, 22.0, 22.0 ]
                                }
 
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "int", "" ],
+                                       "patching_rect" : [ 295.0, 320.0, 71.0, 22.0 ],
+                                       "text" : "t 1 getcount"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-24",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 347.0, 170.0, 110.0, 22.0 ],
+                                       "text" : "prepend readfolder"
+                               }
+
                        }
  ],
                "lines" : [                     {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-10", 0 ]
+                               }
+
+                       }
+,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-14", 0 ],
                                        "source" : [ "obj-13", 0 ]
                                        "source" : [ "obj-21", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "source" : [ "obj-22", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-24", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-15", 0 ],
-                                       "source" : [ "obj-32", 1 ]
-                               }
-
-                       }
-,                      {
-                               "patchline" :                           {
-                                       "destination" : [ "obj-47", 0 ],
                                        "source" : [ "obj-32", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-51", 0 ],
-                                       "source" : [ "obj-32", 2 ]
+                                       "destination" : [ "obj-24", 0 ],
+                                       "source" : [ "obj-32", 1 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-83", 0 ],
-                                       "source" : [ "obj-32", 3 ]
+                                       "source" : [ "obj-32", 2 ]
                                }
 
                        }
                                        "source" : [ "obj-34", 1 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "source" : [ "obj-36", 1 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-7", 0 ],
-                                       "source" : [ "obj-38", 0 ]
+                                       "destination" : [ "obj-36", 0 ],
+                                       "midpoints" : [ 356.5, 352.0, 381.4993896484375, 352.0, 381.4993896484375, 236.0, 132.5, 236.0 ],
+                                       "source" : [ "obj-4", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-39", 0 ],
+                                       "source" : [ "obj-4", 0 ]
                                }
 
                        }
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-21", 0 ],
-                                       "source" : [ "obj-47", 0 ]
+                                       "destination" : [ "obj-19", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-42", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-32", 0 ],
-                                       "source" : [ "obj-48", 0 ]
+                                       "destination" : [ "obj-21", 1 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-42", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-47", 1 ],
-                                       "source" : [ "obj-48", 1 ]
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-47", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-47", 0 ],
-                                       "source" : [ "obj-5", 1 ]
+                                       "destination" : [ "obj-32", 0 ],
+                                       "source" : [ "obj-48", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-48", 0 ],
-                                       "source" : [ "obj-5", 0 ]
+                                       "destination" : [ "obj-47", 1 ],
+                                       "source" : [ "obj-48", 1 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-21", 1 ],
-                                       "source" : [ "obj-51", 1 ]
+                                       "destination" : [ "obj-47", 0 ],
+                                       "source" : [ "obj-5", 1 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-39", 0 ],
-                                       "source" : [ "obj-51", 0 ]
+                                       "destination" : [ "obj-48", 0 ],
+                                       "source" : [ "obj-5", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-38", 0 ],
+                                       "destination" : [ "obj-7", 0 ],
                                        "source" : [ "obj-6", 0 ]
                                }
 
                        }
  ],
                "dependency_cache" : [                  {
+                               "name" : "o.display.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
                                "name" : "o.expr.codebox.mxo",
                                "type" : "iLaX"
                        }