]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
umenu tweaked to support sub-folder paths as individual strings
authorequilet <2237372+equilet@users.noreply.github.com>
Thu, 26 Jun 2025 07:48:17 +0000 (00:48 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Thu, 26 Jun 2025 07:48:17 +0000 (00:48 -0700)
polybuf_container~.maxpat

index af98f42134e3f1ebb2333b908c40a4a201b405bb..0151618664844e409124c3a4871c06c6514278e4 100644 (file)
                }
 ,
                "classnamespace" : "box",
-               "rect" : [ 272.0, 164.0, 1236.0, 720.0 ],
+               "rect" : [ 816.0, 555.0, 1236.0, 720.0 ],
                "openinpresentation" : 1,
                "gridsize" : [ 15.0, 15.0 ],
                "subpatcher_template" : "Untitled5_template",
                "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-44",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 965.0, 382.0, 120.0, 22.0 ],
+                                       "text" : "sprintf symout %s%s"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-9",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "FullPacket" ],
+                                       "patching_rect" : [ 55.0, 542.0, 35.0, 22.0 ],
+                                       "text" : "o.var"
+                               }
+
+                       }
+,                      {
                                "box" :                                 {
                                        "fontsize" : 12.0,
                                        "id" : "obj-6",
                                        "textcolor" : [ 0.76078431372549, 0.129411764705882, 0.129411764705882, 1.0 ]
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "id" : "obj-77",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "" ],
-                                       "patching_rect" : [ 965.0, 363.0, 107.0, 22.0 ],
-                                       "text" : "sprintf symout %s/"
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                                                }
 ,
                                                "classnamespace" : "box",
-                                               "rect" : [ 84.0, 131.0, 608.0, 392.0 ],
+                                               "rect" : [ 856.0, 232.0, 608.0, 392.0 ],
                                                "gridsize" : [ 15.0, 15.0 ],
                                                "subpatcher_template" : "Untitled5_template",
                                                "boxes" : [                                                     {
                                                                        "text" : "set folder: $1"
                                                                }
 
-                                                       }
-,                                                      {
-                                                               "box" :                                                                 {
-                                                                       "id" : "obj-3",
-                                                                       "maxclass" : "newobj",
-                                                                       "numinlets" : 2,
-                                                                       "numoutlets" : 1,
-                                                                       "outlettype" : [ "" ],
-                                                                       "patching_rect" : [ 154.0, 220.0, 123.0, 22.0 ],
-                                                                       "text" : "sprintf symout %s%s/"
-                                                               }
-
                                                        }
 ,                                                      {
                                                                "box" :                                                                 {
                                                                        "id" : "obj-66",
                                                                        "maxclass" : "newobj",
                                                                        "numinlets" : 1,
-                                                                       "numoutlets" : 3,
-                                                                       "outlettype" : [ "bang", "", "int" ],
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "bang", "" ],
                                                                        "patching_rect" : [ 323.0, 147.0, 123.0, 22.0 ],
-                                                                       "text" : "t b s 1"
+                                                                       "text" : "t b s"
                                                                }
 
                                                        }
                                        "text" : "prepend symbol"
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "id" : "obj-54",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "", "int" ],
-                                       "patching_rect" : [ 965.0, 398.0, 55.0, 22.0 ],
-                                       "text" : "strippath"
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                                        "autopopulate" : 1,
-                                       "depth" : 3,
+                                       "depth" : 4,
                                        "id" : "obj-58",
                                        "items" : "<empty>",
                                        "maxclass" : "umenu",
                                        "outlettype" : [ "int", "", "" ],
                                        "parameter_enable" : 0,
                                        "patching_rect" : [ 904.0, 321.0, 141.0, 22.0 ],
+                                       "prefix_mode" : 2,
                                        "presentation" : 1,
                                        "presentation_rect" : [ 1.0, 4.0, 272.0, 22.0 ],
                                        "types" : "fold"
                                        "maxclass" : "comment",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 21.5, 404.0, 115.0, 20.0 ],
+                                       "patching_rect" : [ 161.0, 499.5, 115.0, 20.0 ],
                                        "text" : "blend in polybuf info"
                                }
 
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "FullPacket" ],
-                                       "patching_rect" : [ 55.0, 503.0, 48.0, 22.0 ],
+                                       "patching_rect" : [ 94.0, 498.5, 48.0, 22.0 ],
                                        "text" : "o.union"
                                }
 
  ]
                                        }
 ,
-                                       "patching_rect" : [ 62.0, 375.0, 125.0, 22.0 ],
+                                       "patching_rect" : [ 123.0, 321.0, 125.0, 22.0 ],
                                        "text" : "p clear_routine_&_init"
                                }
 
                                        "oncolor" : [ 0.333333333333333, 0.76078431372549, 0.247058823529412, 1.0 ],
                                        "outlettype" : [ "int" ],
                                        "parameter_enable" : 0,
-                                       "patching_rect" : [ 219.0, 382.0, 52.0, 52.0 ],
+                                       "patching_rect" : [ 338.0, 382.0, 52.0, 52.0 ],
                                        "presentation" : 1,
                                        "presentation_rect" : [ 236.0, 45.0, 35.0, 35.0 ]
                                }
                                        "maxclass" : "comment",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 203.0, 564.0, 150.0, 33.0 ],
+                                       "patching_rect" : [ 501.0, 493.0, 150.0, 33.0 ],
                                        "text" : "current limitation:\nno spaces in filenames"
                                }
 
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 201.0, 499.0, 141.0, 22.0 ],
+                                       "patching_rect" : [ 499.0, 428.0, 141.0, 22.0 ],
                                        "text" : "prepend set polyb name:"
                                }
 
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 201.0, 468.0, 109.0, 22.0 ],
+                                       "patching_rect" : [ 499.0, 397.0, 109.0, 22.0 ],
                                        "text" : "loadmess #1"
                                }
 
                                        "maxclass" : "comment",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 201.0, 532.0, 141.0, 20.0 ],
+                                       "patching_rect" : [ 499.0, 461.0, 141.0, 20.0 ],
                                        "presentation" : 1,
-                                       "presentation_rect" : [ 1.0, 60.0, 272.0, 20.0 ],
+                                       "presentation_rect" : [ 1.0, 66.0, 272.0, 20.0 ],
                                        "text" : "polyb name: #1"
                                }
 
                                        "numoutlets" : 0,
                                        "patching_rect" : [ 411.0, 612.0, 145.0, 20.0 ],
                                        "presentation" : 1,
-                                       "presentation_rect" : [ 1.0, 44.0, 272.0, 20.0 ],
+                                       "presentation_rect" : [ 1.0, 28.0, 272.0, 20.0 ],
                                        "text" : "folder: <none>"
                                }
 
                                        "source" : [ "obj-14", 1 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-9", 0 ],
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-1", 0 ],
+                                       "destination" : [ "obj-9", 0 ],
                                        "source" : [ "obj-21", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-21", 0 ],
-                                       "source" : [ "obj-48", 1 ]
+                                       "destination" : [ "obj-72", 0 ],
+                                       "order" : 0,
+                                       "source" : [ "obj-44", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-43", 0 ],
-                                       "source" : [ "obj-48", 0 ]
+                                       "destination" : [ "obj-83", 0 ],
+                                       "order" : 1,
+                                       "source" : [ "obj-44", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-29", 0 ],
-                                       "source" : [ "obj-5", 0 ]
+                                       "destination" : [ "obj-21", 0 ],
+                                       "source" : [ "obj-48", 1 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-72", 0 ],
-                                       "order" : 0,
-                                       "source" : [ "obj-54", 0 ]
+                                       "destination" : [ "obj-43", 0 ],
+                                       "source" : [ "obj-48", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-83", 0 ],
-                                       "order" : 1,
-                                       "source" : [ "obj-54", 0 ]
+                                       "destination" : [ "obj-29", 0 ],
+                                       "source" : [ "obj-5", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-77", 0 ],
+                                       "destination" : [ "obj-44", 0 ],
                                        "source" : [ "obj-58", 1 ]
                                }
 
                                        "source" : [ "obj-72", 1 ]
                                }
 
-                       }
-,                      {
-                               "patchline" :                           {
-                                       "destination" : [ "obj-54", 0 ],
-                                       "source" : [ "obj-77", 0 ]
-                               }
-
                        }
 ,                      {
                                "patchline" :                           {
                                        "source" : [ "obj-87", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "source" : [ "obj-9", 0 ]
+                               }
+
                        }
  ],
                "dependency_cache" : [                  {
                                "name" : "o.union.mxo",
                                "type" : "iLaX"
                        }
+,                      {
+                               "name" : "o.var.mxo",
+                               "type" : "iLaX"
+                       }
  ],
                "autosave" : 0
        }