From: equilet <2237372+equilet@users.noreply.github.com> Date: Wed, 7 May 2025 09:17:04 +0000 (-0700) Subject: adding new patchers and supporting files X-Git-Tag: v0.1~208 X-Git-Url: https://git.dabkitsch.com/?a=commitdiff_plain;h=a2b62d9dbe0af752dc28f9888823813f3dc53389;p=sonogarden_maxproj.git adding new patchers and supporting files --- diff --git a/debug.maxpat b/debug.maxpat new file mode 100644 index 0000000..b089a25 --- /dev/null +++ b/debug.maxpat @@ -0,0 +1,117 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 1000.0, 780.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-16", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 446.0, 99.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 236.0, 25.0, 189.0, 22.0 ], + "text" : "grainmanager_bang" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 159.0, 78.0, 122.0, 22.0 ], + "text" : "routePass FullPacket" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-3", + "linecount" : 28, + "maxclass" : "o.display", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 159.0, 184.0, 382.0, 379.0 ], + "text" : "/r/lsize : 0.0370037,\n/r/gain : 0.227223,\n/r/tspeed : 0.247225,\n/rpercent : 0.255255,\n/rand/int : 9984,\n/speed : 1.,\n/density : 0.45,\n/variety : 0.6,\n/auxsend : 0.,\n/spacing/range : [0.23, 1.548],\n/gain/range : [0.8, 1.2],\n/trajspeed/range : [20., 80.],\n/loop/status : 0,\n/loop/wind : 86.,\n/rand : 0.9985,\n/pbname : \"/engine/1\",\n/buffer/name : \"/engine/1.5\",\n/buffer/len : 679379,\n/segment : [0., 1.],\n/scan/factor : 20.,\n/scan/padding : 5000.,\n/loop/size : 77.4318,\n/gain : 0.890889,\n/tspeed : 34.8335,\n/area : [0., 679379],\n/dur : 679379,\n/line : [0., 0, 679379, 679379],\n/duroff : 679359" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 159.0, 47.0, 49.0, 22.0 ], + "text" : "r debug" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "order" : 1, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "order" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-12", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "o.display.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +} diff --git a/engine_scheduler.maxpat b/engine_scheduler.maxpat new file mode 100644 index 0000000..f72058f --- /dev/null +++ b/engine_scheduler.maxpat @@ -0,0 +1,257 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 599.0, 726.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 147.0, 532.0, 152.0, 22.0 ], + "text" : "o.select /main/metro/status" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-35", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 147.0, 578.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 97.0, 79.0, 115.0, 22.0 ], + "text" : "o.route /timer/status" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-32", + "index" : 0, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 97.0, 37.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-30", + "linecount" : 12, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 147.0, 334.0, 342.0, 172.0 ], + "text" : "/inc ??= 1,\n/hr = /hms[[0]],\n/curr = value(\"/window/\" + /inc),\n/curr/start = int32(split(\":\", /curr[[0]])[[0]]), \n/curr/end = int32(split(\":\", /curr[[1]])[[0]]),\nif(/hr >= /curr/start && /hr <= /curr/end, \n /main/metro/status = 1, \n progn(\n /main/metro/status = 0, \n /inc++\n )\n)" + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 147.0, 300.0, 148.0, 22.0 ], + "text" : "o.union" + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 147.0, 265.0, 73.0, 22.0 ], + "text" : "o.pack /hms" + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 97.0, 126.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 97.0, 162.0, 83.0, 22.0 ], + "text" : "qmetro 60000" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "list", "list", "int" ], + "patching_rect" : [ 97.0, 228.0, 119.0, 23.0 ], + "text" : "date" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-31", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 97.0, 196.0, 36.0, 23.0 ], + "text" : "time" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-26", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 1 ], + "source" : [ "obj-34", 1 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "o.expr.codebox.mxo", + "type" : "iLaX" + } +, { + "name" : "o.pack.mxo", + "type" : "iLaX" + } +, { + "name" : "o.route.mxo", + "type" : "iLaX" + } +, { + "name" : "o.select.mxo", + "type" : "iLaX" + } +, { + "name" : "o.union.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +} diff --git a/engine_seq_advancer.maxpat b/engine_seq_advancer.maxpat new file mode 100644 index 0000000..97a2b5b --- /dev/null +++ b/engine_seq_advancer.maxpat @@ -0,0 +1,289 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 615.0, 209.0, 819.0, 475.0 ], + "openinpresentation" : 1, + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "comment" : "", + "id" : "obj-8", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 506.0, 385.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-5", + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 239.0, 375.0, 160.0, 23.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 47, 101, 110, 103, 105, 110, 101, 47, 42, 47, 117, 105, 0, 0, 0, 0, 44, 115, 0, 0, 98, 97, 110, 103, 0, 0, 0, 0 ], + "saved_bundle_length" : 48, + "text" : "/engine/*/ui : \"bang\"" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 193.0, 421.0, 37.0, 22.0 ], + "text" : "s osc" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 193.0, 150.0, 24.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 3.0, 4.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "FullPacket" ], + "patching_rect" : [ 193.0, 115.0, 204.0, 22.0 ], + "text" : "o.route /status /interval/sec /advance" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 297.0, 183.0, 47.0, 22.0 ], + "text" : "* 1000." + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 240.0, 293.0, 24.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 104.0, 4.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-23", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 297.0, 151.0, 81.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 29.0, 5.0, 71.0, 22.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 240.0, 238.0, 76.0, 22.0 ], + "text" : "metro 60000" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-49", + "index" : 0, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 193.0, 28.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-42", + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 193.0, 340.0, 206.0, 23.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 101, 110, 103, 105, 110, 101, 47, 42, 47, 122, 111, 110, 101, 47, 115, 116, 111, 112, 0, 44, 115, 0, 0, 98, 97, 110, 103, 0, 0, 0, 0 ], + "saved_bundle_length" : 52, + "text" : "/engine/*/zone/stop : \"bang\"" + } + + } +, { + "box" : { + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 193.0, 238.0, 34.0, 22.0 ], + "text" : "sel 0" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 0 ], + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "order" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "order" : 1, + "source" : [ "obj-7", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "o.compose.mxo", + "type" : "iLaX" + } +, { + "name" : "o.route.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +} diff --git a/engine_sequencer_epistretch.maxpat b/engine_sequencer_epistretch.maxpat new file mode 100644 index 0000000..b1ba322 --- /dev/null +++ b/engine_sequencer_epistretch.maxpat @@ -0,0 +1,1277 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 608.0, 128.0, 755.0, 779.0 ], + "openinpresentation" : 1, + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "bgcolor" : [ 0.368627450980392, 0.364705882352941, 0.137254901960784, 1.0 ], + "id" : "obj-11", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 824.0, 193.0, 24.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 727.25, 32.5, 24.0, 24.0 ] + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 1000.0, 780.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "fontface" : 0, + "id" : "obj-4", + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 100.0, 60.0, 23.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 99, 108, 101, 97, 114, 0, 0, 44, 0, 0, 0 ], + "saved_bundle_length" : 32, + "text" : "/clear" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 50.00000187754631, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.00000187754631, 183.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-4", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 234.0, 376.0, 55.0, 21.0 ], + "text" : "p o.clear" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 87.0, 1000.0, 779.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "clear", "bang", "int" ], + "patching_rect" : [ 129.0, 100.0, 61.0, 22.0 ], + "text" : "t clear b 0" + } + + } +, { + "box" : { + "id" : "obj-81", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 178.0, 590.0, 93.0, 22.0 ], + "text" : "o.pack /spat/traj" + } + + } +, { + "box" : { + "id" : "obj-38", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 161.0, 291.0, 35.0, 22.0 ], + "text" : "set 1" + } + + } +, { + "box" : { + "id" : "obj-44", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 50.0, 305.0, 64.0, 22.0 ], + "text" : "o.pack /on" + } + + } +, { + "box" : { + "id" : "obj-49", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 402.0, 387.0, 41.0, 20.0 ], + "text" : "on" + } + + } +, { + "box" : { + "id" : "obj-51", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 372.0, 385.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 256.0, 267.0, 94.0, 22.0 ], + "text" : "prepend symbol" + } + + } +, { + "box" : { + "id" : "obj-54", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "FullPacket" ], + "patching_rect" : [ 140.0, 172.0, 367.0, 22.0 ], + "text" : "o.route /speed /type /on" + } + + } +, { + "box" : { + "id" : "obj-55", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 195.0, 359.0, 41.0, 20.0 ], + "text" : "speed" + } + + } +, { + "box" : { + "id" : "obj-56", + "items" : [ "circle", ",", "ellipse", ",", "figureof8", ",", "dumbbell", ",", "rose", ",", "epicycloid", ",", "hypocycloid", ",", "hippopede", ",", "garfield", ",", "freethnephroid", ",", "limacon", ",", "folium", ",", "ophiuride", ",", "lituus", ",", "scarabeus", ",", "cochleoid", ",", "bifoliate", ",", "bifolium", ",", "neoid", ",", "cayleysextic", ",", "strophoid", ",", "cranioid", ",", "seiffert", ",", "butterfly", ",", "piriform", ",", "heart", ",", "cardioid", ",", "lemniscate", ",", "astroid", ",", "deltoid", ",", "boatpropeller", ",", "kiss", ",", "trefoil", ",", "torpedo", ",", "cevatrisectrix", ",", "polygasteroid", ",", "maltesecross", ",", "talbot", ",", "besace", ",", "bicorn", ",", "oval", ",", "cornoid" ], + "maxclass" : "umenu", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 256.0, 301.0, 100.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-57", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 264.0, 564.0, 150.0, 20.0 ], + "text" : "to spat5.oper " + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-72", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 140.0, 359.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-70", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 140.0, 386.0, 83.0, 22.0 ], + "text" : "o.pack /speed" + } + + } +, { + "box" : { + "id" : "obj-60", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 140.0, 524.0, 248.0, 22.0 ], + "text" : "spat5.osc.prepend /spat/traj" + } + + } +, { + "box" : { + "id" : "obj-61", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 289.0, 386.0, 73.0, 22.0 ], + "text" : "o.pack /type" + } + + } +, { + "box" : { + "id" : "obj-62", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 140.0, 467.0, 264.0, 22.0 ], + "text" : "spat5.trajectories @initwith \"/rate 20, /speed 20\"" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "order" : 1, + "source" : [ "obj-19", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "order" : 0, + "source" : [ "obj-19", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "source" : [ "obj-19", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-72", 0 ], + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "order" : 1, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "order" : 0, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "source" : [ "obj-54", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "source" : [ "obj-54", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-72", 0 ], + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-61", 0 ], + "source" : [ "obj-56", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "source" : [ "obj-61", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-60", 0 ], + "source" : [ "obj-62", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "source" : [ "obj-70", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-70", 0 ], + "source" : [ "obj-72", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 902.0, 278.0, 92.0, 21.0 ], + "text" : "p for_later_spat" + } + + } +, { + "box" : { + "comment" : "(FullPacket) engine bundle when step value changes", + "id" : "obj-2", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 583.0, 721.0, 27.0, 27.0 ] + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-18", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 113.75, 98.000002920627594, 38.0, 21.0 ], + "text" : "set $1" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-96", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 841.0, 339.0, 103.0, 21.0 ], + "text" : "o.pack /engine/on" + } + + } +, { + "box" : { + "bgcolor" : [ 0.341176470588235, 0.368627450980392, 0.203921568627451, 1.0 ], + "blinkcolor" : [ 0.905882352941176, 0.886274509803922, 0.223529411764706, 1.0 ], + "hint" : "reset seq counter", + "id" : "obj-21", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "parameter_enable" : 0, + "patching_rect" : [ 284.0, 213.000003755092621, 22.999996244907379, 22.999996244907379 ], + "presentation" : 1, + "presentation_rect" : [ 654.0, 58.0, 22.0, 22.0 ] + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 47.0, 52.0, 151.0, 21.0 ], + "text" : "routepass bang FullPacket" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 583.0, 651.0, 54.0, 21.0 ], + "text" : "o.accum" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 308.0, 168.0, 250.0, 382.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 142.0, 197.0, 22.0, 22.0 ], + "text" : "t b" + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 50.0, 197.0, 22.0, 22.0 ], + "text" : "t b" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 50.0, 165.0, 111.0, 22.0 ], + "text" : "o.if /engine/on == 1" + } + + } +, { + "box" : { + "id" : "obj-105", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 50.0, 129.0, 58.0, 22.0 ], + "text" : "o.change" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-34", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-35", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 279.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-36", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 142.0, 279.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-105", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-18", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-105", 0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 29.0, 569.0, 103.0, 21.0 ], + "text" : "p process_bundle" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 29.0, 632.0, 41.0, 21.0 ], + "text" : "o.var" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-26", + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 113.0, 631.0, 113.0, 23.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 116, 111, 112, 0, 0, 0, 44, 115, 0, 0, 98, 97, 110, 103, 0, 0, 0, 0 ], + "saved_bundle_length" : 40, + "text" : "/stop : \"bang\"" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 155.0, 208.0, 87.0, 22.0 ], + "text" : "prepend setlist" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 541.0, 188.0, 32.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 654.0, 34.0, 32.0, 21.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "int", "clear" ], + "patching_rect" : [ 330.0, 213.50000187754631, 61.0, 22.0 ], + "text" : "t b 0 clear" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 46.0, 282.0, 29.5, 22.0 ], + "text" : "0" + } + + } +, { + "box" : { + "bgcolor" : [ 0.341176470588235, 0.368627450980392, 0.203921568627451, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 171.083335041999817, 128.666666716337204, 29.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 719.0, 58.0, 32.25, 19.0 ], + "text" : "step", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "comment" : "(FullPacket) engine bundle when step value changes", + "id" : "obj-10", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 171.0, 721.0, 27.0, 27.0 ] + } + + } +, { + "box" : { + "comment" : "(bang) advance", + "id" : "obj-1", + "index" : 0, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 47.0, 14.0, 27.0, 27.0 ] + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 6, + "outlettype" : [ "", "", "", "", "", "FullPacket" ], + "patching_rect" : [ 238.0, 171.5, 249.0, 21.0 ], + "text" : "o.route /steps /reset /clear /step /spat/traj" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 601.0, 581.0, 79.0, 21.0 ], + "text" : "o.pack /steps" + } + + } +, { + "box" : { + "id" : "obj-104", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 47.0, 208.0, 94.0, 22.0 ], + "text" : "t i i" + } + + } +, { + "box" : { + "bgcolor" : [ 0.125490196078431, 0.125490196078431, 0.125490196078431, 0.0 ], + "id" : "obj-92", + "ignoreclick" : 1, + "maxclass" : "multislider", + "numinlets" : 1, + "numoutlets" : 2, + "orientation" : 0, + "outlettype" : [ "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 155.0, 331.0, 654.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 5.0, 6.0, 746.0, 22.0 ], + "setminmax" : [ 1.0, 61.0 ], + "settype" : 0, + "size" : 60, + "slidercolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "thickness" : 1 + } + + } +, { + "box" : { + "bgcolor" : [ 0.341176470588235, 0.368627450980392, 0.203921568627451, 1.0 ], + "hint" : "seq: go to N", + "id" : "obj-6", + "maxclass" : "number", + "maximum" : 60, + "minimum" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 113.75, 127.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 679.0, 58.0, 37.75, 22.0 ], + "tricolor" : [ 0.313725490196078, 0.654901960784314, 0.72156862745098, 1.0 ] + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 47.0, 243.0, 48.0, 21.0 ], + "text" : "fetch $1" + } + + } +, { + "box" : { + "bgcolor" : [ 0.568627450980392, 0.784313725490196, 0.796078431372549, 1.0 ], + "id" : "obj-7", + "maxclass" : "multislider", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 155.0, 289.0, 654.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 5.0, 6.0, 746.0, 22.0 ], + "setminmax" : [ 0.0, 1.0 ], + "setstyle" : 1, + "settype" : 0, + "signed" : 1, + "size" : 60, + "slidercolor" : [ 0.082353, 0.431373, 0.411765, 1.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-52", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 4, + "outlettype" : [ "int", "", "", "int" ], + "patching_rect" : [ 47.0, 162.0, 108.0, 21.0 ], + "text" : "counter 1 60" + } + + } +, { + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-5", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "eventedit_ui_epistretch.maxpat", + "numinlets" : 1, + "numoutlets" : 1, + "offset" : [ -1.75, 1.5 ], + "outlettype" : [ "" ], + "patching_rect" : [ 51.0, 425.0, 634.0, 54.0 ], + "presentation" : 1, + "presentation_rect" : [ 5.0, 29.0, 644.0, 54.0 ], + "viewvisibility" : 1 + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-104", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-92", 0 ], + "source" : [ "obj-104", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-96", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "order" : 1, + "source" : [ "obj-16", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-16", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-92", 0 ], + "order" : 0, + "source" : [ "obj-16", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 2 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-29", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-29", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "order" : 1, + "source" : [ "obj-29", 5 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-29", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "order" : 0, + "source" : [ "obj-29", 5 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "source" : [ "obj-37", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 1 ], + "order" : 1, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "order" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-104", 0 ], + "order" : 1, + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "midpoints" : [ 56.5, 194.0, 40.815448570463559, 194.0, 40.815448570463559, 88.000002920627594, 123.25, 88.000002920627594 ], + "order" : 0, + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 3 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-96", 0 ], + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-9", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-96", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "eventedit_ui_epistretch.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "o.accum.maxpat", + "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace", + "patcherrelativepath" : "../../../Max 9/Packages/odot/patchers/namespace", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "o.change.mxo", + "type" : "iLaX" + } +, { + "name" : "o.compose.mxo", + "type" : "iLaX" + } +, { + "name" : "o.if.mxo", + "type" : "iLaX" + } +, { + "name" : "o.pack.mxo", + "type" : "iLaX" + } +, { + "name" : "o.route.mxo", + "type" : "iLaX" + } +, { + "name" : "o.union.mxo", + "type" : "iLaX" + } +, { + "name" : "o.var.mxo", + "type" : "iLaX" + } +, { + "name" : "spat5.osc.prepend.mxo", + "type" : "iLaX" + } +, { + "name" : "spat5.trajectories.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +} diff --git a/engine_sequencer_noisewash.maxpat b/engine_sequencer_noisewash.maxpat new file mode 100644 index 0000000..2625301 --- /dev/null +++ b/engine_sequencer_noisewash.maxpat @@ -0,0 +1,1279 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 608.0, 128.0, 755.0, 779.0 ], + "openinpresentation" : 1, + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "bgcolor" : [ 0.215686274509804, 0.223529411764706, 0.129411764705882, 1.0 ], + "checkedcolor" : [ 0.890196078431372, 0.87843137254902, 0.717647058823529, 1.0 ], + "id" : "obj-11", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 850.0, 249.0, 24.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 718.75, 32.5, 24.0, 24.0 ], + "uncheckedcolor" : [ 0.458823529411765, 0.462745098039216, 0.384313725490196, 1.0 ] + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 1000.0, 780.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "fontface" : 0, + "id" : "obj-4", + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 100.0, 60.0, 23.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 47, 99, 108, 101, 97, 114, 0, 0, 44, 0, 0, 0 ], + "saved_bundle_length" : 32, + "text" : "/clear" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 50.00000187754631, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.00000187754631, 183.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-4", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 234.0, 376.0, 55.0, 21.0 ], + "text" : "p o.clear" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 87.0, 1000.0, 779.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "clear", "bang", "int" ], + "patching_rect" : [ 129.0, 100.0, 61.0, 22.0 ], + "text" : "t clear b 0" + } + + } +, { + "box" : { + "id" : "obj-81", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 178.0, 590.0, 93.0, 22.0 ], + "text" : "o.pack /spat/traj" + } + + } +, { + "box" : { + "id" : "obj-38", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 161.0, 291.0, 35.0, 22.0 ], + "text" : "set 1" + } + + } +, { + "box" : { + "id" : "obj-44", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 50.0, 305.0, 64.0, 22.0 ], + "text" : "o.pack /on" + } + + } +, { + "box" : { + "id" : "obj-49", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 402.0, 387.0, 41.0, 20.0 ], + "text" : "on" + } + + } +, { + "box" : { + "id" : "obj-51", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 372.0, 385.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 256.0, 267.0, 94.0, 22.0 ], + "text" : "prepend symbol" + } + + } +, { + "box" : { + "id" : "obj-54", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "FullPacket" ], + "patching_rect" : [ 140.0, 172.0, 367.0, 22.0 ], + "text" : "o.route /speed /type /on" + } + + } +, { + "box" : { + "id" : "obj-55", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 195.0, 359.0, 41.0, 20.0 ], + "text" : "speed" + } + + } +, { + "box" : { + "id" : "obj-56", + "items" : [ "circle", ",", "ellipse", ",", "figureof8", ",", "dumbbell", ",", "rose", ",", "epicycloid", ",", "hypocycloid", ",", "hippopede", ",", "garfield", ",", "freethnephroid", ",", "limacon", ",", "folium", ",", "ophiuride", ",", "lituus", ",", "scarabeus", ",", "cochleoid", ",", "bifoliate", ",", "bifolium", ",", "neoid", ",", "cayleysextic", ",", "strophoid", ",", "cranioid", ",", "seiffert", ",", "butterfly", ",", "piriform", ",", "heart", ",", "cardioid", ",", "lemniscate", ",", "astroid", ",", "deltoid", ",", "boatpropeller", ",", "kiss", ",", "trefoil", ",", "torpedo", ",", "cevatrisectrix", ",", "polygasteroid", ",", "maltesecross", ",", "talbot", ",", "besace", ",", "bicorn", ",", "oval", ",", "cornoid" ], + "maxclass" : "umenu", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 256.0, 301.0, 100.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-57", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 264.0, 564.0, 150.0, 20.0 ], + "text" : "to spat5.oper " + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-72", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 140.0, 359.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-70", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 140.0, 386.0, 83.0, 22.0 ], + "text" : "o.pack /speed" + } + + } +, { + "box" : { + "id" : "obj-60", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 140.0, 524.0, 248.0, 22.0 ], + "text" : "spat5.osc.prepend /spat/traj" + } + + } +, { + "box" : { + "id" : "obj-61", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 289.0, 386.0, 73.0, 22.0 ], + "text" : "o.pack /type" + } + + } +, { + "box" : { + "id" : "obj-62", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 140.0, 467.0, 264.0, 22.0 ], + "text" : "spat5.trajectories @initwith \"/rate 20, /speed 20\"" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "order" : 1, + "source" : [ "obj-19", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "order" : 0, + "source" : [ "obj-19", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "source" : [ "obj-19", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-72", 0 ], + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "order" : 1, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "order" : 0, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "source" : [ "obj-54", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "source" : [ "obj-54", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-72", 0 ], + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-61", 0 ], + "source" : [ "obj-56", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "source" : [ "obj-61", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-60", 0 ], + "source" : [ "obj-62", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "source" : [ "obj-70", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-70", 0 ], + "source" : [ "obj-72", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 902.0, 278.0, 92.0, 21.0 ], + "text" : "p for_later_spat" + } + + } +, { + "box" : { + "comment" : "(FullPacket) engine bundle when step value changes", + "id" : "obj-2", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 583.0, 721.0, 27.0, 27.0 ] + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-18", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 113.75, 98.000002920627594, 38.0, 21.0 ], + "text" : "set $1" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-96", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 841.0, 339.0, 103.0, 21.0 ], + "text" : "o.pack /engine/on" + } + + } +, { + "box" : { + "bgcolor" : [ 0.341176470588235, 0.368627450980392, 0.203921568627451, 1.0 ], + "blinkcolor" : [ 0.905882352941176, 0.886274509803922, 0.223529411764706, 1.0 ], + "hint" : "reset seq counter", + "id" : "obj-21", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "parameter_enable" : 0, + "patching_rect" : [ 284.0, 213.000003755092621, 22.999996244907379, 22.999996244907379 ], + "presentation" : 1, + "presentation_rect" : [ 654.0, 58.0, 22.0, 22.0 ] + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 47.0, 52.0, 151.0, 21.0 ], + "text" : "routepass bang FullPacket" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 583.0, 651.0, 54.0, 21.0 ], + "text" : "o.accum" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 308.0, 168.0, 250.0, 382.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 142.0, 197.0, 22.0, 22.0 ], + "text" : "t b" + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 50.0, 197.0, 22.0, 22.0 ], + "text" : "t b" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 50.0, 165.0, 111.0, 22.0 ], + "text" : "o.if /engine/on == 1" + } + + } +, { + "box" : { + "id" : "obj-105", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 50.0, 129.0, 58.0, 22.0 ], + "text" : "o.change" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-34", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-35", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 279.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-36", + "index" : 2, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 142.0, 279.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-105", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-18", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-105", 0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 29.0, 569.0, 103.0, 21.0 ], + "text" : "p process_bundle" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 29.0, 632.0, 41.0, 21.0 ], + "text" : "o.var" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-26", + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 113.0, 631.0, 113.0, 23.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 116, 111, 112, 0, 0, 0, 44, 115, 0, 0, 98, 97, 110, 103, 0, 0, 0, 0 ], + "saved_bundle_length" : 40, + "text" : "/stop : \"bang\"" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 155.0, 208.0, 87.0, 22.0 ], + "text" : "prepend setlist" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 541.0, 188.0, 32.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 654.0, 34.0, 32.0, 21.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "int", "clear" ], + "patching_rect" : [ 330.0, 213.50000187754631, 61.0, 22.0 ], + "text" : "t b 0 clear" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 46.0, 282.0, 29.5, 22.0 ], + "text" : "0" + } + + } +, { + "box" : { + "bgcolor" : [ 0.341176470588235, 0.368627450980392, 0.203921568627451, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 171.083335041999817, 128.666666716337204, 29.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 719.0, 58.0, 32.25, 19.0 ], + "text" : "step", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "comment" : "(FullPacket) engine bundle when step value changes", + "id" : "obj-10", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 171.0, 721.0, 27.0, 27.0 ] + } + + } +, { + "box" : { + "comment" : "(bang) advance", + "id" : "obj-1", + "index" : 0, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 47.0, 14.0, 27.0, 27.0 ] + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 6, + "outlettype" : [ "", "", "", "", "", "FullPacket" ], + "patching_rect" : [ 238.0, 171.5, 249.0, 21.0 ], + "text" : "o.route /steps /reset /clear /step /spat/traj" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 601.0, 581.0, 79.0, 21.0 ], + "text" : "o.pack /steps" + } + + } +, { + "box" : { + "id" : "obj-104", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 47.0, 208.0, 94.0, 22.0 ], + "text" : "t i i" + } + + } +, { + "box" : { + "bgcolor" : [ 0.125490196078431, 0.125490196078431, 0.125490196078431, 0.0 ], + "id" : "obj-92", + "ignoreclick" : 1, + "maxclass" : "multislider", + "numinlets" : 1, + "numoutlets" : 2, + "orientation" : 0, + "outlettype" : [ "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 155.0, 331.0, 654.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 5.0, 6.0, 746.0, 22.0 ], + "setminmax" : [ 1.0, 61.0 ], + "settype" : 0, + "size" : 60, + "slidercolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "thickness" : 1 + } + + } +, { + "box" : { + "bgcolor" : [ 0.341176470588235, 0.368627450980392, 0.203921568627451, 1.0 ], + "hint" : "seq: go to N", + "id" : "obj-6", + "maxclass" : "number", + "maximum" : 60, + "minimum" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 113.75, 127.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 679.0, 58.0, 37.75, 22.0 ], + "tricolor" : [ 0.313725490196078, 0.654901960784314, 0.72156862745098, 1.0 ] + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 47.0, 243.0, 48.0, 21.0 ], + "text" : "fetch $1" + } + + } +, { + "box" : { + "bgcolor" : [ 0.568627450980392, 0.784313725490196, 0.796078431372549, 1.0 ], + "id" : "obj-7", + "maxclass" : "multislider", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 155.0, 289.0, 654.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 5.0, 6.0, 746.0, 22.0 ], + "setminmax" : [ 0.0, 1.0 ], + "setstyle" : 1, + "settype" : 0, + "signed" : 1, + "size" : 60, + "slidercolor" : [ 0.082353, 0.431373, 0.411765, 1.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-52", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 4, + "outlettype" : [ "int", "", "", "int" ], + "patching_rect" : [ 47.0, 162.0, 108.0, 21.0 ], + "text" : "counter 1 60" + } + + } +, { + "box" : { + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-5", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "eventedit_ui_noisewash.maxpat", + "numinlets" : 1, + "numoutlets" : 1, + "offset" : [ -1.75, 1.5 ], + "outlettype" : [ "" ], + "patching_rect" : [ 51.0, 425.0, 511.0, 52.0 ], + "presentation" : 1, + "presentation_rect" : [ 5.0, 29.0, 644.0, 54.0 ], + "viewvisibility" : 1 + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-104", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-92", 0 ], + "source" : [ "obj-104", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-96", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "order" : 1, + "source" : [ "obj-16", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-16", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-92", 0 ], + "order" : 0, + "source" : [ "obj-16", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 2 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-29", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-29", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "order" : 1, + "source" : [ "obj-29", 5 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-29", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "order" : 0, + "source" : [ "obj-29", 5 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "source" : [ "obj-37", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 1 ], + "order" : 1, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "order" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-104", 0 ], + "order" : 1, + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "midpoints" : [ 56.5, 194.0, 40.815448570463559, 194.0, 40.815448570463559, 88.000002920627594, 123.25, 88.000002920627594 ], + "order" : 0, + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 3 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-96", 0 ], + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-9", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-96", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "eventedit_ui_noisewash.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "o.accum.maxpat", + "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace", + "patcherrelativepath" : "../../../Max 9/Packages/odot/patchers/namespace", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "o.change.mxo", + "type" : "iLaX" + } +, { + "name" : "o.compose.mxo", + "type" : "iLaX" + } +, { + "name" : "o.if.mxo", + "type" : "iLaX" + } +, { + "name" : "o.pack.mxo", + "type" : "iLaX" + } +, { + "name" : "o.route.mxo", + "type" : "iLaX" + } +, { + "name" : "o.union.mxo", + "type" : "iLaX" + } +, { + "name" : "o.var.mxo", + "type" : "iLaX" + } +, { + "name" : "spat5.osc.prepend.mxo", + "type" : "iLaX" + } +, { + "name" : "spat5.trajectories.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +} diff --git a/engine_zone~.maxhelp b/engine_zone~.maxhelp new file mode 100644 index 0000000..2e18cfc --- /dev/null +++ b/engine_zone~.maxhelp @@ -0,0 +1,383 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 34.0, 126.0, 991.0, 811.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "background_color" : [ 0.768627450980392, 0.815686274509804, 0.76078431372549, 1.0 ], + "fontface" : 0, + "id" : "obj-25", + "linecount" : 6, + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 288.0, 32.0, 213.0, 87.0 ], + "presentation_linecount" : 6, + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 24, 47, 108, 111, 111, 112, 47, 115, 116, 97, 116, 117, 115, 0, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 64, 0, 0, 0, 0, 0, 0, 0, 64, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -20, -52, -52, -52, -52, -52, -51, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -71, -103, -103, -103, -103, -103, -102 ], + "saved_bundle_length" : 196, + "text" : "/speed : 1,\n/loop/status : 0,\n/spacing/range : [2., 4.],\n/segment : [0., 1.],\n/variety : 0.9,\n/density : 0.1" + } + + } +, { + "box" : { + "background_color" : [ 0.768627450980392, 0.815686274509804, 0.76078431372549, 1.0 ], + "fontface" : 0, + "id" : "obj-16", + "linecount" : 6, + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 67.0, 32.0, 213.0, 87.0 ], + "presentation_linecount" : 6, + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 115, 112, 101, 101, 100, 0, 0, 44, 105, 0, 0, 0, 0, 0, 1, 0, 0, 0, 24, 47, 108, 111, 111, 112, 47, 115, 116, 97, 116, 117, 115, 0, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 63, -32, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 115, 101, 103, 109, 101, 110, 116, 0, 0, 0, 0, 44, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -20, -52, -52, -52, -52, -52, -51, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], + "saved_bundle_length" : 196, + "text" : "/speed : 1,\n/loop/status : 0,\n/spacing/range : [0.5, 2.],\n/segment : [0., 1.],\n/variety : 0.9,\n/density : 0." + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-20", + "linecount" : 8, + "maxclass" : "o.display", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 557.0, 316.0, 263.0, 123.0 ], + "text" : "/speed : 1,\n/loop/status : 0,\n/spacing/range : [2., 4.],\n/segment : [0., 1.],\n/variety : 0.9,\n/density : 0.1,\n/numfiles : 73,\n/pbname : \"audiocollection\"" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-17", + "linecount" : 4, + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 567.0, 68.0, 401.0, 62.0 ], + "presentation_linecount" : 4, + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -128, 47, 112, 97, 116, 104, 0, 0, 0, 44, 115, 0, 0, 77, 97, 99, 105, 110, 116, 111, 115, 104, 32, 72, 68, 58, 47, 85, 115, 101, 114, 115, 47, 106, 109, 108, 47, 68, 111, 99, 117, 109, 101, 110, 116, 115, 47, 119, 111, 114, 107, 47, 104, 117, 103, 104, 95, 108, 105, 118, 105, 110, 103, 115, 116, 111, 110, 47, 97, 117, 100, 105, 111, 95, 102, 105, 108, 101, 115, 47, 95, 83, 111, 110, 111, 103, 97, 114, 100, 101, 110, 67, 111, 108, 108, 101, 99, 116, 105, 111, 110, 115, 47, 49, 48, 48, 54, 49, 56, 95, 48, 50, 32, 79, 98, 111, 101, 32, 71, 101, 115, 116, 117, 114, 101, 115, 47, 0, 0, 0, 0, 0, 16, 47, 99, 104, 111, 105, 99, 101, 0, 44, 105, 0, 0, 0, 0, 0, 2 ], + "saved_bundle_length" : 168, + "text" : "/path : \"Macintosh HD:/Users/jml/Documents/work/hugh_livingston/audio_files/_SonogardenCollections/100618_02 Oboe Gestures/\",\n/choice : 2" + } + + } +, { + "box" : { + "args" : [ "audiocollection" ], + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-18", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "polybuf_container~.maxpat", + "numinlets" : 1, + "numoutlets" : 2, + "offset" : [ 0.0, 0.0 ], + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 179.0, 162.0, 281.0, 112.0 ], + "viewvisibility" : 1 + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-13", + "maxclass" : "o.display", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 445.0, 570.0, 150.0, 33.0 ] + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "ezdac~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 179.0, 728.0, 45.0, 45.0 ] + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "multichannelsignal" ], + "patching_rect" : [ 179.0, 638.0, 80.0, 22.0 ], + "text" : "mc.*~ 0.0625" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 179.0, 682.0, 58.0, 22.0 ], + "text" : "mc.sum~" + } + + } +, { + "box" : { + "id" : "obj-7", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 335.0, 471.0, 221.0, 60.0 ], + "text" : "arg1: aux destination \narg2: patchername to load (voice patch)\narg3: number of voices\narg4: id offset for spat source count" + } + + } +, { + "box" : { + "args" : [ "aux-test", "engine_voice.epistretch~.maxpat", 16, 0 ], + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, + "id" : "obj-1", + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "engine_zone~.maxpat", + "numinlets" : 1, + "numoutlets" : 4, + "offset" : [ -1.0, 3.0 ], + "outlettype" : [ "multichannelsignal", "FullPacket", "signal", "FullPacket" ], + "patching_rect" : [ 179.0, 463.0, 145.0, 76.0 ], + "viewvisibility" : 1 + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-1", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "order" : 1, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "order" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "order" : 0, + "source" : [ "obj-9", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "order" : 1, + "source" : [ "obj-9", 0 ] + } + + } + ], + "parameters" : { + "obj-1::obj-60" : [ "poly_voices", "poly_voices", 0 ], + "parameterbanks" : { + "0" : { + "index" : 0, + "name" : "", + "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ] + } + + } +, + "inherited_shortname" : 1 + } +, + "dependency_cache" : [ { + "name" : "engine_voice.epistretch~.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "engine_zone~.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "o.collect.mxo", + "type" : "iLaX" + } +, { + "name" : "o.compose.mxo", + "type" : "iLaX" + } +, { + "name" : "o.difference.mxo", + "type" : "iLaX" + } +, { + "name" : "o.display.mxo", + "type" : "iLaX" + } +, { + "name" : "o.expr.codebox.mxo", + "type" : "iLaX" + } +, { + "name" : "o.gather.maxpat", + "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace", + "patcherrelativepath" : "../../../Max 9/Packages/odot/patchers/namespace", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "o.if.mxo", + "type" : "iLaX" + } +, { + "name" : "o.intersection.mxo", + "type" : "iLaX" + } +, { + "name" : "o.pack.mxo", + "type" : "iLaX" + } +, { + "name" : "o.righttoleft.maxpat", + "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/ordering", + "patcherrelativepath" : "../../../Max 9/Packages/odot/patchers/ordering", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "o.route.mxo", + "type" : "iLaX" + } +, { + "name" : "o.select.mxo", + "type" : "iLaX" + } +, { + "name" : "o.union.mxo", + "type" : "iLaX" + } +, { + "name" : "o.var.mxo", + "type" : "iLaX" + } +, { + "name" : "polybuf_container~.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "spat5.osc.prepend.mxo", + "type" : "iLaX" + } +, { + "name" : "spat5.trajectories.mxo", + "type" : "iLaX" + } +, { + "name" : "spat_trajectory_group.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "vt.density.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } + ], + "autosave" : 0 + } + +} diff --git a/eventedit_ui_epistretch.maxpat b/eventedit_ui_epistretch.maxpat new file mode 100644 index 0000000..1fad05e --- /dev/null +++ b/eventedit_ui_epistretch.maxpat @@ -0,0 +1,1132 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 159.0, 160.0, 1247.0, 706.0 ], + "openinpresentation" : 1, + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "bgcolor" : [ 0.368627450980392, 0.12156862745098, 0.282352941176471, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-41", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 854.0, 449.5, 69.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 26.0, 3.0, 62.0, 19.0 ], + "text" : "loop status", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.368627450980392, 0.12156862745098, 0.282352941176471, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-40", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 1036.0, 449.5, 69.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 71.0, 30.0, 51.0, 19.0 ], + "text" : "l.window", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.298039215686275, 0.133333333333333, 0.227450980392157, 1.0 ], + "checkedcolor" : [ 0.349019607843137, 0.756862745098039, 0.815686274509804, 1.0 ], + "id" : "obj-39", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 827.0, 447.0, 24.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 4.0, 0.5, 22.0, 22.0 ], + "uncheckedcolor" : [ 0.462745098039216, 0.43921568627451, 0.43921568627451, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.368627450980392, 0.12156862745098, 0.282352941176471, 1.0 ], + "format" : 6, + "id" : "obj-29", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 949.0, 448.0, 85.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 4.0, 28.0, 67.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 949.0, 486.0, 101.0, 22.0 ], + "text" : "o.pack /loop/wind" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 827.0, 486.0, 109.0, 22.0 ], + "text" : "o.pack /loop/status" + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 10, + "outlettype" : [ "", "", "", "", "", "", "", "", "", "FullPacket" ], + "patching_rect" : [ 77.0, 181.0, 733.0, 22.0 ], + "text" : "o.route /speed /density /variety /auxsend /spacing/range /gain/range /trajspeed/range /loop/status /loop/wind" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 872.714285714285779, 241.0, 72.285714285714221, 21.0 ], + "text" : "unpack 0. 0." + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 873.0, 298.0, 72.0, 22.0 ], + "text" : "pak 0. 0." + } + + } +, { + "box" : { + "bgcolor" : [ 0.125490196078431, 0.203921568627451, 0.117647058823529, 1.0 ], + "format" : 6, + "id" : "obj-19", + "maxclass" : "flonum", + "maximum" : 30000.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 926.0, 271.0, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.125490196078431, 0.203921568627451, 0.117647058823529, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-20", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 985.0, 271.0, 78.0, 19.0 ], + "text" : "speed range", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.125490196078431, 0.203921568627451, 0.117647058823529, 1.0 ], + "format" : 6, + "id" : "obj-21", + "maxclass" : "flonum", + "maximum" : 30000.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 873.0, 271.0, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 873.0, 374.0, 134.0, 22.0 ], + "text" : "o.pack /trajspeed/range" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 685.0, 241.0, 72.285714285714221, 21.0 ], + "text" : "unpack 0. 0." + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 685.0, 298.0, 72.0, 22.0 ], + "text" : "pak 0. 0." + } + + } +, { + "box" : { + "bgcolor" : [ 0.32156862745098, 0.654901960784314, 0.701960784313725, 1.0 ], + "format" : 6, + "id" : "obj-5", + "maxclass" : "flonum", + "maximum" : 30000.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 738.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 501.0, 3.0, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.32156862745098, 0.654901960784314, 0.701960784313725, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 797.0, 271.0, 78.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 550.000016391277313, 4.00000011920929, 78.0, 19.0 ], + "text" : "gain range", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.32156862745098, 0.654901960784314, 0.701960784313725, 1.0 ], + "format" : 6, + "id" : "obj-13", + "maxclass" : "flonum", + "maximum" : 30000.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 685.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 448.0, 3.0, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 685.0, 374.0, 107.0, 22.0 ], + "text" : "o.pack /gain/range" + } + + } +, { + "box" : { + "bgcolor" : [ 0.125490196078431, 0.125490196078431, 0.125490196078431, 0.0 ], + "blinkcolor" : [ 0.137254901960784, 0.407843137254902, 0.850980392156863, 1.0 ], + "hint" : "send default params", + "id" : "obj-4", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.058823529411765, 0.062745098039216, 0.109803921568627, 1.0 ], + "parameter_enable" : 0, + "patching_rect" : [ 317.0, 67.0, 24.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 421.0, 2.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 87.0, 1000.0, 743.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "fontface" : 0, + "fontsize" : 10.0, + "id" : "obj-5", + "linecount" : 9, + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 100.0, 189.0, 115.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 108, 111, 111, 112, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 97, 117, 120, 115, 101, 110, 100, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 63, -71, -103, -103, -103, -103, -103, -102, 63, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 103, 97, 105, 110, 47, 114, 97, 110, 103, 101, 0, 44, 100, 100, 0, 63, -23, -103, -103, -103, -103, -103, -102, 63, -13, 51, 51, 51, 51, 51, 51, 0, 0, 0, 32, 47, 116, 114, 97, 106, 115, 112, 101, 101, 100, 47, 114, 97, 110, 103, 101, 0, 0, 0, 0, 44, 105, 105, 0, 0, 0, 0, 20, 0, 0, 0, 80, 0, 0, 0, 20, 47, 99, 97, 116, 0, 0, 0, 0, 44, 115, 0, 0, 110, 111, 110, 101, 0, 0, 0, 0 ], + "saved_bundle_length" : 280, + "text" : "/loop : 0,\n/speed : 1.,\n/density : 0.,\n/variety : 0.,\n/auxsend : 0.,\n/spacing/range : [0.1, 1.5],\n/gain/range : [0.8, 1.2],\n/trajspeed/range : [20, 80],\n/cat : \"none\"" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-12", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 264.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-5", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 77.0, 149.0, 97.0, 22.0 ], + "text" : "p default_bundle" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 228.0, 520.0, 47.999988406896591, 22.0 ], + "text" : "t l l" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "clear" ], + "patching_rect" : [ 77.0, 124.0, 231.0, 22.0 ], + "text" : "t b clear" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 77.0, 95.0, 79.0, 22.0 ], + "text" : "o.route /clear" + } + + } +, { + "box" : { + "id" : "obj-46", + "linecount" : 7, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 419.0, 491.0, 233.0, 100.0 ], + "text" : "parameters:\n\n/speed 0.125-3\n/loop bool\n/spacing/range : [mslow, mshigh] - for loop\n/density : 0-1\n/auxsend : 0-1" + } + + } +, { + "box" : { + "comment" : "(FullPacket) updated event out", + "id" : "obj-25", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 228.0, 597.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-79", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 484.714285714285779, 241.0, 72.285714285714221, 21.0 ], + "text" : "unpack 0. 0." + } + + } +, { + "box" : { + "id" : "obj-67", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 228.0, 491.0, 48.0, 22.0 ], + "text" : "o.union" + } + + } +, { + "box" : { + "bgcolor" : [ 0.098039215686275, 0.556862745098039, 0.364705882352941, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-59", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 331.0, 271.0, 44.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 286.0, 28.0, 44.0, 19.0 ], + "text" : "variety", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.098039215686275, 0.556862745098039, 0.364705882352941, 1.0 ], + "format" : 6, + "id" : "obj-60", + "maxclass" : "flonum", + "maximum" : 1.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 281.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 236.0, 26.5, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-47", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 485.0, 298.0, 72.0, 22.0 ], + "text" : "pak 0. 0." + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-35", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 429.0, 271.0, 53.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 393.0, 28.0, 53.0, 19.0 ], + "text" : "aux send" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-36", + "maxclass" : "flonum", + "maximum" : 1.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 383.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 341.0, 29.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.262745098039216, 0.368627450980392, 0.368627450980392, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-33", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 232.0, 271.0, 43.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 174.0, 28.0, 52.333334892988205, 19.0 ], + "text" : "density", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.262745098039216, 0.368627450980392, 0.368627450980392, 1.0 ], + "format" : 6, + "id" : "obj-34", + "maxclass" : "flonum", + "maximum" : 1.0, + "minimum" : 0.0001, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 179.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 124.0, 28.0, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.501960784313725, 0.243137254901961, 0.243137254901961, 1.0 ], + "format" : 6, + "id" : "obj-32", + "maxclass" : "flonum", + "maximum" : 30000.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 538.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 289.0, 0.5, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.501960784313725, 0.243137254901961, 0.243137254901961, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-30", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 597.0, 271.0, 78.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 339.0, 1.0, 78.0, 19.0 ], + "text" : "spacing range", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.501960784313725, 0.243137254901961, 0.243137254901961, 1.0 ], + "format" : 6, + "id" : "obj-31", + "maxclass" : "flonum", + "maximum" : 30000.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 485.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 236.0, 0.5, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.196078431372549, 0.27843137254902, 0.352941176470588, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-27", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 130.0, 271.0, 38.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 174.0, 1.0, 52.333334892988205, 19.0 ], + "text" : "speed", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.196078431372549, 0.27843137254902, 0.352941176470588, 1.0 ], + "format" : 6, + "id" : "obj-26", + "maxclass" : "flonum", + "maximum" : 3.0, + "minimum" : 0.0001, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 77.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 124.0, 0.5, 50.0, 22.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-82", + "index" : 0, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.0, 23.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 485.0, 374.0, 126.0, 22.0 ], + "text" : "o.pack /spacing/range" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 383.0, 374.0, 96.0, 22.0 ], + "text" : "o.pack /auxsend" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 281.0, 374.0, 86.0, 22.0 ], + "text" : "o.pack /variety" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 179.0, 374.0, 89.0, 22.0 ], + "text" : "o.pack /density" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 77.0, 374.0, 83.0, 22.0 ], + "text" : "o.pack /speed" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-14", 5 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-14", 6 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "source" : [ "obj-14", 8 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-14", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-14", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "source" : [ "obj-14", 7 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-60", 0 ], + "source" : [ "obj-14", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-79", 0 ], + "source" : [ "obj-14", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-17", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 1 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 0 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 1 ], + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 1 ], + "midpoints" : [ 266.499988406896591, 547.767537308758619, 280.807414439044805, 547.767537308758619, 280.807414439044805, 487.162597839909722, 266.5, 487.162597839909722 ], + "source" : [ "obj-43", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-79", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "source" : [ "obj-79", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-82", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "o.compose.mxo", + "type" : "iLaX" + } +, { + "name" : "o.pack.mxo", + "type" : "iLaX" + } +, { + "name" : "o.route.mxo", + "type" : "iLaX" + } +, { + "name" : "o.union.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +} diff --git a/eventedit_ui_noisewash.maxpat b/eventedit_ui_noisewash.maxpat new file mode 100644 index 0000000..6ef5656 --- /dev/null +++ b/eventedit_ui_noisewash.maxpat @@ -0,0 +1,920 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 159.0, 160.0, 1247.0, 706.0 ], + "openinpresentation" : 1, + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 7, + "outlettype" : [ "", "", "", "", "", "", "FullPacket" ], + "patching_rect" : [ 77.0, 181.0, 420.0, 22.0 ], + "text" : "o.route /density /variety /auxsend /spacing/range /gain/range /trajspeed/range" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 872.714285714285779, 241.0, 72.285714285714221, 21.0 ], + "text" : "unpack 0. 0." + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 873.0, 298.0, 72.0, 22.0 ], + "text" : "pak 0. 0." + } + + } +, { + "box" : { + "bgcolor" : [ 0.125490196078431, 0.203921568627451, 0.117647058823529, 1.0 ], + "format" : 6, + "id" : "obj-19", + "maxclass" : "flonum", + "maximum" : 30000.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 926.0, 271.0, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.125490196078431, 0.203921568627451, 0.117647058823529, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-20", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 985.0, 271.0, 78.0, 19.0 ], + "text" : "speed range", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.125490196078431, 0.203921568627451, 0.117647058823529, 1.0 ], + "format" : 6, + "id" : "obj-21", + "maxclass" : "flonum", + "maximum" : 30000.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 873.0, 271.0, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 873.0, 374.0, 134.0, 22.0 ], + "text" : "o.pack /trajspeed/range" + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 685.0, 241.0, 72.285714285714221, 21.0 ], + "text" : "unpack 0. 0." + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 685.0, 298.0, 72.0, 22.0 ], + "text" : "pak 0. 0." + } + + } +, { + "box" : { + "bgcolor" : [ 0.32156862745098, 0.654901960784314, 0.701960784313725, 1.0 ], + "format" : 6, + "id" : "obj-5", + "maxclass" : "flonum", + "maximum" : 30000.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 738.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 379.0, 3.0, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.32156862745098, 0.654901960784314, 0.701960784313725, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 797.0, 271.0, 78.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 428.0, 4.0, 78.0, 19.0 ], + "text" : "gain range", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.32156862745098, 0.654901960784314, 0.701960784313725, 1.0 ], + "format" : 6, + "id" : "obj-13", + "maxclass" : "flonum", + "maximum" : 30000.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 685.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 326.0, 3.0, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 685.0, 374.0, 107.0, 22.0 ], + "text" : "o.pack /gain/range" + } + + } +, { + "box" : { + "bgcolor" : [ 0.125490196078431, 0.125490196078431, 0.125490196078431, 0.0 ], + "blinkcolor" : [ 0.137254901960784, 0.407843137254902, 0.850980392156863, 1.0 ], + "hint" : "send default params", + "id" : "obj-4", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "outlinecolor" : [ 0.058823529411765, 0.062745098039216, 0.109803921568627, 1.0 ], + "parameter_enable" : 0, + "patching_rect" : [ 317.0, 67.0, 24.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 299.0, 2.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 87.0, 1000.0, 743.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "fontface" : 0, + "fontsize" : 10.0, + "id" : "obj-5", + "linecount" : 9, + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 110.0, 110.0, 189.0, 115.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 47, 108, 111, 111, 112, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 115, 112, 101, 101, 100, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 97, 117, 120, 115, 101, 110, 100, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 47, 115, 112, 97, 99, 105, 110, 103, 47, 114, 97, 110, 103, 101, 0, 0, 44, 100, 100, 0, 63, -71, -103, -103, -103, -103, -103, -102, 63, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 103, 97, 105, 110, 47, 114, 97, 110, 103, 101, 0, 44, 100, 100, 0, 63, -23, -103, -103, -103, -103, -103, -102, 63, -13, 51, 51, 51, 51, 51, 51, 0, 0, 0, 32, 47, 116, 114, 97, 106, 115, 112, 101, 101, 100, 47, 114, 97, 110, 103, 101, 0, 0, 0, 0, 44, 105, 105, 0, 0, 0, 0, 20, 0, 0, 0, 80, 0, 0, 0, 20, 47, 99, 97, 116, 0, 0, 0, 0, 44, 115, 0, 0, 110, 111, 110, 101, 0, 0, 0, 0 ], + "saved_bundle_length" : 280, + "text" : "/loop : 0,\n/speed : 1.,\n/density : 0.,\n/variety : 0.,\n/auxsend : 0.,\n/spacing/range : [0.1, 1.5],\n/gain/range : [0.8, 1.2],\n/trajspeed/range : [20, 80],\n/cat : \"none\"" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-12", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 264.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-5", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 77.0, 147.0, 97.0, 22.0 ], + "text" : "p default_bundle" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 228.0, 520.0, 47.999988406896591, 22.0 ], + "text" : "t l l" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "clear" ], + "patching_rect" : [ 77.0, 108.0, 231.0, 22.0 ], + "text" : "t b clear" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 77.0, 73.0, 79.0, 22.0 ], + "text" : "o.route /clear" + } + + } +, { + "box" : { + "comment" : "(FullPacket) updated event out", + "id" : "obj-25", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 228.0, 597.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-79", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "patching_rect" : [ 484.714285714285779, 241.0, 72.285714285714221, 21.0 ], + "text" : "unpack 0. 0." + } + + } +, { + "box" : { + "id" : "obj-67", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 228.0, 491.0, 48.0, 22.0 ], + "text" : "o.union" + } + + } +, { + "box" : { + "bgcolor" : [ 0.098039215686275, 0.556862745098039, 0.364705882352941, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-59", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 331.0, 271.0, 44.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 164.0, 28.0, 44.0, 19.0 ], + "text" : "variety", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.098039215686275, 0.556862745098039, 0.364705882352941, 1.0 ], + "format" : 6, + "id" : "obj-60", + "maxclass" : "flonum", + "maximum" : 1.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 281.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 114.0, 26.0, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-47", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 485.0, 298.0, 72.0, 22.0 ], + "text" : "pak 0. 0." + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-35", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 429.0, 271.0, 53.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 271.0, 28.0, 53.0, 19.0 ], + "text" : "aux send" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-36", + "maxclass" : "flonum", + "maximum" : 1.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 383.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 219.0, 29.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.262745098039216, 0.368627450980392, 0.368627450980392, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-33", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 232.0, 271.0, 43.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 52.0, 28.0, 52.333334892988205, 19.0 ], + "text" : "density", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.262745098039216, 0.368627450980392, 0.368627450980392, 1.0 ], + "format" : 6, + "id" : "obj-34", + "maxclass" : "flonum", + "maximum" : 1.0, + "minimum" : 0.0001, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 179.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 2.0, 28.0, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.501960784313725, 0.243137254901961, 0.243137254901961, 1.0 ], + "format" : 6, + "id" : "obj-32", + "maxclass" : "flonum", + "maximum" : 30000.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 538.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 167.0, 0.0, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.501960784313725, 0.243137254901961, 0.243137254901961, 1.0 ], + "fontsize" : 11.0, + "id" : "obj-30", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 597.0, 271.0, 78.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 217.0, 1.0, 78.0, 19.0 ], + "text" : "spacing range", + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 0.501960784313725, 0.243137254901961, 0.243137254901961, 1.0 ], + "format" : 6, + "id" : "obj-31", + "maxclass" : "flonum", + "maximum" : 30000.0, + "minimum" : 0.0, + "mousefilter" : 1, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 485.0, 271.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 114.0, 0.0, 50.0, 22.0 ], + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-82", + "index" : 0, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.0, 23.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 485.0, 374.0, 126.0, 22.0 ], + "text" : "o.pack /spacing/range" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 383.0, 374.0, 96.0, 22.0 ], + "text" : "o.pack /auxsend" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 281.0, 374.0, 86.0, 22.0 ], + "text" : "o.pack /variety" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 179.0, 374.0, 89.0, 22.0 ], + "text" : "o.pack /density" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-14", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-14", 5 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-14", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-60", 0 ], + "source" : [ "obj-14", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-79", 0 ], + "source" : [ "obj-14", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-17", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 1 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 0 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 1 ], + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 1 ], + "midpoints" : [ 266.499988406896591, 547.767537308758619, 280.807414439044805, 547.767537308758619, 280.807414439044805, 487.162597839909722, 266.5, 487.162597839909722 ], + "source" : [ "obj-43", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-79", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "source" : [ "obj-79", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-82", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "o.compose.mxo", + "type" : "iLaX" + } +, { + "name" : "o.pack.mxo", + "type" : "iLaX" + } +, { + "name" : "o.route.mxo", + "type" : "iLaX" + } +, { + "name" : "o.union.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +} diff --git a/log.json b/log.json new file mode 100644 index 0000000..092b5fc --- /dev/null +++ b/log.json @@ -0,0 +1,14 @@ +{ + "event/5/6/2025-22:35:30" : { + "type" : "quit", + "date" : "5/6/2025", + "time" : "22:35:30" + } +, + "event/5/6/2025-22:35:28" : { + "type" : "startup", + "date" : "5/6/2025", + "time" : "22:35:28" + } + +} diff --git a/misc/bird_trajectory.js b/misc/bird_trajectory.js new file mode 100644 index 0000000..e6a277e --- /dev/null +++ b/misc/bird_trajectory.js @@ -0,0 +1,50 @@ +outlets = 1; +inlets = 1; + +let p1, p2 = new Float32Array(2); +speakers = new Float32Array(); +p1 = [0,0]; +p2 = [0.6, 0.6]; + +function interpolatePolar(t, p1, p2) { + const [r1, theta1] = p1; + const [r2, theta2] = p2; + + // Interpolate both r and theta + const r = r1 + t * (r2 - r1); + const theta = theta1 + t * (theta2 - theta1); + + return [r, theta]; +} + +function msg_float(f) { + + const t = f; + + const interpolated = interpolatePolar(t, p1, p2); + outlet(0, interpolated); + +} + +function setpoint(x, y) { + post("x: ", x); + post("y: ", y, "\n"); + p1 = [0,0]; + p2 = [x, y]; +} + +function setpoints(x1, y1, x2, y2) { + p1 = [x1, y1]; + p2 = [x2, y2]; +} + +function generate_points(n) { + +} + +function set_speakers() { + let slist = arrayfromargs(arguments); + + const len = list.length / 2; + post("length: ", slist, '\n'); +} \ No newline at end of file diff --git a/misc/bird_trajectory2.js b/misc/bird_trajectory2.js new file mode 100644 index 0000000..be5f956 --- /dev/null +++ b/misc/bird_trajectory2.js @@ -0,0 +1,149 @@ +outlets = 1; +inlets = 1; + +class Path { + constructor(a, b) { + this.a = a; // [x, y] + this.b = b; // [x, y] + } + + interpolate(t) { + + t = Math.max(0, Math.min(1, t)); + + const [x1, y1] = this.a; + const [x2, y2] = this.b; + const x = x1 + t * (x2 - x1); + const y = y1 + t * (y2 - y1); + + return [x, y]; + } +} + +class PathGroup { + constructor() { + this.points = []; + this.paths = []; + } + + setPoints(flatArray) { + this.points = []; + for (let i = 0; i < flatArray.length; i += 2) { + this.points.push([flatArray[i], flatArray[i + 1]]); + } + } + + generatePaths(n) { + if (this.points.length < 2) { + post("Not enough points to generate paths.\n"); + return; + } + + this.paths = []; + + for (let i = 0; i < n; i++) { + let aIndex = Math.floor(Math.random() * this.points.length); + let bIndex = Math.floor(Math.random() * this.points.length); + while (bIndex === aIndex) { + bIndex = Math.floor(Math.random() * this.points.length); + } + + const a = this.points[aIndex]; + const b = this.points[bIndex]; + + this.paths.push(new Path(a, b)); + } + } + + interpolateAll(t) { + return this.paths.map(path => path.interpolate(t)); + } + + randomPoint() { + const i = Math.floor(Math.random() * this.points.length); + return this.points[i]; + } + + reverseAndReseedDestinations() { + + for (let path of this.paths) { + const newA = path.b; + let newB = this.randomPoint(); + + // Avoid choosing the same point + while (newB[0] === newA[0] && newB[1] === newA[1]) { + newB = this.randomPoint(); + } + + path.a = newA; + path.b = newB; + } + } +} + + +let points = []; +let all_paths = new PathGroup(); + +// --------------------------------------------------------------- +// Max stuff + +//set the points that are used to choose from when generate() is called +//in this case, these are speaker locations + +function setpoints() { + points = []; + + for (let i = 0; i < arguments.length; i += 2) { + const x = arguments[i]; + const y = arguments[i + 1]; + + points.push([x, y]); + } + + all_paths.setPoints(points); + + post("Points set:\n"); + points.forEach(p => post(`[${p[0]}, ${p[1]}]\n`)); +} + +function msg_float(f) { + const results = all_paths.interpolateAll(f); + + results.forEach((ploc, i) => { + outlet(0, ["path", i, ploc[0], ploc[1]]); + }); +} + +function generate(n) { + + if (!points || points.length < 2) { + post("Not enough points set.\n"); + return; + } + + all_paths.generatePaths(n); +} + +function reseed() { + + if (all_paths) { + all_paths.reverseAndReseedDestinations(); + post("Paths reseeded.\n"); + } +} + +function print_paths() { + if (!all_paths || !all_paths.paths || all_paths.paths.length === 0) { + post("No paths to print.\n"); + return; + } + + post("Current paths:\n"); + all_paths.paths.forEach((path, i) => { + const [xa, ya] = path.a; + const [xb, yb] = path.b; + post(`Path ${i}: from [${xa.toFixed(2)}, ${ya.toFixed(2)}] to [${xb.toFixed(2)}, ${yb.toFixed(2)}]\n`); + }); +} + diff --git a/misc/bird_trajectory_mockup.maxpat b/misc/bird_trajectory_mockup.maxpat new file mode 100644 index 0000000..d8f46b4 --- /dev/null +++ b/misc/bird_trajectory_mockup.maxpat @@ -0,0 +1,437 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 293.0, 298.0, 1086.0, 684.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 623.0, 340.0, 405.0, 35.0 ], + "presentation_linecount" : 5, + "text" : "set_speakers -1.45999 1.49352 -0.890016 1.49352 0.762 1.49352 1.3716 1.49352 -1.77698 -1.46304 1.79222 -1.46304" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 487.0, 272.0, 153.0, 22.0 ], + "presentation_linecount" : 2, + "text" : "setpoints -0.6 -0.6 0.2 -0.1" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 487.0, 298.0, 141.0, 22.0 ], + "presentation_linecount" : 2, + "text" : "setpoints 0.6 0.6 -0.4 0.8" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 320.0, 216.0, 98.0, 20.0 ], + "text" : "moves from zero" + } + + } +, { + "box" : { + "id" : "obj-37", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 31.0, 64.0, 150.0, 33.0 ], + "text" : "make the group of points a multi-dim array" + } + + } +, { + "box" : { + "id" : "obj-35", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 462.0, 75.0, 29.5, 22.0 ], + "text" : "700" + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 403.0, 75.0, 35.0, 22.0 ], + "text" : "2000" + } + + } +, { + "box" : { + "id" : "obj-31", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 403.0, 109.0, 94.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 327.0, 148.0, 95.0, 22.0 ], + "text" : "pak 0. 0 1. 2000" + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 101.0, 308.0, 50.0, 22.0 ], + "text" : "compile" + } + + } +, { + "box" : { + "id" : "obj-26", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 226.0, 90.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 226.0, 143.0, 32.0, 22.0 ], + "text" : "gate" + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 226.0, 178.0, 120.0, 22.0 ], + "text" : "0. 0 1. 2000" + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 226.0, 212.0, 41.0, 22.0 ], + "text" : "line 0." + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 329.0, 260.0, 95.0, 22.0 ], + "text" : "setpoint -0.4 0.7" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 329.0, 236.0, 95.0, 22.0 ], + "text" : "setpoint 0.6 0.6" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 402.0, 442.0, 108.0, 22.0 ], + "text" : "-40. 80." + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 226.0, 389.0, 180.0, 22.0 ], + "text" : "vexpr $f1 * 100. @scalarmode 1" + } + + } +, { + "box" : { + "bottomvalue" : -100, + "id" : "obj-14", + "leftvalue" : -100, + "maxclass" : "pictslider", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 226.0, 457.0, 100.0, 100.0 ], + "rightvalue" : 100, + "topvalue" : 100 + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 101.0, 376.0, 101.0, 22.0 ], + "text" : "-0.4 0.8" + } + + } +, { + "box" : { + "filename" : "bird_trajectory.js", + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 226.0, 340.0, 112.0, 22.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0 + } +, + "text" : "v8 bird_trajectory.js", + "textfile" : { + "filename" : "bird_trajectory.js", + "flags" : 0, + "embed" : 0, + "autowatch" : 1 + } + + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "order" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "order" : 1, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "order" : 1, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 1 ], + "order" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 1 ], + "midpoints" : [ 257.5, 238.24444580078125, 218.594482421875, 238.24444580078125, 218.594482421875, 139.1226806640625, 248.5, 139.1226806640625 ], + "source" : [ "obj-21", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 1 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 3 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "bird_trajectory.js", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : "..", + "type" : "TEXT", + "implicit" : 1 + } + ], + "autosave" : 0 + } + +} diff --git a/misc/bird_trajectory_mockup2.maxpat b/misc/bird_trajectory_mockup2.maxpat new file mode 100644 index 0000000..0b7f7cd --- /dev/null +++ b/misc/bird_trajectory_mockup2.maxpat @@ -0,0 +1,683 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 231.0, 161.0, 1086.0, 684.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-32", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 479.0, 356.0, 68.0, 22.0 ], + "presentation_linecount" : 2, + "text" : "print_paths" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 864.5, 392.0, 80.0, 22.0 ], + "text" : "loadmess 25." + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-13", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 864.5, 430.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 290.0, 227.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-7", + "maxclass" : "flonum", + "maximum" : 1.0, + "minimum" : 0.0, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 226.0, 258.0, 59.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 449.0, 213.0, 258.0, 20.0 ], + "presentation_linecount" : 2, + "text" : "berkeley office speaker coordinates (in meters)" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 474.0, 282.0, 159.0, 20.0 ], + "text" : "number of paths to generate" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 403.0, 281.0, 66.0, 22.0 ], + "text" : "generate 4" + } + + } +, { + "box" : { + "id" : "obj-37", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 112.0, 233.0, 45.0, 22.0 ], + "text" : "reseed" + } + + } +, { + "box" : { + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 379.0, 212.0, 58.0, 22.0 ], + "text" : "loadbang" + } + + } +, { + "box" : { + "id" : "obj-33", + "linecount" : 4, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 65.0, 413.0, 108.0, 62.0 ], + "text" : "-1.45999\\,1.49352NaN -0.890016\\,1.49352NaN" + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 710.5, 472.0, 173.0, 22.0 ], + "text" : "vexpr $f1 * $f2 @scalarmode 1" + } + + } +, { + "box" : { + "bottomvalue" : -100, + "id" : "obj-30", + "leftvalue" : -100, + "maxclass" : "pictslider", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 711.0, 511.0, 100.0, 100.0 ], + "rightvalue" : 100, + "topvalue" : 100 + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 511.0, 472.0, 173.0, 22.0 ], + "text" : "vexpr $f1 * $f2 @scalarmode 1" + } + + } +, { + "box" : { + "bottomvalue" : -100, + "id" : "obj-25", + "leftvalue" : -100, + "maxclass" : "pictslider", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 511.0, 511.0, 100.0, 100.0 ], + "rightvalue" : 100, + "topvalue" : 100 + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 311.5, 472.0, 173.0, 22.0 ], + "text" : "vexpr $f1 * $f2 @scalarmode 1" + } + + } +, { + "box" : { + "bottomvalue" : -100, + "id" : "obj-20", + "leftvalue" : -100, + "maxclass" : "pictslider", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 312.0, 511.0, 100.0, 100.0 ], + "rightvalue" : 100, + "topvalue" : 100 + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 6, + "outlettype" : [ "", "", "", "", "", "" ], + "patching_rect" : [ 226.0, 413.0, 332.0, 22.0 ], + "text" : "route 0 1 2 3 4" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 226.0, 376.0, 63.0, 22.0 ], + "text" : "route path" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 379.0, 245.0, 624.0, 22.0 ], + "text" : "setpoints -1.45999 1.49352 -0.890016 1.49352 0.762 1.49352 1.3716 1.49352 -1.77698 -1.46304 1.79222 -1.46304" + } + + } +, { + "box" : { + "id" : "obj-35", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 462.0, 75.0, 29.5, 22.0 ], + "text" : "700" + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 403.0, 75.0, 35.0, 22.0 ], + "text" : "2000" + } + + } +, { + "box" : { + "id" : "obj-31", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 403.0, 109.0, 94.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 327.0, 148.0, 95.0, 22.0 ], + "text" : "pak 0. 0 1. 2000" + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 101.0, 308.0, 50.0, 22.0 ], + "text" : "compile" + } + + } +, { + "box" : { + "id" : "obj-26", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 226.0, 90.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 226.0, 143.0, 32.0, 22.0 ], + "text" : "gate" + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 226.0, 178.0, 120.0, 22.0 ], + "text" : "0. 0 1. 1000" + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 226.0, 212.0, 41.0, 22.0 ], + "text" : "line 0." + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 112.0, 472.0, 173.0, 22.0 ], + "text" : "vexpr $f1 * $f2 @scalarmode 1" + } + + } +, { + "box" : { + "bottomvalue" : -100, + "id" : "obj-14", + "leftvalue" : -100, + "maxclass" : "pictslider", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 112.0, 511.0, 100.0, 100.0 ], + "rightvalue" : 100, + "topvalue" : 100 + } + + } +, { + "box" : { + "filename" : "bird_trajectory2.js", + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 226.0, 340.0, 119.0, 22.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0 + } +, + "text" : "v8 bird_trajectory2.js", + "textfile" : { + "filename" : "bird_trajectory2.js", + "flags" : 0, + "embed" : 0, + "autowatch" : 1 + } + + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 1 ], + "order" : 3, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 1 ], + "order" : 2, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 1 ], + "order" : 1, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 1 ], + "order" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "order" : 1, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-18", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-18", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "source" : [ "obj-18", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 1 ], + "order" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 1 ], + "midpoints" : [ 257.5, 238.24444580078125, 218.594482421875, 238.24444580078125, 218.594482421875, 139.1226806640625, 248.5, 139.1226806640625 ], + "source" : [ "obj-21", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 1 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 3 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-7", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "bird_trajectory2.js", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj/misc", + "patcherrelativepath" : ".", + "type" : "TEXT", + "implicit" : 1 + } + ], + "autosave" : 0 + } + +} diff --git a/misc/noise/brownian_noise~.maxpat b/misc/noise/brownian_noise~.maxpat new file mode 100644 index 0000000..c163f07 --- /dev/null +++ b/misc/noise/brownian_noise~.maxpat @@ -0,0 +1,692 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 109.0, 253.0, 799.0, 527.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 424.0, 110.0, 101.0, 22.0 ], + "text" : "scale~ -1. 1. 0. 1." + } + + } +, { + "box" : { + "channels" : 1, + "id" : "obj-8", + "lastchannelcount" : 0, + "maxclass" : "live.gain~", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "signal", "", "float", "list" ], + "parameter_enable" : 1, + "patching_rect" : [ 530.0, 255.0, 38.0, 121.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_initial" : [ -50 ], + "parameter_initial_enable" : 1, + "parameter_longname" : "live.gain~[2]", + "parameter_mmax" : 6.0, + "parameter_mmin" : -70.0, + "parameter_modmode" : 0, + "parameter_shortname" : "live.gain~", + "parameter_type" : 0, + "parameter_unitstyle" : 4 + } + + } +, + "showname" : 0, + "varname" : "live.gain~[2]" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 530.0, 144.0, 34.0, 22.0 ], + "text" : "*~ 0." + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "spectroscope~", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 577.0, 144.0, 167.0, 60.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "dsp.gen", + "rect" : [ 343.0, 211.0, 374.0, 361.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-9", + "linecount" : 7, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 187.0, 154.0, 150.0, 100.0 ], + "text" : "thanks to graham wakefield\n\n- add the previous sample to the current to integrate and limit the output w/ [fold]" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.0, 217.0, 52.0, 22.0 ], + "text" : "fold -1 1" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 91.0, 165.0, 44.0, 22.0 ], + "text" : "history" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.0, 191.0, 32.5, 22.0 ], + "text" : "+" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.0, 120.0, 65.0, 22.0 ], + "text" : "*" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 123.0, 90.0, 182.0, 22.0 ], + "text" : "param gain 0.1 @min 0 @max 1" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.0, 90.0, 41.0, 22.0 ], + "text" : "pow 3" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.0, 39.0, 37.0, 22.0 ], + "text" : "noise" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 77.0, 279.0, 71.0, 22.0 ], + "text" : "out 1 brown" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "order" : 1, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "midpoints" : [ 86.5, 250.3564453125, 145.0325927734375, 250.3564453125, 145.0325927734375, 159.40838623046875, 100.5, 159.40838623046875 ], + "order" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ], + "bgcolor" : [ 0.219607843137255, 0.219607843137255, 0.219607843137255, 1.0 ], + "editing_bgcolor" : [ 0.356862745098039, 0.356862745098039, 0.356862745098039, 1.0 ] + } +, + "patching_rect" : [ 545.0, 72.0, 90.0, 23.0 ], + "text" : "gen~ @gain 2" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 180.0, 410.0, 35.0, 22.0 ], + "text" : "open" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "spectroscope~", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 132.0, 144.0, 167.0, 60.0 ] + } + + } +, { + "box" : { + "channels" : 1, + "id" : "obj-9", + "lastchannelcount" : 0, + "maxclass" : "live.gain~", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "signal", "", "float", "list" ], + "parameter_enable" : 1, + "patching_rect" : [ 71.0, 255.0, 38.0, 121.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_initial" : [ -50 ], + "parameter_initial_enable" : 1, + "parameter_longname" : "live.gain~[1]", + "parameter_mmax" : 6.0, + "parameter_mmin" : -70.0, + "parameter_modmode" : 0, + "parameter_shortname" : "live.gain~", + "parameter_type" : 0, + "parameter_unitstyle" : 4 + } + + } +, + "showname" : 0, + "varname" : "live.gain~[1]" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "dsp.gen", + "rect" : [ 343.0, 211.0, 374.0, 361.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-9", + "linecount" : 7, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 187.0, 154.0, 150.0, 100.0 ], + "text" : "thanks to graham wakefield\n\n- add the previous sample to the current to integrate and limit the output w/ [fold]" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.0, 217.0, 52.0, 22.0 ], + "text" : "fold -1 1" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 91.0, 165.0, 44.0, 22.0 ], + "text" : "history" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.0, 191.0, 32.5, 22.0 ], + "text" : "+" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.0, 120.0, 65.0, 22.0 ], + "text" : "*" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 123.0, 90.0, 182.0, 22.0 ], + "text" : "param gain 0.1 @min 0 @max 1" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.0, 90.0, 41.0, 22.0 ], + "text" : "pow 3" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.0, 39.0, 37.0, 22.0 ], + "text" : "noise" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 77.0, 279.0, 71.0, 22.0 ], + "text" : "out 1 brown" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "order" : 1, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "midpoints" : [ 86.5, 250.3564453125, 145.0325927734375, 250.3564453125, 145.0325927734375, 159.40838623046875, 100.5, 159.40838623046875 ], + "order" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ], + "bgcolor" : [ 0.219607843137255, 0.219607843137255, 0.219607843137255, 1.0 ], + "editing_bgcolor" : [ 0.356862745098039, 0.356862745098039, 0.356862745098039, 1.0 ] + } +, + "patching_rect" : [ 71.0, 72.0, 108.0, 23.0 ], + "text" : "gen~ @gain 0.07" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 132.0, 224.0, 83.0, 83.0 ] + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 71.0, 389.0, 29.0, 22.0 ], + "text" : "thru" + } + + } +, { + "box" : { + "id" : "obj-12", + "local" : 1, + "maxclass" : "ezdac~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 71.0, 435.0, 44.0, 44.0 ], + "prototypename" : "helpfile" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "order" : 1, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "order" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "order" : 2, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "order" : 3, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "order" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "order" : 1, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "order" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "order" : 1, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ], + "parameters" : { + "obj-8" : [ "live.gain~[2]", "live.gain~", 0 ], + "obj-9" : [ "live.gain~[1]", "live.gain~", 0 ], + "parameterbanks" : { + + } +, + "inherited_shortname" : 1 + } +, + "dependency_cache" : [ { + "name" : "thru.maxpat", + "bootpath" : "C74:/patchers/m4l/Pluggo for Live resources/patches", + "type" : "JSON", + "implicit" : 1 + } + ], + "autosave" : 0 + } + +} diff --git a/misc/noise/green_noise~.maxpat b/misc/noise/green_noise~.maxpat new file mode 100644 index 0000000..434f435 --- /dev/null +++ b/misc/noise/green_noise~.maxpat @@ -0,0 +1,308 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 644.0, 614.0 ], + "gridsize" : [ 15.0, 15.0 ], + "subpatcher_template" : "Untitled5_template", + "boxes" : [ { + "box" : { + "fontsize" : 9.0, + "id" : "obj-8", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 551.0, 231.0, 56.0, 17.0 ], + "text" : "white noise" + } + + } +, { + "box" : { + "fontsize" : 9.0, + "id" : "obj-11", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 444.0, 363.0, 163.0, 27.0 ], + "text" : "green noise\n(informally defined per wikipedia page)", + "textjustification" : 2 + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 73.0, 479.0, 29.0, 22.0 ], + "text" : "thru" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "ezdac~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 73.0, 517.0, 45.0, 45.0 ] + } + + } +, { + "box" : { + "channels" : 1, + "id" : "obj-3", + "lastchannelcount" : 0, + "maxclass" : "live.gain~", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "signal", "", "float", "list" ], + "parameter_enable" : 1, + "patching_rect" : [ 73.0, 322.0, 48.0, 136.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_initial" : [ -70.0 ], + "parameter_initial_enable" : 1, + "parameter_longname" : "live.gain~[1]", + "parameter_mmax" : 6.0, + "parameter_mmin" : -70.0, + "parameter_modmode" : 3, + "parameter_shortname" : "live.gain~", + "parameter_type" : 0, + "parameter_unitstyle" : 4 + } + + } +, + "varname" : "live.gain~[1]" + } + + } +, { + "box" : { + "channels" : 1, + "id" : "obj-1", + "lastchannelcount" : 0, + "maxclass" : "live.gain~", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "signal", "", "float", "list" ], + "parameter_enable" : 1, + "patching_rect" : [ 133.0, 322.0, 48.0, 136.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_initial" : [ -70.0 ], + "parameter_initial_enable" : 1, + "parameter_longname" : "live.gain~", + "parameter_mmax" : 6.0, + "parameter_mmin" : -70.0, + "parameter_modmode" : 3, + "parameter_shortname" : "live.gain~", + "parameter_type" : 0, + "parameter_unitstyle" : 4 + } + + } +, + "varname" : "live.gain~" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 133.0, 29.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "spectroscope~", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 287.0, 363.0, 320.0, 114.0 ] + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 133.0, 221.0, 107.0, 22.0 ], + "text" : "biquad~ bandpass" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-7", + "maxclass" : "filtergraph~", + "nfilters" : 1, + "numinlets" : 8, + "numoutlets" : 7, + "outlettype" : [ "list", "float", "float", "float", "float", "list", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 133.0, 66.0, 256.0, 128.0 ], + "setfilter" : [ 0, 3, 1, 0, 0, 500.0, 1.0, 2.5, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "spectroscope~", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 287.0, 231.0, 320.0, 114.0 ] + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 73.0, 177.0, 44.0, 22.0 ], + "text" : "noise~" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "order" : 2, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "order" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "order" : 1, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "order" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "order" : 1, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "order" : 1, + "source" : [ "obj-9", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "order" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ], + "parameters" : { + "obj-1" : [ "live.gain~", "live.gain~", 0 ], + "obj-3" : [ "live.gain~[1]", "live.gain~", 0 ], + "parameterbanks" : { + "0" : { + "index" : 0, + "name" : "", + "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ] + } + + } +, + "inherited_shortname" : 1 + } +, + "dependency_cache" : [ { + "name" : "thru.maxpat", + "bootpath" : "C74:/patchers/m4l/Pluggo for Live resources/patches", + "type" : "JSON", + "implicit" : 1 + } + ], + "autosave" : 0 + } + +} diff --git a/notes/Schedule your Mac to turn on or off in Terminal - Apple Support.webloc b/notes/Schedule your Mac to turn on or off in Terminal - Apple Support.webloc new file mode 100644 index 0000000..93540bd --- /dev/null +++ b/notes/Schedule your Mac to turn on or off in Terminal - Apple Support.webloc @@ -0,0 +1,8 @@ + + + + + URL + https://support.apple.com/guide/mac-help/schedule-your-mac-to-turn-on-or-off-mchl40376151/mac + + diff --git a/notes/berkeley_office_speaker_mapping.png b/notes/berkeley_office_speaker_mapping.png new file mode 100644 index 0000000..70e19d0 Binary files /dev/null and b/notes/berkeley_office_speaker_mapping.png differ diff --git a/notes/density_note.png b/notes/density_note.png new file mode 100644 index 0000000..7605984 Binary files /dev/null and b/notes/density_note.png differ diff --git a/notes/ka68_setup.png b/notes/ka68_setup.png new file mode 100644 index 0000000..f9c6d3c Binary files /dev/null and b/notes/ka68_setup.png differ diff --git a/notes/paths_idea_abandoned.png b/notes/paths_idea_abandoned.png new file mode 100644 index 0000000..042d31f Binary files /dev/null and b/notes/paths_idea_abandoned.png differ diff --git a/notes/poly_issues_eval/Examples sent to the list.webloc b/notes/poly_issues_eval/Examples sent to the list.webloc new file mode 100644 index 0000000..da07cb2 --- /dev/null +++ b/notes/poly_issues_eval/Examples sent to the list.webloc @@ -0,0 +1,8 @@ + + + + + URL + https://www.xfade.com/max/examples/ + + diff --git a/notes/poly_issues_eval/poly~ problems with note release - MaxMSP Forum | Cycling '74.webloc b/notes/poly_issues_eval/poly~ problems with note release - MaxMSP Forum | Cycling '74.webloc new file mode 100644 index 0000000..73b6411 --- /dev/null +++ b/notes/poly_issues_eval/poly~ problems with note release - MaxMSP Forum | Cycling '74.webloc @@ -0,0 +1,8 @@ + + + + + URL + https://cycling74.com/forums/poly-problems-with-note-release + + diff --git a/notes/qa_01.png b/notes/qa_01.png new file mode 100644 index 0000000..ce25b66 Binary files /dev/null and b/notes/qa_01.png differ diff --git a/notes/qa_02.png b/notes/qa_02.png new file mode 100644 index 0000000..815226c Binary files /dev/null and b/notes/qa_02.png differ diff --git a/notes/rama_info.png b/notes/rama_info.png new file mode 100644 index 0000000..6d9e973 Binary files /dev/null and b/notes/rama_info.png differ diff --git a/old/noisewash_manager.maxpat b/old/noisewash_manager.maxpat new file mode 100644 index 0000000..d3252c4 --- /dev/null +++ b/old/noisewash_manager.maxpat @@ -0,0 +1,430 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 1000.0, 780.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "fontface" : 0, + "id" : "obj-5", + "linecount" : 5, + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 594.0, 655.0, 226.0, 75.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 103, 97, 105, 110, 47, 114, 97, 110, 103, 101, 0, 44, 100, 100, 0, 63, -45, 51, 51, 51, 51, 51, 51, 63, -4, -52, -52, -52, -52, -52, -51, 0, 0, 0, 20, 47, 116, 121, 112, 101, 0, 0, 0, 44, 115, 0, 0, 98, 114, 111, 119, 110, 0, 0, 0, 0, 0, 0, 20, 47, 114, 97, 109, 112, 0, 0, 0, 44, 100, 0, 0, 64, -113, 64, 0, 0, 0, 0, 0, 0, 0, 0, 48, 47, 97, 100, 115, 114, 0, 0, 0, 44, 100, 100, 100, 100, 0, 0, 0, 63, -71, -103, -103, -103, -103, -103, -102, 63, -45, 51, 51, 51, 51, 51, 51, 63, -55, -103, -103, -103, -103, -103, -102, 64, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 47, 100, 117, 114, 97, 116, 105, 111, 110, 47, 115, 101, 99, 0, 0, 0, 44, 100, 0, 0, 64, 8, 0, 0, 0, 0, 0, 0 ], + "saved_bundle_length" : 184, + "text" : "/gain/range : [0.3, 1.8],\n/type : \"brown\",\n/ramp : 1000.,\n/adsr : [0.1, 0.3, 0.2, 3.],\n/duration/sec : 3." + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-2", + "linecount" : 5, + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 336.0, 655.0, 226.0, 75.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 47, 103, 97, 105, 110, 47, 114, 97, 110, 103, 101, 0, 44, 100, 100, 0, 63, -45, 51, 51, 51, 51, 51, 51, 63, -4, -52, -52, -52, -52, -52, -51, 0, 0, 0, 20, 47, 116, 121, 112, 101, 0, 0, 0, 44, 115, 0, 0, 104, 117, 103, 104, 0, 0, 0, 0, 0, 0, 0, 20, 47, 114, 97, 109, 112, 0, 0, 0, 44, 100, 0, 0, 64, -113, 64, 0, 0, 0, 0, 0, 0, 0, 0, 48, 47, 97, 100, 115, 114, 0, 0, 0, 44, 100, 100, 100, 100, 0, 0, 0, 63, -32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 63, -32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 47, 100, 117, 114, 97, 116, 105, 111, 110, 47, 115, 101, 99, 0, 0, 0, 44, 100, 0, 0, 64, 8, 0, 0, 0, 0, 0, 0 ], + "saved_bundle_length" : 184, + "text" : "/gain/range : [0.3, 1.8],\n/type : \"hugh\",\n/ramp : 1000.,\n/adsr : [0.5, 0., 1., 0.5],\n/duration/sec : 3." + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 50.0, 124.0, 79.0, 22.0 ], + "text" : "o.select /stop" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 190.0, 481.0, 170.0, 22.0 ], + "text" : "t l l" + } + + } +, { + "box" : { + "id" : "obj-42", + "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" : [ 59.0, 106.0, 1000.0, 700.0 ], + "gridsize" : [ 15.0, 15.0 ], + "subpatcher_template" : "Untitled5_template", + "boxes" : [ { + "box" : { + "id" : "obj-25", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 50.0, 196.0, 117.0, 22.0 ], + "text" : "o.union" + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 50.0, 165.0, 91.0, 22.0 ], + "text" : "o.pack /rand/int" + } + + } +, { + "box" : { + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 50.0, 100.0, 117.0, 22.0 ], + "text" : "t b l" + } + + } +, { + "box" : { + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 139.0, 59.0, 22.0 ], + "text" : "random 4" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-41", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.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-42", 0 ], + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 1 ], + "source" : [ "obj-30", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "source" : [ "obj-41", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 190.0, 243.0, 82.0, 22.0 ], + "text" : "p o.randomint" + } + + } +, { + "box" : { + "id" : "obj-56", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 190.0, 452.0, 91.0, 22.0 ], + "text" : "o.var" + } + + } +, { + "box" : { + "id" : "obj-57", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 122.0, 510.0, 29.0, 22.0 ], + "text" : "thru" + } + + } +, { + "box" : { + "id" : "obj-58", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 190.0, 192.0, 128.0, 22.0 ], + "text" : "o.cond exists(/density)" + } + + } +, { + "box" : { + "id" : "obj-61", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 190.0, 425.0, 38.0, 22.0 ], + "text" : "del 0." + } + + } +, { + "box" : { + "id" : "obj-63", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "stop" ], + "patching_rect" : [ 50.0, 264.0, 38.0, 22.0 ], + "text" : "t stop" + } + + } +, { + "box" : { + "id" : "obj-66", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 190.0, 396.0, 91.0, 22.0 ], + "text" : "o.route /deltime" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-71", + "linecount" : 7, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 190.0, 269.0, 547.0, 108.0 ], + "text" : "/noises = [\"white\", \"pink\", \"hugh\", \"brown\"],\n/type = /noises[[/rand/int]],\n/ramp = 3000.,\n/adsr = [3., 0., 1., 3.],\n/duration/sec = 40.,\n/rand = /rand/int / 9999.,\n/deltime = scale(/rand, 0., 1., /spacing/range[[1]], /spacing/range[[0]]) * 1000." + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-77", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-78", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 122.0, 634.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-42", 0 ], + "midpoints" : [ 350.5, 479.3968505859375, 623.0751953125, 479.3968505859375, 623.0751953125, 233.0, 199.5, 233.0 ], + "source" : [ "obj-19", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-57", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-71", 0 ], + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-56", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-78", 0 ], + "source" : [ "obj-57", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 0 ], + "source" : [ "obj-58", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "source" : [ "obj-61", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-61", 0 ], + "source" : [ "obj-63", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 1 ], + "source" : [ "obj-66", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-61", 0 ], + "source" : [ "obj-66", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "source" : [ "obj-71", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-77", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-58", 0 ], + "source" : [ "obj-9", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-63", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ] + } + +} diff --git a/sg_logger.maxhelp b/sg_logger.maxhelp new file mode 100644 index 0000000..7f7a269 --- /dev/null +++ b/sg_logger.maxhelp @@ -0,0 +1,271 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 343.0, 332.0, 658.0, 647.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-4", + "maxclass" : "dict.view", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 211.0, 304.0, 308.0, 192.0 ] + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 5, + "outlettype" : [ "dictionary", "", "", "", "" ], + "patching_rect" : [ 211.0, 270.0, 100.0, 22.0 ], + "saved_object_attributes" : { + "embed" : 0, + "legacy" : 1, + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "dict log" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 43.0, 309.0, 68.0, 22.0 ], + "text" : "print ready." + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 43.0, 260.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-9", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 73.0, 31.0, 150.0, 47.0 ], + "text" : "this is included inside of the abstraction for convenience..." + } + + } +, { + "box" : { + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 43.0, 197.0, 61.0, 22.0 ], + "text" : "sg_logger" + } + + } +, { + "box" : { + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 43.0, 159.0, 29.0, 22.0 ], + "text" : "thru" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-25", + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 402.0, 116.0, 173.0, 23.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 47, 116, 121, 112, 101, 0, 0, 0, 44, 115, 0, 0, 115, 101, 113, 117, 101, 110, 99, 101, 114, 32, 111, 102, 102, 0, 0, 0 ], + "saved_bundle_length" : 48, + "text" : "/type : \"sequencer off\"" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-22", + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 405.0, 143.0, 166.0, 23.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 47, 116, 121, 112, 101, 0, 0, 0, 44, 115, 0, 0, 115, 101, 113, 117, 101, 110, 99, 101, 114, 32, 111, 110, 0, 0, 0, 0 ], + "saved_bundle_length" : 48, + "text" : "/type : \"sequencer on\"" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-21", + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 267.0, 116.0, 133.0, 23.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 116, 121, 112, 101, 0, 0, 0, 44, 115, 0, 0, 113, 117, 105, 116, 0, 0, 0, 0 ], + "saved_bundle_length" : 40, + "text" : "/type : \"quit\"" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-20", + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 43.0, 83.0, 133.0, 23.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 116, 121, 112, 101, 0, 0, 0, 44, 115, 0, 0, 115, 116, 97, 114, 116, 117, 112, 0 ], + "saved_bundle_length" : 40, + "text" : "/type : \"startup\"" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "order" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "order" : 1, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-41", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "o.compose.mxo", + "type" : "iLaX" + } +, { + "name" : "o.dict.mxo", + "type" : "iLaX" + } +, { + "name" : "o.expr.codebox.mxo", + "type" : "iLaX" + } +, { + "name" : "o.pack.mxo", + "type" : "iLaX" + } +, { + "name" : "o.select.mxo", + "type" : "iLaX" + } +, { + "name" : "o.union.mxo", + "type" : "iLaX" + } +, { + "name" : "sg_logger.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "thru.maxpat", + "bootpath" : "C74:/patchers/m4l/Pluggo for Live resources/patches", + "type" : "JSON", + "implicit" : 1 + } + ], + "autosave" : 0 + } + +} diff --git a/sg_logger.maxpat b/sg_logger.maxpat new file mode 100644 index 0000000..0c33039 --- /dev/null +++ b/sg_logger.maxpat @@ -0,0 +1,534 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 864.0, 243.0, 957.0, 742.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "writeagain", "" ], + "patching_rect" : [ 185.0, 569.0, 76.0, 22.0 ], + "text" : "t writeagain l" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-8", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 648.0, 622.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 120.0, 543.0, 37.0, 22.0 ], + "text" : "o.dict" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 120.0, 249.0, 139.0, 22.0 ], + "text" : "o.union" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-14", + "linecount" : 2, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 120.0, 438.0, 229.0, 44.0 ], + "text" : "assign(value(/log), /bndl), \ndelete(/log, /bndl)" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 221.0, 382.0, 73.0, 22.0 ], + "text" : "o.pack /bndl" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 120.0, 414.0, 112.0, 22.0 ], + "text" : "o.union" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 120.0, 360.0, 73.0, 22.0 ], + "text" : "o.select /log" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patching_rect" : [ 648.0, 369.0, 32.0, 22.0 ], + "text" : "t b b" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 120.0, 510.0, 469.0, 22.0 ], + "text" : "o.union" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 648.0, 328.0, 34.0, 22.0 ], + "text" : "sel 1" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 612.0, 294.0, 55.0, 22.0 ], + "text" : "zl.slice 1" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 612.0, 261.0, 63.0, 22.0 ], + "text" : "route read" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 5, + "outlettype" : [ "dictionary", "", "", "", "" ], + "patching_rect" : [ 570.0, 219.0, 61.0, 22.0 ], + "saved_object_attributes" : { + "embed" : 0, + "legacy" : 0, + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "dict log" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 570.0, 166.0, 132.0, 22.0 ], + "text" : "loadmess read log.json" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-36", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 180.0, 137.0, 33.0, 23.0 ], + "text" : "time" + } + + } +, { + "box" : { + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "bang", "bang", "", "bang" ], + "patching_rect" : [ 120.0, 95.0, 199.0, 22.0 ], + "text" : "t b b l b" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-15", + "linecount" : 4, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 120.0, 286.0, 401.0, 70.0 ], + "text" : "/date = /mdy[[0]] + \"/\" + /mdy[[1]] + \"/\" + /mdy[[2]], \n/time = /hms[[0]] + \":\" + /hms[[1]] + \":\" + /hms[[2]], \n/log = \"/event/\" + /date + \"-\" + /time, \ndelete(/mdy, /hms)" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 120.0, 215.0, 145.0, 22.0 ], + "text" : "o.pack /mdy /hms /ticks" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "list", "list", "int" ], + "patching_rect" : [ 120.0, 184.0, 145.0, 23.0 ], + "text" : "date" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-10", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 120.0, 137.0, 34.0, 23.0 ], + "text" : "date" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-39", + "index" : 0, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 120.0, 35.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "midpoints" : [ 670.5, 401.0, 704.8858642578125, 401.0, 704.8858642578125, 209.0, 579.5, 209.0 ], + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 1 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-16", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-19", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 1 ], + "source" : [ "obj-29", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-29", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-29", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 1 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-4", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 2 ], + "source" : [ "obj-9", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "source" : [ "obj-9", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "o.dict.mxo", + "type" : "iLaX" + } +, { + "name" : "o.expr.codebox.mxo", + "type" : "iLaX" + } +, { + "name" : "o.pack.mxo", + "type" : "iLaX" + } +, { + "name" : "o.select.mxo", + "type" : "iLaX" + } +, { + "name" : "o.union.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +} diff --git a/vt.density.maxhelp b/vt.density.maxhelp new file mode 100644 index 0000000..421b52c --- /dev/null +++ b/vt.density.maxhelp @@ -0,0 +1,181 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 68.0, 129.0, 631.0, 780.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "fontface" : 0, + "id" : "obj-8", + "linecount" : 4, + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 396.0, 254.0, 213.0, 62.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 110, 117, 109, 102, 105, 108, 101, 115, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, -122, 0, 0, 0, 28, 47, 112, 98, 110, 97, 109, 101, 0, 44, 115, 0, 0, 97, 117, 100, 105, 111, 99, 111, 108, 108, 101, 99, 116, 105, 111, 110, 0, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -39, -103, -103, -103, -103, -103, -102 ], + "saved_bundle_length" : 128, + "text" : "/numfiles : 134,\n/pbname : \"audiocollection\",\n/density : 1.,\n/variety : 0.4" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-7", + "linecount" : 4, + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 344.0, 59.0, 213.0, 62.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 110, 117, 109, 102, 105, 108, 101, 115, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, -122, 0, 0, 0, 28, 47, 112, 98, 110, 97, 109, 101, 0, 44, 115, 0, 0, 97, 117, 100, 105, 111, 99, 111, 108, 108, 101, 99, 116, 105, 111, 110, 0, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -39, -103, -103, -103, -103, -103, -102 ], + "saved_bundle_length" : 128, + "text" : "/numfiles : 134,\n/pbname : \"audiocollection\",\n/density : 0.5,\n/variety : 0.4" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-6", + "linecount" : 4, + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 359.0, 156.0, 213.0, 62.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 110, 117, 109, 102, 105, 108, 101, 115, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, -122, 0, 0, 0, 28, 47, 112, 98, 110, 97, 109, 101, 0, 44, 115, 0, 0, 97, 117, 100, 105, 111, 99, 111, 108, 108, 101, 99, 116, 105, 111, 110, 0, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -39, -103, -103, -103, -103, -103, -102 ], + "saved_bundle_length" : 128, + "text" : "/numfiles : 134,\n/pbname : \"audiocollection\",\n/density : 0.,\n/variety : 0.4" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-4", + "linecount" : 41, + "maxclass" : "o.display", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 85.0, 254.0, 263.0, 545.0 ], + "text" : "/num/voices : 16,\n/voices/1 : {\n /numfiles : 134,\n /pbname : \"audiocollection\",\n /variety : 0.4\n},\n/voices/2 : {\n /numfiles : 134,\n /pbname : \"audiocollection\",\n /variety : 0.4\n},\n/voices/3 : {\n /numfiles : 134,\n /pbname : \"audiocollection\",\n /variety : 0.4\n},\n/voices/4 : {\n /numfiles : 134,\n /pbname : \"audiocollection\",\n /variety : 0.4\n},\n/voices/5 : {\n /numfiles : 134,\n /pbname : \"audiocollection\",\n /variety : 0.4\n},\n/voices/6 : {\n /numfiles : 134,\n /pbname : \"audiocollection\",\n /variety : 0.4\n},\n/voices/7 : {\n /numfiles : 134,\n /pbname : \"audiocollection\",\n /variety : 0.4\n},\n/voices/8 : {\n /numfiles : 134,\n /pbname : \"audiocollection\",\n /variety : 0.4\n}" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-2", + "linecount" : 4, + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 85.0, 43.0, 213.0, 62.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 110, 117, 109, 102, 105, 108, 101, 115, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, -122, 0, 0, 0, 28, 47, 112, 98, 110, 97, 109, 101, 0, 44, 115, 0, 0, 97, 117, 100, 105, 111, 99, 111, 108, 108, 101, 99, 116, 105, 111, 110, 0, 0, 0, 0, 24, 47, 100, 101, 110, 115, 105, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -55, -103, -103, -103, -103, -103, -102, 0, 0, 0, 24, 47, 118, 97, 114, 105, 101, 116, 121, 0, 0, 0, 0, 44, 100, 0, 0, 63, -39, -103, -103, -103, -103, -103, -102 ], + "saved_bundle_length" : 128, + "text" : "/numfiles : 134,\n/pbname : \"audiocollection\",\n/density : 0.2,\n/variety : 0.4" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 85.0, 213.0, 76.0, 22.0 ], + "text" : "vt.density 16" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "o.compose.mxo", + "type" : "iLaX" + } +, { + "name" : "o.display.mxo", + "type" : "iLaX" + } +, { + "name" : "o.expr.codebox.mxo", + "type" : "iLaX" + } +, { + "name" : "o.pack.mxo", + "type" : "iLaX" + } +, { + "name" : "o.route.mxo", + "type" : "iLaX" + } +, { + "name" : "o.select.mxo", + "type" : "iLaX" + } +, { + "name" : "o.union.mxo", + "type" : "iLaX" + } +, { + "name" : "vt.density.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } + ], + "autosave" : 0 + } + +} diff --git a/vt.density.maxpat b/vt.density.maxpat new file mode 100644 index 0000000..277f081 --- /dev/null +++ b/vt.density.maxpat @@ -0,0 +1,323 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 787.0, 161.0, 918.0, 664.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 181.0, 495.0, 29.5, 22.0 ], + "text" : "t l b" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-5", + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 263.0, 512.0, 113.0, 23.0 ], + "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 118, 111, 105, 99, 101, 115, 47, 42, 47, 115, 116, 111, 112, 0, 0, 44, 0, 0, 0 ], + "saved_bundle_length" : 40, + "text" : "/voices/*/stop" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "FullPacket" ], + "patching_rect" : [ 37.0, 83.0, 104.0, 22.0 ], + "text" : "o.route /last /clear" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 174.0, 319.0, 117.0, 22.0 ], + "text" : "o.union" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 205.0, 179.0, 95.0, 22.0 ], + "text" : "o.select /density" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 332.0, 262.0, 73.0, 22.0 ], + "text" : "o.pack /bndl" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-11", + "linecount" : 7, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 179.0, 355.0, 361.0, 108.0 ], + "text" : "/idx = aseq(0, int32(/density * (/num/voices - 1))), \nmap(\n lambda([i], \n assign(\"/voices/\" + i, /bndl)\n ), /idx + 1\n), \ndelete(/bndl, /idx, /density)" + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 576.0, 126.0, 111.0, 22.0 ], + "text" : "o.pack /num/voices" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 567.0, 63.0, 150.0, 20.0 ], + "text" : "arg1: number of voices" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 576.0, 90.0, 111.0, 22.0 ], + "text" : "loadmess #1" + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 127.666666666666686, 179.0, 35.0, 22.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 174.0, 239.0, 117.0, 22.0 ], + "text" : "o.union" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 193.0, 586.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 0, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 37.0, 25.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 1 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-18", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "source" : [ "obj-8", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "o.compose.mxo", + "type" : "iLaX" + } +, { + "name" : "o.expr.codebox.mxo", + "type" : "iLaX" + } +, { + "name" : "o.pack.mxo", + "type" : "iLaX" + } +, { + "name" : "o.route.mxo", + "type" : "iLaX" + } +, { + "name" : "o.select.mxo", + "type" : "iLaX" + } +, { + "name" : "o.union.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +}