--- /dev/null
+{
+ "patcher" : {
+ "fileversion" : 1,
+ "appversion" : {
+ "major" : 9,
+ "minor" : 0,
+ "revision" : 6,
+ "architecture" : "x64",
+ "modernui" : 1
+ }
+,
+ "classnamespace" : "box",
+ "rect" : [ 365.0, 115.0, 672.0, 412.0 ],
+ "default_fontsize" : 11.595186999999999,
+ "gridsize" : [ 15.0, 15.0 ],
+ "boxes" : [ {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-2",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 0,
+ "patching_rect" : [ 227.0, 382.0, 37.0, 23.0 ],
+ "saved_object_attributes" : {
+ "attr_comment" : ""
+ }
+,
+ "text" : "out 1"
+ }
+
+ }
+, {
+ "box" : {
+ "bubble" : 1,
+ "bubbleside" : 0,
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-28",
+ "linecount" : 3,
+ "maxclass" : "comment",
+ "numinlets" : 1,
+ "numoutlets" : 0,
+ "patching_rect" : [ 136.0, 220.0, 152.0, 69.0 ],
+ "text" : "trigger signal gets new voice parameters when output gain is 0."
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-23",
+ "linecount" : 3,
+ "maxclass" : "comment",
+ "numinlets" : 1,
+ "numoutlets" : 0,
+ "patching_rect" : [ 184.0, 51.0, 81.0, 50.0 ],
+ "text" : "Scale MIDI velocities to 0.-1.",
+ "textcolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ]
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-19",
+ "linecount" : 3,
+ "maxclass" : "comment",
+ "numinlets" : 1,
+ "numoutlets" : 0,
+ "patching_rect" : [ 35.0, 161.0, 161.25, 50.0 ],
+ "text" : "sah~ passes the new frequency when adsr~ signals a new envelope",
+ "textcolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ]
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-1",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 2,
+ "outlettype" : [ "int", "int" ],
+ "patching_rect" : [ 17.0, 60.0, 73.0, 23.0 ],
+ "text" : "swap"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-3",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "float" ],
+ "patching_rect" : [ 184.0, 109.0, 43.0, 23.0 ],
+ "text" : "/ 127."
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-4",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 3,
+ "outlettype" : [ "int", "int", "int" ],
+ "patching_rect" : [ 583.5, 314.0, 60.0, 23.0 ],
+ "text" : "thispoly~"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-5",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 2,
+ "outlettype" : [ "int", "int" ],
+ "patching_rect" : [ 17.0, 36.0, 75.0, 23.0 ],
+ "text" : "unpack 0 0"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-7",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "signal" ],
+ "patching_rect" : [ 17.0, 357.0, 35.0, 23.0 ],
+ "text" : "*~"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-8",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "signal" ],
+ "patching_rect" : [ 17.0, 227.0, 62.0, 23.0 ],
+ "text" : "sah~ 0.5"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-9",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "signal" ],
+ "patching_rect" : [ 17.0, 132.0, 36.0, 23.0 ],
+ "text" : "sig~"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-10",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 17.0, 105.0, 37.0, 23.0 ],
+ "text" : "mtof"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-11",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 17.0, 12.0, 32.0, 23.0 ],
+ "text" : "in 1"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-12",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 416.0, 146.0, 29.0, 23.0 ],
+ "text" : "in 6"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-13",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 387.25, 122.0, 29.0, 23.0 ],
+ "text" : "in 5"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-14",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 356.5, 97.0, 29.0, 23.0 ],
+ "text" : "in 4"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-15",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 326.75, 74.0, 29.0, 23.0 ],
+ "text" : "in 3"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-16",
+ "maxclass" : "newobj",
+ "numinlets" : 5,
+ "numoutlets" : 4,
+ "outlettype" : [ "signal", "signal", "", "" ],
+ "patching_rect" : [ 299.0, 179.0, 135.0, 23.0 ],
+ "text" : "adsr~ 2. 100. 0.6 300."
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-17",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 0,
+ "patching_rect" : [ 17.0, 382.0, 48.0, 23.0 ],
+ "text" : "out~ 1"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-18",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 299.0, 51.0, 29.0, 23.0 ],
+ "text" : "in 2"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-22",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "signal" ],
+ "patching_rect" : [ 17.0, 314.0, 45.0, 23.0 ],
+ "text" : "*~ 0.5"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-25",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "signal" ],
+ "patching_rect" : [ 66.0, 261.0, 53.0, 23.0 ],
+ "text" : "*~ 0.75"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-26",
+ "maxclass" : "newobj",
+ "numinlets" : 3,
+ "numoutlets" : 1,
+ "outlettype" : [ "signal" ],
+ "patching_rect" : [ 66.0, 284.0, 50.0, 23.0 ],
+ "text" : "rect~"
+ }
+
+ }
+, {
+ "box" : {
+ "fontname" : "Arial",
+ "fontsize" : 13.0,
+ "id" : "obj-27",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "signal" ],
+ "patching_rect" : [ 17.0, 271.0, 42.0, 23.0 ],
+ "text" : "saw~"
+ }
+
+ }
+ ],
+ "lines" : [ {
+ "patchline" : {
+ "destination" : [ "obj-10", 0 ],
+ "source" : [ "obj-1", 1 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-3", 0 ],
+ "source" : [ "obj-1", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-9", 0 ],
+ "source" : [ "obj-10", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-5", 0 ],
+ "source" : [ "obj-11", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-16", 4 ],
+ "source" : [ "obj-12", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-16", 3 ],
+ "source" : [ "obj-13", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-16", 2 ],
+ "source" : [ "obj-14", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-16", 1 ],
+ "source" : [ "obj-15", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-4", 0 ],
+ "midpoints" : [ 385.833333333333314, 252.0, 593.0, 252.0 ],
+ "source" : [ "obj-16", 2 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-4", 0 ],
+ "midpoints" : [ 308.5, 279.0, 593.0, 279.0 ],
+ "order" : 0,
+ "source" : [ "obj-16", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-7", 1 ],
+ "midpoints" : [ 308.5, 346.0, 42.5, 346.0 ],
+ "order" : 1,
+ "source" : [ "obj-16", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "color" : [ 1.0, 0.890196, 0.090196, 1.0 ],
+ "destination" : [ "obj-8", 1 ],
+ "midpoints" : [ 347.166666666666686, 218.0, 69.5, 218.0 ],
+ "source" : [ "obj-16", 1 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-16", 0 ],
+ "source" : [ "obj-18", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-7", 0 ],
+ "source" : [ "obj-22", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-26", 0 ],
+ "source" : [ "obj-25", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-22", 0 ],
+ "source" : [ "obj-26", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-22", 0 ],
+ "source" : [ "obj-27", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-16", 0 ],
+ "midpoints" : [ 193.5, 138.0, 308.5, 138.0 ],
+ "source" : [ "obj-3", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-1", 1 ],
+ "source" : [ "obj-5", 1 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-1", 0 ],
+ "source" : [ "obj-5", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-17", 0 ],
+ "source" : [ "obj-7", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-25", 0 ],
+ "order" : 0,
+ "source" : [ "obj-8", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-27", 0 ],
+ "order" : 1,
+ "source" : [ "obj-8", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-8", 0 ],
+ "source" : [ "obj-9", 0 ]
+ }
+
+ }
+ ],
+ "dependency_cache" : [ ],
+ "autosave" : 0
+ }
+
+}
--- /dev/null
+{
+ "patcher" : {
+ "fileversion" : 1,
+ "appversion" : {
+ "major" : 9,
+ "minor" : 0,
+ "revision" : 6,
+ "architecture" : "x64",
+ "modernui" : 1
+ }
+,
+ "classnamespace" : "box",
+ "rect" : [ 299.0, 224.0, 1268.0, 749.0 ],
+ "gridsize" : [ 15.0, 15.0 ],
+ "boxes" : [ {
+ "box" : {
+ "id" : "obj-20",
+ "maxclass" : "button",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "bang" ],
+ "parameter_enable" : 0,
+ "patching_rect" : [ 814.0, 363.0, 24.0, 24.0 ]
+ }
+
+ }
+, {
+ "box" : {
+ "ghostbar" : 10,
+ "id" : "obj-21",
+ "maxclass" : "multislider",
+ "numinlets" : 1,
+ "numoutlets" : 2,
+ "outlettype" : [ "", "" ],
+ "parameter_enable" : 0,
+ "patching_rect" : [ 900.0, 356.0, 214.0, 69.0 ],
+ "setminmax" : [ 0.0, 1.0 ],
+ "settype" : 0,
+ "size" : 10,
+ "spacing" : 3
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-22",
+ "maxclass" : "message",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 896.0, 209.0, 67.0, 22.0 ],
+ "text" : "busymap 1"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-23",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "bang" ],
+ "patching_rect" : [ 896.0, 173.0, 126.0, 22.0 ],
+ "text" : "qmetro 200 @active 1"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-24",
+ "maxclass" : "message",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 686.0, 173.0, 62.0, 22.0 ],
+ "text" : "note bang"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-25",
+ "maxclass" : "spectroscope~",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 723.0, 461.0, 300.0, 100.0 ]
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-26",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 3,
+ "outlettype" : [ "signal", "", "" ],
+ "patching_rect" : [ 723.0, 311.0, 150.0, 22.0 ],
+ "text" : "poly~ polytest 10 @steal 1"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-19",
+ "maxclass" : "button",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "bang" ],
+ "parameter_enable" : 0,
+ "patching_rect" : [ 208.0, 37.0, 24.0, 24.0 ]
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-17",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 280.0, 178.0, 54.0, 22.0 ],
+ "text" : "pack 0 0"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-16",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 280.0, 215.0, 101.0, 22.0 ],
+ "text" : "prepend midinote"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-15",
+ "maxclass" : "newobj",
+ "numinlets" : 3,
+ "numoutlets" : 2,
+ "outlettype" : [ "float", "float" ],
+ "patching_rect" : [ 280.0, 142.0, 108.0, 22.0 ],
+ "text" : "makenote 120 600"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-14",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "int" ],
+ "patching_rect" : [ 280.0, 98.0, 32.0, 22.0 ],
+ "text" : "+ 60"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-13",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 280.0, 67.0, 76.0, 22.0 ],
+ "text" : "random 1 12"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-12",
+ "maxclass" : "button",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "bang" ],
+ "parameter_enable" : 0,
+ "patching_rect" : [ 371.0, 332.0, 24.0, 24.0 ]
+ }
+
+ }
+, {
+ "box" : {
+ "ghostbar" : 10,
+ "id" : "obj-8",
+ "maxclass" : "multislider",
+ "numinlets" : 1,
+ "numoutlets" : 2,
+ "outlettype" : [ "", "" ],
+ "parameter_enable" : 0,
+ "patching_rect" : [ 457.0, 325.0, 214.0, 69.0 ],
+ "setminmax" : [ 0.0, 1.0 ],
+ "settype" : 0,
+ "size" : 10,
+ "spacing" : 3
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-7",
+ "maxclass" : "message",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 453.0, 178.0, 67.0, 22.0 ],
+ "text" : "busymap 1"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-5",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "bang" ],
+ "patching_rect" : [ 453.0, 142.0, 126.0, 22.0 ],
+ "text" : "qmetro 200 @active 1"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-4",
+ "maxclass" : "message",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 130.0, 185.0, 62.0, 22.0 ],
+ "text" : "note bang"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-2",
+ "maxclass" : "spectroscope~",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 280.0, 430.0, 300.0, 100.0 ]
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-1",
+ "maxclass" : "newobj",
+ "numinlets" : 6,
+ "numoutlets" : 3,
+ "outlettype" : [ "signal", "", "" ],
+ "patching_rect" : [ 280.0, 280.0, 186.0, 22.0 ],
+ "text" : "poly~ poly-synth-test 10 @steal 1"
+ }
+
+ }
+ ],
+ "lines" : [ {
+ "patchline" : {
+ "destination" : [ "obj-12", 0 ],
+ "order" : 1,
+ "source" : [ "obj-1", 1 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-2", 0 ],
+ "source" : [ "obj-1", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-8", 0 ],
+ "order" : 0,
+ "source" : [ "obj-1", 1 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-14", 0 ],
+ "source" : [ "obj-13", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-15", 0 ],
+ "source" : [ "obj-14", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-17", 1 ],
+ "source" : [ "obj-15", 1 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-17", 0 ],
+ "source" : [ "obj-15", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-1", 0 ],
+ "source" : [ "obj-16", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-16", 0 ],
+ "source" : [ "obj-17", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-13", 0 ],
+ "source" : [ "obj-19", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-26", 0 ],
+ "source" : [ "obj-22", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-22", 0 ],
+ "source" : [ "obj-23", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-26", 0 ],
+ "source" : [ "obj-24", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-20", 0 ],
+ "order" : 1,
+ "source" : [ "obj-26", 1 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-21", 0 ],
+ "order" : 0,
+ "source" : [ "obj-26", 1 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-25", 0 ],
+ "source" : [ "obj-26", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-1", 0 ],
+ "source" : [ "obj-4", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-7", 0 ],
+ "source" : [ "obj-5", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-1", 0 ],
+ "source" : [ "obj-7", 0 ]
+ }
+
+ }
+ ],
+ "dependency_cache" : [ {
+ "name" : "poly-synth-test.maxpat",
+ "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj/misc",
+ "patcherrelativepath" : ".",
+ "type" : "JSON",
+ "implicit" : 1
+ }
+, {
+ "name" : "polytest.maxpat",
+ "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj/misc",
+ "patcherrelativepath" : ".",
+ "type" : "JSON",
+ "implicit" : 1
+ }
+ ],
+ "autosave" : 0
+ }
+
+}
--- /dev/null
+{
+ "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-17",
+ "maxclass" : "message",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 710.0, 340.0, 59.0, 22.0 ],
+ "text" : "mute 1, 0"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-15",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "bang" ],
+ "patching_rect" : [ 710.0, 308.0, 58.0, 22.0 ],
+ "text" : "loadbang"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-13",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 0,
+ "patching_rect" : [ 586.0, 547.0, 35.0, 22.0 ],
+ "saved_object_attributes" : {
+ "attr_comment" : ""
+ }
+,
+ "text" : "out 1"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-14",
+ "maxclass" : "message",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 535.0, 273.0, 29.5, 22.0 ],
+ "text" : "0"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-12",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "bang" ],
+ "patching_rect" : [ 535.0, 231.0, 48.0, 22.0 ],
+ "text" : "del 600"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-11",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 475.0, 61.0, 28.0, 22.0 ],
+ "text" : "in 1"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-10",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 0,
+ "patching_rect" : [ 325.0, 502.0, 42.0, 22.0 ],
+ "saved_object_attributes" : {
+ "attr_comment" : ""
+ }
+,
+ "text" : "out~ 1"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-9",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 2,
+ "outlettype" : [ "int", "bang" ],
+ "patching_rect" : [ 475.0, 148.0, 32.0, 22.0 ],
+ "text" : "t 1 b"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-8",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "int" ],
+ "patching_rect" : [ 325.0, 285.0, 32.0, 22.0 ],
+ "text" : "+ 40"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-7",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 325.0, 312.0, 32.0, 22.0 ],
+ "text" : "mtof"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-6",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "int" ],
+ "patching_rect" : [ 325.0, 257.0, 30.0, 22.0 ],
+ "text" : "+ 1"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-5",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "" ],
+ "patching_rect" : [ 325.0, 230.0, 76.0, 22.0 ],
+ "text" : "random 1 12"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-4",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "signal" ],
+ "patching_rect" : [ 325.0, 419.0, 34.0, 22.0 ],
+ "text" : "*~ 0."
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-3",
+ "maxclass" : "newobj",
+ "numinlets" : 2,
+ "numoutlets" : 1,
+ "outlettype" : [ "signal" ],
+ "patching_rect" : [ 325.0, 340.0, 43.0, 22.0 ],
+ "text" : "cycle~"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-2",
+ "maxclass" : "newobj",
+ "numinlets" : 5,
+ "numoutlets" : 4,
+ "outlettype" : [ "signal", "signal", "", "" ],
+ "patching_rect" : [ 475.0, 340.0, 96.0, 22.0 ],
+ "text" : "adsr~ 10 0 1. 10"
+ }
+
+ }
+, {
+ "box" : {
+ "id" : "obj-1",
+ "maxclass" : "newobj",
+ "numinlets" : 1,
+ "numoutlets" : 3,
+ "outlettype" : [ "int", "int", "int" ],
+ "patching_rect" : [ 526.333333333333371, 424.0, 56.0, 22.0 ],
+ "text" : "thispoly~"
+ }
+
+ }
+ ],
+ "lines" : [ {
+ "patchline" : {
+ "destination" : [ "obj-9", 0 ],
+ "source" : [ "obj-11", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-14", 0 ],
+ "source" : [ "obj-12", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-2", 0 ],
+ "source" : [ "obj-14", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-17", 0 ],
+ "source" : [ "obj-15", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-1", 0 ],
+ "source" : [ "obj-17", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-1", 0 ],
+ "source" : [ "obj-2", 2 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-1", 0 ],
+ "order" : 0,
+ "source" : [ "obj-2", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-4", 1 ],
+ "order" : 1,
+ "source" : [ "obj-2", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-4", 0 ],
+ "source" : [ "obj-3", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-10", 0 ],
+ "source" : [ "obj-4", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-6", 0 ],
+ "source" : [ "obj-5", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-8", 0 ],
+ "source" : [ "obj-6", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-3", 0 ],
+ "source" : [ "obj-7", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-7", 0 ],
+ "source" : [ "obj-8", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-12", 0 ],
+ "order" : 0,
+ "source" : [ "obj-9", 1 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-2", 0 ],
+ "source" : [ "obj-9", 0 ]
+ }
+
+ }
+, {
+ "patchline" : {
+ "destination" : [ "obj-5", 0 ],
+ "order" : 1,
+ "source" : [ "obj-9", 1 ]
+ }
+
+ }
+ ],
+ "dependency_cache" : [ ],
+ "autosave" : 0
+ }
+
+}