From 9926a64ec3a0d3fc6a890f5cd6d9b4eea01f3f5e Mon Sep 17 00:00:00 2001 From: computermusik Date: Mon, 2 Dec 2024 15:11:41 +0100 Subject: [PATCH] Integration of Scheduling Tool --- SchedulingTool.maxpat | 1131 ++++++++++--------- hss-distributed-server.maxpat | 1983 ++++++++++++++++++++++++++++++--- hss.piecemaker.js | 38 +- 3 files changed, 2470 insertions(+), 682 deletions(-) diff --git a/SchedulingTool.maxpat b/SchedulingTool.maxpat index 2ed6ecb..f657f1f 100644 --- a/SchedulingTool.maxpat +++ b/SchedulingTool.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 34.0, 100.0, 1381.0, 800.0 ], + "rect" : [ 34.0, 100.0, 1516.0, 800.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -39,6 +39,603 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 0.0, 0.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-93", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 305.0, 86.0, 22.0 ], + "text" : "target 1, $1 $2" + } + + } +, { + "box" : { + "id" : "obj-92", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 103.0, 281.0, 86.0, 22.0 ], + "text" : "target 2, $1 $2" + } + + } +, { + "box" : { + "id" : "obj-88", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 103.0, 252.0, 47.0, 22.0 ], + "text" : "pack i f" + } + + } +, { + "box" : { + "id" : "obj-87", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 252.0, 47.0, 22.0 ], + "text" : "pack i f" + } + + } +, { + "box" : { + "id" : "obj-86", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 219.0, 124.0, 22.0 ], + "text" : "expr 3600*$i1+60*$i2" + } + + } +, { + "box" : { + "id" : "obj-84", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 185.0, 143.0, 22.0 ], + "text" : "fromsymbol @separator :" + } + + } +, { + "box" : { + "id" : "obj-83", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 131.0, 29.5, 22.0 ], + "text" : "$2" + } + + } +, { + "box" : { + "id" : "obj-82", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 65.666666666666686, 154.0, 29.5, 22.0 ], + "text" : "$2" + } + + } +, { + "box" : { + "id" : "obj-81", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 81.333333333333314, 131.0, 29.5, 22.0 ], + "text" : "$2" + } + + } +, { + "box" : { + "id" : "obj-80", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 50.0, 100.0, 66.0, 22.0 ], + "text" : "route 0 1 2" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 70.5, 387.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-80", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-81", 0 ], + "source" : [ "obj-80", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-82", 0 ], + "source" : [ "obj-80", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 0 ], + "source" : [ "obj-80", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-88", 1 ], + "source" : [ "obj-81", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-87", 1 ], + "source" : [ "obj-82", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-84", 0 ], + "source" : [ "obj-83", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-86", 0 ], + "source" : [ "obj-84", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-87", 0 ], + "order" : 1, + "source" : [ "obj-86", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-88", 0 ], + "order" : 0, + "source" : [ "obj-86", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-93", 0 ], + "source" : [ "obj-87", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-92", 0 ], + "source" : [ "obj-88", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-92", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-93", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 377.0, 118.0, 93.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p write2function" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 119.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-74", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 222.0, 346.0, 33.0, 22.0 ], + "text" : "read" + } + + } +, { + "box" : { + "id" : "obj-73", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 184.0, 346.0, 34.0, 22.0 ], + "text" : "write" + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 61.0, 100.0, 58.0, 22.0 ], + "text" : "loadbang" + } + + } +, { + "box" : { + "id" : "obj-25", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 346.0, 35.0, 22.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 93.0, 346.0, 83.0, 22.0 ], + "text" : "prepend store" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 93.0, 313.0, 69.0, 22.0 ], + "text" : "append 0 0" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 93.0, 230.0, 64.0, 22.0 ], + "text" : "divmod 60" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 93.0, 196.0, 30.0, 22.0 ], + "text" : "* 30" + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 93.0, 275.0, 182.0, 22.0 ], + "text" : "combine h : m @padding 2 0 2" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 61.0, 134.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 61.0, 167.0, 51.0, 22.0 ], + "text" : "uzi 48 0" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 131.25, 428.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 2 ], + "source" : [ "obj-16", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-73", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-74", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 74.0, 623.0, 60.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p fill-table" + } + + } +, { "box" : { "id" : "obj-147", "maxclass" : "gswitch2", @@ -73,49 +670,6 @@ "text" : "t b b" } - } -, { - "box" : { - "id" : "obj-140", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 1356.5, 452.0, 40.0, 22.0 ], - "restore" : [ "data", 0, 4, 86400.0, 0.0, 1.0, "curve", "data", 1, 4, 86400.0, 0.0, 1.0, "curve" ], - "saved_object_attributes" : { - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "pattr", - "varname" : "u499015180" - } - - } -, { - "box" : { - "chans" : 2, - "classic_curve" : 1, - "data" : [ { - - } -, { - - } - ], - "domain" : 86400.0, - "id" : "obj-139", - "maxclass" : "mc.function", - "mode" : 1, - "numinlets" : 1, - "numoutlets" : 5, - "outlettype" : [ "float", "", "", "bang", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 1367.0, 516.0, 527.0, 190.0 ], - "varname" : "mc.function[1]" - } - } , { "box" : { @@ -310,7 +864,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 1030.0, 299.0, 50.0, 22.0 ], - "text" : "120" + "text" : "132" } } @@ -380,141 +934,10 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 377.0, 377.0, 97.0, 22.0 ], + "patching_rect" : [ 377.0, 147.0, 97.0, 22.0 ], "text" : "pvar mc.function" } - } -, { - "box" : { - "id" : "obj-93", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 377.0, 323.0, 86.0, 22.0 ], - "text" : "target 1, $1 $2" - } - - } -, { - "box" : { - "id" : "obj-92", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 430.0, 299.0, 86.0, 22.0 ], - "text" : "target 2, $1 $2" - } - - } -, { - "box" : { - "id" : "obj-88", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 430.0, 270.0, 47.0, 22.0 ], - "text" : "pack i f" - } - - } -, { - "box" : { - "id" : "obj-87", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 377.0, 270.0, 47.0, 22.0 ], - "text" : "pack i f" - } - - } -, { - "box" : { - "id" : "obj-86", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 377.0, 237.0, 124.0, 22.0 ], - "text" : "expr 3600*$i1+60*$i2" - } - - } -, { - "box" : { - "id" : "obj-84", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 377.0, 203.0, 143.0, 22.0 ], - "text" : "fromsymbol @separator :" - } - - } -, { - "box" : { - "id" : "obj-83", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 377.0, 149.0, 29.5, 22.0 ], - "text" : "$2" - } - - } -, { - "box" : { - "id" : "obj-82", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 392.666666666666686, 172.0, 29.5, 22.0 ], - "text" : "$2" - } - - } -, { - "box" : { - "id" : "obj-81", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 408.333333333333314, 149.0, 29.5, 22.0 ], - "text" : "$2" - } - - } -, { - "box" : { - "id" : "obj-80", - "maxclass" : "newobj", - "numinlets" : 4, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "patching_rect" : [ 377.0, 118.0, 66.0, 22.0 ], - "text" : "route 0 1 2" - } - - } -, { - "box" : { - "id" : "obj-79", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 366.0, 40.0, 32.0, 22.0 ], - "text" : "print" - } - } , { "box" : { @@ -523,7 +946,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 410.0, 40.0, 39.0, 22.0 ], + "patching_rect" : [ 377.0, 42.0, 39.0, 22.0 ], "text" : "dump" } @@ -535,34 +958,10 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 410.0, 75.0, 33.0, 22.0 ], + "patching_rect" : [ 377.0, 77.0, 33.0, 22.0 ], "text" : "grab" } - } -, { - "box" : { - "id" : "obj-74", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 203.0, 623.0, 33.0, 22.0 ], - "text" : "read" - } - - } -, { - "box" : { - "id" : "obj-73", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 165.0, 623.0, 34.0, 22.0 ], - "text" : "write" - } - } , { "box" : { @@ -572,7 +971,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 593.0, 730.0, 112.0, 22.0 ], - "text" : "0.70763 0.891963" + "text" : "0.8458 0.473534" } } @@ -608,7 +1007,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 982.0, 226.0, 50.0, 22.0 ], - "text" : "61020" + "text" : "67932" } } @@ -627,12 +1026,13 @@ , { "box" : { "id" : "obj-47", + "linecount" : 2, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 873.0, 176.0, 50.0, 22.0 ], - "text" : "16 57 0" + "patching_rect" : [ 873.0, 176.0, 50.0, 35.0 ], + "text" : "18 52 12" } } @@ -694,7 +1094,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 1082.0, 142.0, 40.0, 22.0 ], - "restore" : [ "data", 0, 4, 86400.0, 0.0, 1.0, "curve", "data", 1, 4, 86400.0, 0.0, 1.0, "curve" ], + "restore" : [ "data", 0, 196, 86400.0, 0.0, 1.0, 0.0, 0.0, 0, 0.0, 1800.0, 0.5, 0, 0.0, 3600.0, 0.553333, 0, 0.0, 5400.0, 0.58, 0, 0.0, 7200.0, 0.66, 0, 0.0, 9000.0, 0.783333, 0, 0.0, 10800.0, 0.816667, 0, 0.0, 12600.0, 0.81, 0, 0.0, 14400.0, 0.68, 0, 0.0, 16200.0, 0.566667, 0, 0.0, 18000.0, 0.53, 0, 0.0, 19800.0, 0.44, 0, 0.0, 21600.0, 0.303333, 0, 0.0, 23400.0, 0.32, 0, 0.0, 25200.0, 0.236667, 0, 0.0, 27000.0, 0.25, 0, 0.0, 28800.0, 0.383333, 0, 0.0, 30600.0, 0.346667, 0, 0.0, 32400.0, 0.24, 0, 0.0, 34200.0, 0.136667, 0, 0.0, 36000.0, 0.203333, 0, 0.0, 37800.0, 0.353333, 0, 0.0, 39600.0, 0.363333, 0, 0.0, 41400.0, 0.376667, 0, 0.0, 43200.0, 0.376667, 0, 0.0, 45000.0, 0.416667, 0, 0.0, 46800.0, 0.476667, 0, 0.0, 48600.0, 0.523333, 0, 0.0, 50400.0, 0.643333, 0, 0.0, 52200.0, 0.87, 0, 0.0, 54000.0, 0.91, 0, 0.0, 55800.0, 0.91, 0, 0.0, 57600.0, 0.916667, 0, 0.0, 59400.0, 0.903333, 0, 0.0, 61200.0, 0.89, 0, 0.0, 63000.0, 0.796667, 0, 0.0, 64800.0, 0.663333, 0, 0.0, 66600.0, 0.55, 0, 0.0, 68400.0, 0.446667, 0, 0.0, 70200.0, 0.513333, 0, 0.0, 72000.0, 0.553333, 0, 0.0, 73800.0, 0.62, 0, 0.0, 75600.0, 0.64, 0, 0.0, 77400.0, 0.633333, 0, 0.0, 79200.0, 0.603333, 0, 0.0, 81000.0, 0.563333, 0, 0.0, 82800.0, 0.523333, 0, 0.0, 84600.0, 0.473333, 0, 0.0, "curve", "data", 1, 196, 86400.0, 0.0, 1.0, 0.0, 0.0, 0, 0.0, 1800.0, 0.5, 0, 0.0, 3600.0, 0.55, 0, 0.0, 5400.0, 0.563333, 0, 0.0, 7200.0, 0.556667, 0, 0.0, 9000.0, 0.686667, 0, 0.0, 10800.0, 0.523333, 0, 0.0, 12600.0, 0.35, 0, 0.0, 14400.0, 0.31, 0, 0.0, 16200.0, 0.27, 0, 0.0, 18000.0, 0.196667, 0, 0.0, 19800.0, 0.143333, 0, 0.0, 21600.0, 0.223333, 0, 0.0, 23400.0, 0.34, 0, 0.0, 25200.0, 0.426667, 0, 0.0, 27000.0, 0.563333, 0, 0.0, 28800.0, 0.636667, 0, 0.0, 30600.0, 0.733333, 0, 0.0, 32400.0, 0.65, 0, 0.0, 34200.0, 0.616667, 0, 0.0, 36000.0, 0.73, 0, 0.0, 37800.0, 0.8, 0, 0.0, 39600.0, 0.666667, 0, 0.0, 41400.0, 0.553333, 0, 0.0, 43200.0, 0.446667, 0, 0.0, 45000.0, 0.313333, 0, 0.0, 46800.0, 0.236667, 0, 0.0, 48600.0, 0.193333, 0, 0.0, 50400.0, 0.153333, 0, 0.0, 52200.0, 0.193333, 0, 0.0, 54000.0, 0.306667, 0, 0.0, 55800.0, 0.306667, 0, 0.0, 57600.0, 0.47, 0, 0.0, 59400.0, 0.616667, 0, 0.0, 61200.0, 0.723333, 0, 0.0, 63000.0, 0.816667, 0, 0.0, 64800.0, 0.843333, 0, 0.0, 66600.0, 0.843333, 0, 0.0, 68400.0, 0.846667, 0, 0.0, 70200.0, 0.793333, 0, 0.0, 72000.0, 0.723333, 0, 0.0, 73800.0, 0.56, 0, 0.0, 75600.0, 0.496667, 0, 0.0, 77400.0, 0.41, 0, 0.0, 79200.0, 0.42, 0, 0.0, 81000.0, 0.406667, 0, 0.0, 82800.0, 0.406667, 0, 0.0, 84600.0, 0.43, 0, 0.0, "curve" ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -753,114 +1153,6 @@ "text" : "Set" } - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 42.0, 377.0, 58.0, 22.0 ], - "text" : "loadbang" - } - - } -, { - "box" : { - "id" : "obj-25", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 31.0, 623.0, 35.0, 22.0 ], - "text" : "clear" - } - - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 74.0, 623.0, 83.0, 22.0 ], - "text" : "prepend store" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 74.0, 590.0, 69.0, 22.0 ], - "text" : "append 0 0" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "int", "int" ], - "patching_rect" : [ 74.0, 507.0, 64.0, 22.0 ], - "text" : "divmod 60" - } - - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 74.0, 473.0, 30.0, 22.0 ], - "text" : "* 30" - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 74.0, 552.0, 182.0, 22.0 ], - "text" : "combine h : m @padding 2 0 2" - } - - } -, { - "box" : { - "id" : "obj-13", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 42.0, 411.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-11", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 42.0, 444.0, 51.0, 22.0 ], - "text" : "uzi 48 0" - } - } , { "box" : { @@ -893,7 +1185,9 @@ } , { "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], "cols" : 3, + "fgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "fontface" : 0, "fontname" : "Arial", "fontsize" : 12.0, @@ -905,7 +1199,9 @@ "outmode" : 1, "patching_rect" : [ 543.0, 134.0, 221.0, 425.0 ], "rows" : 48, - "selmode" : 3 + "sccolor" : [ 0.2, 0.2, 0.2, 1.0 ], + "selmode" : 3, + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } @@ -914,10 +1210,10 @@ "chans" : 2, "classic_curve" : 1, "data" : [ { - + "addpoints_with_curve" : [ 0.0, 0.0, 0, 0.0, 1800.0, 0.5, 0, 0.0, 3600.0, 0.553333, 0, 0.0, 5400.0, 0.58, 0, 0.0, 7200.0, 0.66, 0, 0.0, 9000.0, 0.783333, 0, 0.0, 10800.0, 0.816667, 0, 0.0, 12600.0, 0.81, 0, 0.0, 14400.0, 0.68, 0, 0.0, 16200.0, 0.566667, 0, 0.0, 18000.0, 0.53, 0, 0.0, 19800.0, 0.44, 0, 0.0, 21600.0, 0.303333, 0, 0.0, 23400.0, 0.32, 0, 0.0, 25200.0, 0.236667, 0, 0.0, 27000.0, 0.25, 0, 0.0, 28800.0, 0.383333, 0, 0.0, 30600.0, 0.346667, 0, 0.0, 32400.0, 0.24, 0, 0.0, 34200.0, 0.136667, 0, 0.0, 36000.0, 0.203333, 0, 0.0, 37800.0, 0.353333, 0, 0.0, 39600.0, 0.363333, 0, 0.0, 41400.0, 0.376667, 0, 0.0, 43200.0, 0.376667, 0, 0.0, 45000.0, 0.416667, 0, 0.0, 46800.0, 0.476667, 0, 0.0, 48600.0, 0.523333, 0, 0.0, 50400.0, 0.643333, 0, 0.0, 52200.0, 0.87, 0, 0.0, 54000.0, 0.91, 0, 0.0, 55800.0, 0.91, 0, 0.0, 57600.0, 0.916667, 0, 0.0, 59400.0, 0.903333, 0, 0.0, 61200.0, 0.89, 0, 0.0, 63000.0, 0.796667, 0, 0.0, 64800.0, 0.663333, 0, 0.0, 66600.0, 0.55, 0, 0.0, 68400.0, 0.446667, 0, 0.0, 70200.0, 0.513333, 0, 0.0, 72000.0, 0.553333, 0, 0.0, 73800.0, 0.62, 0, 0.0, 75600.0, 0.64, 0, 0.0, 77400.0, 0.633333, 0, 0.0, 79200.0, 0.603333, 0, 0.0, 81000.0, 0.563333, 0, 0.0, 82800.0, 0.523333, 0, 0.0, 84600.0, 0.473333, 0, 0.0 ] } , { - + "addpoints_with_curve" : [ 0.0, 0.0, 0, 0.0, 1800.0, 0.5, 0, 0.0, 3600.0, 0.55, 0, 0.0, 5400.0, 0.563333, 0, 0.0, 7200.0, 0.556667, 0, 0.0, 9000.0, 0.686667, 0, 0.0, 10800.0, 0.523333, 0, 0.0, 12600.0, 0.35, 0, 0.0, 14400.0, 0.31, 0, 0.0, 16200.0, 0.27, 0, 0.0, 18000.0, 0.196667, 0, 0.0, 19800.0, 0.143333, 0, 0.0, 21600.0, 0.223333, 0, 0.0, 23400.0, 0.34, 0, 0.0, 25200.0, 0.426667, 0, 0.0, 27000.0, 0.563333, 0, 0.0, 28800.0, 0.636667, 0, 0.0, 30600.0, 0.733333, 0, 0.0, 32400.0, 0.65, 0, 0.0, 34200.0, 0.616667, 0, 0.0, 36000.0, 0.73, 0, 0.0, 37800.0, 0.8, 0, 0.0, 39600.0, 0.666667, 0, 0.0, 41400.0, 0.553333, 0, 0.0, 43200.0, 0.446667, 0, 0.0, 45000.0, 0.313333, 0, 0.0, 46800.0, 0.236667, 0, 0.0, 48600.0, 0.193333, 0, 0.0, 50400.0, 0.153333, 0, 0.0, 52200.0, 0.193333, 0, 0.0, 54000.0, 0.306667, 0, 0.0, 55800.0, 0.306667, 0, 0.0, 57600.0, 0.47, 0, 0.0, 59400.0, 0.616667, 0, 0.0, 61200.0, 0.723333, 0, 0.0, 63000.0, 0.816667, 0, 0.0, 64800.0, 0.843333, 0, 0.0, 66600.0, 0.843333, 0, 0.0, 68400.0, 0.846667, 0, 0.0, 70200.0, 0.793333, 0, 0.0, 72000.0, 0.723333, 0, 0.0, 73800.0, 0.56, 0, 0.0, 75600.0, 0.496667, 0, 0.0, 77400.0, 0.41, 0, 0.0, 79200.0, 0.42, 0, 0.0, 81000.0, 0.406667, 0, 0.0, 82800.0, 0.406667, 0, 0.0, 84600.0, 0.43, 0, 0.0 ] } ], "domain" : 86400.0, @@ -1218,13 +1514,6 @@ "source" : [ "obj-106", 1 ] } - } -, { - "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-11", 2 ] - } - } , { "patchline" : { @@ -1281,13 +1570,6 @@ "source" : [ "obj-124", 1 ] } - } -, { - "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-13", 0 ] - } - } , { "patchline" : { @@ -1310,20 +1592,6 @@ "source" : [ "obj-136", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-139", 0 ], - "source" : [ "obj-140", 1 ] - } - } , { "patchline" : { @@ -1352,34 +1620,6 @@ "source" : [ "obj-147", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 2 ], - "source" : [ "obj-16", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-17", 0 ] - } - } , { "patchline" : { @@ -1387,6 +1627,13 @@ "source" : [ "obj-180", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-2", 0 ] + } + } , { "patchline" : { @@ -1394,20 +1641,6 @@ "source" : [ "obj-200", 1 ] } - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-21", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-25", 0 ] - } - } , { "patchline" : { @@ -1415,13 +1648,6 @@ "source" : [ "obj-27", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-13", 0 ], - "source" : [ "obj-28", 0 ] - } - } , { "patchline" : { @@ -1574,20 +1800,6 @@ "source" : [ "obj-55", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-73", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-74", 0 ] - } - } , { "patchline" : { @@ -1598,16 +1810,7 @@ } , { "patchline" : { - "destination" : [ "obj-79", 0 ], - "order" : 1, - "source" : [ "obj-75", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-80", 0 ], - "order" : 0, + "destination" : [ "obj-9", 0 ], "source" : [ "obj-75", 0 ] } @@ -1625,97 +1828,11 @@ "source" : [ "obj-8", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-81", 0 ], - "source" : [ "obj-80", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-82", 0 ], - "source" : [ "obj-80", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-83", 0 ], - "source" : [ "obj-80", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-88", 1 ], - "source" : [ "obj-81", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-87", 1 ], - "source" : [ "obj-82", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-84", 0 ], - "source" : [ "obj-83", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-86", 0 ], - "source" : [ "obj-84", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-87", 0 ], - "order" : 1, - "source" : [ "obj-86", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-88", 0 ], - "order" : 0, - "source" : [ "obj-86", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-93", 0 ], - "source" : [ "obj-87", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-92", 0 ], - "source" : [ "obj-88", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-94", 0 ], - "source" : [ "obj-92", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-94", 0 ], - "source" : [ "obj-93", 0 ] + "source" : [ "obj-9", 0 ] } } diff --git a/hss-distributed-server.maxpat b/hss-distributed-server.maxpat index c63c2e5..b394616 100644 --- a/hss-distributed-server.maxpat +++ b/hss-distributed-server.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 34.0, 100.0, 1020.0, 514.0 ], + "rect" : [ -865.0, 100.0, 2511.0, 789.0 ], "bglocked" : 1, "openinpresentation" : 1, "default_fontsize" : 12.0, @@ -41,13 +41,1332 @@ "globalpatchername" : "server", "boxes" : [ { "box" : { - "id" : "obj-94", + "id" : "obj-163", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1452.0, 69.0, 39.0, 22.0 ], + "text" : "dump" + } + + } +, { + "box" : { + "id" : "obj-159", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1336.200020015239716, 84.0, 89.0, 22.0 ], + "text" : "setBreakPoints" + } + + } +, { + "box" : { + "id" : "obj-156", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 565.0, 210.0, 59.0, 22.0 ], + "text" : "pvar start" + } + + } +, { + "box" : { + "id" : "obj-155", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 565.0, 177.0, 33.0, 22.0 ], + "text" : "== 3" + } + + } +, { + "box" : { + "id" : "obj-154", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 634.0, 177.0, 33.0, 22.0 ], + "text" : ">= 1" + } + + } +, { + "box" : { + "id" : "obj-147", + "maxclass" : "gswitch2", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 2170.0, 154.0, 39.0, 32.0 ] + } + + } +, { + "box" : { + "id" : "obj-146", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 2338.0, 120.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-145", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "bang" ], + "patching_rect" : [ 2338.0, 159.0, 32.0, 22.0 ], + "text" : "t b b" + } + + } +, { + "box" : { + "id" : "obj-136", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 2342.0, 348.0, 41.0, 22.0 ], + "text" : "atoms" + } + + } +, { + "box" : { + "id" : "obj-130", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 2286.0, 386.0, 40.0, 22.0 ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "array" + } + + } +, { + "box" : { + "id" : "obj-124", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 2250.0, 348.0, 55.0, 22.0 ], + "text" : "zl.slice 1" + } + + } +, { + "box" : { + "id" : "obj-123", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 2179.0, 246.0, 81.0, 22.0 ], + "text" : "get nextPiece" + } + + } +, { + "box" : { + "id" : "obj-125", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 2140.0, 246.0, 35.0, 22.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-126", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 2135.0, 47.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-127", + "items" : "Hss-Chen-Preset-2", + "maxclass" : "umenu", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 2179.0, 107.0, 126.0, 22.0 ], + "pattrmode" : 1, + "presentation" : 1, + "presentation_rect" : [ 387.0, 181.5, 126.0, 22.0 ], + "varname" : "currentPiece[1]" + } + + } +, { + "box" : { + "id" : "obj-128", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 2233.0, 159.0, 91.0, 22.0 ], + "text" : "prepend set set" + } + + } +, { + "box" : { + "id" : "obj-129", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 2233.0, 215.0, 72.0, 22.0 ], + "text" : "prepend set" + } + + } +, { + "box" : { + "id" : "obj-131", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 5, + "outlettype" : [ "dictionary", "", "", "", "" ], + "patching_rect" : [ 2233.0, 301.0, 89.0, 22.0 ], + "saved_object_attributes" : { + "embed" : 0, + "legacy" : 0, + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "dict trajectories" + } + + } +, { + "box" : { + "id" : "obj-133", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 2107.0, 338.0, 49.0, 22.0 ], + "text" : "fadeout" + } + + } +, { + "box" : { + "id" : "obj-134", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1988.0, 338.0, 41.0, 22.0 ], + "text" : "fadein" + } + + } +, { + "box" : { + "id" : "obj-135", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 2035.0, 338.0, 61.0, 22.0 ], + "text" : "nextPiece" + } + + } +, { + "box" : { + "id" : "obj-106", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "" ], + "patching_rect" : [ 2035.0, 301.0, 57.0, 22.0 ], + "text" : "sel 0 290" + } + + } +, { + "box" : { + "id" : "obj-137", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 2035.0, 264.0, 43.0, 22.0 ], + "text" : "% 300" + } + + } +, { + "box" : { + "id" : "obj-138", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1887.0, 721.0, 68.0, 22.0 ], + "text" : "pvar nodes" + } + + } +, { + "box" : { + "id" : "obj-139", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1826.0, 264.0, 59.0, 22.0 ], + "text" : "cursor $1" + } + + } +, { + "box" : { + "id" : "obj-100", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 2009.0, 417.0, 161.0, 22.0 ], + "text" : "target 1, clear, target 2, clear" + } + + } +, { + "box" : { + "id" : "obj-140", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 1887.0, 687.0, 61.0, 22.0 ], + "text" : "zl.group 2" + } + + } +, { + "box" : { + "id" : "obj-141", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1887.0, 264.0, 137.0, 22.0 ], + "text" : "target 2, $1, target 1, $1" + } + + } +, { + "box" : { + "id" : "obj-142", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1887.0, 190.0, 147.0, 22.0 ], + "text" : "expr 3600*$i1+60*$i2+$i3" + } + + } +, { + "box" : { + "id" : "obj-144", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1876.0, 107.0, 31.0, 22.0 ], + "text" : "time" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-148", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 1876.0, 75.0, 76.0, 23.0 ], + "text" : "metro 1000" + } + + } +, { + "box" : { + "id" : "obj-149", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 1876.0, 32.0, 24.0, 24.0 ], + "varname" : "start" + } + + } +, { + "box" : { + "id" : "obj-150", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "list", "list", "int" ], + "patching_rect" : [ 1876.0, 141.0, 40.0, 22.0 ], + "text" : "date" + } + + } +, { + "box" : { + "id" : "obj-151", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 2135.0, 107.0, 40.0, 22.0 ], + "restore" : [ "data", 0, 196, 86400.0, 0.0, 1.0, 0.0, 0.0, 0, 0.0, 1800.0, 0.5, 0, 0.0, 3600.0, 0.553333, 0, 0.0, 5400.0, 0.58, 0, 0.0, 7200.0, 0.66, 0, 0.0, 9000.0, 0.783333, 0, 0.0, 10800.0, 0.816667, 0, 0.0, 12600.0, 0.81, 0, 0.0, 14400.0, 0.68, 0, 0.0, 16200.0, 0.566667, 0, 0.0, 18000.0, 0.53, 0, 0.0, 19800.0, 0.44, 0, 0.0, 21600.0, 0.303333, 0, 0.0, 23400.0, 0.32, 0, 0.0, 25200.0, 0.236667, 0, 0.0, 27000.0, 0.25, 0, 0.0, 28800.0, 0.383333, 0, 0.0, 30600.0, 0.346667, 0, 0.0, 32400.0, 0.24, 0, 0.0, 34200.0, 0.136667, 0, 0.0, 36000.0, 0.203333, 0, 0.0, 37800.0, 0.353333, 0, 0.0, 39600.0, 0.363333, 0, 0.0, 41400.0, 0.376667, 0, 0.0, 43200.0, 0.376667, 0, 0.0, 45000.0, 0.416667, 0, 0.0, 46800.0, 0.476667, 0, 0.0, 48600.0, 0.523333, 0, 0.0, 50400.0, 0.643333, 0, 0.0, 52200.0, 0.87, 0, 0.0, 54000.0, 0.91, 0, 0.0, 55800.0, 0.91, 0, 0.0, 57600.0, 0.916667, 0, 0.0, 59400.0, 0.903333, 0, 0.0, 61200.0, 0.89, 0, 0.0, 63000.0, 0.796667, 0, 0.0, 64800.0, 0.663333, 0, 0.0, 66600.0, 0.55, 0, 0.0, 68400.0, 0.446667, 0, 0.0, 70200.0, 0.513333, 0, 0.0, 72000.0, 0.553333, 0, 0.0, 73800.0, 0.62, 0, 0.0, 75600.0, 0.64, 0, 0.0, 77400.0, 0.633333, 0, 0.0, 79200.0, 0.603333, 0, 0.0, 81000.0, 0.563333, 0, 0.0, 82800.0, 0.523333, 0, 0.0, 84600.0, 0.473333, 0, 0.0, "curve", "data", 1, 196, 86400.0, 0.0, 1.0, 0.0, 0.0, 0, 0.0, 1800.0, 0.5, 0, 0.0, 3600.0, 0.55, 0, 0.0, 5400.0, 0.563333, 0, 0.0, 7200.0, 0.556667, 0, 0.0, 9000.0, 0.686667, 0, 0.0, 10800.0, 0.523333, 0, 0.0, 12600.0, 0.35, 0, 0.0, 14400.0, 0.31, 0, 0.0, 16200.0, 0.27, 0, 0.0, 18000.0, 0.196667, 0, 0.0, 19800.0, 0.143333, 0, 0.0, 21600.0, 0.223333, 0, 0.0, 23400.0, 0.34, 0, 0.0, 25200.0, 0.426667, 0, 0.0, 27000.0, 0.563333, 0, 0.0, 28800.0, 0.636667, 0, 0.0, 30600.0, 0.733333, 0, 0.0, 32400.0, 0.65, 0, 0.0, 34200.0, 0.616667, 0, 0.0, 36000.0, 0.73, 0, 0.0, 37800.0, 0.8, 0, 0.0, 39600.0, 0.666667, 0, 0.0, 41400.0, 0.553333, 0, 0.0, 43200.0, 0.446667, 0, 0.0, 45000.0, 0.313333, 0, 0.0, 46800.0, 0.236667, 0, 0.0, 48600.0, 0.193333, 0, 0.0, 50400.0, 0.153333, 0, 0.0, 52200.0, 0.193333, 0, 0.0, 54000.0, 0.306667, 0, 0.0, 55800.0, 0.306667, 0, 0.0, 57600.0, 0.47, 0, 0.0, 59400.0, 0.616667, 0, 0.0, 61200.0, 0.723333, 0, 0.0, 63000.0, 0.816667, 0, 0.0, 64800.0, 0.843333, 0, 0.0, 66600.0, 0.843333, 0, 0.0, 68400.0, 0.846667, 0, 0.0, 70200.0, 0.793333, 0, 0.0, 72000.0, 0.723333, 0, 0.0, 73800.0, 0.56, 0, 0.0, 75600.0, 0.496667, 0, 0.0, 77400.0, 0.41, 0, 0.0, 79200.0, 0.42, 0, 0.0, 81000.0, 0.406667, 0, 0.0, 82800.0, 0.406667, 0, 0.0, 84600.0, 0.43, 0, 0.0, "curve" ], + "saved_object_attributes" : { + "parameter_enable" : 0, + "parameter_mappable" : 0 + } +, + "text" : "pattr", + "varname" : "u046015189" + } + + } +, { + "box" : { + "chans" : 2, + "classic_curve" : 1, + "data" : [ { + "addpoints_with_curve" : [ 0.0, 0.0, 0, 0.0, 1800.0, 0.5, 0, 0.0, 3600.0, 0.553333, 0, 0.0, 5400.0, 0.58, 0, 0.0, 7200.0, 0.66, 0, 0.0, 9000.0, 0.783333, 0, 0.0, 10800.0, 0.816667, 0, 0.0, 12600.0, 0.81, 0, 0.0, 14400.0, 0.68, 0, 0.0, 16200.0, 0.566667, 0, 0.0, 18000.0, 0.53, 0, 0.0, 19800.0, 0.44, 0, 0.0, 21600.0, 0.303333, 0, 0.0, 23400.0, 0.32, 0, 0.0, 25200.0, 0.236667, 0, 0.0, 27000.0, 0.25, 0, 0.0, 28800.0, 0.383333, 0, 0.0, 30600.0, 0.346667, 0, 0.0, 32400.0, 0.24, 0, 0.0, 34200.0, 0.136667, 0, 0.0, 36000.0, 0.203333, 0, 0.0, 37800.0, 0.353333, 0, 0.0, 39600.0, 0.363333, 0, 0.0, 41400.0, 0.376667, 0, 0.0, 43200.0, 0.376667, 0, 0.0, 45000.0, 0.416667, 0, 0.0, 46800.0, 0.476667, 0, 0.0, 48600.0, 0.523333, 0, 0.0, 50400.0, 0.643333, 0, 0.0, 52200.0, 0.87, 0, 0.0, 54000.0, 0.91, 0, 0.0, 55800.0, 0.91, 0, 0.0, 57600.0, 0.916667, 0, 0.0, 59400.0, 0.903333, 0, 0.0, 61200.0, 0.89, 0, 0.0, 63000.0, 0.796667, 0, 0.0, 64800.0, 0.663333, 0, 0.0, 66600.0, 0.55, 0, 0.0, 68400.0, 0.446667, 0, 0.0, 70200.0, 0.513333, 0, 0.0, 72000.0, 0.553333, 0, 0.0, 73800.0, 0.62, 0, 0.0, 75600.0, 0.64, 0, 0.0, 77400.0, 0.633333, 0, 0.0, 79200.0, 0.603333, 0, 0.0, 81000.0, 0.563333, 0, 0.0, 82800.0, 0.523333, 0, 0.0, 84600.0, 0.473333, 0, 0.0 ] + } +, { + "addpoints_with_curve" : [ 0.0, 0.0, 0, 0.0, 1800.0, 0.5, 0, 0.0, 3600.0, 0.55, 0, 0.0, 5400.0, 0.563333, 0, 0.0, 7200.0, 0.556667, 0, 0.0, 9000.0, 0.686667, 0, 0.0, 10800.0, 0.523333, 0, 0.0, 12600.0, 0.35, 0, 0.0, 14400.0, 0.31, 0, 0.0, 16200.0, 0.27, 0, 0.0, 18000.0, 0.196667, 0, 0.0, 19800.0, 0.143333, 0, 0.0, 21600.0, 0.223333, 0, 0.0, 23400.0, 0.34, 0, 0.0, 25200.0, 0.426667, 0, 0.0, 27000.0, 0.563333, 0, 0.0, 28800.0, 0.636667, 0, 0.0, 30600.0, 0.733333, 0, 0.0, 32400.0, 0.65, 0, 0.0, 34200.0, 0.616667, 0, 0.0, 36000.0, 0.73, 0, 0.0, 37800.0, 0.8, 0, 0.0, 39600.0, 0.666667, 0, 0.0, 41400.0, 0.553333, 0, 0.0, 43200.0, 0.446667, 0, 0.0, 45000.0, 0.313333, 0, 0.0, 46800.0, 0.236667, 0, 0.0, 48600.0, 0.193333, 0, 0.0, 50400.0, 0.153333, 0, 0.0, 52200.0, 0.193333, 0, 0.0, 54000.0, 0.306667, 0, 0.0, 55800.0, 0.306667, 0, 0.0, 57600.0, 0.47, 0, 0.0, 59400.0, 0.616667, 0, 0.0, 61200.0, 0.723333, 0, 0.0, 63000.0, 0.816667, 0, 0.0, 64800.0, 0.843333, 0, 0.0, 66600.0, 0.843333, 0, 0.0, 68400.0, 0.846667, 0, 0.0, 70200.0, 0.793333, 0, 0.0, 72000.0, 0.723333, 0, 0.0, 73800.0, 0.56, 0, 0.0, 75600.0, 0.496667, 0, 0.0, 77400.0, 0.41, 0, 0.0, 79200.0, 0.42, 0, 0.0, 81000.0, 0.406667, 0, 0.0, 82800.0, 0.406667, 0, 0.0, 84600.0, 0.43, 0, 0.0 ] + } + ], + "domain" : 86400.0, + "id" : "obj-152", + "maxclass" : "mc.function", + "mode" : 1, + "numinlets" : 1, + "numoutlets" : 5, + "outlettype" : [ "float", "", "", "bang", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 1887.0, 481.0, 418.0, 187.0 ], + "varname" : "mc.function" + } + + } +, { + "box" : { + "id" : "obj-153", + "linecount" : 2, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 2351.0, 209.0, 111.0, 35.0 ], + "presentation_linecount" : 2, + "text" : "get Hss-Chen-Preset-2" + } + + } +, { + "box" : { + "id" : "obj-121", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 1575.0, 9.5, 58.0, 22.0 ], + "text" : "loadbang" + } + + } +, { + "box" : { + "id" : "obj-122", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1575.0, 42.5, 85.0, 22.0 ], + "text" : "refer schedule" + } + + } +, { + "box" : { + "id" : "obj-115", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 119.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-93", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 305.0, 86.0, 22.0 ], + "text" : "target 1, $1 $2" + } + + } +, { + "box" : { + "id" : "obj-92", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 103.0, 281.0, 86.0, 22.0 ], + "text" : "target 2, $1 $2" + } + + } +, { + "box" : { + "id" : "obj-88", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 103.0, 252.0, 47.0, 22.0 ], + "text" : "pack i f" + } + + } +, { + "box" : { + "id" : "obj-87", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 252.0, 47.0, 22.0 ], + "text" : "pack i f" + } + + } +, { + "box" : { + "id" : "obj-86", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 219.0, 124.0, 22.0 ], + "text" : "expr 3600*$i1+60*$i2" + } + + } +, { + "box" : { + "id" : "obj-84", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 185.0, 143.0, 22.0 ], + "text" : "fromsymbol @separator :" + } + + } +, { + "box" : { + "id" : "obj-83", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 131.0, 29.5, 22.0 ], + "text" : "$2" + } + + } +, { + "box" : { + "id" : "obj-82", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 65.666666666666686, 154.0, 29.5, 22.0 ], + "text" : "$2" + } + + } +, { + "box" : { + "id" : "obj-81", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 81.333333333333314, 131.0, 29.5, 22.0 ], + "text" : "$2" + } + + } +, { + "box" : { + "id" : "obj-80", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 50.0, 100.0, 66.0, 22.0 ], + "text" : "route 0 1 2" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 70.5, 387.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-80", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-81", 0 ], + "source" : [ "obj-80", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-82", 0 ], + "source" : [ "obj-80", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-83", 0 ], + "source" : [ "obj-80", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-88", 1 ], + "source" : [ "obj-81", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-87", 1 ], + "source" : [ "obj-82", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-84", 0 ], + "source" : [ "obj-83", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-86", 0 ], + "source" : [ "obj-84", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-87", 0 ], + "order" : 1, + "source" : [ "obj-86", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-88", 0 ], + "order" : 0, + "source" : [ "obj-86", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-93", 0 ], + "source" : [ "obj-87", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-92", 0 ], + "source" : [ "obj-88", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-92", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-93", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 1453.0, 144.0, 93.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p write2function" + } + + } +, { + "box" : { + "id" : "obj-116", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1453.0, 190.0, 97.0, 22.0 ], + "text" : "pvar mc.function" + } + + } +, { + "box" : { + "id" : "obj-120", + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 1453.0, 27.0, 97.0, 21.0 ], + "text" : "Dump Schedule", + "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-75", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 1453.0, 103.0, 33.0, 22.0 ], + "text" : "grab" + } + + } +, { + "box" : { + "id" : "obj-109", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 771.5, 20.0, 28.0, 22.0 ], - "text" : "r xy" + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 119.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-74", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 222.0, 346.0, 33.0, 22.0 ], + "text" : "read" + } + + } +, { + "box" : { + "id" : "obj-73", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 184.0, 346.0, 34.0, 22.0 ], + "text" : "write" + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 61.0, 100.0, 58.0, 22.0 ], + "text" : "loadbang" + } + + } +, { + "box" : { + "id" : "obj-25", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 346.0, 35.0, 22.0 ], + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 93.0, 346.0, 83.0, 22.0 ], + "text" : "prepend store" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 93.0, 313.0, 69.0, 22.0 ], + "text" : "append 0 0" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 93.0, 230.0, 64.0, 22.0 ], + "text" : "divmod 60" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 93.0, 196.0, 30.0, 22.0 ], + "text" : "* 30" + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 93.0, 275.0, 182.0, 22.0 ], + "text" : "combine h : m @padding 2 0 2" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 61.0, 134.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 61.0, 167.0, 51.0, 22.0 ], + "text" : "uzi 48 0" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 131.25, 428.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 2 ], + "source" : [ "obj-16", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-73", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-74", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 1646.0, 413.0, 60.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p fill-table" + } + + } +, { + "box" : { + "id" : "obj-110", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1575.0, 230.400003433227539, 71.0, 22.0 ], + "text" : "set store $3" + } + + } +, { + "box" : { + "id" : "obj-111", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1711.0, 413.0, 53.0, 22.0 ], + "text" : "prepend" + } + + } +, { + "box" : { + "id" : "obj-112", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 1711.0, 375.0, 38.0, 22.0 ], + "text" : "zl.reg" + } + + } +, { + "box" : { + "id" : "obj-113", + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 1711.0, 333.0, 84.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 787.0, 21.0, 61.0, 20.0 ], + "text" : "Set Time", + "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-114", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 1646.0, 470.0, 78.0, 22.0 ], + "saved_object_attributes" : { + "embed" : 0, + "precision" : 6 + } +, + "text" : "coll schedule" + } + + } +, { + "box" : { + "id" : "obj-108", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 447.0, 21.0, 69.0, 33.0 ], + "presentation" : 1, + "presentation_rect" : [ 448.0, 21.0, 98.0, 20.0 ], + "saved_attribute_attributes" : { + "textcolor" : { + "expression" : "themecolor.theme_textcolor" + } + + } +, + "text" : "Operation Mode:" + } + + } +, { + "box" : { + "id" : "obj-107", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 396.0, 16.0, 69.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 335.0, 21.0, 49.0, 20.0 ], + "saved_attribute_attributes" : { + "textcolor" : { + "expression" : "themecolor.theme_textcolor" + } + + } +, + "text" : "Presets" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-95", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 1467.0, 411.5, 150.0, 21.0 ], + "presentation" : 1, + "presentation_rect" : [ 1180.0, 353.0, 150.0, 21.0 ], + "text" : "set dimensional sizes" + } + + } +, { + "box" : { + "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "coldef" : [ [ 0, 41, 1, 0.0, 0.0, 0.0, 1.0, 1, 0.0, 0.0, 0.0, 1.0, -1, -1, -1 ], [ 1, 41, 1, 0.0, 0.0, 0.0, 1.0, 1, 0.0, 0.0, 0.0, 1.0, -1, -1, -1 ], [ 2, 41, 1, 0.0, 0.0, 0.0, 1.0, 1, 0.0, 0.0, 0.0, 1.0, -1, -1, -1 ] ], + "cols" : 3, + "fgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 12.0, + "hcellcolor" : [ 0.819607843137255, 0.819607843137255, 0.901960784313726, 0.47 ], + "id" : "obj-88", + "maxclass" : "jit.cellblock", + "numinlets" : 2, + "numoutlets" : 4, + "outlettype" : [ "list", "", "", "" ], + "outmode" : 1, + "patching_rect" : [ 1575.0, 78.0, 143.0, 143.800005733966827 ], + "presentation" : 1, + "presentation_rect" : [ 856.0, 20.0, 141.0, 150.0 ], + "rows" : 48, + "sccolor" : [ 0.2, 0.2, 0.2, 1.0 ], + "selmode" : 3, + "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-85", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 1481.0, 236.0, 85.0, 20.0 ], + "text" : "Add to DJster:" + } + + } +, { + "box" : { + "id" : "obj-81", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 1351.333333333333258, 601.0, 218.0, 33.0 ], + "text" : "Adjust webinterface to variable event_length scale" + } + + } +, { + "box" : { + "id" : "obj-73", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1429.0, 332.0, 92.0, 22.0 ], + "text" : "prepend priority" + } + + } +, { + "box" : { + "id" : "obj-66", + "linecount" : 4, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1429.0, 263.0, 254.0, 62.0 ], + "text" : "Djster.µbus[0]::event_length_display_style -1, Djster.µbus[1]::event_length_display_style -1, Djster.µbus[2]::event_length_display_style -1, Djster.µbus[3]::event_length_display_style -1" } } @@ -58,9 +1377,9 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 340.0, 83.0, 69.0, 47.0 ], + "patching_rect" : [ 280.5, 13.5, 69.0, 47.0 ], "presentation" : 1, - "presentation_rect" : [ 322.5, 77.0, 105.0, 20.0 ], + "presentation_rect" : [ 11.5, 109.0, 105.0, 20.0 ], "saved_attribute_attributes" : { "textcolor" : { "expression" : "themecolor.theme_textcolor" @@ -75,6 +1394,7 @@ , { "box" : { "bubble" : 1, + "bubbleside" : 0, "fontname" : "Arial", "fontsize" : 11.0, "id" : "obj-82", @@ -82,10 +1402,10 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 600.0, 244.0, 120.0, 35.0 ], + "patching_rect" : [ 600.0, 244.0, 120.0, 50.0 ], "presentation" : 1, - "presentation_linecount" : 3, - "presentation_rect" : [ 402.0, 33.5, 101.0, 47.0 ], + "presentation_linecount" : 2, + "presentation_rect" : [ 204.0, 126.0, 101.0, 50.0 ], "text" : "Train after opening preset file" } @@ -110,7 +1430,7 @@ "numoutlets" : 0, "patching_rect" : [ 600.0, 69.0, 69.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 340.0, 19.0, 69.0, 20.0 ], + "presentation_rect" : [ 238.0, 79.0, 69.0, 20.0 ], "saved_attribute_attributes" : { "textcolor" : { "expression" : "themecolor.theme_textcolor" @@ -121,18 +1441,6 @@ "text" : "Neural Net:" } - } -, { - "box" : { - "id" : "obj-76", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1245.49999874830246, 116.0, 205.0, 22.0 ], - "text" : "get Hss-Chen-Preset-2::networkData" - } - } , { "box" : { @@ -169,7 +1477,7 @@ "outlettype" : [ "" ], "patching_rect" : [ 1072.0, 84.0, 32.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 359.0, 46.0, 32.0, 22.0 ], + "presentation_rect" : [ 239.0, 103.0, 32.0, 22.0 ], "text" : "train" } @@ -246,7 +1554,7 @@ "patching_rect" : [ 1336.800019919872284, 223.200003325939178, 32.0, 22.0 ], "pattrmode" : 1, "presentation" : 1, - "presentation_rect" : [ 734.0, 124.0, 32.0, 22.0 ] + "presentation_rect" : [ 539.0, 90.0, 32.0, 22.0 ] } } @@ -270,7 +1578,7 @@ "numoutlets" : 0, "patching_rect" : [ 508.0, 69.0, 81.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 642.0, 125.0, 87.0, 20.0 ], + "presentation_rect" : [ 448.0, 91.0, 87.0, 20.0 ], "text" : "Output Mode:" } @@ -296,7 +1604,7 @@ "outlettype" : [ "" ], "patching_rect" : [ 1283.0, 411.0, 77.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 525.0, 98.0, 77.0, 22.0 ], + "presentation_rect" : [ 335.0, 102.0, 77.0, 22.0 ], "text" : "clientwindow" } @@ -321,7 +1629,7 @@ "numoutlets" : 0, "patching_rect" : [ 986.0, 45.0, 5.0, 100.0 ], "presentation" : 1, - "presentation_rect" : [ 817.0, 140.0, 83.0, 5.0 ] + "presentation_rect" : [ 620.0, 162.25, 83.0, 5.0 ] } } @@ -333,7 +1641,7 @@ "numoutlets" : 0, "patching_rect" : [ 998.0, 45.0, 5.0, 100.0 ], "presentation" : 1, - "presentation_rect" : [ 938.0, 35.0, 5.0, 73.0 ] + "presentation_rect" : [ 741.0, 55.25, 5.0, 73.0 ] } } @@ -345,7 +1653,7 @@ "numoutlets" : 0, "patching_rect" : [ 910.5, 42.0, 51.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 931.0, 10.0, 19.0, 20.0 ], + "presentation_rect" : [ 734.0, 30.25, 19.0, 20.0 ], "text" : "+" } @@ -358,7 +1666,7 @@ "numoutlets" : 0, "patching_rect" : [ 910.5, 69.0, 51.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 931.0, 111.0, 19.0, 20.0 ], + "presentation_rect" : [ 734.0, 131.25, 19.0, 20.0 ], "text" : "-" } @@ -371,7 +1679,7 @@ "numoutlets" : 0, "patching_rect" : [ 910.5, 125.0, 51.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 903.0, 130.0, 19.0, 20.0 ], + "presentation_rect" : [ 706.0, 150.25, 19.0, 20.0 ], "text" : "+" } @@ -384,7 +1692,7 @@ "numoutlets" : 0, "patching_rect" : [ 910.5, 96.0, 51.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 796.0, 130.0, 19.0, 20.0 ], + "presentation_rect" : [ 599.0, 150.25, 19.0, 20.0 ], "text" : "-" } @@ -397,7 +1705,7 @@ "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 1302.400003135204315, 538.400000631809235, 50.0, 22.0 ] + "patching_rect" : [ 1331.333333333333258, 537.0, 50.0, 22.0 ] } } @@ -408,7 +1716,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1302.400003135204315, 570.400001108646393, 107.0, 22.0 ], + "patching_rect" : [ 1331.333333333333258, 569.0, 107.0, 22.0 ], "text" : "hub::global::dry $1" } @@ -436,7 +1744,7 @@ "parameter_enable" : 0, "patching_rect" : [ 7.5, 199.0, 100.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 28.0, 89.5, 96.0, 27.0 ], + "presentation_rect" : [ 16.0, 65.0, 96.0, 27.0 ], "text" : "Load Client", "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ] } @@ -451,7 +1759,7 @@ "outlettype" : [ "" ], "patching_rect" : [ 1151.200017154216766, 270.400004029273987, 33.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 525.0, 43.0, 33.0, 22.0 ], + "presentation_rect" : [ 335.0, 48.0, 33.0, 22.0 ], "text" : "read" } @@ -463,7 +1771,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 1227.200002014636993, 570.400001108646393, 60.0, 22.0 ], + "patching_rect" : [ 1256.333333333333258, 569.0, 60.0, 22.0 ], "text" : "zl.change" } @@ -475,7 +1783,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1288.000002920627594, 643.200002193450928, 134.0, 22.0 ], + "patching_rect" : [ 1317.333333333333258, 642.0, 134.0, 22.0 ], "text" : "pattrforward webcontrol" } @@ -2196,7 +3504,7 @@ ] } , - "patching_rect" : [ 1227.200002014636993, 607.200001657009125, 80.0, 22.0 ], + "patching_rect" : [ 1256.333333333333258, 606.0, 80.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -2215,7 +3523,7 @@ "numinlets" : 5, "numoutlets" : 5, "outlettype" : [ "", "", "", "", "" ], - "patching_rect" : [ 1092.0, 538.400000631809235, 154.0, 22.0 ], + "patching_rect" : [ 1121.333333333333258, 537.0, 154.0, 22.0 ], "text" : "route save read store recall" } @@ -2241,22 +3549,10 @@ "outlettype" : [ "" ], "patching_rect" : [ 1368.0, 411.0, 89.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 525.0, 126.0, 89.0, 22.0 ], + "presentation_rect" : [ 335.0, 130.25, 89.0, 22.0 ], "text" : "storagewindow" } - } -, { - "box" : { - "id" : "obj-38", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 1118.500016272068024, 328.800004899501801, 29.5, 22.0 ], - "text" : "1" - } - } , { "box" : { @@ -2323,7 +3619,7 @@ , { "box" : { "id" : "obj-200", - "items" : "", + "items" : "Hss-Chen-Preset-2", "maxclass" : "umenu", "numinlets" : 1, "numoutlets" : 3, @@ -2332,7 +3628,7 @@ "patching_rect" : [ 1161.600017309188843, 28.0, 126.0, 22.0 ], "pattrmode" : 1, "presentation" : 1, - "presentation_rect" : [ 312.0, 106.5, 126.0, 22.0 ], + "presentation_rect" : [ 11.5, 139.0, 126.0, 22.0 ], "varname" : "currentPiece" } @@ -2345,7 +3641,7 @@ "numoutlets" : 0, "patching_rect" : [ 809.5, 178.0, 51.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 834.0, 139.0, 51.0, 20.0 ], + "presentation_rect" : [ 637.0, 161.25, 51.0, 20.0 ], "text" : "Valence" } @@ -2358,7 +3654,7 @@ "numoutlets" : 0, "patching_rect" : [ 720.5, 110.0, 49.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 945.0, 61.0, 49.0, 20.0 ], + "presentation_rect" : [ 748.0, 81.25, 49.0, 20.0 ], "text" : "Arousal" } @@ -2378,7 +3674,7 @@ , { "box" : { "id" : "obj-182", - "items" : [ "Create", "Presets", ",", "Navigate", "Space" ], + "items" : [ "Create", "Presets", ",", "Navigate", "Space", ",", "Create", "Schedule", ",", "Start", "Piece" ], "maxclass" : "umenu", "numinlets" : 1, "numoutlets" : 3, @@ -2386,19 +3682,21 @@ "parameter_enable" : 0, "patching_rect" : [ 634.0, 146.0, 128.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 642.0, 55.5, 124.0, 22.0 ] + "presentation_rect" : [ 448.0, 55.25, 124.0, 22.0 ] } } , { "box" : { "id" : "obj-181", + "int" : 2, "maxclass" : "gswitch2", "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "outputs" : 4, "parameter_enable" : 0, - "patching_rect" : [ 858.5, 205.0, 39.0, 32.0 ] + "patching_rect" : [ 858.5, 233.400003433227539, 79.0, 33.0 ] } } @@ -2567,7 +3865,7 @@ ] } , - "patching_rect" : [ 878.5, 244.0, 55.0, 22.0 ], + "patching_rect" : [ 918.5, 198.0, 55.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -2582,6 +3880,7 @@ , { "box" : { "id" : "obj-165", + "int" : 1, "maxclass" : "gswitch2", "numinlets" : 2, "numoutlets" : 2, @@ -3033,6 +4332,7 @@ "box" : { "bgcolor" : [ 0.2, 0.2, 0.2, 0.0 ], "clickmoveinactive" : 0, + "displayknob" : 1, "filternodeschanges" : 1, "id" : "obj-132", "knobcolor" : [ 0.929411764705882, 0.341176470588235, 0.270588235294118, 1.0 ], @@ -3048,7 +4348,7 @@ "parameter_enable" : 0, "patching_rect" : [ 771.5, 65.0, 126.0, 115.0 ], "presentation" : 1, - "presentation_rect" : [ 796.0, 10.0, 126.0, 122.5 ], + "presentation_rect" : [ 599.0, 30.25, 126.0, 122.5 ], "varname" : "nodes", "xplace" : [ 0.5, 0.1, 0.9, 0.9, 0.1 ], "yplace" : [ 0.5, 0.1, 0.1, 0.9, 0.9 ] @@ -3357,7 +4657,7 @@ "parameter_enable" : 0, "patching_rect" : [ 232.75, 421.0, 738.0, 90.0 ], "setminmax" : [ 0.0, 1.0 ], - "size" : 96 + "size" : 100 } } @@ -3380,7 +4680,7 @@ "parameter_enable" : 0, "patching_rect" : [ 447.199999999999989, 149.0, 738.0, 90.0 ], "setminmax" : [ 0.0, 1.0 ], - "size" : 96 + "size" : 100 } } @@ -3428,15 +4728,17 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 232.75, 282.0, 301.0, 22.0 ], + "patching_rect" : [ 232.75, 282.0, 307.0, 22.0 ], "saved_object_attributes" : { - "args" : [ 2, 96, 48 ], + "args" : [ 2, 100, 50 ], "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", + "text" : "node.script tf.js @watch 1 @autostart 1 @args 2 100 50", "varname" : "nnLists" } @@ -3654,7 +4956,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 1191.200017750263214, 230.400003433227539, 58.0, 22.0 ], + "patching_rect" : [ 1191.200017750263214, 197.0, 58.0, 22.0 ], "text" : "loadbang" } @@ -3666,7 +4968,7 @@ "numinlets" : 2, "numoutlets" : 5, "outlettype" : [ "dictionary", "", "", "", "" ], - "patching_rect" : [ 1245.49999874830246, 147.0, 91.0, 22.0 ], + "patching_rect" : [ 1646.0, 513.0, 91.0, 22.0 ], "saved_object_attributes" : { "embed" : 0, "legacy" : 0, @@ -3703,7 +5005,7 @@ "numoutlets" : 0, "patching_rect" : [ 376.0, 198.0, 62.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 246.0, 19.0, 62.0, 20.0 ], + "presentation_rect" : [ 238.0, 21.0, 62.0, 20.0 ], "saved_attribute_attributes" : { "textcolor" : { "expression" : "themecolor.theme_textcolor" @@ -3724,7 +5026,7 @@ "outlettype" : [ "" ], "patching_rect" : [ 440.0, 197.0, 33.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 256.0, 46.0, 33.0, 22.0 ], + "presentation_rect" : [ 238.0, 48.0, 33.0, 22.0 ], "text" : "read" } @@ -3975,7 +5277,7 @@ "numoutlets" : 0, "patching_rect" : [ 1215.99999874830246, 678.0, 150.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 145.0, 19.0, 75.0, 20.0 ], + "presentation_rect" : [ 139.0, 21.0, 75.0, 20.0 ], "saved_attribute_attributes" : { "textcolor" : { "expression" : "themecolor.theme_textcolor" @@ -3998,31 +5300,11 @@ "parameter_enable" : 0, "patching_rect" : [ 48.0, 86.0, 100.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 28.0, 43.5, 96.0, 27.0 ], + "presentation_rect" : [ 16.0, 23.0, 96.0, 27.0 ], "text" : "Open Interface", "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ] } - } -, { - "box" : { - "id" : "obj-46", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1215.99999874830246, 704.0, 150.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 520.0, 19.0, 53.0, 20.0 ], - "saved_attribute_attributes" : { - "textcolor" : { - "expression" : "themecolor.theme_textcolor" - } - - } -, - "text" : "Presets:" - } - } , { "box" : { @@ -4032,7 +5314,7 @@ "numoutlets" : 0, "patching_rect" : [ 1215.99999874830246, 729.0, 150.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 151.0, 107.0, 28.0, 20.0 ], + "presentation_rect" : [ 140.0, 109.0, 28.0, 20.0 ], "saved_attribute_attributes" : { "textcolor" : { "expression" : "themecolor.theme_textcolor" @@ -4078,9 +5360,9 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1092.000016272068024, 270.400004029273987, 56.0, 22.0 ], + "patching_rect" : [ 1262.99999874830246, 450.0, 56.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 525.0, 70.0, 56.0, 22.0 ], + "presentation_rect" : [ 335.0, 75.0, 56.0, 22.0 ], "text" : "writejson" } @@ -4094,8 +5376,10 @@ "outlettype" : [ "", "", "", "" ], "patching_rect" : [ 225.0, 65.0, 56.0, 22.0 ], "restore" : { - "currentPiece" : [ "" ], - "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 ] + "currentPiece" : [ "Hss-Chen-Preset-2" ], + "currentPiece[1]" : [ "Hss-Chen-Preset-2" ], + "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 ], + "start" : [ 0 ] } , "text" : "autopattr", @@ -4144,10 +5428,10 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 826.0, 5.0, 139.0, 35.0 ], + "patching_rect" : [ 910.5, 696.663333333333412, 139.0, 35.0 ], "presentation" : 1, "presentation_linecount" : 2, - "presentation_rect" : [ 642.0, 11.5, 139.0, 35.0 ], + "presentation_rect" : [ 1111.0, 116.25, 139.0, 35.0 ], "text" : "Create presets by clicking on numbers" } @@ -4163,7 +5447,7 @@ "patching_rect" : [ 751.5, 280.0, 126.0, 28.0 ], "pattrstorage" : "DJster", "presentation" : 1, - "presentation_rect" : [ 642.0, 86.5, 124.0, 28.0 ] + "presentation_rect" : [ 448.0, 127.25, 124.0, 28.0 ] } } @@ -8217,15 +9501,19 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1092.0, 496.0, 173.0, 22.0 ], + "patching_rect" : [ 1121.333333333333258, 495.0, 173.0, 22.0 ], "priority" : { "hub" : -1, "hub::instrument" : -1, - "hub::instrument::bank" : -1 + "hub::instrument::bank" : -1, + "Djster.µbus[0]::event_length_display_style" : -1, + "Djster.µbus[1]::event_length_display_style" : -1, + "Djster.µbus[2]::event_length_display_style" : -1, + "Djster.µbus[3]::event_length_display_style" : -1 } , "saved_object_attributes" : { - "client_rect" : [ 814, 139, 1423, 455 ], + "client_rect" : [ 903, 252, 1512, 568 ], "parameter_enable" : 0, "parameter_mappable" : 0, "storage_rect" : [ 780, 524, 1380, 824 ] @@ -8266,7 +9554,7 @@ "outlettype" : [ "", "bang", "", "dictionary" ], "patching_rect" : [ 585.0, 520.0, 499.0, 172.0 ], "presentation" : 1, - "presentation_rect" : [ 512.0, 333.0, 499.0, 172.0 ], + "presentation_rect" : [ 511.75, 356.0, 499.0, 172.0 ], "varname" : "Djster.µbus[3]", "viewvisibility" : 1 } @@ -8290,7 +9578,7 @@ "outlettype" : [ "", "bang", "", "dictionary" ], "patching_rect" : [ 65.0, 520.0, 500.0, 172.0 ], "presentation" : 1, - "presentation_rect" : [ 9.0, 333.0, 500.0, 172.0 ], + "presentation_rect" : [ 8.75, 356.0, 500.0, 172.0 ], "varname" : "Djster.µbus[2]", "viewvisibility" : 1 } @@ -8314,7 +9602,7 @@ "outlettype" : [ "", "bang", "", "dictionary" ], "patching_rect" : [ 585.0, 340.0, 499.0, 172.0 ], "presentation" : 1, - "presentation_rect" : [ 512.0, 159.0, 499.0, 172.0 ], + "presentation_rect" : [ 511.75, 182.0, 499.0, 172.0 ], "varname" : "Djster.µbus[1]", "viewvisibility" : 1 } @@ -8357,7 +9645,7 @@ "outlettype" : [ "", "bang", "", "dictionary" ], "patching_rect" : [ 65.0, 340.0, 500.0, 172.0 ], "presentation" : 1, - "presentation_rect" : [ 9.0, 159.0, 498.5, 172.0 ], + "presentation_rect" : [ 8.75, 182.0, 498.5, 172.0 ], "varname" : "Djster.µbus[0]", "viewvisibility" : 1 } @@ -8390,7 +9678,7 @@ "parameter_enable" : 0, "patching_rect" : [ 169.0, 78.0, 24.0, 24.0 ], "presentation" : 1, - "presentation_rect" : [ 187.0, 104.0, 27.0, 27.0 ] + "presentation_rect" : [ 176.0, 106.0, 27.0, 27.0 ] } } @@ -8421,7 +9709,7 @@ "outlettype" : [ "" ], "patching_rect" : [ 428.0, 116.0, 63.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 151.0, 76.0, 63.0, 22.0 ], + "presentation_rect" : [ 140.0, 78.0, 63.0, 22.0 ], "text" : "script stop" } @@ -8435,7 +9723,7 @@ "outlettype" : [ "" ], "patching_rect" : [ 362.0, 116.0, 64.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 150.0, 46.0, 64.0, 22.0 ], + "presentation_rect" : [ 139.0, 48.0, 64.0, 22.0 ], "text" : "script start" } @@ -8489,7 +9777,7 @@ "outlettype" : [ "jit_matrix" ], "patching_rect" : [ 1109.0, 665.0, 98.0, 98.326666666666668 ], "presentation" : 1, - "presentation_rect" : [ 796.0, 8.0, 126.0, 126.420000000000016 ] + "presentation_rect" : [ 599.0, 28.25, 126.0, 126.420000000000016 ] } } @@ -8505,24 +9793,7 @@ "numoutlets" : 0, "patching_rect" : [ 478.0, 6.5, 133.0, 36.5 ], "presentation" : 1, - "presentation_rect" : [ 512.5, 5.5, 499.0, 150.0 ], - "proportion" : 0.5 - } - - } -, { - "box" : { - "angle" : 270.0, - "background" : 1, - "bgcolor" : [ 0.745098039215686, 0.745098039215686, 0.745098039215686, 1.0 ], - "id" : "obj-50", - "maxclass" : "panel", - "mode" : 0, - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 618.0, 6.5, 133.0, 36.5 ], - "presentation" : 1, - "presentation_rect" : [ 9.0, 5.5, 498.0, 150.0 ], + "presentation_rect" : [ 8.75, 5.5, 999.25, 172.0 ], "proportion" : 0.5 } @@ -8558,6 +9829,13 @@ "source" : [ "obj-10", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-152", 0 ], + "source" : [ "obj-100", 0 ] + } + } , { "patchline" : { @@ -8565,6 +9843,73 @@ "source" : [ "obj-104", 1 ] } + } +, { + "patchline" : { + "destination" : [ "obj-133", 0 ], + "source" : [ "obj-106", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-134", 0 ], + "order" : 1, + "source" : [ "obj-106", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-135", 0 ], + "order" : 0, + "source" : [ "obj-106", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-114", 0 ], + "source" : [ "obj-109", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-111", 0 ], + "midpoints" : [ 1584.5, 400.20000171661377, 1720.5, 400.20000171661377 ], + "source" : [ "obj-110", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-114", 0 ], + "midpoints" : [ 1720.5, 449.5, 1655.5, 449.5 ], + "source" : [ "obj-111", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-111", 0 ], + "source" : [ "obj-112", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-112", 0 ], + "source" : [ "obj-113", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-116", 0 ], + "source" : [ "obj-115", 0 ] + } + } , { "patchline" : { @@ -8586,6 +9931,85 @@ "source" : [ "obj-12", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-159", 0 ], + "order" : 1, + "source" : [ "obj-120", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-163", 0 ], + "order" : 0, + "source" : [ "obj-120", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-122", 0 ], + "source" : [ "obj-121", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-88", 0 ], + "source" : [ "obj-122", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-131", 0 ], + "source" : [ "obj-123", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-130", 0 ], + "source" : [ "obj-124", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-131", 0 ], + "source" : [ "obj-125", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-151", 0 ], + "source" : [ "obj-126", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-128", 0 ], + "source" : [ "obj-127", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-129", 0 ], + "source" : [ "obj-128", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-131", 0 ], + "source" : [ "obj-129", 0 ] + } + } , { "patchline" : { @@ -8593,20 +10017,146 @@ "source" : [ "obj-13", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-151", 0 ], + "midpoints" : [ 2306.0, 422.5, 2333.0, 422.5, 2333.0, 89.5, 2144.5, 89.5 ], + "source" : [ "obj-130", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-124", 0 ], + "source" : [ "obj-131", 1 ] + } + } , { "patchline" : { "destination" : [ "obj-165", 1 ], + "order" : 1, "source" : [ "obj-132", 0 ] } } , { "patchline" : { - "destination" : [ "obj-181", 1 ], + "destination" : [ "obj-180", 0 ], "source" : [ "obj-132", 2 ] } + } +, { + "patchline" : { + "destination" : [ "obj-130", 0 ], + "source" : [ "obj-136", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-106", 0 ], + "source" : [ "obj-137", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-152", 0 ], + "source" : [ "obj-139", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-138", 0 ], + "source" : [ "obj-140", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-152", 0 ], + "source" : [ "obj-141", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-137", 0 ], + "order" : 0, + "source" : [ "obj-142", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-139", 0 ], + "order" : 2, + "source" : [ "obj-142", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-141", 0 ], + "order" : 1, + "source" : [ "obj-142", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-150", 0 ], + "source" : [ "obj-144", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-136", 0 ], + "source" : [ "obj-145", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-153", 0 ], + "source" : [ "obj-145", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-145", 0 ], + "source" : [ "obj-146", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-129", 0 ], + "source" : [ "obj-147", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-144", 0 ], + "source" : [ "obj-148", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-148", 0 ], + "midpoints" : [ 1885.5, 59.0, 1885.5, 59.0 ], + "order" : 1, + "source" : [ "obj-149", 0 ] + } + } , { "patchline" : { @@ -8614,6 +10164,63 @@ "source" : [ "obj-15", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-142", 0 ], + "source" : [ "obj-150", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-147", 1 ], + "source" : [ "obj-151", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-152", 0 ], + "source" : [ "obj-151", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-140", 0 ], + "order" : 0, + "source" : [ "obj-152", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-131", 0 ], + "source" : [ "obj-153", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-185", 0 ], + "source" : [ "obj-154", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-156", 0 ], + "source" : [ "obj-155", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "source" : [ "obj-159", 0 ] + } + } , { "patchline" : { @@ -8621,6 +10228,13 @@ "source" : [ "obj-160", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-75", 0 ], + "source" : [ "obj-163", 0 ] + } + } , { "patchline" : { @@ -8677,18 +10291,42 @@ } , { "patchline" : { - "destination" : [ "obj-48", 0 ], - "midpoints" : [ 888.0, 273.5, 888.0, 273.5 ], + "destination" : [ "obj-181", 1 ], "source" : [ "obj-180", 0 ] } } , { "patchline" : { - "destination" : [ "obj-180", 0 ], + "destination" : [ "obj-112", 1 ], + "midpoints" : [ 908.0, 271.0, 1739.5, 271.0 ], + "source" : [ "obj-181", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "midpoints" : [ 888.0, 273.5, 888.0, 273.5 ], "source" : [ "obj-181", 1 ] } + } +, { + "patchline" : { + "destination" : [ "obj-154", 0 ], + "order" : 2, + "source" : [ "obj-182", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-155", 0 ], + "order" : 3, + "source" : [ "obj-182", 0 ] + } + } , { "patchline" : { @@ -8705,14 +10343,6 @@ "source" : [ "obj-182", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-185", 0 ], - "order" : 2, - "source" : [ "obj-182", 0 ] - } - } , { "patchline" : { @@ -8780,6 +10410,16 @@ , { "patchline" : { "destination" : [ "obj-21", 0 ], + "order" : 1, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "midpoints" : [ 1200.700017750263214, 253.0, 1438.5, 253.0 ], + "order" : 0, "source" : [ "obj-25", 0 ] } @@ -8862,13 +10502,6 @@ "source" : [ "obj-36", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-38", 0 ] - } - } , { "patchline" : { @@ -8997,6 +10630,13 @@ "source" : [ "obj-65", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "source" : [ "obj-66", 0 ] + } + } , { "patchline" : { @@ -9046,6 +10686,13 @@ "source" : [ "obj-72", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-73", 0 ] + } + } , { "patchline" : { @@ -9056,8 +10703,15 @@ } , { "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-76", 0 ] + "destination" : [ "obj-115", 0 ], + "source" : [ "obj-75", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-88", 0 ], + "source" : [ "obj-75", 1 ] } } @@ -9082,6 +10736,13 @@ "source" : [ "obj-80", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-110", 0 ], + "source" : [ "obj-88", 0 ] + } + } , { "patchline" : { @@ -9138,13 +10799,6 @@ "source" : [ "obj-89", 3 ] } - } -, { - "patchline" : { - "destination" : [ "obj-132", 0 ], - "source" : [ "obj-94", 0 ] - } - } , { "patchline" : { @@ -9950,6 +11604,13 @@ "type" : "JSON", "implicit" : 1 } +, { + "name" : "divmod.maxpat", + "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/core", + "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/core", + "type" : "JSON", + "implicit" : 1 + } , { "name" : "djster.accum.maxpat", "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/core", @@ -9986,7 +11647,7 @@ "implicit" : 1 } , { - "name" : "harmonic-energy-profile.txt", + "name" : "harmonic-energy-profile-odd10.txt", "bootpath" : "/Users/Shared/Max 8/Packages/MaxScore/patchers/DJster/Profiles", "patcherrelativepath" : "../../Packages/MaxScore/patchers/DJster/Profiles", "type" : "TEXT", diff --git a/hss.piecemaker.js b/hss.piecemaker.js index f8e7a13..0381730 100644 --- a/hss.piecemaker.js +++ b/hss.piecemaker.js @@ -14,6 +14,7 @@ var DJsterParams = { "attenuation" : [0, 100, "linear"], // "chordal_weight" : [1, 5, "linear"],// "dynamics" : [0, 127, "linear"],// + "event_length_display_style" : [0, 1, "linear"],// "event_length" : [60, 600, "log"],// "eventfulness" : [0, 100, "linear"],// "harmoniclarity" : [0, 100, "linear"],// @@ -72,6 +73,7 @@ function setSection(section) outlet(1, "set_weights", "dictionary", networkData.name); outlet(1, "predict", 0.5, 0.5); outlet(0, 0.5, 0.5); + this.patcher.getnamed("mc.function").setvalueof(outdict.get(section + "::breakpoints")); } currentPiece = section; } @@ -164,7 +166,7 @@ function train() trainingData.push(j/5); break; } - post("param", param, trainingData, "\n"); + //post("param", param, trainingData, "\n"); } //var val = data["hub::instrument::instrument-" + (p + 1)]; trainingData.push(j/5); @@ -191,43 +193,43 @@ function list() for (var j = 0; j < vector.length/4; j++) { var k = j + i * vector.length/4; switch (j) { - case 3 : //log - case 17 : + case 1 : case 3 : case 10 : case 11 : case 15 : case 16 : case 20 : case 21 : + 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); + break; + case 4 : //log (not yet) + case 18 : var val = scale(vector[k], 0, 1, DJsterParams[keys[j]][0], DJsterParams[keys[j]][1]); outlet(2, "Djster.µbus[" + i + "]::" + keys[j], val); break; - case 13 : //enum + case 14 : //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"]); break; - case 16 : + case 17 : //val = "2 2 2"; outlet(2, "Djster.µbus[" + i + "]::" + keys[j], jpieces[currentPiece][parseInt(vector[k]/0.2 + 1)]["Djster.µbus[" + i + "]::meter"]); break; - case 18 : + case 19 : //val = "4" outlet(2, "Djster.µbus[" + i + "]::" + keys[j], jpieces[currentPiece][parseInt(vector[k]/0.2 + 1)]["Djster.µbus[" + i + "]::timesig_denominator"]); break; - case 20 : + case 21 : //tonic pitch outlet(2, "Djster.µbus[" + i + "]::" + keys[j], jpieces[currentPiece][parseInt(vector[k]/0.2 + 1)]["Djster.µbus[" + i + "]::tonic_pitch"]); break; - case 21 : + case 22 : 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 : + case 23 : src[0] = scale(vector[k], 0, 1, 0, 127); break; - case 23 : + case 24 : 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); - break; default : //linear var val = scale(vector[k], 0, 1, DJsterParams[keys[j]][0], DJsterParams[keys[j]][1]); outlet(2, "Djster.µbus[" + i + "]::" + keys[j], val); @@ -236,6 +238,14 @@ function list() } } +function setBreakPoints() +{ + hsspiece[title]["breakpoints"] = this.patcher.getnamed("mc.function").getvalueof(); + outdict.parse(JSON.stringify(hsspiece)); + jpieces = JSON.parse(outdict.stringify()); + +} + function scale(x, inputmin, inputmax, outputmin, outputmax) {