From: equilet <2237372+equilet@users.noreply.github.com> Date: Wed, 16 Apr 2025 20:43:24 +0000 (-0700) Subject: updated grain manager to be delay-based instead of using a metronome X-Git-Tag: v0.1~265 X-Git-Url: https://git.dabkitsch.com/?a=commitdiff_plain;h=5aed458b28bcb0ea9a3e1a07cab5bef1fe29246b;p=sonogarden_maxproj.git updated grain manager to be delay-based instead of using a metronome --- diff --git a/engine_grainmanager.maxpat b/engine_grainmanager.maxpat index 413f1f6..9d95516 100644 --- a/engine_grainmanager.maxpat +++ b/engine_grainmanager.maxpat @@ -10,123 +10,532 @@ } , "classnamespace" : "box", - "rect" : [ 97.0, 127.0, 454.0, 625.0 ], + "rect" : [ 59.0, 101.0, 646.0, 636.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { "box" : { - "comment" : "", - "id" : "obj-4", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 191.5, 510.0, 21.0, 21.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-6", - "index" : 0, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 42.0, 21.0, 21.0, 21.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.094117647058824, 0.211764705882353, 0.223529411764706, 1.0 ], - "color" : [ 0.329411764705882, 0.537254901960784, 0.533333333333333, 1.0 ], - "id" : "obj-8", + "id" : "obj-47", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 42.0, 135.0, 50.0, 22.0 ], - "text" : "t b l" + "outlettype" : [ "", "" ], + "patching_rect" : [ 175.0, 377.0, 170.0, 22.0 ], + "text" : "t l l" } } , { "box" : { - "id" : "obj-1", + "id" : "obj-46", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 42.0, 100.0, 218.0, 22.0 ], - "text" : "o.if exists(/generate) && /generate == 0" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 154.0, 217.0, 79.0, 22.0 ], - "text" : "o.select /stop" - } - - } -, { - "box" : { - "id" : "obj-60", - "maxclass" : "message", - "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 191.5, 437.0, 49.0, 22.0 ], - "text" : "target 0" - } + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 1000.0, 700.0 ], + "gridsize" : [ 15.0, 15.0 ], + "subpatcher_template" : "Untitled5_template", + "boxes" : [ { + "box" : { + "comment" : "", + "id" : "obj-2", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 100.0, 25.0, 30.0, 30.0 ] + } - } -, { - "box" : { - "id" : "obj-58", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "bang", "int" ], - "patching_rect" : [ 154.0, 397.0, 94.0, 22.0 ], - "text" : "t l b 0" + } +, { + "box" : { + "bgcolor" : [ 0.094117647058824, 0.211764705882353, 0.223529411764706, 1.0 ], + "color" : [ 0.329411764705882, 0.537254901960784, 0.533333333333333, 1.0 ], + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 51.0, 135.0, 50.0, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 51.0, 100.0, 218.0, 22.0 ], + "text" : "o.if exists(/generate) && /generate == 0" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 163.0, 217.0, 79.0, 22.0 ], + "text" : "o.select /stop" + } + + } +, { + "box" : { + "id" : "obj-60", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 200.5, 437.0, 49.0, 22.0 ], + "text" : "target 0" + } + + } +, { + "box" : { + "id" : "obj-58", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "int" ], + "patching_rect" : [ 163.0, 397.0, 94.0, 22.0 ], + "text" : "t l b 0" + } + + } +, { + "box" : { + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 258.0, 217.0, 125.0, 22.0 ], + "text" : "o.route /metro/interval" + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 82.0, 216.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 336.0, 103.0, 487.0, 518.0 ], + "gridsize" : [ 15.0, 15.0 ], + "subpatcher_template" : "Untitled5_template", + "boxes" : [ { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 42.0, 192.0, 117.0, 22.0 ], + "text" : "o.union" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 41.5, 161.0, 91.0, 22.0 ], + "text" : "o.pack /rand/int" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-8", + "linecount" : 8, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 42.0, 227.0, 397.0, 121.0 ], + "text" : "if(exists(/density), \n progn(\n /rand = /rand/int / 9999.,\n /loval = scale(/density, 0., 1., 20000, 500),\n /hival = scale(/density, 0., 1., 1000, 10), \n /metro/interval = scale(/rand, 0., 1., /loval, /hival)\n )\n)" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 42.0, 96.0, 117.0, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 42.0, 427.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 41.5, 135.0, 86.0, 22.0 ], + "text" : "random 10000" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-25", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 41.5, 56.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 351.0, 111.0, 22.0 ], + "text" : "p generate_interval" + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 50.0, 321.0, 191.0, 22.0 ], + "text" : "o.var" + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 82.0, 273.0, 126.0, 22.0 ], + "text" : "metro 6000" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 82.0, 179.0, 100.0, 22.0 ], + "text" : "o.route /generate" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 304.0, 397.0, 79.0, 22.0 ], + "text" : "prepend note" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-45", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 216.5, 519.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 1 ], + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-58", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "midpoints" : [ 59.5, 379.444488525390625, 402.96295166015625, 379.444488525390625, 402.96295166015625, 202.375274658203125, 267.5, 202.375274658203125 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-36", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-58", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "source" : [ "obj-58", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-60", 0 ], + "source" : [ "obj-58", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 383.0, 494.0, 64.0, 22.0 ], + "text" : "p old_algo" } } , { "box" : { - "id" : "obj-36", + "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 249.0, 217.0, 125.0, 22.0 ], - "text" : "o.route /metro/interval" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 73.0, 216.0, 24.0, 24.0 ] + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 46.0, 100.0, 93.0, 22.0 ], + "text" : "o.if exists(/stop)" } } , { "box" : { - "id" : "obj-26", + "id" : "obj-43", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, @@ -142,79 +551,53 @@ } , "classnamespace" : "box", - "rect" : [ 336.0, 103.0, 487.0, 518.0 ], + "rect" : [ 0.0, 0.0, 1000.0, 700.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { "box" : { - "id" : "obj-10", + "id" : "obj-25", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 42.0, 192.0, 117.0, 22.0 ], + "patching_rect" : [ 50.0, 196.0, 117.0, 22.0 ], "text" : "o.union" } } , { "box" : { - "id" : "obj-9", + "id" : "obj-27", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 41.5, 161.0, 91.0, 22.0 ], + "patching_rect" : [ 50.0, 165.0, 91.0, 22.0 ], "text" : "o.pack /rand/int" } } , { "box" : { - "fontface" : 0, - "id" : "obj-8", - "linecount" : 8, - "maxclass" : "o.expr.codebox", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 42.0, 227.0, 397.0, 121.0 ], - "text" : "if(exists(/density), \n progn(\n /rand = /rand/int / 9999.,\n /loval = scale(/density, 0., 1., 20000, 500),\n /hival = scale(/density, 0., 1., 1000, 10), \n /metro/interval = scale(/rand, 0., 1., /loval, /hival)\n )\n)" - } - - } -, { - "box" : { - "id" : "obj-7", + "id" : "obj-30", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "" ], - "patching_rect" : [ 42.0, 96.0, 117.0, 22.0 ], + "patching_rect" : [ 50.0, 100.0, 117.0, 22.0 ], "text" : "t b l" } } , { "box" : { - "comment" : "", - "id" : "obj-1", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 42.0, 427.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-17", + "id" : "obj-32", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 41.5, 135.0, 86.0, 22.0 ], + "patching_rect" : [ 50.0, 139.0, 86.0, 22.0 ], "text" : "random 10000" } @@ -222,261 +605,339 @@ , { "box" : { "comment" : "", - "id" : "obj-25", + "id" : "obj-41", "index" : 1, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 41.5, 56.0, 30.0, 30.0 ] + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] } } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-10", 0 ] +, { + "box" : { + "comment" : "", + "id" : "obj-42", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 278.0, 30.0, 30.0 ] } } -, { + ], + "lines" : [ { "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-17", 0 ] + "destination" : [ "obj-42", 0 ], + "source" : [ "obj-25", 0 ] } } , { "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-25", 0 ] + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-27", 0 ] } } , { "patchline" : { - "destination" : [ "obj-10", 1 ], - "source" : [ "obj-7", 1 ] + "destination" : [ "obj-25", 1 ], + "source" : [ "obj-30", 1 ] } } , { "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-7", 0 ] + "destination" : [ "obj-32", 0 ], + "source" : [ "obj-30", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-8", 0 ] + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-32", 0 ] } } , { "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-9", 0 ] + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-41", 0 ] } } ] } , - "patching_rect" : [ 41.0, 351.0, 111.0, 22.0 ], - "text" : "p generate_interval" + "patching_rect" : [ 175.0, 185.0, 119.0, 22.0 ], + "text" : "p inject_randomness" } } , { "box" : { - "id" : "obj-21", + "id" : "obj-40", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 41.0, 321.0, 191.0, 22.0 ], + "patching_rect" : [ 175.0, 348.0, 91.0, 22.0 ], "text" : "o.var" } } , { "box" : { - "id" : "obj-14", + "id" : "obj-24", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 1, "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 73.0, 273.0, 126.0, 22.0 ], - "text" : "metro 6000" + "outlettype" : [ "" ], + "patching_rect" : [ 175.0, 413.0, 79.0, 22.0 ], + "text" : "prepend note" } } , { "box" : { - "id" : "obj-13", + "id" : "obj-37", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 73.0, 179.0, 100.0, 22.0 ], - "text" : "o.route /generate" + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 107.0, 452.0, 29.0, 22.0 ], + "text" : "thru" } } , { "box" : { - "id" : "obj-9", + "id" : "obj-35", "maxclass" : "newobj", "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 175.0, 143.0, 108.0, 22.0 ], + "text" : "o.if exists(/density)" + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 175.0, 321.0, 38.0, 22.0 ], + "text" : "del 0." + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 295.0, 397.0, 79.0, 22.0 ], - "text" : "prepend note" + "patching_rect" : [ 107.0, 348.0, 49.0, 22.0 ], + "text" : "target 0" } } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-1", 1 ] +, { + "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" } } , { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-1", 0 ] + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 175.0, 292.0, 91.0, 22.0 ], + "text" : "o.route /deltime" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-4", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 107.0, 545.0, 21.0, 21.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-6", + "index" : 0, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 46.0, 27.0, 21.0, 21.0 ] } } , { + "box" : { + "fontface" : 0, + "id" : "obj-29", + "linecount" : 4, + "maxclass" : "o.expr.codebox", + "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)" + } + + } + ], + "lines" : [ { "patchline" : { - "destination" : [ "obj-21", 1 ], - "source" : [ "obj-10", 1 ] + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-12", 0 ] } } , { "patchline" : { - "destination" : [ "obj-58", 0 ], - "source" : [ "obj-10", 0 ] + "destination" : [ "obj-35", 0 ], + "source" : [ "obj-12", 1 ] } } , { "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-13", 1 ] + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-15", 0 ] } } , { "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-13", 0 ] + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-16", 1 ] } } , { "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-14", 0 ] + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-16", 2 ] } } , { "patchline" : { - "destination" : [ "obj-26", 0 ], - "source" : [ "obj-21", 0 ] + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-16", 0 ] } } , { "patchline" : { - "destination" : [ "obj-36", 0 ], - "midpoints" : [ 50.5, 379.444488525390625, 393.96295166015625, 379.444488525390625, 393.96295166015625, 202.375274658203125, 258.5, 202.375274658203125 ], - "source" : [ "obj-26", 0 ] + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-17", 0 ] } } , { "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-28", 0 ] + "destination" : [ "obj-40", 1 ], + "source" : [ "obj-17", 1 ] } } , { "patchline" : { - "destination" : [ "obj-14", 1 ], - "source" : [ "obj-36", 0 ] + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-24", 0 ] } } , { "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-36", 1 ] + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-29", 0 ] } } , { "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-58", 2 ] + "destination" : [ "obj-40", 0 ], + "source" : [ "obj-34", 0 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-58", 0 ] + "destination" : [ "obj-43", 0 ], + "source" : [ "obj-35", 0 ] } } , { "patchline" : { - "destination" : [ "obj-60", 0 ], - "source" : [ "obj-58", 1 ] + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-37", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-6", 0 ] + "destination" : [ "obj-47", 0 ], + "source" : [ "obj-40", 0 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-60", 0 ] + "destination" : [ "obj-29", 0 ], + "source" : [ "obj-43", 0 ] } } , { "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-8", 1 ] + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-47", 0 ] } } , { "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-8", 0 ] + "destination" : [ "obj-43", 0 ], + "midpoints" : [ 335.5, 409.0, 506.133056640625, 409.0, 506.133056640625, 175.0, 184.5, 175.0 ], + "source" : [ "obj-47", 1 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-9", 0 ] + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-6", 0 ] } } @@ -509,6 +970,12 @@ "name" : "o.var.mxo", "type" : "iLaX" } +, { + "name" : "thru.maxpat", + "bootpath" : "C74:/patchers/m4l/Pluggo for Live resources/patches", + "type" : "JSON", + "implicit" : 1 + } ], "autosave" : 0 }