From: equilet <2237372+equilet@users.noreply.github.com> Date: Sat, 26 Apr 2025 19:12:36 +0000 (-0700) Subject: updated density/delay-time selection to be simpler for now X-Git-Tag: v0.1~231 X-Git-Url: https://git.dabkitsch.com/?a=commitdiff_plain;h=25433102192a6d07082448a8205fccca9c68410e;p=sonogarden_maxproj.git updated density/delay-time selection to be simpler for now --- diff --git a/engine_grainmanager.maxpat b/engine_grainmanager.maxpat index 67e21ed..e798419 100644 --- a/engine_grainmanager.maxpat +++ b/engine_grainmanager.maxpat @@ -10,10 +10,25 @@ } , "classnamespace" : "box", - "rect" : [ 732.0, 328.0, 646.0, 636.0 ], + "rect" : [ 732.0, 328.0, 826.0, 636.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { + "box" : { + "fontface" : 0, + "id" : "obj-2", + "linecount" : 4, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 214.0, 42.0, 414.0, 70.0 ], + "presentation_linecount" : 4, + "text" : "/rand = /rand/int / 9999.,\n/loval = scale(/density, 0., 1., /spacing/range[[1]], 0.5),\n/hival = scale(/density, 0., 1., /spacing/range[[0]], 0.01), \n/deltime = scale(/rand, 0., 1., /loval, /hival) * 1000." + } + + } +, { "box" : { "id" : "obj-1", "maxclass" : "newobj", @@ -32,7 +47,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 175.0, 377.0, 170.0, 22.0 ], + "patching_rect" : [ 175.0, 395.0, 170.0, 22.0 ], "text" : "t l l" } @@ -699,7 +714,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 175.0, 348.0, 91.0, 22.0 ], + "patching_rect" : [ 175.0, 366.0, 91.0, 22.0 ], "text" : "o.var" } @@ -735,7 +750,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 175.0, 321.0, 38.0, 22.0 ], + "patching_rect" : [ 175.0, 339.0, 38.0, 22.0 ], "text" : "del 0." } @@ -759,7 +774,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 175.0, 292.0, 91.0, 22.0 ], + "patching_rect" : [ 175.0, 310.0, 91.0, 22.0 ], "text" : "o.route /deltime" } @@ -793,13 +808,14 @@ "box" : { "fontface" : 0, "id" : "obj-29", - "linecount" : 4, + "linecount" : 2, "maxclass" : "o.expr.codebox", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 175.0, 211.0, 414.0, 70.0 ], - "text" : "/rand = /rand/int / 9999.,\n/loval = scale(/density, 0., 1., /spacing/range[[1]], 0.5),\n/hival = scale(/density, 0., 1., /spacing/range[[0]], 0.01), \n/deltime = scale(/rand, 0., 1., /loval, /hival) * 1000." + "patching_rect" : [ 175.0, 211.0, 547.0, 44.0 ], + "presentation_linecount" : 3, + "text" : "/rand = /rand/int / 9999.,\n/deltime = scale(/rand, 0., 1., /spacing/range[[1]], /spacing/range[[0]]) * 1000." } } @@ -891,7 +907,7 @@ , { "patchline" : { "destination" : [ "obj-43", 0 ], - "midpoints" : [ 335.5, 409.0, 608.0751953125, 409.0, 608.0751953125, 175.0, 184.5, 175.0 ], + "midpoints" : [ 335.5, 421.3968505859375, 608.0751953125, 421.3968505859375, 608.0751953125, 175.0, 184.5, 175.0 ], "source" : [ "obj-47", 1 ] }