]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
added clear routine for polybuffer
authorequilet <2237372+equilet@users.noreply.github.com>
Wed, 26 Mar 2025 02:06:59 +0000 (19:06 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Wed, 26 Mar 2025 02:06:59 +0000 (19:06 -0700)
polybuf_container~.maxpat

index b60f5fc983de6c78b231c14489702640a2f8cd72..6a4708ceb5790abf72469b52dd193aeea8134de1 100644 (file)
                }
 ,
                "classnamespace" : "box",
-               "rect" : [ 0.0, 156.0, 1654.0, 847.0 ],
+               "rect" : [ 0.0, 156.0, 1002.0, 749.0 ],
                "openinpresentation" : 1,
                "gridsize" : [ 15.0, 15.0 ],
                "toolbars_unpinned_last_save" : 15,
                "subpatcher_template" : "Untitled5_template",
                "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-42",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patcher" :                                     {
+                                               "fileversion" : 1,
+                                               "appversion" :                                          {
+                                                       "major" : 9,
+                                                       "minor" : 0,
+                                                       "revision" : 6,
+                                                       "architecture" : "x64",
+                                                       "modernui" : 1
+                                               }
+,
+                                               "classnamespace" : "box",
+                                               "rect" : [ 59.0, 106.0, 247.0, 347.0 ],
+                                               "gridsize" : [ 15.0, 15.0 ],
+                                               "subpatcher_template" : "Untitled5_template",
+                                               "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "comment" : "",
+                                                                       "id" : "obj-1",
+                                                                       "index" : 1,
+                                                                       "maxclass" : "inlet",
+                                                                       "numinlets" : 0,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 41.0, 27.0, 30.0, 30.0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-52",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 141.0, 208.0, 72.0, 22.0 ],
+                                                                       "text" : "prepend set"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-48",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 41.0, 176.0, 55.0, 22.0 ],
+                                                                       "text" : "set none"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-43",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 41.0, 130.0, 87.0, 22.0 ],
+                                                                       "text" : "route done"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-21",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "float", "bang" ],
+                                                                       "patching_rect" : [ 41.0, 247.0, 76.0, 22.0 ],
+                                                                       "text" : "buffer~ none"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-37",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "clear", "" ],
+                                                                       "patching_rect" : [ 109.0, 176.0, 51.0, 22.0 ],
+                                                                       "text" : "t clear s"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-22",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "", "" ],
+                                                                       "patching_rect" : [ 41.0, 81.0, 84.0, 22.0 ],
+                                                                       "text" : "route bufferlist"
+                                                               }
+
+                                                       }
+ ],
+                                               "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-22", 0 ],
+                                                                       "source" : [ "obj-1", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-43", 0 ],
+                                                                       "source" : [ "obj-22", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-21", 0 ],
+                                                                       "source" : [ "obj-37", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-52", 0 ],
+                                                                       "source" : [ "obj-37", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-37", 0 ],
+                                                                       "source" : [ "obj-43", 1 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-48", 0 ],
+                                                                       "source" : [ "obj-43", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-21", 0 ],
+                                                                       "source" : [ "obj-48", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-21", 0 ],
+                                                                       "source" : [ "obj-52", 0 ]
+                                                               }
+
+                                                       }
+ ]
+                                       }
+,
+                                       "patching_rect" : [ 123.0, 275.0, 88.0, 22.0 ],
+                                       "text" : "p clear_routine"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-41",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 232.0, 204.0, 70.0, 22.0 ],
+                                       "text" : "getbufferlist"
+                               }
+
+                       }
+,                      {
                                "box" :                                 {
                                        "id" : "obj-15",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "", "int" ],
-                                       "patching_rect" : [ 481.0, 48.0, 55.0, 22.0 ],
+                                       "patching_rect" : [ 464.0, 53.0, 55.0, 22.0 ],
                                        "text" : "strippath"
                                }
 
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "", "" ],
-                                       "patching_rect" : [ 365.0, 8.0, 92.0, 35.0 ],
+                                       "patching_rect" : [ 464.0, 11.5, 92.0, 35.0 ],
                                        "presentation" : 1,
                                        "presentation_rect" : [ 1.0, 1.0, 268.0, 41.0 ]
                                }
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "bang" ],
-                                       "patching_rect" : [ 275.5, 125.0, 22.0, 22.0 ],
+                                       "patching_rect" : [ 192.0, 125.0, 22.0, 22.0 ],
                                        "text" : "t b"
                                }
 
                                        "id" : "obj-34",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
-                                       "numoutlets" : 3,
-                                       "outlettype" : [ "clear", "<foldername>", "int" ],
-                                       "patching_rect" : [ 275.5, 161.0, 129.0, 22.0 ],
-                                       "text" : "t clear <foldername> 0"
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "clear", "bang", "<foldername>", "int" ],
+                                       "patching_rect" : [ 192.0, 161.0, 139.0, 22.0 ],
+                                       "text" : "t clear <foldername> 0"
                                }
 
                        }
                                        "maxclass" : "outlet",
                                        "numinlets" : 1,
                                        "numoutlets" : 0,
-                                       "patching_rect" : [ 85.0, 701.0, 22.0, 22.0 ]
+                                       "patching_rect" : [ 88.5, 701.0, 22.0, 22.0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-30", 0 ],
-                                       "source" : [ "obj-34", 1 ]
+                                       "source" : [ "obj-34", 2 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-39", 0 ],
-                                       "source" : [ "obj-34", 2 ]
+                                       "source" : [ "obj-34", 3 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "source" : [ "obj-34", 1 ]
                                }
 
                        }
                                        "source" : [ "obj-35", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-42", 0 ],
+                                       "source" : [ "obj-36", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                        "source" : [ "obj-4", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-36", 0 ],
+                                       "source" : [ "obj-41", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {