diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index d899f65..0000000 --- a/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -*.wav filter=lfs diff=lfs merge=lfs -text diff --git a/hack-dict.js b/hack-dict.js new file mode 100644 index 0000000..45b9ff3 --- /dev/null +++ b/hack-dict.js @@ -0,0 +1,9 @@ +outlets = 4 + +function hack(s, v){ + var djNum = s[12]; + if (typeof v == "string" && v.slice(0, 3) == "obj") + return; + outlet(parseInt(djNum), "param", s.slice(16), v); +} + \ No newline at end of file diff --git a/hss-distributed-server.maxpat b/hss-distributed-server.maxpat index fee52f5..0c89eb2 100644 --- a/hss-distributed-server.maxpat +++ b/hss-distributed-server.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 29.0, 100.0, 1429.0, 813.0 ], + "rect" : [ 34.0, 76.0, 981.0, 763.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -40,120 +40,343 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-47", + "id" : "obj-83", + "linecount" : 10, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 477.0, 330.0, 151.0, 144.0 ], + "text" : "IMPORTANT - WILL HAVE TO SAVE CONTENTS WHEN PRESET BUTTON IS PRESSED BUT BEFORE THE ACTUALLY PRESET SAVING OCCURS. CONSIDER SAVING EVERY TIME A PARAMETER IS ADJUSTED" + } + + } +, { + "box" : { + "id" : "obj-78", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 18.0, 690.0, 39.0, 22.0 ], + "text" : "r load" + } + + } +, { + "box" : { + "id" : "obj-70", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 15.0, 524.0, 39.0, 22.0 ], + "text" : "r load" + } + + } +, { + "box" : { + "id" : "obj-69", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 8.5, 416.0, 39.0, 22.0 ], + "text" : "r load" + } + + } +, { + "box" : { + "id" : "obj-56", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 8.5, 217.0, 39.0, 22.0 ], + "text" : "r load" + } + + } +, { + "box" : { + "id" : "obj-54", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 914.0, 294.0, 32.0, 22.0 ], - "text" : "print" + "patching_rect" : [ 569.75, 42.0, 41.0, 22.0 ], + "text" : "s load" + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 3.0, 716.0, 123.0, 22.0 ], + "text" : "load mod-4-storage-2" + } + + } +, { + "box" : { + "id" : "obj-50", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 8.5, 551.0, 123.0, 22.0 ], + "text" : "load mod-3-storage-2" + } + + } +, { + "box" : { + "id" : "obj-49", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 8.5, 443.0, 123.0, 22.0 ], + "text" : "load mod-2-storage-2" + } + + } +, { + "box" : { + "id" : "obj-47", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 8.5, 314.0, 123.0, 22.0 ], + "text" : "load mod-1-storage-2" + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 45.0, 210.0, 58.0, 22.0 ], + "text" : "loadbang" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 25.5, 256.0, 106.0, 22.0 ], + "text" : "readfile lfogui.html" + } + + } +, { + "box" : { + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 21.0, 892.0, 61.0, 22.0 ], + "text" : "routepass" + } + + } +, { + "box" : { + "id" : "obj-67", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 17.0, 745.0, 61.0, 22.0 ], + "text" : "routepass" + } + + } +, { + "box" : { + "id" : "obj-66", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 21.0, 589.0, 61.0, 22.0 ], + "text" : "routepass" + } + + } +, { + "box" : { + "id" : "obj-63", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 21.0, 470.0, 61.0, 22.0 ], + "text" : "routepass" + } + + } +, { + "box" : { + "id" : "obj-61", + "maxclass" : "jweb", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 102.5, 772.0, 990.5, 136.0 ], + "presentation" : 1, + "presentation_rect" : [ 17.0, 831.0, 990.5, 136.0 ], + "rendermode" : 0, + "url" : "file://lfogui.html" + } + + } +, { + "box" : { + "id" : "obj-60", + "maxclass" : "jweb", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 102.5, 631.0, 990.5, 136.0 ], + "presentation" : 1, + "presentation_rect" : [ 17.0, 690.0, 990.5, 136.0 ], + "rendermode" : 0, + "url" : "file://lfogui.html" + } + + } +, { + "box" : { + "id" : "obj-58", + "maxclass" : "jweb", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 102.5, 488.0, 990.5, 136.0 ], + "presentation" : 1, + "presentation_rect" : [ 17.0, 547.0, 990.5, 136.0 ], + "rendermode" : 0, + "url" : "file://lfogui.html" + } + + } +, { + "box" : { + "id" : "obj-41", + "maxclass" : "jweb", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 102.5, 346.0, 990.5, 136.0 ], + "presentation" : 1, + "presentation_rect" : [ 17.0, 405.0, 990.5, 136.0 ], + "rendermode" : 0, + "url" : "file://lfogui.html" + } + + } +, { + "box" : { + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 930.0, 299.0, 51.0, 22.0 ], + "text" : "print dj4" + } + + } +, { + "box" : { + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 872.0, 299.0, 51.0, 22.0 ], + "text" : "print dj3" + } + + } +, { + "box" : { + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 814.0, 299.0, 51.0, 22.0 ], + "text" : "print dj2" + } + + } +, { + "box" : { + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 761.0, 299.0, 51.0, 22.0 ], + "text" : "print dj1" + } + + } +, { + "box" : { + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 884.0, 181.0, 81.0, 22.0 ], + "text" : "prepend hack" } } , { "box" : { "id" : "obj-23", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1215.5, 220.0, 82.0, 22.0 ], - "presentation_linecount" : 2, - "text" : "getSection $1" - } - - } -, { - "box" : { - "id" : "obj-3", - "linecount" : 2, - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1222.0, 96.0, 95.0, 35.0 ], - "presentation_linecount" : 3, - "text" : "readPiece HSSPieces.json" - } - - } -, { - "box" : { - "id" : "obj-200", - "items" : "DefaultSetting", - "maxclass" : "umenu", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "int", "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 1162.0, 188.0, 126.0, 22.0 ], - "pattrmode" : 1, - "varname" : "currentPiece" + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 884.0, 210.0, 81.0, 22.0 ], + "saved_object_attributes" : { + "filename" : "hack-dict.js", + "parameter_enable" : 0 + } +, + "text" : "js hack-dict.js" } } , { "box" : { - "id" : "obj-188", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 809.5, 121.5, 51.0, 20.0 ], - "text" : "Valence" - } - - } -, { - "box" : { - "id" : "obj-187", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 720.5, 53.5, 49.0, 20.0 ], - "text" : "Arousal" - } - - } -, { - "box" : { - "id" : "obj-185", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 612.5, 139.0, 89.0, 22.0 ], - "text" : "displayknob $1" - } - - } -, { - "box" : { - "id" : "obj-182", - "items" : [ "Create", "Presets", ",", "Navigate", "Space" ], - "maxclass" : "umenu", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "int", "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 612.5, 90.0, 128.0, 22.0 ] - } - - } -, { - "box" : { - "id" : "obj-181", - "int" : 1, - "maxclass" : "gswitch2", + "id" : "obj-126", + "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 858.5, 149.0, 39.0, 32.0 ] + "patching_rect" : [ 1070.0, 169.0, 61.0, 22.0 ], + "text" : "list.slice 1" } } , { "box" : { - "id" : "obj-180", + "id" : "obj-125", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, @@ -169,7 +392,7 @@ } , "classnamespace" : "box", - "rect" : [ 59.0, 119.0, 640.0, 480.0 ], + "rect" : [ 0.0, 0.0, 640.0, 480.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -199,124 +422,124 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-177", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 193.0, 61.0, 22.0 ], - "text" : "pack f f" - } - - } -, { - "box" : { - "id" : "obj-173", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 92.0, 163.0, 29.5, 22.0 ], - "text" : "!- 1." - } - - } -, { - "box" : { - "id" : "obj-172", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "float" ], - "patching_rect" : [ 50.0, 130.0, 61.0, 22.0 ], - "text" : "unpack f f" - } - - } -, { - "box" : { - "id" : "obj-168", + "id" : "obj-122", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 50.0, 100.0, 75.0, 22.0 ], - "text" : "route mouse" + "patching_rect" : [ 141.0, 154.0, 53.0, 22.0 ], + "text" : "list.nth 2" + } + + } +, { + "box" : { + "id" : "obj-116", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 50.0, 143.0, 55.0, 22.0 ], + "text" : "list.join 1" + } + + } +, { + "box" : { + "id" : "obj-114", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 140.0, 128.0, 147.0, 22.0 ], + "text" : "fromsymbol @separator ::" + } + + } +, { + "box" : { + "id" : "obj-113", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 140.0, 100.0, 61.0, 22.0 ], + "text" : "list.slice 1" } } , { "box" : { "comment" : "", - "id" : "obj-178", + "id" : "obj-123", "index" : 1, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + "patching_rect" : [ 140.0, 40.0, 30.0, 30.0 ] } } , { "box" : { "comment" : "", - "id" : "obj-179", + "id" : "obj-124", "index" : 1, "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 50.0, 275.0, 30.0, 30.0 ] + "patching_rect" : [ 50.0, 244.134766000000013, 30.0, 30.0 ] } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-172", 0 ], - "source" : [ "obj-168", 0 ] + "destination" : [ "obj-114", 0 ], + "source" : [ "obj-113", 0 ] } } , { "patchline" : { - "destination" : [ "obj-173", 0 ], - "source" : [ "obj-172", 1 ] + "destination" : [ "obj-116", 1 ], + "source" : [ "obj-113", 1 ] } } , { "patchline" : { - "destination" : [ "obj-177", 0 ], - "source" : [ "obj-172", 0 ] + "destination" : [ "obj-122", 0 ], + "source" : [ "obj-114", 0 ] } } , { "patchline" : { - "destination" : [ "obj-177", 1 ], - "source" : [ "obj-173", 0 ] + "destination" : [ "obj-124", 0 ], + "source" : [ "obj-116", 0 ] } } , { "patchline" : { - "destination" : [ "obj-179", 0 ], - "source" : [ "obj-177", 0 ] + "destination" : [ "obj-116", 0 ], + "source" : [ "obj-122", 0 ] } } , { "patchline" : { - "destination" : [ "obj-168", 0 ], - "source" : [ "obj-178", 0 ] + "destination" : [ "obj-113", 0 ], + "source" : [ "obj-123", 0 ] } } ] } , - "patching_rect" : [ 878.5, 188.0, 55.0, 22.0 ], + "patching_rect" : [ 941.0, 98.0, 19.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -324,481 +547,19 @@ "tags" : "" } , - "text" : "p mouse" + "text" : "p" } } , { "box" : { - "id" : "obj-165", - "int" : 1, - "maxclass" : "gswitch2", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 751.5, 149.0, 39.0, 32.0 ] - } - - } -, { - "box" : { - "id" : "obj-164", + "id" : "obj-110", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 806.5, 188.0, 47.0, 22.0 ], - "text" : "clearall" - } - - } -, { - "box" : { - "id" : "obj-160", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 6, - "revision" : 2, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 84.0, 144.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-157", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 234.0, 189.0, 45.0, 22.0 ], - "text" : "store 5" - } - - } -, { - "box" : { - "id" : "obj-156", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 188.0, 189.0, 45.0, 22.0 ], - "text" : "store 4" - } - - } -, { - "box" : { - "id" : "obj-155", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 142.0, 189.0, 45.0, 22.0 ], - "text" : "store 3" - } - - } -, { - "box" : { - "id" : "obj-154", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 97.0, 189.0, 45.0, 22.0 ], - "text" : "store 2" - } - - } -, { - "box" : { - "id" : "obj-153", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 189.0, 45.0, 22.0 ], - "text" : "store 1" - } - - } -, { - "box" : { - "id" : "obj-150", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 234.0, 158.0, 34.0, 22.0 ], - "text" : "sel 1" - } - - } -, { - "box" : { - "id" : "obj-149", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 188.0, 158.0, 34.0, 22.0 ], - "text" : "sel 1" - } - - } -, { - "box" : { - "id" : "obj-148", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 142.0, 158.0, 34.0, 22.0 ], - "text" : "sel 1" - } - - } -, { - "box" : { - "id" : "obj-147", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 97.0, 158.0, 34.0, 22.0 ], - "text" : "sel 1" - } - - } -, { - "box" : { - "id" : "obj-146", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 50.0, 158.0, 34.0, 22.0 ], - "text" : "sel 1" - } - - } -, { - "box" : { - "id" : "obj-145", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 233.0, 131.0, 36.0, 22.0 ], - "text" : "> 0.8" - } - - } -, { - "box" : { - "id" : "obj-144", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 187.0, 131.0, 36.0, 22.0 ], - "text" : "> 0.8" - } - - } -, { - "box" : { - "id" : "obj-143", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 142.0, 131.0, 36.0, 22.0 ], - "text" : "> 0.8" - } - - } -, { - "box" : { - "id" : "obj-142", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 96.0, 131.0, 36.0, 22.0 ], - "text" : "> 0.8" - } - - } -, { - "box" : { - "id" : "obj-141", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 50.0, 131.0, 36.0, 22.0 ], - "text" : "> 0.8" - } - - } -, { - "box" : { - "id" : "obj-140", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 5, - "outlettype" : [ "float", "float", "float", "float", "float" ], - "patching_rect" : [ 50.0, 100.0, 202.0, 22.0 ], - "text" : "unpack f f f f f" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-158", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-159", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 136.200012000000015, 271.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-141", 0 ], - "source" : [ "obj-140", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-142", 0 ], - "source" : [ "obj-140", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-143", 0 ], - "source" : [ "obj-140", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-144", 0 ], - "source" : [ "obj-140", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-145", 0 ], - "source" : [ "obj-140", 4 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-146", 0 ], - "source" : [ "obj-141", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-147", 0 ], - "source" : [ "obj-142", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-148", 0 ], - "source" : [ "obj-143", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-149", 0 ], - "source" : [ "obj-144", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-150", 0 ], - "source" : [ "obj-145", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-153", 0 ], - "source" : [ "obj-146", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-154", 0 ], - "source" : [ "obj-147", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-155", 0 ], - "source" : [ "obj-148", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-156", 0 ], - "source" : [ "obj-149", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-157", 0 ], - "source" : [ "obj-150", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-159", 0 ], - "source" : [ "obj-153", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-159", 0 ], - "source" : [ "obj-154", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-159", 0 ], - "source" : [ "obj-155", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-159", 0 ], - "source" : [ "obj-156", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-159", 0 ], - "source" : [ "obj-157", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-140", 0 ], - "source" : [ "obj-158", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 751.5, 188.0, 45.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p store" - } - - } -, { - "box" : { - "clickmoveinactive" : 0, - "displayknob" : 1, - "filternodeschanges" : 1, - "id" : "obj-132", - "knobcolor" : [ 0.929411764705882, 0.929411764705882, 0.352941176470588, 0.79 ], - "maxclass" : "nodes", - "mousemode" : 2, - "nodenumber" : 5, - "nodesnames" : [ "1", "2", "3", "4", "5" ], - "nsize" : [ 0.1, 0.1, 0.1, 0.1, 0.1 ], - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 771.5, 8.5, 126.0, 115.0 ], - "varname" : "nodes", - "xplace" : [ 0.5, 0.1, 0.9, 0.9, 0.1 ], - "yplace" : [ 0.5, 0.1, 0.1, 0.9, 0.9 ] + "patching_rect" : [ 1053.0, 55.0, 178.0, 22.0 ], + "text" : "get DefaultSetting::networkData" } } @@ -809,10 +570,164 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1151.0, 96.0, 64.0, 22.0 ], + "patching_rect" : [ 1240.0, 384.0, 64.0, 22.0 ], "text" : "writePiece" } + } +, { + "box" : { + "id" : "obj-84", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 735.5, 173.0, 50.0, 22.0 ], + "text" : "0" + } + + } +, { + "box" : { + "id" : "obj-82", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 719.0, 55.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-80", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 719.0, 92.0, 83.0, 22.0 ], + "text" : "radiogroup $1" + } + + } +, { + "box" : { + "id" : "obj-77", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 719.0, 126.0, 57.0, 22.0 ], + "text" : "universal" + } + + } +, { + "box" : { + "disabled" : [ 0 ], + "flagmode" : 1, + "id" : "obj-76", + "itemtype" : 0, + "maxclass" : "radiogroup", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 603.0, 126.0, 18.0, 18.0 ], + "size" : 1, + "value" : 0 + } + + } +, { + "box" : { + "disabled" : [ 0 ], + "id" : "obj-75", + "itemtype" : 0, + "maxclass" : "radiogroup", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 658.0, 179.0, 18.0, 18.0 ], + "size" : 1, + "value" : 0 + } + + } +, { + "box" : { + "disabled" : [ 0 ], + "id" : "obj-74", + "itemtype" : 0, + "maxclass" : "radiogroup", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 548.0, 179.0, 18.0, 18.0 ], + "size" : 1, + "value" : 0 + } + + } +, { + "box" : { + "disabled" : [ 0 ], + "id" : "obj-73", + "itemtype" : 0, + "maxclass" : "radiogroup", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 658.0, 71.0, 18.0, 18.0 ], + "size" : 1, + "value" : 0 + } + + } +, { + "box" : { + "disabled" : [ 0 ], + "id" : "obj-72", + "itemtype" : 0, + "maxclass" : "radiogroup", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 548.0, 71.0, 18.0, 18.0 ], + "size" : 1, + "value" : 0 + } + + } +, { + "box" : { + "angle" : 270.0, + "bgcolor" : [ 0.2, 0.2, 0.2, 1.0 ], + "id" : "obj-71", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 548.0, 71.0, 128.0, 128.0 ], + "proportion" : 0.5 + } + + } +, { + "box" : { + "id" : "obj-59", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 941.0, 131.0, 148.0, 22.0 ], + "text" : "route networkData" + } + } , { "box" : { @@ -832,7 +747,7 @@ } , "classnamespace" : "box", - "rect" : [ 170.0, 100.0, 1244.0, 670.0 ], + "rect" : [ 159.0, 82.0, 1095.0, 811.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -862,99 +777,111 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-35", + "id" : "obj-187", "maxclass" : "newobj", - "numinlets" : 2, + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 557.0, 743.0, 99.0, 22.0 ], + "text" : "prepend readNet" + } + + } +, { + "box" : { + "id" : "obj-188", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 557.0, 690.0, 154.0, 22.0 ], + "restore" : [ "D:/projects/healing-soundscapes-light/" ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr @bindto path @thru 0", + "varname" : "u793060539[3]" + } + + } +, { + "box" : { + "id" : "obj-189", + "maxclass" : "newobj", + "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 411.199999999999989, 109.0, 55.0, 22.0 ], - "text" : "zl.slice 3" + "outlettype" : [ "bang", "temp.txt" ], + "patching_rect" : [ 557.0, 663.0, 120.0, 22.0 ], + "text" : "t b temp.txt" } } , { "box" : { - "id" : "obj-27", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 51.0, 54.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "message", + "id" : "obj-190", + "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 324.75, 231.0, 69.0, 22.0 ], - "text" : "train 10000" + "patching_rect" : [ 557.0, 717.0, 120.0, 22.0 ], + "text" : "sprintf symout %s%s" } } , { "box" : { - "id" : "obj-21", + "id" : "obj-186", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 17.0, 210.0, 92.0, 22.0 ], - "text" : "prepend predict" + "patching_rect" : [ 720.0, 743.0, 81.0, 22.0 ], + "text" : "prepend write" } } , { "box" : { - "id" : "obj-11", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 267.75, 163.0, 107.0, 22.0 ], - "presentation_linecount" : 2, - "text" : "script start 2 96 48" - } - - } -, { - "box" : { - "id" : "obj-4", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 359.75, 357.0, 86.0, 22.0 ], - "text" : "dump_weights" - } - - } -, { - "box" : { - "id" : "obj-38", + "id" : "obj-183", "maxclass" : "newobj", - "numinlets" : 4, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 232.75, 320.0, 210.0, 22.0 ], - "text" : "route list weights training_done" + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 720.0, 690.0, 154.0, 22.0 ], + "restore" : [ "D:/projects/healing-soundscapes-light/" ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr @bindto path @thru 0", + "varname" : "u793060539[2]" } } , { "box" : { - "comment" : "", - "id" : "obj-191", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, + "id" : "obj-184", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "temp.txt" ], + "patching_rect" : [ 720.0, 663.0, 120.0, 22.0 ], + "text" : "t b temp.txt" + } + + } +, { + "box" : { + "id" : "obj-185", + "maxclass" : "newobj", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 17.0, 6.0, 30.0, 30.0 ] + "patching_rect" : [ 720.0, 717.0, 120.0, 22.0 ], + "text" : "sprintf symout %s%s" } } @@ -965,8 +892,87 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 232.75, 114.0, 19.0, 22.0 ], - "text" : "t l" + "patching_rect" : [ 137.0, 112.0, 54.0, 22.0 ], + "text" : "deferlow" + } + + } +, { + "box" : { + "id" : "obj-176", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 489.0, 555.0, 100.0, 22.0 ], + "text" : "prepend writeNet" + } + + } +, { + "box" : { + "id" : "obj-177", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 489.0, 502.0, 154.0, 22.0 ], + "restore" : [ "D:/projects/healing-soundscapes-light/" ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr @bindto path @thru 0", + "varname" : "u793060539[1]" + } + + } +, { + "box" : { + "id" : "obj-178", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "temp.txt" ], + "patching_rect" : [ 489.0, 475.0, 120.0, 22.0 ], + "text" : "t b temp.txt" + } + + } +, { + "box" : { + "id" : "obj-179", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 489.0, 529.0, 120.0, 22.0 ], + "text" : "sprintf symout %s%s" + } + + } +, { + "box" : { + "id" : "obj-168", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "bang" ], + "patching_rect" : [ 317.0, 522.0, 42.0, 22.0 ], + "text" : "t b b b" + } + + } +, { + "box" : { + "id" : "obj-165", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 230.0, 580.0, 103.0, 22.0 ], + "text" : "pull_from_coll net" } } @@ -977,7 +983,7 @@ "numinlets" : 2, "numoutlets" : 5, "outlettype" : [ "dictionary", "", "", "", "" ], - "patching_rect" : [ 296.75, 531.0, 61.0, 22.0 ], + "patching_rect" : [ 251.0, 626.0, 61.0, 22.0 ], "saved_object_attributes" : { "embed" : 0, "legacy" : 0, @@ -988,16 +994,144 @@ "text" : "dict" } + } +, { + "box" : { + "id" : "obj-167", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 340.0, 580.0, 35.0, 22.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-164", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "dump", "reset" ], + "patching_rect" : [ 317.0, 488.0, 151.0, 22.0 ], + "text" : "t b dump reset" + } + + } +, { + "box" : { + "id" : "obj-162", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 531.0, 346.0, 80.0, 22.0 ], + "text" : "prepend read" + } + + } +, { + "box" : { + "id" : "obj-150", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 532.0, 117.0, 145.0, 22.0 ], + "restore" : [ "D:/projects/healing-soundscapes-light/" ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr path @autorestore 0", + "varname" : "path" + } + + } +, { + "box" : { + "id" : "obj-149", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 484.0, 85.0, 67.0, 22.0 ], + "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ], + "text" : "thispatcher" + } + + } +, { + "box" : { + "id" : "obj-148", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 484.0, 43.0, 87.0, 22.0 ], + "text" : "loadmess path" + } + + } +, { + "box" : { + "id" : "obj-122", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 485.5, 312.0, 54.0, 22.0 ], + "text" : "sel done" + } + + } +, { + "box" : { + "id" : "obj-121", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 485.5, 282.0, 110.0, 22.0 ], + "text" : "route train writeNet" + } + + } +, { + "box" : { + "id" : "obj-113", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 309.0, 103.0, 55.0, 22.0 ], + "text" : "zl.slice 2" + } + } , { "box" : { "id" : "obj-99", "maxclass" : "newobj", - "numinlets" : 6, - "numoutlets" : 6, - "outlettype" : [ "", "", "", "", "", "" ], - "patching_rect" : [ 176.0, 55.0, 313.0, 22.0 ], - "text" : "routepass predict train clear_data set_weights data_point" + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "", "", "", "" ], + "patching_rect" : [ 137.0, 53.0, 191.0, 22.0 ], + "text" : "routepass train addPat clear piece" + } + + } +, { + "box" : { + "id" : "obj-97", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 142.0, 355.5, 69.0, 22.0 ], + "text" : "viewsource" } } @@ -1009,7 +1143,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 232.75, 611.0, 30.0, 30.0 ] + "patching_rect" : [ 228.0, 731.0, 30.0, 30.0 ] } } @@ -1017,12 +1151,152 @@ "box" : { "comment" : "", "id" : "obj-94", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 137.0, 4.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-93", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 478.0, 4.0, 238.0, 34.0 ], + "text" : "get 5 presets at 20 parameters for 4 corners and 1 midpoint from piecemaker.js" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-87", "index" : 2, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 176.0, 6.0, 30.0, 30.0 ] + "patching_rect" : [ 686.0, 475.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "id" : "obj-85", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "" ], + "patching_rect" : [ 686.0, 544.0, 83.0, 22.0 ], + "text" : "t b b l" + } + + } +, { + "box" : { + "id" : "obj-83", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 786.0, 629.0, 62.0, 22.0 ], + "text" : "append cr" + } + + } +, { + "box" : { + "id" : "obj-82", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 750.0, 603.0, 55.0, 22.0 ], + "text" : "zl.slice 1" + } + + } +, { + "box" : { + "id" : "obj-78", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 5, + "outlettype" : [ "dictionary", "", "", "", "" ], + "patching_rect" : [ 686.0, 516.0, 61.0, 22.0 ], + "saved_object_attributes" : { + "embed" : 0, + "legacy" : 0, + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "dict" + } + + } +, { + "box" : { + "id" : "obj-76", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "int" ], + "patching_rect" : [ 786.0, 779.0, 40.0, 22.0 ], + "text" : "text" + } + + } +, { + "box" : { + "id" : "obj-73", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 750.0, 575.0, 47.0, 22.0 ], + "text" : "dict.iter" + } + + } +, { + "box" : { + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 383.0, 608.0, 45.0, 22.0 ], + "text" : "t l l" + } + + } +, { + "box" : { + "id" : "obj-67", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 409.0, 661.0, 29.5, 22.0 ], + "text" : "- 1" + } + + } +, { + "box" : { + "id" : "obj-64", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 383.0, 690.0, 45.0, 22.0 ], + "text" : "zl.slice" } } @@ -1035,7 +1309,7 @@ "candicane6" : [ 0.733333333333333, 0.035294117647059, 0.788235294117647, 1.0 ], "candicane7" : [ 0.87843137254902, 0.243137254901961, 0.145098039215686, 1.0 ], "candicane8" : [ 0.027450980392157, 0.447058823529412, 0.501960784313725, 1.0 ], - "candycane" : 12, + "candycane" : 22, "contdata" : 1, "id" : "obj-61", "maxclass" : "multislider", @@ -1043,9 +1317,9 @@ "numoutlets" : 2, "outlettype" : [ "", "" ], "parameter_enable" : 0, - "patching_rect" : [ 232.75, 421.0, 738.0, 90.0 ], + "patching_rect" : [ 228.0, 370.0, 738.0, 90.0 ], "setminmax" : [ 0.0, 1.0 ], - "size" : 96 + "size" : 88 } } @@ -1058,7 +1332,7 @@ "candicane6" : [ 0.733333333333333, 0.035294117647059, 0.788235294117647, 1.0 ], "candicane7" : [ 0.87843137254902, 0.243137254901961, 0.145098039215686, 1.0 ], "candicane8" : [ 0.027450980392157, 0.447058823529412, 0.501960784313725, 1.0 ], - "candycane" : 12, + "candycane" : 22, "contdata" : 1, "id" : "obj-55", "maxclass" : "multislider", @@ -1066,9 +1340,560 @@ "numoutlets" : 2, "outlettype" : [ "", "" ], "parameter_enable" : 0, - "patching_rect" : [ 447.199999999999989, 149.0, 738.0, 90.0 ], + "patching_rect" : [ 345.0, 169.0, 738.0, 90.0 ], "setminmax" : [ 0.0, 1.0 ], - "size" : 96 + "size" : 88 + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 409.0, 635.0, 50.0, 22.0 ], + "text" : "zl.sub #" + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 340.0, 690.0, 35.0, 22.0 ], + "text" : "reset" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "clear" ], + "patching_rect" : [ 383.0, 739.0, 66.0, 22.0 ], + "text" : "my-LtoColl" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 383.0, 572.0, 55.0, 22.0 ], + "text" : "route set" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 383.0, 771.0, 50.5, 22.0 ], + "saved_object_attributes" : { + "embed" : 0, + "precision" : 6 + } +, + "text" : "coll net" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "bang", "int" ], + "patching_rect" : [ 383.0, 529.0, 40.0, 22.0 ], + "text" : "text" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 2, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 84.0, 144.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-10", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 37.0, 212.0, 407.0, 17.0 ], + "text" : "2. this will cause an output at the left outlet which is the current response to that input" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-11", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 37.0, 193.0, 407.0, 17.0 ], + "text" : "1. in the left inlet put a list of floats with the same length as the number of inputs" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-12", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 25.0, 175.0, 310.0, 20.0 ], + "text" : "to use the network:" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 49.0, 142.0, 407.0, 17.0 ], + "text" : "(the right oultet repsonds with \"train done\" when the cycles are complete)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-14", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 38.0, 128.0, 407.0, 17.0 ], + "text" : "5. send the \"train\" message with an argument specifying the number of training cycles" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 38.0, 114.0, 407.0, 17.0 ], + "text" : "4. repeat steps 1-3 for each pattern you want to train" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-16", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 38.0, 100.0, 407.0, 17.0 ], + "text" : "3. send in the \"addPat\" message" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-17", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 38.0, 74.0, 407.0, 27.0 ], + "text" : "2. in the right inlet put a list of floats with the same length as the number of outputs and is the desired response to the last input you provided to the left inlet (above)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-18", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 48.0, 61.0, 407.0, 17.0 ], + "text" : "(this will cause an output at the left outlet which is the current response to that input)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 74.0, 390.0, 366.0, 37.0 ], + "text" : "for advanced users the int args may be followed optionally by two float args to specify the training parameters: learning rate (default 0.25) and activation function offset (default 0.01)." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-20", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 74.0, 292.0, 365.0, 17.0 ], + "text" : "if there are none arguments start with ints as outlined below" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-21", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 74.0, 366.0, 365.0, 17.0 ], + "text" : "the final int arg specifies the number nodes at the output from the network" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-22", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 74.0, 341.0, 365.0, 27.0 ], + "text" : "this may be followed by any number of optional ints specifying the number of nodes in each hidden layer" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-23", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 74.0, 328.0, 365.0, 17.0 ], + "text" : "the first int arg specifies the number of nodes at the inputs to the network" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-24", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 74.0, 315.0, 365.0, 17.0 ], + "text" : "at least two int args are required specifying the network structure" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-25", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 74.0, 279.0, 365.0, 17.0 ], + "text" : "if there is only one this is the network file" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-26", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 74.0, 266.0, 365.0, 17.0 ], + "text" : "if there are two symbol args these are network and pattern files in that order" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-27", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 74.0, 253.0, 365.0, 17.0 ], + "text" : "two optional symbol args to specify network and pattern files to load" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-28", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 63.0, 236.0, 329.0, 20.0 ], + "text" : "args:" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-29", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 37.0, 47.0, 407.0, 17.0 ], + "text" : "1. in the left inlet put a list of floats with the same length as the number of inputs" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-46", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 25.0, 29.0, 310.0, 20.0 ], + "text" : "to train the network:" + } + + } + ], + "lines" : [ ] + } +, + "patching_rect" : [ 22.0, 585.0, 82.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p how-to-train" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-3", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 27.0, 169.0, 185.0, 34.0 ], + "text" : "clear everything or init the patterns/network separately" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 9.0, + "id" : "obj-8", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 240.0, 346.0, 100.0, 17.0 ], + "text" : "output pattern" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-9", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 345.0, 133.0, 80.0, 20.0 ], + "text" : "target pattern" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-30", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 13.0, 400.0, 198.0, 20.0 ], + "text" : "read and write i/o pattern files" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-31", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 25.0, 258.0, 82.0, 22.0 ], + "text" : "initPatterns" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-32", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 25.0, 233.0, 81.0, 22.0 ], + "text" : "initNetwork" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-33", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 10.0, 449.0, 58.0, 22.0 ], + "text" : "readPat" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-34", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 10.0, 424.0, 64.0, 22.0 ], + "text" : "writePat" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-35", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 14.0, 362.0, 56.0, 22.0 ], + "text" : "readNet" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-36", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 13.0, 335.0, 64.0, 22.0 ], + "text" : "writeNet" } } @@ -1081,8 +1906,36 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 17.0, 255.0, 65.0, 22.0 ], - "text" : "clear_data" + "patching_rect" : [ 25.0, 209.0, 42.0, 22.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-39", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 9.0, 103.0, 84.0, 22.0 ], + "text" : "train 10000" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-40", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 9.0, 76.0, 53.0, 22.0 ], + "text" : "addPat" } } @@ -1103,7 +1956,7 @@ "numoutlets" : 2, "outlettype" : [ "", "" ], "parameter_enable" : 0, - "patching_rect" : [ 17.0, 101.0, 79.0, 90.0 ], + "patching_rect" : [ 228.0, 169.0, 79.0, 90.0 ], "setminmax" : [ 0.0, 1.0 ], "size" : 2 } @@ -1113,29 +1966,146 @@ "box" : { "id" : "obj-44", "maxclass" : "newobj", - "numinlets" : 1, + "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 232.75, 282.0, 301.0, 22.0 ], - "saved_object_attributes" : { - "args" : [ 2, 96, 48 ], - "autostart" : 1, - "defer" : 0, - "node_bin_path" : "", - "npm_bin_path" : "", - "watch" : 1 - } -, - "text" : "node.script tf.js @watch 1 @autostart 1 @args 2 96 48", + "patching_rect" : [ 228.0, 282.0, 136.0, 22.0 ], + "text" : "mxj nnLists 2 88 88", "varname" : "nnLists" } + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-45", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 13.0, 313.0, 199.0, 20.0 ], + "text" : "read and write network files" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-48", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 230.0, 131.0, 75.0, 20.0 ], + "text" : "input pattern" + } + } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-44", 0 ], - "source" : [ "obj-11", 0 ] + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-164", 0 ], + "midpoints" : [ 403.0, 561.0, 441.5, 561.0, 441.5, 480.0, 326.5, 480.0 ], + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "source" : [ "obj-113", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-55", 0 ], + "source" : [ "obj-113", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-122", 0 ], + "source" : [ "obj-121", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-162", 0 ], + "source" : [ "obj-121", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-178", 0 ], + "source" : [ "obj-122", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-149", 0 ], + "source" : [ "obj-148", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-150", 0 ], + "source" : [ "obj-149", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-162", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-164", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-168", 0 ], + "source" : [ "obj-164", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "midpoints" : [ 458.5, 723.0, 392.5, 723.0 ], + "source" : [ "obj-164", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-166", 0 ], + "source" : [ "obj-165", 0 ] } } @@ -1145,6 +2115,86 @@ "source" : [ "obj-166", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-166", 0 ], + "midpoints" : [ 349.5, 614.0, 260.5, 614.0 ], + "source" : [ "obj-167", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-165", 0 ], + "midpoints" : [ 338.0, 574.0, 239.5, 574.0 ], + "source" : [ "obj-168", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-166", 0 ], + "midpoints" : [ 326.5, 566.5, 260.5, 566.5 ], + "source" : [ "obj-168", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-167", 0 ], + "source" : [ "obj-168", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-17", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "source" : [ "obj-176", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-179", 0 ], + "source" : [ "obj-177", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-177", 0 ], + "source" : [ "obj-178", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-179", 1 ], + "source" : [ "obj-178", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-176", 0 ], + "source" : [ "obj-179", 0 ] + } + } , { "patchline" : { @@ -1155,14 +2205,84 @@ } , { "patchline" : { - "destination" : [ "obj-43", 0 ], - "source" : [ "obj-191", 0 ] + "destination" : [ "obj-185", 0 ], + "source" : [ "obj-183", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-183", 0 ], + "source" : [ "obj-184", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-185", 1 ], + "source" : [ "obj-184", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-186", 0 ], + "source" : [ "obj-185", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-76", 0 ], + "source" : [ "obj-186", 0 ] } } , { "patchline" : { "destination" : [ "obj-44", 0 ], + "source" : [ "obj-187", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-190", 0 ], + "source" : [ "obj-188", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-188", 0 ], + "source" : [ "obj-189", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-190", 1 ], + "source" : [ "obj-189", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-187", 0 ], + "source" : [ "obj-190", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], "source" : [ "obj-21", 0 ] } @@ -1170,21 +2290,48 @@ , { "patchline" : { "destination" : [ "obj-44", 0 ], - "source" : [ "obj-24", 0 ] + "hidden" : 1, + "source" : [ "obj-31", 0 ] } } , { "patchline" : { - "destination" : [ "obj-43", 0 ], - "source" : [ "obj-27", 0 ] + "destination" : [ "obj-44", 0 ], + "hidden" : 1, + "source" : [ "obj-32", 0 ] } } , { "patchline" : { - "destination" : [ "obj-55", 0 ], - "source" : [ "obj-35", 1 ] + "destination" : [ "obj-44", 0 ], + "hidden" : 1, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "hidden" : 1, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "hidden" : 1, + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "hidden" : 1, + "source" : [ "obj-36", 0 ] } } @@ -1198,45 +2345,47 @@ } , { "patchline" : { - "destination" : [ "obj-166", 0 ], - "source" : [ "obj-38", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-38", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-61", 0 ], - "source" : [ "obj-38", 0 ] + "destination" : [ "obj-44", 0 ], + "hidden" : 1, + "source" : [ "obj-39", 0 ] } } , { "patchline" : { "destination" : [ "obj-44", 0 ], - "source" : [ "obj-4", 0 ] + "hidden" : 1, + "source" : [ "obj-40", 0 ] } } , { "patchline" : { - "destination" : [ "obj-21", 0 ], + "destination" : [ "obj-44", 0 ], "source" : [ "obj-43", 0 ] } } , { "patchline" : { - "destination" : [ "obj-38", 0 ], + "destination" : [ "obj-121", 0 ], + "source" : [ "obj-44", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-61", 0 ], "source" : [ "obj-44", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-44", 1 ], + "source" : [ "obj-55", 0 ] + } + } , { "patchline" : { @@ -1244,26 +2393,111 @@ "source" : [ "obj-61", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-64", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-64", 1 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-68", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-64", 0 ], + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-82", 0 ], + "source" : [ "obj-73", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-85", 0 ], + "source" : [ "obj-78", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 0 ], + "source" : [ "obj-82", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-76", 0 ], + "source" : [ "obj-83", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-184", 0 ], + "source" : [ "obj-85", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-189", 0 ], + "midpoints" : [ 695.5, 614.0, 566.5, 614.0 ], + "source" : [ "obj-85", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "source" : [ "obj-85", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-78", 0 ], + "source" : [ "obj-87", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-99", 0 ], + "midpoints" : [ 146.5, 42.0, 146.5, 42.0 ], "source" : [ "obj-94", 0 ] } } , { "patchline" : { - "destination" : [ "obj-181", 0 ], - "order" : 1, - "source" : [ "obj-99", 4 ] + "destination" : [ "obj-44", 0 ], + "source" : [ "obj-97", 0 ] } } , { "patchline" : { - "destination" : [ "obj-181", 0 ], - "source" : [ "obj-99", 3 ] + "destination" : [ "obj-113", 0 ], + "source" : [ "obj-99", 4 ] } } @@ -1287,19 +2521,11 @@ "source" : [ "obj-99", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-35", 0 ], - "order" : 0, - "source" : [ "obj-99", 4 ] - } - } ] } , - "patching_rect" : [ 878.5, 227.0, 115.0, 22.0 ], + "patching_rect" : [ 1167.0, 497.0, 115.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -1319,10 +2545,22 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1268.0, 268.0, 117.0, 22.0 ], + "patching_rect" : [ 976.0, 224.0, 117.0, 22.0 ], "text" : "-> djster_webcontrol" } + } +, { + "box" : { + "id" : "obj-31", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1144.0, 545.0, 34.0, 22.0 ], + "text" : "write" + } + } , { "box" : { @@ -1331,7 +2569,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 1196.0, 271.0, 58.0, 22.0 ], + "patching_rect" : [ 1169.0, 165.0, 58.0, 22.0 ], "text" : "loadbang" } @@ -1343,7 +2581,7 @@ "numinlets" : 2, "numoutlets" : 5, "outlettype" : [ "dictionary", "", "", "", "" ], - "patching_rect" : [ 1191.0, 159.0, 91.0, 22.0 ], + "patching_rect" : [ 1150.0, 591.5, 61.0, 22.0 ], "saved_object_attributes" : { "embed" : 0, "legacy" : 0, @@ -1351,7 +2589,7 @@ "parameter_mappable" : 0 } , - "text" : "dict HSSPieces" + "text" : "dict" } } @@ -1360,9 +2598,9 @@ "id" : "obj-29", "maxclass" : "newobj", "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 1028.0, 159.0, 153.0, 22.0 ], + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 1117.0, 447.0, 119.0, 22.0 ], "saved_object_attributes" : { "filename" : "hss.piecemaker.js", "parameter_enable" : 0 @@ -1379,7 +2617,62 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 1028.0, 18.0, 94.0, 79.0 ] + "patching_rect" : [ 1117.0, 306.0, 94.0, 79.0 ] + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1112.0, 202.0, 47.0, 22.0 ], + "text" : "dict.iter" + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1053.0, 26.0, 117.0, 22.0 ], + "text" : "get DefaultSetting::1" + } + + } +, { + "box" : { + "id" : "obj-57", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 923.0, 26.0, 122.0, 22.0 ], + "text" : "read HSSPieces.json" + } + + } +, { + "box" : { + "id" : "obj-55", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 5, + "outlettype" : [ "dictionary", "", "", "", "" ], + "patching_rect" : [ 923.0, 69.0, 91.0, 22.0 ], + "saved_object_attributes" : { + "embed" : 0, + "legacy" : 0, + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "dict HSSPieces" } } @@ -1389,7 +2682,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1191.0, 781.0, 150.0, 20.0 ], + "patching_rect" : [ 1242.0, 119.0, 150.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 349.0, 18.5, 34.0, 20.0 ], "saved_attribute_attributes" : { @@ -1409,7 +2702,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1191.0, 756.0, 150.0, 20.0 ], + "patching_rect" : [ 1242.0, 94.0, 150.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 262.0, 18.5, 33.0, 20.0 ], "saved_attribute_attributes" : { @@ -1646,7 +2939,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 565.0, 725.0, 19.0, 22.0 ], + "patching_rect" : [ 595.0, 1298.0, 19.0, 22.0 ], "text" : "t l" } @@ -1657,7 +2950,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 734.0, 785.0, 165.0, 22.0 ], + "patching_rect" : [ 764.0, 1358.0, 165.0, 22.0 ], "text" : "udpsend 192.168.7.104 9000" } @@ -1668,7 +2961,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 565.0, 785.0, 165.0, 22.0 ], + "patching_rect" : [ 595.0, 1358.0, 165.0, 22.0 ], "text" : "udpsend 192.168.7.103 9000" } @@ -1679,7 +2972,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 394.0, 785.0, 165.0, 22.0 ], + "patching_rect" : [ 424.0, 1358.0, 165.0, 22.0 ], "text" : "udpsend 192.168.7.102 9000" } @@ -1690,7 +2983,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 252.0, 785.0, 135.0, 22.0 ], + "patching_rect" : [ 282.0, 1358.0, 135.0, 22.0 ], "text" : "udpsend localhost 9000" } @@ -1701,7 +2994,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1191.0, 678.0, 150.0, 20.0 ], + "patching_rect" : [ 1242.0, 16.0, 150.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 794.0, 18.5, 75.0, 20.0 ], "saved_attribute_attributes" : { @@ -1738,7 +3031,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1191.0, 704.0, 150.0, 20.0 ], + "patching_rect" : [ 1242.0, 42.0, 150.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 74.0, 18.5, 53.0, 20.0 ], "saved_attribute_attributes" : { @@ -1758,7 +3051,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1191.0, 729.0, 150.0, 20.0 ], + "patching_rect" : [ 1242.0, 67.0, 150.0, 20.0 ], "presentation" : 1, "presentation_rect" : [ 10.0, 18.0, 28.0, 20.0 ], "saved_attribute_attributes" : { @@ -1771,6 +3064,35 @@ "text" : "Init:" } + } +, { + "box" : { + "bubble" : 1, + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-121", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 700.0, 242.0, 137.0, 36.0 ], + "text" : "Read preset file and activate first preset" + } + + } +, { + "box" : { + "id" : "obj-120", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 646.0, 249.0, 46.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 299.0, 17.5, 46.0, 22.0 ], + "text" : "read, 1" + } + } , { "box" : { @@ -1787,14 +3109,13 @@ , { "box" : { "bubble" : 1, - "bubbleside" : 2, "fontname" : "Arial", "fontsize" : 11.0, "id" : "obj-118", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 1036.0, 271.0, 137.0, 38.0 ], + "patching_rect" : [ 700.0, 217.0, 137.0, 23.0 ], "text" : "Write presets to file" } @@ -1806,12 +3127,24 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1080.0, 311.0, 56.0, 22.0 ], + "patching_rect" : [ 632.0, 217.0, 56.0, 22.0 ], "presentation" : 1, "presentation_rect" : [ 385.0, 17.5, 56.0, 22.0 ], "text" : "writejson" } + } +, { + "box" : { + "id" : "obj-115", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 632.0, 282.0, 70.0, 22.0 ], + "text" : "pvar DJster" + } + } , { "box" : { @@ -1821,11 +3154,6 @@ "numoutlets" : 4, "outlettype" : [ "", "", "", "" ], "patching_rect" : [ 225.0, 65.0, 56.0, 22.0 ], - "restore" : { - "currentPiece" : [ "DefaultSetting" ], - "nodes" : [ 0.5, 0.5, 0.1, 1, 0.1, 0.1, 0.1, 1, 0.9, 0.1, 0.1, 1, 0.9, 0.9, 0.1, 1, 0.1, 0.9, 0.1, 1 ] - } -, "text" : "autopattr", "varname" : "u761045005" } @@ -1864,16 +3192,14 @@ , { "box" : { "bubble" : 1, - "bubbleside" : 3, "fontname" : "Arial", "fontsize" : 11.0, "id" : "obj-86", - "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 545.0, 33.5, 137.0, 35.0 ], - "text" : "Create presets by clicking on numbers" + "patching_rect" : [ 690.0, 27.0, 137.0, 23.0 ], + "text" : "Create your presets" } } @@ -1885,7 +3211,7 @@ "numinlets" : 1, "numoutlets" : 5, "outlettype" : [ "preset", "int", "preset", "int", "" ], - "patching_rect" : [ 751.5, 224.0, 126.0, 28.0 ], + "patching_rect" : [ 543.0, 12.0, 126.0, 28.0 ], "pattrstorage" : "DJster", "presentation" : 1, "presentation_rect" : [ 129.0, 14.5, 125.0, 28.0 ] @@ -1909,7 +3235,7 @@ } , "classnamespace" : "box", - "rect" : [ 283.0, 57.0, 403.0, 673.0 ], + "rect" : [ 570.0, 92.0, 403.0, 673.0 ], "bglocked" : 0, "openinpresentation" : 1, "default_fontsize" : 12.0, @@ -2118,7 +3444,7 @@ } , "classnamespace" : "box", - "rect" : [ 507.0, 109.0, 876.0, 682.0 ], + "rect" : [ 159.0, 175.0, 876.0, 682.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -2147,6 +3473,54 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 574.0, 570.0, 90.0, 22.0 ], + "text" : "prepend param" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 471.75, 561.0, 90.0, 22.0 ], + "text" : "prepend param" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 379.0, 561.0, 90.0, 22.0 ], + "text" : "prepend param" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 281.0, 561.0, 90.0, 22.0 ], + "text" : "prepend param" + } + + } +, { "box" : { "id" : "obj-18", "maxclass" : "newobj", @@ -2426,9 +3800,9 @@ "outlettype" : [ "", "", "", "" ], "patching_rect" : [ 12.0, 260.0, 56.0, 22.0 ], "restore" : { - "instrument-1" : [ "Bell-2.instr" ], - "instrument-2" : [ "Bell-2.instr" ], - "instrument-3" : [ "Bell-2.instr" ], + "instrument-1" : [ "Bell-1.instr" ], + "instrument-2" : [ "Bell-1.instr" ], + "instrument-3" : [ "Bell-1.instr" ], "instrument-4" : [ "Bell-1.instr" ] } , @@ -3144,13 +4518,13 @@ "boxes" : [ { "box" : { "id" : "obj-22", - "linecount" : 2, + "linecount" : 3, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 51.0, 29.0, 50.0, 35.0 ], - "text" : "amount 1.1" + "text" : "eventfulness 98" } } @@ -3365,7 +4739,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 343.0, 265.0, 171.0, 22.0 ], - "restore" : [ 17 ], + "restore" : [ 0 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -3384,7 +4758,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 295.75, 209.0, 162.0, 22.0 ], - "restore" : [ 1.1 ], + "restore" : [ 0 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -4148,7 +5522,7 @@ } , "classnamespace" : "box", - "rect" : [ 134.0, 100.0, 734.0, 848.0 ], + "rect" : [ 817.0, 100.0, 734.0, 848.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -4296,7 +5670,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 517.899999999999977, 790.0, 145.0, 22.0 ], - "restore" : [ 8, 64 ], + "restore" : [ 21, 63 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -4315,7 +5689,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 460.899999999999977, 903.0, 145.0, 22.0 ], - "restore" : [ 67, 11 ], + "restore" : [ 63, 21 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -4334,7 +5708,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 403.899999999999977, 847.0, 145.0, 22.0 ], - "restore" : [ 125, 58 ], + "restore" : [ 109, 63 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -4353,7 +5727,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 346.899999999999977, 790.0, 145.0, 22.0 ], - "restore" : [ 64, 112 ], + "restore" : [ 66, 109 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -5390,7 +6764,7 @@ , { "box" : { "id" : "obj-34", - "int" : 4, + "int" : 1, "maxclass" : "gswitch2", "numinlets" : 2, "numoutlets" : 5, @@ -5565,6 +6939,13 @@ "source" : [ "obj-1", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-84", 0 ], + "source" : [ "obj-10", 0 ] + } + } , { "patchline" : { @@ -5609,6 +6990,13 @@ "source" : [ "obj-14", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-82", 0 ], + "source" : [ "obj-15", 0 ] + } + } , { "patchline" : { @@ -5654,6 +7042,13 @@ "source" : [ "obj-18", 2 ] } + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-19", 0 ] + } + } , { "patchline" : { @@ -5684,6 +7079,13 @@ "source" : [ "obj-25", 3 ] } + } +, { + "patchline" : { + "destination" : [ "obj-87", 0 ], + "source" : [ "obj-3", 0 ] + } + } , { "patchline" : { @@ -5708,28 +7110,28 @@ } , { "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-34", 4 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-82", 0 ], - "source" : [ "obj-34", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-84", 0 ], + "destination" : [ "obj-10", 0 ], "source" : [ "obj-34", 2 ] } } , { "patchline" : { - "destination" : [ "obj-87", 0 ], + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-34", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-34", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], "source" : [ "obj-34", 1 ] } @@ -5863,18 +7265,23 @@ } , { "box" : { + "autorestore" : "Georg-2024-06-12.json", "id" : "obj-20", "linecount" : 2, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1117.333333333333258, 358.0, 265.0, 35.0 ], + "patching_rect" : [ 1112.0, 249.0, 265.0, 36.0 ], + "priority" : { + "hub::instrument::bank" : -1 + } +, "saved_object_attributes" : { - "client_rect" : [ 1049, 490, 1658, 806 ], + "client_rect" : [ 1057, 45, 1440, 407 ], "parameter_enable" : 0, "parameter_mappable" : 0, - "storage_rect" : [ 780, 524, 1380, 824 ] + "storage_rect" : [ 583, 69, 1034, 197 ] } , "text" : "pattrstorage DJster @greedy 1 @outputmode 2 @changemode 1", @@ -5910,7 +7317,7 @@ "numoutlets" : 4, "offset" : [ 0.0, 0.0 ], "outlettype" : [ "", "bang", "", "dictionary" ], - "patching_rect" : [ 585.0, 520.0, 499.0, 172.0 ], + "patching_rect" : [ 615.0, 1093.0, 499.0, 172.0 ], "presentation" : 1, "presentation_rect" : [ 513.0, 229.0, 499.0, 172.0 ], "varname" : "Djster.µbus[3]", @@ -5934,7 +7341,7 @@ "numoutlets" : 4, "offset" : [ 0.0, 0.0 ], "outlettype" : [ "", "bang", "", "dictionary" ], - "patching_rect" : [ 65.0, 520.0, 500.0, 172.0 ], + "patching_rect" : [ 95.0, 1093.0, 500.0, 172.0 ], "presentation" : 1, "presentation_rect" : [ 11.0, 229.0, 500.0, 172.0 ], "varname" : "Djster.µbus[2]", @@ -5958,7 +7365,7 @@ "numoutlets" : 4, "offset" : [ 0.0, 0.0 ], "outlettype" : [ "", "bang", "", "dictionary" ], - "patching_rect" : [ 585.0, 340.0, 499.0, 172.0 ], + "patching_rect" : [ 615.0, 913.0, 499.0, 172.0 ], "presentation" : 1, "presentation_rect" : [ 513.0, 55.0, 499.0, 172.0 ], "varname" : "Djster.µbus[1]", @@ -6001,7 +7408,7 @@ "numoutlets" : 4, "offset" : [ 0.0, 0.0 ], "outlettype" : [ "", "bang", "", "dictionary" ], - "patching_rect" : [ 65.0, 340.0, 500.0, 172.0 ], + "patching_rect" : [ 95.0, 913.0, 500.0, 172.0 ], "presentation" : 1, "presentation_rect" : [ 10.0, 55.0, 500.0, 172.0 ], "varname" : "Djster.µbus[0]", @@ -6019,7 +7426,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 16.0, 4.0, 143.0, 66.0 ], + "patching_rect" : [ 16.0, 4.0, 143.0, 67.0 ], "saved_bundle_data" : [ 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 72, 47, 42, 0, 0, 44, 46, 0, 0, 0, 0, 0, 60, 35, 98, 117, 110, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 47, 107, 101, 121, 0, 0, 0, 0, 44, 115, 0, 0, 99, 108, 101, 97, 114, 0, 0, 0, 0, 0, 0, 16, 47, 118, 97, 108, 0, 0, 0, 0, 44, 115, 0, 0, 42, 0, 0, 0 ], "saved_bundle_length" : 92, "text" : "/* : {\n /key : \"clear\",\n /val : \"*\"\n}" @@ -6105,7 +7512,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1196.0, 308.0, 177.0, 22.0 ], + "patching_rect" : [ 1169.0, 202.0, 177.0, 22.0 ], "text" : "priority hub::instrument::bank -1" } @@ -6118,8 +7525,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1151.0, 14.0, 135.0, 76.0 ], - "presentation_linecount" : 5, + "patching_rect" : [ 1240.0, 302.0, 135.0, 77.0 ], "text" : "\"Macintosh HD:/Users/Shared/Max 8/Library/healing-soundscapes/Presets/DefaultSetting.json\"" } @@ -6165,7 +7571,14 @@ } , { "patchline" : { - "destination" : [ "obj-20", 0 ], + "destination" : [ "obj-55", 0 ], + "source" : [ "obj-110", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-115", 0 ], "source" : [ "obj-117", 0 ] } @@ -6186,15 +7599,61 @@ } , { "patchline" : { - "destination" : [ "obj-165", 1 ], - "source" : [ "obj-132", 0 ] + "destination" : [ "obj-115", 0 ], + "source" : [ "obj-120", 0 ] } } , { "patchline" : { - "destination" : [ "obj-181", 1 ], - "source" : [ "obj-132", 2 ] + "destination" : [ "obj-59", 0 ], + "source" : [ "obj-125", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-126", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "order" : 3, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-58", 0 ], + "order" : 2, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-60", 0 ], + "order" : 1, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-61", 0 ], + "order" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-14", 0 ] } } @@ -6204,27 +7663,6 @@ "source" : [ "obj-15", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-79", 0 ], - "source" : [ "obj-160", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-79", 0 ], - "source" : [ "obj-164", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-160", 0 ], - "source" : [ "obj-165", 0 ] - } - } , { "patchline" : { @@ -6264,52 +7702,6 @@ "source" : [ "obj-18", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-48", 0 ], - "midpoints" : [ 888.0, 217.5, 888.0, 217.5 ], - "source" : [ "obj-180", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-180", 0 ], - "source" : [ "obj-181", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-165", 0 ], - "order" : 1, - "source" : [ "obj-182", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-181", 0 ], - "order" : 0, - "source" : [ "obj-182", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-185", 0 ], - "order" : 2, - "source" : [ "obj-182", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-132", 0 ], - "source" : [ "obj-185", 0 ] - } - } , { "patchline" : { @@ -6320,8 +7712,9 @@ } , { "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-200", 1 ] + "destination" : [ "obj-35", 0 ], + "order" : 1, + "source" : [ "obj-20", 0 ] } } @@ -6334,10 +7727,45 @@ } , { "patchline" : { - "destination" : [ "obj-29", 0 ], + "destination" : [ "obj-55", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], "source" : [ "obj-23", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "source" : [ "obj-23", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "source" : [ "obj-23", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "source" : [ "obj-23", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-24", 0 ] + } + } , { "patchline" : { @@ -6362,38 +7790,22 @@ } , { "patchline" : { - "destination" : [ "obj-132", 0 ], + "destination" : [ "obj-20", 0 ], + "midpoints" : [ 1226.5, 483.0, 1401.5, 483.0, 1401.5, 241.0, 1121.5, 241.0 ], + "source" : [ "obj-29", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], "source" : [ "obj-29", 0 ] } } , { "patchline" : { - "destination" : [ "obj-20", 0 ], - "order" : 0, - "source" : [ "obj-29", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-200", 0 ], - "source" : [ "obj-29", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-47", 0 ], - "order" : 1, - "source" : [ "obj-29", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-48", 1 ], - "midpoints" : [ 1082.166666666666742, 205.5, 984.0, 205.5 ], + "destination" : [ "obj-48", 0 ], "source" : [ "obj-29", 1 ] } @@ -6401,14 +7813,14 @@ , { "patchline" : { "destination" : [ "obj-29", 0 ], - "source" : [ "obj-3", 0 ] + "source" : [ "obj-30", 0 ] } } , { "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-30", 0 ] + "destination" : [ "obj-27", 0 ], + "source" : [ "obj-31", 0 ] } } @@ -6419,6 +7831,13 @@ "source" : [ "obj-32", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-35", 0 ] + } + } , { "patchline" : { @@ -6427,14 +7846,35 @@ "source" : [ "obj-39", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-63", 0 ], + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "source" : [ "obj-47", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-29", 1 ], - "midpoints" : [ 888.0, 259.0, 1307.5, 259.0, 1307.5, 151.0, 1171.5, 151.0 ], + "midpoints" : [ 1176.5, 535.0, 1296.5, 535.0, 1296.5, 425.0, 1226.5, 425.0 ], "source" : [ "obj-48", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-58", 0 ], + "source" : [ "obj-49", 0 ] + } + } , { "patchline" : { @@ -6442,6 +7882,13 @@ "source" : [ "obj-5", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-60", 0 ], + "source" : [ "obj-50", 0 ] + } + } , { "patchline" : { @@ -6449,6 +7896,86 @@ "source" : [ "obj-52", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-61", 0 ], + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-125", 0 ], + "source" : [ "obj-55", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 0 ], + "source" : [ "obj-56", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-55", 0 ], + "source" : [ "obj-57", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "source" : [ "obj-58", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-126", 0 ], + "order" : 0, + "source" : [ "obj-59", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "order" : 1, + "source" : [ "obj-59", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 1 ], + "midpoints" : [ 950.5, 294.0, 1272.5, 294.0 ], + "source" : [ "obj-59", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "source" : [ "obj-61", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "source" : [ "obj-63", 0 ] + } + } , { "patchline" : { @@ -6456,6 +7983,34 @@ "source" : [ "obj-65", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-66", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-49", 0 ], + "source" : [ "obj-69", 0 ] + } + } , { "patchline" : { @@ -6463,14 +8018,56 @@ "source" : [ "obj-7", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "source" : [ "obj-70", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-84", 1 ], + "source" : [ "obj-76", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "source" : [ "obj-78", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "source" : [ "obj-79", 1 ] + } + } , { "patchline" : { "destination" : [ "obj-17", 0 ], - "midpoints" : [ 74.5, 718.5, 574.5, 718.5 ], + "midpoints" : [ 104.5, 1291.5, 604.5, 1291.5 ], "source" : [ "obj-8", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-77", 0 ], + "source" : [ "obj-80", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-80", 0 ], + "source" : [ "obj-82", 0 ] + } + } , { "patchline" : { @@ -6487,46 +8084,46 @@ "source" : [ "obj-89", 5 ] } - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "midpoints" : [ 423.5, 280.0, 594.5, 280.0 ], - "source" : [ "obj-89", 4 ] - } - } , { "patchline" : { "destination" : [ "obj-17", 0 ], - "midpoints" : [ 371.5, 297.0, 574.5, 297.0 ], + "midpoints" : [ 371.5, 297.0, 604.5, 297.0 ], "source" : [ "obj-89", 0 ] } } , { "patchline" : { - "destination" : [ "obj-26", 0 ], - "midpoints" : [ 384.5, 289.0, 74.5, 289.0 ], + "destination" : [ "obj-41", 0 ], + "midpoints" : [ 384.5, 289.0, 112.0, 289.0 ], "source" : [ "obj-89", 1 ] } } , { "patchline" : { - "destination" : [ "obj-5", 0 ], - "midpoints" : [ 397.5, 288.0, 594.5, 288.0 ], + "destination" : [ "obj-58", 0 ], + "midpoints" : [ 397.5, 288.0, 112.0, 288.0 ], "source" : [ "obj-89", 2 ] } } , { "patchline" : { - "destination" : [ "obj-8", 0 ], - "midpoints" : [ 410.5, 278.0, 74.5, 278.0 ], + "destination" : [ "obj-60", 0 ], + "midpoints" : [ 410.5, 278.0, 112.0, 278.0 ], "source" : [ "obj-89", 3 ] } + } +, { + "patchline" : { + "destination" : [ "obj-61", 0 ], + "midpoints" : [ 423.5, 280.0, 112.0, 280.0 ], + "source" : [ "obj-89", 4 ] + } + } , { "patchline" : { @@ -6697,7 +8294,7 @@ "parameter_overrides" : { "obj-15::obj-1" : { "parameter_longname" : "Outset Pulses[3]", - "parameter_range" : [ 1, 32 ] + "parameter_range" : [ 1, 28 ] } , "obj-15::obj-104" : { @@ -6825,7 +8422,7 @@ , "obj-26::obj-1" : { "parameter_longname" : "Outset Pulses", - "parameter_range" : [ 1, 32 ] + "parameter_range" : [ 1, 28 ] } , "obj-26::obj-104" : { @@ -6959,7 +8556,7 @@ , "obj-5::obj-1" : { "parameter_longname" : "Outset Pulses[1]", - "parameter_range" : [ 1, 32 ] + "parameter_range" : [ 1, 28 ] } , "obj-5::obj-104" : { @@ -7089,7 +8686,7 @@ , "obj-8::obj-1" : { "parameter_longname" : "Outset Pulses[2]", - "parameter_range" : [ 1, 32 ] + "parameter_range" : [ 1, 28 ] } , "obj-8::obj-104" : { @@ -7222,307 +8819,285 @@ , "dependency_cache" : [ { "name" : "AdditiveMeter2.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "Autobusk-µPlayer.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/core", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/core", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/core", "type" : "JSON", "implicit" : 1 } , { "name" : "DJster.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "Georg-2024-06-12.json", + "bootpath" : "D:/projects/healing-soundscapes/Presets", + "patcherrelativepath" : "../healing-soundscapes/Presets", "type" : "JSON", "implicit" : 1 } , { "name" : "Inner-Equation.5.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "Inside.3.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "Mod.2.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "Pof_(Qi)(i=0toz-r-1).2.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "Pof_(Qj)(j=1toz).2.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "Pof_(Qz+1-k)(k=0tor).2.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "Qz+1-k2.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "Qz-r2.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "TIE.7.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "Total-Internal-Equation.6.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "bytecount.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/core", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/core", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/core", "type" : "JSON", "implicit" : 1 } , { "name" : "composite-meters.txt", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "TEXT", "implicit" : 1 } , { "name" : "dispenser.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "djster.accum.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/core", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/core", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/core", "type" : "JSON", "implicit" : 1 } , { "name" : "djster_webcontrol.js", - "bootpath" : "/Users/Shared/Max 8/Library/healing-soundscapes", + "bootpath" : "D:/projects/healing-soundscapes-light", "patcherrelativepath" : ".", "type" : "TEXT", "implicit" : 1 } , { "name" : "drawsocket-max.js", - "bootpath" : "/Users/Shared/Max 8/Packages/drawsocket-max/javascript", - "patcherrelativepath" : "../../Packages/drawsocket-max/javascript", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/drawsocket-max/javascript", "type" : "TEXT", "implicit" : 1 } , { "name" : "drawsocket.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/drawsocket-max/patchers", - "patcherrelativepath" : "../../Packages/drawsocket-max/patchers", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/drawsocket-max/patchers", "type" : "JSON", "implicit" : 1 } , { "name" : "dumper.2.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } +, { + "name" : "hack-dict.js", + "bootpath" : "D:/projects/healing-soundscapes-light", + "patcherrelativepath" : ".", + "type" : "TEXT", + "implicit" : 1 + } , { "name" : "harmonic-energy-profile.txt", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/Profiles", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/Profiles", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/Profiles", "type" : "TEXT", "implicit" : 1 } , { "name" : "harmonicity.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/Tonality", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/Tonality", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/Tonality", "type" : "JSON", "implicit" : 1 } , { "name" : "hss.piecemaker.js", - "bootpath" : "/Users/Shared/Max 8/Library/healing-soundscapes", + "bootpath" : "D:/projects/healing-soundscapes-light", "patcherrelativepath" : ".", "type" : "TEXT", "implicit" : 1 } , { "name" : "indigestibility.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/Tonality", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/Tonality", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/Tonality", "type" : "JSON", "implicit" : 1 } , { "name" : "meter-subpatch.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/core", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/core", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/core", "type" : "JSON", "implicit" : 1 } , { - "name" : "mxj.mxo", - "type" : "iLaX" + "name" : "mxj.mxe64", + "type" : "mx64" } , { - "name" : "o.atomize.mxo", - "type" : "iLaX" + "name" : "my-LtoColl.maxpat", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/extensions", + "type" : "JSON", + "implicit" : 1 } , { - "name" : "o.compose.mxo", - "type" : "iLaX" + "name" : "o.atomize.mxe64", + "type" : "mx64" } , { - "name" : "o.dict.mxo", - "type" : "iLaX" + "name" : "o.compose.mxe64", + "type" : "mx64" } , { - "name" : "o.display.mxo", - "type" : "iLaX" + "name" : "o.dict.mxe64", + "type" : "mx64" } , { - "name" : "o.expr.codebox.mxo", - "type" : "iLaX" + "name" : "o.display.mxe64", + "type" : "mx64" } , { - "name" : "o.pack.mxo", - "type" : "iLaX" + "name" : "o.expr.codebox.mxe64", + "type" : "mx64" } , { - "name" : "o.route.mxo", - "type" : "iLaX" + "name" : "o.pack.mxe64", + "type" : "mx64" } , { - "name" : "o.select.mxo", - "type" : "iLaX" + "name" : "o.route.mxe64", + "type" : "mx64" } , { - "name" : "o.timetag.mxo", - "type" : "iLaX" + "name" : "o.select.mxe64", + "type" : "mx64" + } +, { + "name" : "o.timetag.mxe64", + "type" : "mx64" } , { "name" : "outset.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/core", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/core", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/core", "type" : "JSON", "implicit" : 1 } , { "name" : "packback.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/abstractions", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/abstractions", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/abstractions", "type" : "JSON", "implicit" : 1 } , { "name" : "platform.js", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/javascript", - "patcherrelativepath" : "../../Packages/MaxScore/javascript", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/javascript", "type" : "TEXT", "implicit" : 1 } , { "name" : "primefactors.txt", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/maps/microMaps", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/maps/microMaps", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/maps/microMaps", "type" : "TEXT", "implicit" : 1 } , { "name" : "psi-functions.txt", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "TEXT", "implicit" : 1 } , { "name" : "reader.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "reader2.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/dispenser", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/dispenser", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/dispenser", "type" : "JSON", "implicit" : 1 } , { "name" : "scalaFileBase.js", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/javascript", - "patcherrelativepath" : "../../Packages/MaxScore/javascript", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/javascript", "type" : "TEXT", "implicit" : 1 } , { "name" : "scale-subpatch-exp.maxpat", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/core", - "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/core", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/patchers/DJster/core", "type" : "JSON", "implicit" : 1 } , { "name" : "scriptingname.js", - "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/javascript", - "patcherrelativepath" : "../../Packages/MaxScore/javascript", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/MaxScore/javascript", "type" : "TEXT", "implicit" : 1 } , { "name" : "startscript.js", - "bootpath" : "/Users/Shared/Max 8/Packages/Quintet.net/patchers/Library/nodejs/drawsocket-min/code", - "patcherrelativepath" : "../../Packages/Quintet.net/patchers/Library/nodejs/drawsocket-min/code", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "tf.js", - "bootpath" : "/Users/Shared/Max 8/Library/tensorflow-max-mlp", - "patcherrelativepath" : "../tensorflow-max-mlp", + "bootpath" : "~/OneDrive/Documents/Max 8/Packages/drawsocket-max/javascript", "type" : "TEXT", "implicit" : 1 } diff --git a/hss-distributed-server.maxpatHSSPiece.json b/hss-distributed-server.maxpatHSSPiece.json deleted file mode 100644 index 0db3279..0000000 --- a/hss-distributed-server.maxpatHSSPiece.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - -} diff --git a/hss.piecemaker.js b/hss.piecemaker.js index f033c6a..22aff56 100644 --- a/hss.piecemaker.js +++ b/hss.piecemaker.js @@ -1,10 +1,10 @@ inlets = 2 -outlets = 4; +outlets = 3; + -var jpieces = {}; var presets = []; var hsspiece = {}; -var outdict = new Dict("HSSPieces");; +var outdict = new Dict; var points = [[0.5, 0.5], [1., 0.], [1., 1.], [0., 1.], [0., 0.]]; var net = new Dict; var title; @@ -29,39 +29,21 @@ var DJsterParams = { "tempo" : [20, 200, "log"],// "timesig_denominator" : [1, 5, "enum"],// "timesig_numerator" : [1, 12, "linear"],// - "tonic_pitch" : [12, 108, "enum"],// + "tonic_pitch" : [12, 108, "linear"],// }; -// function dictionary(d) { net.name = d; hsspiece[title]["networkData"] = JSON.parse(net.stringify()); outdict.parse(JSON.stringify(hsspiece)); - //outlet(0, "dictionary", outdict.name); -} - -function readPiece(path) -{ - outdict.import_json(path); - jpieces = JSON.parse(outdict.stringify()); - var keys = outdict.getkeys(); - for (var i = 0; i < keys.length; i++) outlet(3, keys[i]); - outlet(1, outdict.get("DefaultSetting::1::networkData"); - outlet(1, predict(0.5, 0.5); - outlet(0, 0.5, 0.5; -} - -function getSection(section) -{ - outlet(1, outdict.get(section + "::1::networkData"); - outlet(1, predict(0.5, 0.5); - outlet(0, 0.5, 0.5; + outlet(0, "dictionary", outdict.name); } function writePiece() { - outdict.export_json(this.patcher.filepath + "HSSPiece.json"); + var path = this.patcher.getnamed("machineLearning").subpatcher().getnamed("path").getvalueof(); + net.export_json(path + "HSSPiece.json"); } function anything() @@ -75,7 +57,7 @@ function anything() hsspiece[title] = {}; var slots = presets[i].get("pattrstorage::slots").getkeys();//number of slots here post("slots", slots, "\n"); - outlet(1, "clear_data"); + outlet(1, "clear"); for (var j = 0; j < slots.length; j++){ hsspiece[title][j + 1] = {}; var trainingData = []; @@ -85,6 +67,7 @@ function anything() delete data["Djster.µbus[" + p + "]::meters"]; for (var param in DJsterParams) { var val = data["Djster.µbus[" + p + "]::" + param]; + //post("params", hsspiece[title][j + 1]["Djster.µbus[" + p + "]::" + param], "\n"); switch (DJsterParams[param][2]) { case "linear" : trainingData.push(scale(val, DJsterParams[param][0], DJsterParams[param][1], 0., 1.)); @@ -93,19 +76,17 @@ function anything() trainingData.push(scale(val, DJsterParams[param][0], DJsterParams[param][1], 0., 1.)); break; case "enum" : - trainingData.push(j/5); + trainingData.push(0); break; } } - //var val = data["hub::instrument::instrument-" + (p + 1)]; - trainingData.push(j/5); - var val = data["hub::src::src" + (p + 1)]; - trainingData.push(scale(val[0], 0, 127, 0., 1.)); - trainingData.push(scale(val[1], 0, 127, 0., 1.)); - } + var val = data["hub::instrument::instrument-" + (p + 1)]; + trainingData.push(0); + } //post("data", JSON.stringify(data), "\n"); hsspiece[title][j + 1] = data; - outlet(1, "data_point", points[j].concat(trainingData)); + outlet(1, points[j].concat(trainingData)); + outlet(1, "addPat"); } outlet(1, "train", 10000); } @@ -114,13 +95,10 @@ function anything() function list() { var vector = arrayfromargs(arguments); - var src = []; - var currentPiece = this.patcher.getnamed("currentPiece").getvalueof(); var keys = Object.keys(DJsterParams); for (var i = 0; i < 4; i++) { for (var j = 0; j < vector.length/4; j++) { var k = j + i * vector.length/4; - //post("vector", j, "\n"); switch (j) { case 3 : //log case 17 : @@ -128,32 +106,20 @@ function list() outlet(2, "Djster.µbus[" + i + "]::" + keys[j], val); break; case 13 : //enum - //val = "Major"; - post(vector[k], Math.floor(vector[k]/0.2 + 1), "\n"); - outlet(2, "Djster.µbus[" + i + "]::" + keys[j], jpieces[currentPiece][parseInt(vector[k]/0.2 + 1)]["Djster.µbus[" + i + "]::scale"]); + val = "Major"; + outlet(2, "Djster.µbus[" + i + "]::" + keys[j], val); break; case 16 : - //val = "2 2 2"; - outlet(2, "Djster.µbus[" + i + "]::" + keys[j], jpieces[currentPiece][parseInt(vector[k]/0.2 + 1)]["Djster.µbus[" + i + "]::meter"]); + val = "2 2 2"; + outlet(2, "Djster.µbus[" + i + "]::" + keys[j], val); break; case 18 : - //val = "4" - outlet(2, "Djster.µbus[" + i + "]::" + keys[j], jpieces[currentPiece][parseInt(vector[k]/0.2 + 1)]["Djster.µbus[" + i + "]::timesig_denominator"]); + val = "4" + outlet(2, "Djster.µbus[" + i + "]::" + keys[j], val); break; case 21 : val = "4" - outlet(2, "hub::instrument::instrument-" + (i + 1), jpieces[currentPiece][parseInt(vector[k]/0.2 + 1)]["hub::instrument::instrument-" + (i + 1)]); - break; - case 22 : - src[0] = scale(vector[k], 0, 1, 0, 127); - break; - case 23 : - src[1] = scale(vector[k], 0, 1, 0, 127); - outlet(2, "hub::src::src" + (i + 1), src); - break; - case 1 : case 9 : case 10 : case 14 : case 15 : case 19 : case 20 : - var val = Math.round(scale(vector[k], 0, 1, DJsterParams[keys[j]][0], DJsterParams[keys[j]][1])); - outlet(2, "Djster.µbus[" + i + "]::" + keys[j], val); + outlet(2, "hub::instrument::instrument-" + (i + 1), val); break; default : //linear var val = scale(vector[k], 0, 1, DJsterParams[keys[j]][0], DJsterParams[keys[j]][1]); diff --git a/lfogui.html b/lfogui.html new file mode 100644 index 0000000..dba9582 --- /dev/null +++ b/lfogui.html @@ -0,0 +1,28 @@ + + + + + + + + + + +
+ + + + + + + + + + +