]> git.dabkitsch.com - sonogarden_maxproj.git/commitdiff
renamed subpatcher
authorequilet <2237372+equilet@users.noreply.github.com>
Fri, 18 Apr 2025 03:46:05 +0000 (20:46 -0700)
committerequilet <2237372+equilet@users.noreply.github.com>
Fri, 18 Apr 2025 03:46:05 +0000 (20:46 -0700)
engine_grainmanager.maxpat

index 9d95516b9515181aaba153cd2551faa58605b5b1..85b6628c0dcc002c2b032e39da8bfa0ba88908bd 100644 (file)
                }
 ,
                "classnamespace" : "box",
-               "rect" : [ 59.0, 101.0, 646.0, 636.0 ],
+               "rect" : [ 732.0, 328.0, 646.0, 636.0 ],
                "gridsize" : [ 15.0, 15.0 ],
                "subpatcher_template" : "Untitled5_template",
                "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-1",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "FullPacket" ],
+                                       "patching_rect" : [ 35.0, 66.0, 79.0, 22.0 ],
+                                       "text" : "o.select /stop"
+                               }
+
+                       }
+,                      {
                                "box" :                                 {
                                        "id" : "obj-47",
                                        "maxclass" : "newobj",
                                                "gridsize" : [ 15.0, 15.0 ],
                                                "subpatcher_template" : "Untitled5_template",
                                                "boxes" : [                                                     {
+                                                               "box" :                                                                 {
+                                                                       "fontface" : 0,
+                                                                       "id" : "obj-29",
+                                                                       "linecount" : 4,
+                                                                       "maxclass" : "o.expr.codebox",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "FullPacket", "FullPacket" ],
+                                                                       "patching_rect" : [ 616.0, 179.0, 322.0, 70.0 ],
+                                                                       "text" : "/rand = /rand/int / 9999.,\n/loval = scale(/density, 0., 1., 20000, 500),\n/hival = scale(/density, 0., 1., 1000, 10), \n/deltime = scale(/rand, 0., 1., /loval, /hival)"
+                                                               }
+
+                                                       }
+,                                                      {
                                                                "box" :                                                                 {
                                                                        "comment" : "",
                                                                        "id" : "obj-2",
                                        "text" : "p old_algo"
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "id" : "obj-12",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 46.0, 100.0, 93.0, 22.0 ],
-                                       "text" : "o.if exists(/stop)"
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
  ]
                                        }
 ,
-                                       "patching_rect" : [ 175.0, 185.0, 119.0, 22.0 ],
-                                       "text" : "p inject_randomness"
+                                       "patching_rect" : [ 175.0, 185.0, 82.0, 22.0 ],
+                                       "text" : "p o.randomint"
                                }
 
                        }
                                        "text" : "o.var"
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "id" : "obj-24",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "" ],
-                                       "patching_rect" : [ 175.0, 413.0, 79.0, 22.0 ],
-                                       "text" : "prepend note"
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 175.0, 143.0, 108.0, 22.0 ],
-                                       "text" : "o.if exists(/density)"
+                                       "patching_rect" : [ 175.0, 134.0, 128.0, 22.0 ],
+                                       "text" : "o.cond exists(/density)"
                                }
 
                        }
                                        "text" : "del 0."
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "id" : "obj-15",
-                                       "maxclass" : "message",
-                                       "numinlets" : 2,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "" ],
-                                       "patching_rect" : [ 107.0, 348.0, 49.0, 22.0 ],
-                                       "text" : "target 0"
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                                        "id" : "obj-16",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
-                                       "numoutlets" : 3,
-                                       "outlettype" : [ "", "bang", "stop" ],
-                                       "patching_rect" : [ 46.0, 255.0, 54.0, 22.0 ],
-                                       "text" : "t l b stop"
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "stop" ],
+                                       "patching_rect" : [ 35.0, 206.0, 38.0, 22.0 ],
+                                       "text" : "t stop"
                                }
 
                        }
                                        "numinlets" : 0,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 46.0, 27.0, 21.0, 21.0 ]
+                                       "patching_rect" : [ 35.0, 18.0, 21.0, 21.0 ]
                                }
 
                        }
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "FullPacket", "FullPacket" ],
-                                       "patching_rect" : [ 175.0, 211.0, 322.0, 70.0 ],
-                                       "text" : "/rand = /rand/int / 9999.,\n/loval = scale(/density, 0., 1., 20000, 500),\n/hival = scale(/density, 0., 1., 1000, 10), \n/deltime = scale(/rand, 0., 1., /loval, /hival)"
+                                       "patching_rect" : [ 175.0, 211.0, 401.0, 70.0 ],
+                                       "text" : "/rand = /rand/int / 9999.,\n/loval = scale(/density, 0., 1., /spacing/range[[1]], 500),\n/hival = scale(/density, 0., 1., /spacing/range[[0]], 10), \n/deltime = scale(/rand, 0., 1., /loval, /hival)"
                                }
 
                        }
                "lines" : [                     {
                                "patchline" :                           {
                                        "destination" : [ "obj-16", 0 ],
-                                       "source" : [ "obj-12", 0 ]
+                                       "source" : [ "obj-1", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-35", 0 ],
-                                       "source" : [ "obj-12", 1 ]
-                               }
-
-                       }
-,                      {
-                               "patchline" :                           {
-                                       "destination" : [ "obj-37", 0 ],
-                                       "source" : [ "obj-15", 0 ]
-                               }
-
-                       }
-,                      {
-                               "patchline" :                           {
-                                       "destination" : [ "obj-15", 0 ],
-                                       "source" : [ "obj-16", 1 ]
+                                       "source" : [ "obj-1", 1 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-34", 0 ],
-                                       "source" : [ "obj-16", 2 ]
-                               }
-
-                       }
-,                      {
-                               "patchline" :                           {
-                                       "destination" : [ "obj-37", 0 ],
                                        "source" : [ "obj-16", 0 ]
                                }
 
                                        "source" : [ "obj-17", 1 ]
                                }
 
-                       }
-,                      {
-                               "patchline" :                           {
-                                       "destination" : [ "obj-37", 0 ],
-                                       "source" : [ "obj-24", 0 ]
-                               }
-
                        }
 ,                      {
                                "patchline" :                           {
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-24", 0 ],
+                                       "destination" : [ "obj-37", 0 ],
                                        "source" : [ "obj-47", 0 ]
                                }
 
 ,                      {
                                "patchline" :                           {
                                        "destination" : [ "obj-43", 0 ],
-                                       "midpoints" : [ 335.5, 409.0, 506.133056640625, 409.0, 506.133056640625, 175.0, 184.5, 175.0 ],
+                                       "midpoints" : [ 335.5, 409.0, 608.0751953125, 409.0, 608.0751953125, 175.0, 184.5, 175.0 ],
                                        "source" : [ "obj-47", 1 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-12", 0 ],
+                                       "destination" : [ "obj-1", 0 ],
                                        "source" : [ "obj-6", 0 ]
                                }
 
                        }
  ],
                "dependency_cache" : [                  {
+                               "name" : "o.cond.mxo",
+                               "type" : "iLaX"
+                       }
+,                      {
                                "name" : "o.expr.codebox.mxo",
                                "type" : "iLaX"
                        }