From: equilet <2237372+equilet@users.noreply.github.com> Date: Fri, 18 Apr 2025 03:46:05 +0000 (-0700) Subject: renamed subpatcher X-Git-Tag: v0.1~258 X-Git-Url: https://git.dabkitsch.com/?a=commitdiff_plain;h=06a112369def9869566e19cc25cbfaa6632e6525;p=sonogarden_maxproj.git renamed subpatcher --- diff --git a/engine_grainmanager.maxpat b/engine_grainmanager.maxpat index 9d95516..85b6628 100644 --- a/engine_grainmanager.maxpat +++ b/engine_grainmanager.maxpat @@ -10,10 +10,22 @@ } , "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", @@ -47,6 +59,20 @@ "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", @@ -520,18 +546,6 @@ "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" : { @@ -673,8 +687,8 @@ ] } , - "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" } } @@ -689,18 +703,6 @@ "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" : { @@ -721,8 +723,8 @@ "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)" } } @@ -737,28 +739,16 @@ "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" } } @@ -795,7 +785,7 @@ "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 ] } } @@ -808,8 +798,8 @@ "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)" } } @@ -817,41 +807,20 @@ "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 ] } @@ -869,13 +838,6 @@ "source" : [ "obj-17", 1 ] } - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-24", 0 ] - } - } , { "patchline" : { @@ -921,7 +883,7 @@ } , { "patchline" : { - "destination" : [ "obj-24", 0 ], + "destination" : [ "obj-37", 0 ], "source" : [ "obj-47", 0 ] } @@ -929,20 +891,24 @@ , { "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" }