From: equilet <2237372+equilet@users.noreply.github.com> Date: Wed, 7 May 2025 09:13:33 +0000 (-0700) Subject: updated to use vt.density as a voice management system X-Git-Tag: v0.1~215 X-Git-Url: https://git.dabkitsch.com/?a=commitdiff_plain;h=809dda1b0e3306dea79386d8928bde817737758e;p=sonogarden_maxproj.git updated to use vt.density as a voice management system --- diff --git a/engine_zone~.maxpat b/engine_zone~.maxpat index 20c5c02..b97d95e 100644 --- a/engine_zone~.maxpat +++ b/engine_zone~.maxpat @@ -10,18 +10,101 @@ } , "classnamespace" : "box", - "rect" : [ 60.0, 104.0, 1193.0, 779.0 ], + "rect" : [ 104.0, 163.0, 1069.0, 883.0 ], "openinpresentation" : 1, "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 111.5, 745.0, 22.0, 22.0 ] + } + + } +, { + "box" : { + "fontsize" : 11.0, + "id" : "obj-47", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 538.0, 599.0, 139.0, 19.0 ], + "presentation" : 1, + "presentation_rect" : [ 114.0, 49.0, 26.0, 19.0 ], + "text" : "aux", + "textcolor" : [ 0.850980392156863, 0.850980392156863, 0.850980392156863, 0.31 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 413.0, 326.0, 128.0, 22.0 ], + "text" : "loadmess channels #3" + } + + } +, { + "box" : { + "id" : "obj-26", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 736.0, 405.0, 150.0, 47.0 ], + "text" : "this now needs to be initiated from the main patch", + "textcolor" : [ 0.76078431372549, 0.490196078431373, 0.490196078431373, 1.0 ] + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-20", + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 713.0, 379.0, 186.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, 116, 114, 97, 106, 103, 114, 111, 117, 112, 47, 115, 111, 117, 114, 99, 101, 47, 42, 47, 115, 116, 97, 114, 116, 0, 0, 0, 44, 0, 0, 0 ], + "saved_bundle_length" : 52, + "text" : "/trajgroup/source/*/start" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-9", + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 524.5, 379.0, 179.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, 116, 114, 97, 106, 103, 114, 111, 117, 112, 47, 115, 111, 117, 114, 99, 101, 47, 42, 47, 115, 116, 111, 112, 0, 0, 0, 0, 44, 0, 0, 0 ], + "saved_bundle_length" : 52, + "text" : "/trajgroup/source/*/stop" + } + + } +, { "box" : { "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "FullPacket" ], - "patching_rect" : [ 265.0, 219.5, 87.0, 22.0 ], + "patching_rect" : [ 286.0, 223.0, 87.0, 22.0 ], "text" : "o.route /voices" } @@ -29,12 +112,12 @@ , { "box" : { "id" : "obj-7", - "linecount" : 3, + "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 425.0, 53.0, 221.0, 47.0 ], - "text" : "arg1: aux destination \narg2: patchername to load (voice patch)\narg3: number of voices" + "patching_rect" : [ 446.0, 56.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" } } @@ -45,7 +128,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "bang", "" ], - "patching_rect" : [ 421.0, 174.0, 34.0, 22.0 ], + "patching_rect" : [ 442.0, 177.0, 34.0, 22.0 ], "text" : "sel 0" } @@ -57,7 +140,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 421.0, 148.0, 170.0, 22.0 ], + "patching_rect" : [ 442.0, 151.0, 170.0, 22.0 ], "text" : "loadmess #2" } @@ -69,7 +152,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 436.0, 199.0, 126.0, 22.0 ], + "patching_rect" : [ 457.0, 202.0, 126.0, 22.0 ], "text" : "prepend patchername" } @@ -130,8 +213,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 160.0, 165.5, 174.0, 22.0 ], - "text" : "engine_voice.roundrobin #3" + "patching_rect" : [ 181.0, 165.5, 76.0, 22.0 ], + "text" : "vt.density #3" } } @@ -219,7 +302,7 @@ ] } , - "patching_rect" : [ 265.0, 149.0, 119.0, 21.0 ], + "patching_rect" : [ 286.0, 152.0, 119.0, 21.0 ], "text" : "p note_management" } @@ -359,7 +442,7 @@ ] } , - "patching_rect" : [ 48.0, 220.0, 49.0, 21.0 ], + "patching_rect" : [ 69.0, 223.0, 49.0, 21.0 ], "text" : "p query" } @@ -371,7 +454,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 521.0, 261.0, 54.0, 22.0 ], + "patching_rect" : [ 542.0, 264.0, 54.0, 22.0 ], "text" : "route list" } @@ -385,7 +468,7 @@ "numoutlets" : 2, "outlettype" : [ "", "" ], "parameter_enable" : 0, - "patching_rect" : [ 521.0, 292.0, 144.0, 20.0 ], + "patching_rect" : [ 542.0, 295.0, 144.0, 20.0 ], "setminmax" : [ 0.0, 1.0 ], "settype" : 0, "size" : 24, @@ -401,20 +484,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 596.0, 742.0, 23.0, 23.0 ] - } - - } -, { - "box" : { - "fontsize" : 11.0, - "id" : "obj-34", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 393.0, 601.0, 113.0, 21.0 ], - "text" : "o.pack /engine/gain" + "patching_rect" : [ 617.0, 745.0, 23.0, 23.0 ] } } @@ -426,7 +496,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 555.0, 685.0, 96.0, 21.0 ], + "patching_rect" : [ 576.0, 688.0, 96.0, 21.0 ], "text" : "o.pack /aux/gain" } @@ -439,7 +509,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 71.0, 479.0, 105.0, 21.0 ], + "patching_rect" : [ 244.0, 467.0, 105.0, 21.0 ], "text" : "o.pack /voice/gain" } @@ -448,7 +518,7 @@ "box" : { "id" : "obj-50", "maxclass" : "newobj", - "numinlets" : 0, + "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], "patcher" : { @@ -462,135 +532,67 @@ } , "classnamespace" : "box", - "rect" : [ 791.0, 232.0, 520.0, 379.0 ], + "rect" : [ 652.0, 90.0, 942.0, 912.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { "box" : { - "fontface" : 0, - "id" : "obj-5", - "maxclass" : "o.compose", + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 54.0, 248.0, 29.5, 22.0 ], + "text" : "t l b" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 197.0, 292.0, 45.0, 22.0 ], + "text" : "/ 9999." + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 165.04854142665863, 152.427182376384735, 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, 111, 117, 114, 99, 101, 47, 42, 47, 115, 116, 111, 112, 0, 0, 44, 0, 0, 0 ], - "saved_bundle_length" : 40, - "text" : "/source/*/stop" + "patching_rect" : [ 197.0, 261.0, 86.0, 22.0 ], + "text" : "random 10000" } } , { "box" : { - "id" : "obj-1", + "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 30.09708696603775, 99.99999862909317, 316.087374567985535, 22.0 ], - "text" : "t i i" + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 590.0, 698.0, 100.0, 22.0 ], + "text" : "o.route /trajgroup" } } , { "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 1, + "comment" : "", + "id" : "obj-2", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 169.0, 327.0, 448.0, 494.0 ], - "gridsize" : [ 15.0, 15.0 ], - "subpatcher_template" : "Untitled5_template", - "boxes" : [ { - "box" : { - "comment" : "", - "id" : "obj-1", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 54.0, 25.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "fontface" : 0, - "id" : "obj-11", - "linecount" : 8, - "maxclass" : "o.expr.codebox", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 54.0, 106.0, 208.0, 121.0 ], - "text" : "/speakers/xy = [\n -1.45999, 1.49352, \n -0.890016, 1.49352, \n 0.762, 1.49352, \n 1.3716, 1.49352, \n -1.77698, -1.46304, \n 1.79222, -1.46304\n]" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 54.0, 77.0, 131.0, 22.0 ], - "text" : "o.pack /source/number" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-7", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 54.0, 282.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-2", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 327.184461534023285, 218.446598947048187, 115.0, 22.0 ], - "text" : "p speaker_locations" + "outlettype" : [ "" ], + "patching_rect" : [ 590.0, 39.0, 30.0, 30.0 ] } } @@ -602,7 +604,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 30.09708696603775, 279.61164665222168, 22.0, 22.0 ] + "patching_rect" : [ 54.0, 805.0, 22.0, 22.0 ] } } @@ -613,212 +615,134 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 30.09708696603775, 35.922329604625702, 103.0, 22.0 ], - "text" : "loadmess #3 " + "patching_rect" : [ 54.0, 200.0, 121.0, 22.0 ], + "text" : "loadmess #3 #4" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 54.0, 744.0, 283.0, 22.0 ], + "text" : "poly~ spat_trajectory_group @voices #3 @target 0" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 54.0, 292.0, 67.0, 22.0 ], + "text" : "unpack 0 0" } } , { "box" : { - "id" : "obj-52", + "id" : "obj-6", "maxclass" : "newobj", "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 54.0, 367.0, 69.0, 22.0 ], + "text" : "t l b" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "FullPacket" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 0, - "revision" : 6, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 1299.0, 284.0, 586.0, 441.0 ], - "gridsize" : [ 15.0, 15.0 ], - "subpatcher_template" : "Untitled5_template", - "boxes" : [ { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "bang" ], - "patching_rect" : [ 79.0, 77.0, 69.0, 22.0 ], - "text" : "t l b" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 79.0, 173.0, 69.0, 22.0 ], - "text" : "o.union" - } - - } -, { - "box" : { - "fontface" : 0, - "id" : "obj-2", - "linecount" : 4, - "maxclass" : "o.compose", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 129.0, 103.0, 153.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, 115, 108, 111, 119, 101, 115, 116, 0, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 5, 0, 0, 0, 28, 47, 114, 97, 116, 101, 47, 115, 112, 114, 101, 97, 100, 0, 0, 0, 0, 44, 100, 0, 0, 64, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 115, 111, 117, 114, 99, 101, 47, 42, 47, 114, 97, 116, 101, 0, 0, 44, 105, 0, 0, 0, 0, 0, 20, 0, 0, 0, 20, 47, 115, 111, 117, 114, 99, 101, 47, 42, 47, 115, 116, 97, 114, 116, 0, 44, 0, 0, 0 ], - "saved_bundle_length" : 124, - "text" : "/slowest : 5,\n/rate/spread : 20.,\n/source/*/rate : 20,\n/source/*/start" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 79.0, 45.0, 116.0, 22.0 ], - "text" : "o.pack /numsources" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-9", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 79.0, 14.0, 21.0, 21.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-1", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 79.0, 407.0, 21.0, 21.0 ] - } - - } -, { - "box" : { - "fontface" : 0, - "id" : "obj-3", - "linecount" : 14, - "maxclass" : "o.expr.codebox", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "FullPacket", "FullPacket" ], - "patching_rect" : [ 79.0, 201.0, 448.0, 198.0 ], - "text" : "/idx = aseq(0, /numsources - 1), \n/scaled = (/idx * (1. / (/numsources - 1))) * /rate/spread, \n/rates = /slowest + /scaled,\nmap(\n lambda([i,v,f], \n progn(\n assign(\"/source/\" + i + \"/speed\", v),\n assign(\"/source/\" + i + \"/radius\", f)\n )\n ), \n /idx + 1, /rates, (/idx + 1) * 0.1\n), \ndelete(/rate/spread, /numsources),\ndelete(/slowest, /idx, /scaled, /rates)" - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-5", 1 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-5", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-6", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-9", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 30.09708696603775, 152.427182376384735, 121.0, 22.0 ], - "text" : "p spat_oper_defaults" + "patching_rect" : [ 54.0, 453.0, 69.0, 22.0 ], + "text" : "o.union" } } , { "box" : { - "id" : "obj-17", + "fontface" : 0, + "id" : "obj-1", + "linecount" : 3, + "maxclass" : "o.compose", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 104.0, 398.0, 153.0, 49.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, 108, 111, 119, 101, 115, 116, 0, 0, 0, 0, 44, 105, 0, 0, 0, 0, 0, 5, 0, 0, 0, 28, 47, 114, 97, 116, 101, 47, 115, 112, 114, 101, 97, 100, 0, 0, 0, 0, 44, 100, 0, 0, 64, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 47, 115, 111, 117, 114, 99, 101, 47, 42, 47, 114, 97, 116, 101, 0, 0, 44, 105, 0, 0, 0, 0, 0, 20 ], + "saved_bundle_length" : 100, + "text" : "/slowest : 5,\n/rate/spread : 20.,\n/source/*/rate : 20" + } + + } +, { + "box" : { + "id" : "obj-8", "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 54.0, 326.0, 162.0, 22.0 ], + "text" : "o.pack /numsources /offset /r" + } + + } +, { + "box" : { + "fontface" : 0, + "id" : "obj-12", + "linecount" : 14, + "maxclass" : "o.expr.codebox", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 30.09708696603775, 218.446598947048187, 283.0, 22.0 ], - "text" : "poly~ spat_trajectory_group @voices #3 @target 0" + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 54.0, 495.0, 448.0, 198.0 ], + "text" : "/idx = aseq(1, /numsources), \n/scaled = (/idx * (1. / (/numsources - 1))) * /rate/spread, \n/rates = /slowest + /scaled,\nmap(\n lambda([i,v,f], \n progn(\n assign(\"/source/\" + i + \"/speed\", v + /r),\n assign(\"/source/\" + i + \"/radius\", f)\n )\n ), \n /idx + /offset, /rates, /idx * 0.1\n), \ndelete(/rate/spread, /numsources),\ndelete(/slowest, /idx, /scaled, /rates)" } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-52", 0 ], + "destination" : [ "obj-5", 1 ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-1", 1 ] + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-10", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-10", 0 ] + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "source" : [ "obj-16", 0 ] } } @@ -828,32 +752,88 @@ "source" : [ "obj-17", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-24", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-3", 1 ] + } + } , { "patchline" : { "destination" : [ "obj-17", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], "source" : [ "obj-5", 0 ] } } , { "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-52", 0 ] + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-6", 1 ] } } , { "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-9", 0 ] + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-8", 0 ] } } ] } , - "patching_rect" : [ 492.0, 372.0, 108.0, 22.0 ], + "patching_rect" : [ 453.0, 433.0, 108.0, 22.0 ], "text" : "p spat_oper_setup" } @@ -866,8 +846,8 @@ "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "multichannelsignal", "", "" ], - "patching_rect" : [ 48.0, 284.0, 441.0, 21.0 ], - "text" : "mc.poly~ engine_voice.dummy~ @voices #3 @steal 1 @args #1 @target 0" + "patching_rect" : [ 69.0, 287.0, 451.0, 21.0 ], + "text" : "mc.poly~ engine_voice.dummy~ @voices #3 @args #1 @target 0" } } @@ -880,32 +860,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 510.0, 742.0, 22.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 6, - "outlettype" : [ "signal", "signal", "signal", "signal", "signal", "signal" ], - "patching_rect" : [ 48.0, 706.0, 249.0, 22.0 ], - "text" : "mc.unpack~ 6" - } - - } -, { - "box" : { - "fontsize" : 11.0, - "id" : "obj-13", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "FullPacket" ], - "patching_rect" : [ 350.0, 372.0, 127.0, 21.0 ], - "text" : "o.route /spatializer /oper" + "patching_rect" : [ 531.0, 745.0, 22.0, 22.0 ] } } @@ -917,7 +872,7 @@ "numinlets" : 3, "numoutlets" : 2, "outlettype" : [ "", "bang" ], - "patching_rect" : [ 158.0, 149.0, 40.0, 21.0 ], + "patching_rect" : [ 179.0, 152.0, 40.0, 21.0 ], "text" : "line 0." } @@ -930,7 +885,7 @@ "numinlets" : 3, "numoutlets" : 2, "outlettype" : [ "", "bang" ], - "patching_rect" : [ 103.0, 149.0, 41.0, 21.0 ], + "patching_rect" : [ 124.0, 152.0, 41.0, 21.0 ], "text" : "line 0." } @@ -943,86 +898,10 @@ "numinlets" : 3, "numoutlets" : 2, "outlettype" : [ "", "bang" ], - "patching_rect" : [ 49.0, 149.0, 41.0, 21.0 ], + "patching_rect" : [ 70.0, 152.0, 41.0, 21.0 ], "text" : "line 0." } - } -, { - "box" : { - "fontsize" : 11.0, - "id" : "obj-47", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 128.0, 319.0, 139.0, 19.0 ], - "presentation" : 1, - "presentation_rect" : [ 139.0, 83.25, 70.0, 19.0 ], - "text" : "aux audio", - "textcolor" : [ 0.850980392156863, 0.850980392156863, 0.850980392156863, 0.31 ], - "textjustification" : 1 - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-42", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 278.0, 742.0, 22.0, 22.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-41", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 232.0, 742.0, 22.0, 22.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-39", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 186.0, 742.0, 22.0, 22.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-38", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 140.0, 742.0, 22.0, 22.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-37", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 94.0, 742.0, 22.0, 22.0 ] - } - } , { "box" : { @@ -1032,7 +911,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 48.0, 742.0, 22.0, 22.0 ] + "patching_rect" : [ 69.0, 745.0, 22.0, 22.0 ] } } @@ -1044,7 +923,7 @@ "numinlets" : 1, "numoutlets" : 5, "outlettype" : [ "", "", "", "", "FullPacket" ], - "patching_rect" : [ 48.0, 112.0, 236.0, 21.0 ], + "patching_rect" : [ 69.0, 115.0, 236.0, 21.0 ], "text" : "o.route /aux/gain /voice/gain /engine/gain /spat" } @@ -1058,20 +937,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 48.0, -1.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "spectroscope~", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 550.0, 597.0, 300.0, 47.0 ], - "presentation" : 1, - "presentation_rect" : [ 3.25, 70.75, 340.0, 45.0 ] + "patching_rect" : [ 69.0, 36.0, 30.0, 30.0 ] } } @@ -1084,9 +950,9 @@ "numoutlets" : 2, "outlettype" : [ "signal", "" ], "parameter_enable" : 0, - "patching_rect" : [ 510.0, 639.0, 23.0, 84.0 ], + "patching_rect" : [ 531.0, 642.0, 23.0, 84.0 ], "presentation" : 1, - "presentation_rect" : [ 345.0, 71.25, 22.0, 43.75 ] + "presentation_rect" : [ 116.0, 4.0, 22.0, 43.75 ] } } @@ -1098,31 +964,30 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 510.0, 566.0, 153.0, 21.0 ], + "patching_rect" : [ 531.0, 569.0, 153.0, 21.0 ], "text" : "receive~ #1" } } , { "box" : { - "channels" : 24, "id" : "obj-60", - "lastchannelcount" : 24, + "lastchannelcount" : 1, "maxclass" : "mc.live.gain~", "numinlets" : 1, "numoutlets" : 4, "outlettype" : [ "multichannelsignal", "", "float", "list" ], "parameter_enable" : 1, - "patching_rect" : [ 101.0, 343.0, 193.0, 119.0 ], + "patching_rect" : [ 69.0, 355.0, 107.0, 106.0 ], "presentation" : 1, - "presentation_rect" : [ 4.0, 4.0, 164.0, 66.0 ], + "presentation_rect" : [ 4.0, 2.0, 106.0, 66.0 ], "saved_attribute_attributes" : { "valueof" : { - "parameter_longname" : "engine_voices", + "parameter_longname" : "poly_voices", "parameter_mmax" : 6.0, "parameter_mmin" : -70.0, "parameter_modmode" : 3, - "parameter_shortname" : "engine_voices", + "parameter_shortname" : "poly_voices", "parameter_type" : 0, "parameter_unitstyle" : 4 } @@ -1132,100 +997,14 @@ "varname" : "engine_voices" } - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "gain~", - "multichannelvariant" : 1, - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "multichannelsignal", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 48.0, 339.0, 42.0, 129.0 ], - "presentation" : 1, - "presentation_rect" : [ 172.25, 11.125, 22.0, 51.75 ] - } - - } -, { - "box" : { - "channels" : 6, - "id" : "obj-67", - "lastchannelcount" : 6, - "maxclass" : "mc.live.gain~", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "multichannelsignal", "", "float", "list" ], - "parameter_enable" : 1, - "patching_rect" : [ 48.0, 566.0, 315.0, 125.0 ], - "presentation" : 1, - "presentation_rect" : [ 281.0, 2.0, 86.0, 68.0 ], - "saved_attribute_attributes" : { - "valueof" : { - "parameter_longname" : "zone_gain", - "parameter_mmax" : 6.0, - "parameter_mmin" : -70.0, - "parameter_modmode" : 3, - "parameter_shortname" : "zone_gain", - "parameter_type" : 0, - "parameter_unitstyle" : 4 - } - - } -, - "varname" : "live.gain~" - } - - } -, { - "box" : { - "fontsize" : 11.0, - "id" : "obj-44", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "multichannelsignal", "" ], - "patching_rect" : [ 48.0, 515.0, 524.0, 21.0 ], - "saved_object_attributes" : { - "parameter_enable" : 0 - } -, - "text" : "spat5.spat~ @inputs #3 @mode mono @mc 1 @outputs 6 @internals 8 @initwith \"/panning/type angular\"" - } - - } -, { - "box" : { - "fontsize" : 11.0, - "id" : "obj-43", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 432.0, 471.0, 276.0, 21.0 ], - "saved_object_attributes" : { - "parameter_enable" : 0 - } -, - "text" : "spat5.oper @internals 8 @initwith \"/speaker/number 6\"" - } - } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-4", 0 ], + "destination" : [ "obj-60", 0 ], "source" : [ "obj-10", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-67", 0 ], - "source" : [ "obj-11", 0 ] - } - } , { "patchline" : { @@ -1233,20 +1012,6 @@ "source" : [ "obj-12", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-43", 0 ], - "source" : [ "obj-13", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-44", 0 ], - "source" : [ "obj-13", 0 ] - } - } , { "patchline" : { @@ -1254,48 +1019,6 @@ "source" : [ "obj-14", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-15", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-38", 0 ], - "source" : [ "obj-15", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-39", 0 ], - "source" : [ "obj-15", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-41", 0 ], - "source" : [ "obj-15", 4 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-42", 0 ], - "source" : [ "obj-15", 5 ] - } - } , { "patchline" : { @@ -1324,14 +1047,6 @@ "source" : [ "obj-2", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "order" : 1, - "source" : [ "obj-23", 0 ] - } - } , { "patchline" : { @@ -1343,7 +1058,6 @@ , { "patchline" : { "destination" : [ "obj-60", 0 ], - "order" : 0, "source" : [ "obj-23", 0 ] } @@ -1357,22 +1071,22 @@ } , { "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-29", 1 ] + "destination" : [ "obj-60", 0 ], + "source" : [ "obj-27", 0 ] } } , { "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-29", 2 ] + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-29", 1 ] } } , { "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-29", 3 ] + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-29", 2 ] } } @@ -1385,50 +1099,22 @@ } , { "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-29", 0 ] + "destination" : [ "obj-50", 0 ], + "source" : [ "obj-29", 3 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-33", 0 ] + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-29", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], - "source" : [ "obj-34", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-4", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-44", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-44", 0 ], - "source" : [ "obj-43", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-67", 0 ], - "source" : [ "obj-44", 0 ] + "source" : [ "obj-33", 0 ] } } @@ -1445,26 +1131,17 @@ "source" : [ "obj-48", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-43", 0 ], - "source" : [ "obj-50", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-1", 0 ], - "order" : 0, - "source" : [ "obj-53", 0 ] + "source" : [ "obj-50", 0 ] } } , { "patchline" : { "destination" : [ "obj-55", 0 ], - "order" : 1, "source" : [ "obj-53", 0 ] } @@ -1485,15 +1162,15 @@ } , { "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-67", 0 ] + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-60", 1 ] } } , { "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-67", 1 ] + "destination" : [ "obj-36", 0 ], + "source" : [ "obj-60", 0 ] } } @@ -1503,11 +1180,17 @@ "source" : [ "obj-8", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "source" : [ "obj-9", 0 ] + } + } ], "parameters" : { - "obj-60" : [ "engine_voices", "engine_voices", 0 ], - "obj-67" : [ "zone_gain", "zone_gain", 0 ], + "obj-60" : [ "poly_voices", "poly_voices", 0 ], "parameterbanks" : { "0" : { "index" : 0, @@ -1527,13 +1210,6 @@ "type" : "JSON", "implicit" : 1 } -, { - "name" : "engine_voice.roundrobin.maxpat", - "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", - "patcherrelativepath" : ".", - "type" : "JSON", - "implicit" : 1 - } , { "name" : "o.compose.mxo", "type" : "iLaX" @@ -1555,21 +1231,17 @@ "type" : "iLaX" } , { - "name" : "o.union.mxo", + "name" : "o.select.mxo", "type" : "iLaX" } , { - "name" : "spat5.oper.mxo", + "name" : "o.union.mxo", "type" : "iLaX" } , { "name" : "spat5.osc.prepend.mxo", "type" : "iLaX" } -, { - "name" : "spat5.spat~.mxo", - "type" : "iLaX" - } , { "name" : "spat5.trajectories.mxo", "type" : "iLaX" @@ -1581,6 +1253,13 @@ "type" : "JSON", "implicit" : 1 } +, { + "name" : "vt.density.maxpat", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } ], "autosave" : 0 }