From b363a89612071960f6e4262117467820c5830b38 Mon Sep 17 00:00:00 2001 From: computermusik Date: Sat, 22 Nov 2025 08:03:09 +0100 Subject: [PATCH] Changes of the day Major fix to HSS-server --- current_environment.json | 3 + environments/OP/HSS_Settings.json | 2 +- hss-server.maxpat | 1048 +++++++++++++++++++---------- 3 files changed, 695 insertions(+), 358 deletions(-) create mode 100644 current_environment.json diff --git a/current_environment.json b/current_environment.json new file mode 100644 index 0000000..659322d --- /dev/null +++ b/current_environment.json @@ -0,0 +1,3 @@ +{ + "current_environment" : "OP" +} \ No newline at end of file diff --git a/environments/OP/HSS_Settings.json b/environments/OP/HSS_Settings.json index bdbaf06..5a2fde0 100644 --- a/environments/OP/HSS_Settings.json +++ b/environments/OP/HSS_Settings.json @@ -1,6 +1,6 @@ { "environment" : "HSS_OP.json", - "soundbank" : "HSS_Samples.json", + "soundbank" : "HSS_Samples_OP.json", "order" : { "0" : "Test-1", "1" : "Test-2" diff --git a/hss-server.maxpat b/hss-server.maxpat index d70ef2d..195da40 100644 --- a/hss-server.maxpat +++ b/hss-server.maxpat @@ -9,7 +9,7 @@ "modernui": 1 }, "classnamespace": "box", - "rect": [ 407.0, 72.0, 1016.0, 856.0 ], + "rect": [ 407.0, 72.0, 1019.0, 857.0 ], "bglocked": 1, "openinpresentation": 1, "toolbarvisible": 0, @@ -17,77 +17,48 @@ "boxes": [ { "box": { - "bgcolor": [ 0.047, 0.424, 0.847, 1.0 ], - "id": "obj-103", - "maxclass": "number", - "maximum": 86400, - "minimum": 60, - "numinlets": 1, - "numoutlets": 2, - "outlettype": [ "", "bang" ], - "parameter_enable": 0, - "patching_rect": [ 1734.0, 239.0, 83.5, 22.0 ], - "presentation": 1, - "presentation_rect": [ 792.0, 148.0, 61.0, 22.0 ], - "varname": "pdur" + "id": "obj-198", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1774.0, 452.0, 39.0, 22.0 ], + "text": "dump" } }, { "box": { - "bgcolor": [ 0.047058823529412, 0.423529411764706, 0.847058823529412, 1.0 ], - "hint": "Trajectory Mode (Circadian or per Piece)", - "id": "obj-102", - "maxclass": "textbutton", - "mode": 1, - "numinlets": 1, - "numoutlets": 3, - "outlettype": [ "", "", "int" ], - "parameter_enable": 0, - "patching_rect": [ 1734.0, 212.0, 84.0, 20.0 ], - "presentation": 1, - "presentation_rect": [ 792.0, 122.0, 61.0, 20.0 ], - "text": "24h", - "textcolor": [ 1.0, 1.0, 1.0, 1.0 ], - "texton": "Single", - "textoncolor": [ 1.0, 1.0, 1.0, 1.0 ], - "varname": "trajectory_mode" - } - }, - { - "box": { - "id": "obj-82", + "id": "obj-191", "maxclass": "newobj", "numinlets": 1, "numoutlets": 0, - "patching_rect": [ 707.0, 734.0, 91.0, 22.0 ], - "text": "print instrument" + "patching_rect": [ 2168.9, 687.0, 32.0, 22.0 ], + "text": "print" } }, { "box": { - "id": "obj-78", + "id": "obj-176", "maxclass": "newobj", - "numinlets": 2, - "numoutlets": 2, - "outlettype": [ "", "" ], - "patching_rect": [ 611.0, 734.0, 95.0, 22.0 ], - "text": "route instrument" + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1818.0, 687.0, 168.0, 22.0 ], + "text": "pattrforward machineLearning", + "varname": "machineLearning[1]" } }, { "box": { - "bgcolor": [ 0.047058823529412, 0.423529411764706, 0.847058823529412, 1.0 ], - "id": "obj-62", - "maxclass": "textbutton", - "numinlets": 1, - "numoutlets": 3, - "outlettype": [ "", "", "int" ], - "parameter_enable": 0, - "patching_rect": [ 1993.4, 148.9000028669834, 100.0, 20.0 ], - "presentation": 1, - "presentation_rect": [ 14.0, 111.0, 104.0, 27.0 ], - "text": "Reload", - "textoncolor": [ 1.0, 1.0, 1.0, 1.0 ] + "fontname": "Arial", + "fontsize": 13.0, + "id": "obj-174", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 2164.0, 181.0, 177.0, 23.0 ], + "text": "clearchecks, checkitem $1 1" } }, { @@ -99,24 +70,13 @@ "numoutlets": 3, "outlettype": [ "", "", "int" ], "parameter_enable": 0, - "patching_rect": [ 1431.0, 258.0, 100.0, 20.0 ], + "patching_rect": [ 2009.0, 23.0, 100.0, 20.0 ], "presentation": 1, - "presentation_rect": [ 14.0, 79.0, 104.0, 27.0 ], + "presentation_rect": [ 14.0, 44.0, 104.0, 27.0 ], "text": "New Environment", "textoncolor": [ 1.0, 1.0, 1.0, 1.0 ] } }, - { - "box": { - "id": "obj-28", - "maxclass": "newobj", - "numinlets": 1, - "numoutlets": 1, - "outlettype": [ "" ], - "patching_rect": [ 1389.5, 199.0, 87.0, 22.0 ], - "text": "loadmess path" - } - }, { "box": { "id": "obj-25", @@ -133,8 +93,99 @@ "modernui": 1 }, "classnamespace": "box", - "rect": [ 34.0, 106.0, 1034.0, 776.0 ], + "rect": [ 90.0, 185.0, 1371.0, 826.0 ], "boxes": [ + { + "box": { + "id": "obj-42", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 27.0, 612.0, 94.0, 22.0 ], + "text": "prepend symbol" + } + }, + { + "box": { + "id": "obj-35", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 27.0, 644.0, 189.0, 22.0 ], + "text": "pattrforward parent::environments" + } + }, + { + "box": { + "id": "obj-33", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 27.0, 579.0, 129.0, 22.0 ], + "text": "zl.reg" + } + }, + { + "box": { + "id": "obj-28", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "bang" ], + "patching_rect": [ 27.0, 363.0, 58.0, 22.0 ], + "text": "loadbang" + } + }, + { + "box": { + "id": "obj-23", + "linecount": 2, + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 27.0, 401.0, 224.0, 35.0 ], + "text": "label \"Do you want to make this environment current?\"" + } + }, + { + "box": { + "fontname": "Arial", + "fontsize": 13.0, + "id": "obj-21", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 3, + "outlettype": [ "", "bang", "bang" ], + "patching_rect": [ 27.0, 537.0, 103.0, 23.0 ], + "text": "dialog @mode 4" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "button", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "bang" ], + "parameter_enable": 0, + "patching_rect": [ 183.0, 471.0, 24.0, 24.0 ] + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 183.0, 691.0, 140.0, 22.0 ], + "text": "pattrforward parent::path" + } + }, { "box": { "comment": "", @@ -144,7 +195,7 @@ "numinlets": 0, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 832.0, 22.0, 30.0, 30.0 ] + "patching_rect": [ 1175.0, 30.0, 30.0, 30.0 ] } }, { @@ -156,7 +207,7 @@ "numinlets": 2, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 465.0, 555.0, 38.0, 22.0 ], + "patching_rect": [ 808.0, 563.0, 38.0, 22.0 ], "text": "zl reg" } }, @@ -169,7 +220,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 497.0, 464.0, 160.0, 22.0 ], + "patching_rect": [ 729.0, 272.0, 160.0, 22.0 ], "text": "sprintf symout HSS_%s.json" } }, @@ -182,7 +233,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 261.5, 644.0, 165.0, 22.0 ], + "patching_rect": [ 604.0, 652.0, 165.0, 22.0 ], "text": "prepend replace environment" } }, @@ -195,7 +246,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 684.0, 464.0, 54.0, 22.0 ], + "patching_rect": [ 1027.0, 472.0, 54.0, 22.0 ], "text": "deferlow" } }, @@ -207,7 +258,7 @@ "numinlets": 2, "numoutlets": 5, "outlettype": [ "dictionary", "", "", "", "" ], - "patching_rect": [ 465.0, 683.0, 61.0, 22.0 ], + "patching_rect": [ 808.0, 691.0, 61.0, 22.0 ], "saved_object_attributes": { "embed": 1, "legacy": 1, @@ -226,7 +277,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 465.0, 644.0, 81.0, 22.0 ], + "patching_rect": [ 808.0, 652.0, 81.0, 22.0 ], "text": "prepend write" } }, @@ -239,7 +290,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 465.0, 594.0, 123.0, 22.0 ], + "patching_rect": [ 808.0, 602.0, 123.0, 22.0 ], "text": "sprintf symout %s/%s" } }, @@ -252,7 +303,7 @@ "numinlets": 2, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 242.0, 510.0, 38.0, 22.0 ], + "patching_rect": [ 585.0, 518.0, 38.0, 22.0 ], "text": "zl reg" } }, @@ -265,7 +316,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 241.5, 588.0, 81.0, 22.0 ], + "patching_rect": [ 584.0, 596.0, 81.0, 22.0 ], "text": "prepend write" } }, @@ -278,7 +329,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 241.5, 555.0, 205.0, 22.0 ], + "patching_rect": [ 584.0, 563.0, 205.0, 22.0 ], "text": "sprintf symout %s/HSS_defaults.json" } }, @@ -289,7 +340,7 @@ "numinlets": 1, "numoutlets": 3, "outlettype": [ "bang", "bang", "bang" ], - "patching_rect": [ 18.0, 464.0, 466.0, 22.0 ], + "patching_rect": [ 361.0, 472.0, 466.0, 22.0 ], "text": "t b b b" } }, @@ -305,6 +356,7 @@ "operating_hours": "0-24", "operation_mode": "Start Piece", "playing_mode": "Playlist", + "trajectory_mode": "circadian", "web_control": "fullscreen", "play": 1, "duration": 300, @@ -323,7 +375,7 @@ "numinlets": 2, "numoutlets": 5, "outlettype": [ "dictionary", "", "", "", "" ], - "patching_rect": [ 241.5, 683.0, 104.0, 22.0 ], + "patching_rect": [ 584.0, 691.0, 104.0, 22.0 ], "saved_object_attributes": { "embed": 1, "legacy": 1, @@ -339,7 +391,7 @@ "maxclass": "newobj", "numinlets": 1, "numoutlets": 0, - "patching_rect": [ 847.0, 724.0, 32.0, 22.0 ], + "patching_rect": [ 1190.0, 732.0, 32.0, 22.0 ], "text": "print" } }, @@ -350,7 +402,7 @@ "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "int" ], - "patching_rect": [ 832.0, 165.0, 133.0, 22.0 ], + "patching_rect": [ 1175.0, 173.0, 133.0, 22.0 ], "text": "conformpath slash boot" } }, @@ -362,7 +414,7 @@ "numoutlets": 1, "outlettype": [ "bang" ], "parameter_enable": 0, - "patching_rect": [ 621.0, 43.0, 24.0, 24.0 ] + "patching_rect": [ 964.0, 51.0, 24.0, 24.0 ] } }, { @@ -372,7 +424,7 @@ "numinlets": 1, "numoutlets": 2, "outlettype": [ "bang", "" ], - "patching_rect": [ 684.0, 131.0, 195.0, 22.0 ], + "patching_rect": [ 1027.0, 139.0, 195.0, 22.0 ], "text": "t b l" } }, @@ -383,7 +435,7 @@ "numinlets": 2, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 684.0, 206.0, 167.0, 22.0 ], + "patching_rect": [ 1027.0, 214.0, 167.0, 22.0 ], "text": "zl.reg" } }, @@ -394,7 +446,7 @@ "numinlets": 2, "numoutlets": 3, "outlettype": [ "", "bang", "bang" ], - "patching_rect": [ 684.0, 89.0, 147.0, 22.0 ], + "patching_rect": [ 1027.0, 97.0, 147.0, 22.0 ], "text": "dialog Name Environment" } }, @@ -407,7 +459,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 18.0, 422.0, 54.0, 22.0 ], + "patching_rect": [ 361.0, 425.0, 54.0, 22.0 ], "text": "deferlow" } }, @@ -420,7 +472,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 684.0, 604.0, 85.0, 22.0 ], + "patching_rect": [ 1027.0, 612.0, 85.0, 22.0 ], "text": "prepend touch" } }, @@ -433,7 +485,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 847.0, 604.0, 85.0, 22.0 ], + "patching_rect": [ 1190.0, 612.0, 85.0, 22.0 ], "text": "prepend mkdir" } }, @@ -446,7 +498,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 684.0, 558.0, 156.0, 22.0 ], + "patching_rect": [ 1027.0, 566.0, 156.0, 22.0 ], "text": "sprintf symout %s/%s/.keep" } }, @@ -457,7 +509,7 @@ "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 684.0, 663.0, 217.0, 22.0 ], + "patching_rect": [ 1027.0, 671.0, 217.0, 22.0 ], "saved_object_attributes": { "autostart": 1, "defer": 0, @@ -481,7 +533,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 18.0, 583.0, 62.0, 22.0 ], + "patching_rect": [ 361.0, 591.0, 62.0, 22.0 ], "text": "append 1" } }, @@ -494,7 +546,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 18.0, 548.0, 99.0, 22.0 ], + "patching_rect": [ 361.0, 556.0, 99.0, 22.0 ], "text": "prepend append" } }, @@ -507,7 +559,7 @@ "numinlets": 2, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 18.0, 508.0, 69.0, 22.0 ], + "patching_rect": [ 361.0, 516.0, 69.0, 22.0 ], "text": "zl reg" } }, @@ -520,7 +572,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 18.0, 624.0, 106.0, 23.0 ], + "patching_rect": [ 361.0, 691.0, 106.0, 23.0 ], "text": "filepath search 0" } }, @@ -533,7 +585,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "bang" ], - "patching_rect": [ 18.0, 387.0, 44.0, 22.0 ], + "patching_rect": [ 361.0, 395.0, 44.0, 22.0 ], "text": "del 50" } }, @@ -546,7 +598,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 684.0, 264.0, 195.0, 22.0 ], + "patching_rect": [ 1027.0, 272.0, 195.0, 22.0 ], "text": "sprintf symout %senvironments/%s" } }, @@ -559,7 +611,7 @@ "numinlets": 2, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 684.0, 497.0, 39.0, 22.0 ], + "patching_rect": [ 1027.0, 505.0, 39.0, 22.0 ], "text": "zl rev" } }, @@ -572,7 +624,7 @@ "numinlets": 2, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 684.0, 387.0, 79.0, 22.0 ], + "patching_rect": [ 1027.0, 395.0, 79.0, 22.0 ], "text": "route symbol" } }, @@ -585,7 +637,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 684.0, 417.0, 73.33333333333326, 22.0 ], + "patching_rect": [ 1027.0, 425.0, 73.33333333333326, 22.0 ], "text": "pack s s" } }, @@ -611,7 +663,7 @@ "numinlets": 1, "numoutlets": 4, "outlettype": [ "", "", "", "" ], - "patching_rect": [ 684.0, 344.0, 59.5, 22.0 ], + "patching_rect": [ 1027.0, 352.0, 59.5, 22.0 ], "saved_object_attributes": { "embed": 1, "precision": 6 @@ -628,7 +680,7 @@ "numinlets": 1, "numoutlets": 5, "outlettype": [ "dump", "", "", "", "" ], - "patching_rect": [ 684.0, 300.0, 236.33333333333337, 22.0 ], + "patching_rect": [ 1027.0, 308.0, 236.33333333333337, 22.0 ], "text": "t dump s s s s" } }, @@ -641,7 +693,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 847.0, 558.0, 123.0, 22.0 ], + "patching_rect": [ 1190.0, 566.0, 123.0, 22.0 ], "text": "sprintf symout %s/%s" } }, @@ -654,7 +706,7 @@ "numinlets": 0, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 684.0, 22.0, 30.0, 30.0 ] + "patching_rect": [ 1027.0, 30.0, 30.0, 30.0 ] } } ], @@ -688,7 +740,7 @@ { "patchline": { "destination": [ "obj-13", 0 ], - "midpoints": [ 734.0, 374.22265625, 27.5, 374.22265625 ], + "midpoints": [ 1077.0, 382.22265625, 370.5, 382.22265625 ], "source": [ "obj-11", 3 ] } }, @@ -743,14 +795,14 @@ { "patchline": { "destination": [ "obj-17", 1 ], - "midpoints": [ 802.1666666666667, 334.28515625, 77.5, 334.28515625 ], + "midpoints": [ 1145.1666666666667, 342.28515625, 420.5, 342.28515625 ], "source": [ "obj-2", 2 ] } }, { "patchline": { "destination": [ "obj-39", 1 ], - "midpoints": [ 910.8333333333334, 446.19140625, 270.5, 446.19140625 ], + "midpoints": [ 1253.8333333333335, 454.19140625, 613.5, 454.19140625 ], "order": 1, "source": [ "obj-2", 4 ] } @@ -764,7 +816,7 @@ { "patchline": { "destination": [ "obj-55", 1 ], - "midpoints": [ 910.8333333333334, 532.4609375, 493.5, 532.4609375 ], + "midpoints": [ 1253.8333333333335, 540.4609375, 836.5, 540.4609375 ], "order": 0, "source": [ "obj-2", 4 ] } @@ -775,16 +827,36 @@ "source": [ "obj-2", 1 ] } }, + { + "patchline": { + "destination": [ "obj-33", 0 ], + "source": [ "obj-21", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-21", 0 ], + "source": [ "obj-23", 0 ] + } + }, { "patchline": { "destination": [ "obj-14", 0 ], "source": [ "obj-24", 0 ] } }, + { + "patchline": { + "destination": [ "obj-33", 1 ], + "midpoints": [ 1212.5, 261.10546875, 146.5, 261.10546875 ], + "order": 2, + "source": [ "obj-24", 1 ] + } + }, { "patchline": { "destination": [ "obj-52", 0 ], - "midpoints": [ 869.5, 252.90625, 506.5, 252.90625 ], + "midpoints": [ 1212.5, 260.90625, 738.5, 260.90625 ], "order": 1, "source": [ "obj-24", 1 ] } @@ -802,12 +874,24 @@ "source": [ "obj-27", 0 ] } }, + { + "patchline": { + "destination": [ "obj-23", 0 ], + "source": [ "obj-28", 0 ] + } + }, { "patchline": { "destination": [ "obj-14", 1 ], "source": [ "obj-30", 0 ] } }, + { + "patchline": { + "destination": [ "obj-42", 0 ], + "source": [ "obj-33", 0 ] + } + }, { "patchline": { "destination": [ "obj-17", 0 ], @@ -856,6 +940,12 @@ "source": [ "obj-41", 0 ] } }, + { + "patchline": { + "destination": [ "obj-35", 0 ], + "source": [ "obj-42", 0 ] + } + }, { "patchline": { "destination": [ "obj-10", 0 ], @@ -899,9 +989,32 @@ { "patchline": { "destination": [ "obj-36", 0 ], + "order": 0, "source": [ "obj-49", 0 ] } }, + { + "patchline": { + "destination": [ "obj-5", 0 ], + "midpoints": [ 370.5, 460.02734375, 192.5, 460.02734375 ], + "order": 1, + "source": [ "obj-49", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-21", 0 ], + "order": 1, + "source": [ "obj-5", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "order": 0, + "source": [ "obj-5", 0 ] + } + }, { "patchline": { "destination": [ "obj-98", 0 ], @@ -918,7 +1031,7 @@ { "patchline": { "destination": [ "obj-51", 0 ], - "midpoints": [ 506.5, 628.66796875, 271.0, 628.66796875 ], + "midpoints": [ 738.5, 636.66796875, 613.5, 636.66796875 ], "order": 1, "source": [ "obj-52", 0 ] } @@ -955,10 +1068,120 @@ } ] }, - "patching_rect": [ 1431.0, 289.0, 41.0, 22.0 ], + "patching_rect": [ 2009.0, 92.0, 41.0, 22.0 ], "text": "p new" } }, + { + "box": { + "id": "obj-148", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 2164.0, 112.0, 85.0, 22.0 ], + "text": "prepend prefix" + } + }, + { + "box": { + "id": "obj-144", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 2164.0, 84.0, 175.0, 22.0 ], + "text": "sprintf symout %senvironments" + } + }, + { + "box": { + "id": "obj-139", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 2116.0, 50.0, 67.0, 22.0 ], + "save": [ "#N", "thispatcher", ";", "#Q", "end", ";" ], + "text": "thispatcher" + } + }, + { + "box": { + "id": "obj-137", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 2116.0, 22.0, 87.0, 22.0 ], + "text": "loadmess path", + "varname": "path" + } + }, + { + "box": { + "autopopulate": 1, + "bgcolor": [ 0.047058823529412, 0.423529411764706, 0.847058823529412, 1.0 ], + "bgfillcolor_angle": 270.0, + "bgfillcolor_autogradient": 0.0, + "bgfillcolor_color": [ 0.047058823529412, 0.423529411764706, 0.847058823529412, 1.0 ], + "bgfillcolor_color1": [ 0.047058823529412, 0.423529411764706, 0.847058823529412, 1.0 ], + "bgfillcolor_color2": [ 0.2, 0.2, 0.2, 1.0 ], + "bgfillcolor_proportion": 0.5, + "bgfillcolor_type": "color", + "id": "obj-135", + "items": [ "NOT", ",", "OP", ",", "ST" ], + "maxclass": "umenu", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "int", "", "" ], + "parameter_enable": 0, + "patching_rect": [ 2164.0, 146.0, 75.0, 22.0 ], + "prefix": "/Users/Shared/Max 9/Library/healing-soundscapes/environments/", + "presentation": 1, + "presentation_rect": [ 14.0, 13.0, 104.0, 22.0 ], + "showdotfiles": 1, + "varname": "environments" + } + }, + { + "box": { + "bgcolor": [ 0.047, 0.424, 0.847, 1.0 ], + "id": "obj-103", + "maxclass": "number", + "maximum": 86400, + "minimum": 60, + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "", "bang" ], + "parameter_enable": 0, + "patching_rect": [ 1725.0, 112.0, 83.5, 22.0 ], + "presentation": 1, + "presentation_rect": [ 792.0, 148.0, 61.0, 22.0 ], + "varname": "pdur" + } + }, + { + "box": { + "bgcolor": [ 0.047058823529412, 0.423529411764706, 0.847058823529412, 1.0 ], + "hint": "Trajectory Mode (Circadian or per Piece)", + "id": "obj-102", + "maxclass": "textbutton", + "mode": 1, + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "int" ], + "parameter_enable": 0, + "patching_rect": [ 1725.0, 85.0, 84.0, 20.0 ], + "presentation": 1, + "presentation_rect": [ 792.0, 122.0, 61.0, 20.0 ], + "text": "24h", + "textcolor": [ 1.0, 1.0, 1.0, 1.0 ], + "texton": "Single", + "textoncolor": [ 1.0, 1.0, 1.0, 1.0 ], + "varname": "trajectory_mode" + } + }, { "box": { "id": "obj-16", @@ -1054,7 +1277,7 @@ "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 1334.0, 229.0, 138.0, 22.0 ], + "patching_rect": [ 1334.0, 229.0, 67.0, 22.0 ], "save": [ "#N", "thispatcher", ";", "#Q", "end", ";" ], "text": "thispatcher" } @@ -1110,8 +1333,102 @@ "modernui": 1 }, "classnamespace": "box", - "rect": [ 34.0, 106.0, 1674.0, 1002.0 ], + "rect": [ 92.0, 133.0, 1674.0, 1002.0 ], "boxes": [ + { + "box": { + "id": "obj-140", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1421.0, 539.0, 79.0, 22.0 ], + "text": "setsymbol $1" + } + }, + { + "box": { + "id": "obj-136", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1421.0, 576.0, 189.0, 22.0 ], + "text": "pattrforward parent::environments" + } + }, + { + "box": { + "id": "obj-134", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 816.0, 46.0, 330.0, 22.0 ], + "presentation_linecount": 2, + "text": "set current_environment $1, write current_environment.json" + } + }, + { + "box": { + "id": "obj-132", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 753.5, 103.0, 40.0, 22.0 ], + "text": "t l l l" + } + }, + { + "box": { + "id": "obj-130", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 827.0, 120.0, 29.5, 22.0 ], + "text": "$2" + } + }, + { + "box": { + "id": "obj-125", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 827.0, 147.0, 77.0, 22.0 ], + "text": "absolutepath" + } + }, + { + "box": { + "id": "obj-122", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1148.0, 46.0, 308.0, 22.0 ], + "text": "read current_environment.json, get current_environment" + } + }, + { + "box": { + "id": "obj-120", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 5, + "outlettype": [ "dictionary", "", "", "", "" ], + "patching_rect": [ 816.0, 87.0, 61.0, 22.0 ], + "saved_object_attributes": { + "legacy": 1, + "parameter_enable": 0, + "parameter_mappable": 0 + }, + "text": "dict" + } + }, { "box": { "id": "obj-112", @@ -1164,7 +1481,7 @@ "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 101.0, 417.0, 50.0, 22.0 ], - "text": "99" + "text": "249" } }, { @@ -1435,7 +1752,7 @@ "numinlets": 1, "numoutlets": 2, "outlettype": [ "int", "int" ], - "patching_rect": [ 606.0, 103.0, 44.0, 22.0 ], + "patching_rect": [ 579.0, 111.0, 44.0, 22.0 ], "text": "t i i" } }, @@ -1446,7 +1763,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 606.0, 144.0, 69.0, 22.0 ], + "patching_rect": [ 579.0, 152.0, 69.0, 22.0 ], "text": "pak" } }, @@ -1457,7 +1774,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "int" ], - "patching_rect": [ 606.0, 179.0, 29.5, 22.0 ], + "patching_rect": [ 579.0, 187.0, 29.5, 22.0 ], "text": "+" } }, @@ -1546,7 +1863,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "int" ], - "patching_rect": [ 1514.0, 548.0, 29.5, 22.0 ], + "patching_rect": [ 1514.0, 539.0, 29.5, 22.0 ], "text": "- 1" } }, @@ -1559,7 +1876,7 @@ "numinlets": 0, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 800.0, 46.0, 30.0, 30.0 ] + "patching_rect": [ 753.5, 54.0, 30.0, 30.0 ] } }, { @@ -1569,34 +1886,8 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 764.0, 191.0, 201.0, 22.0 ], - "text": "sprintf symout %sHSS_settings.json" - } - }, - { - "box": { - "id": "obj-71", - "maxclass": "newobj", - "numinlets": 1, - "numoutlets": 1, - "outlettype": [ "" ], - "patching_rect": [ 764.0, 144.0, 62.0, 22.0 ], - "saved_object_attributes": { - "filename": "getPath", - "parameter_enable": 0 - }, - "text": "js getPath" - } - }, - { - "box": { - "id": "obj-32", - "maxclass": "message", - "numinlets": 2, - "numoutlets": 1, - "outlettype": [ "" ], - "patching_rect": [ 764.0, 84.0, 66.0, 22.0 ], - "text": "blessed.txt" + "patching_rect": [ 764.0, 191.0, 205.0, 22.0 ], + "text": "sprintf symout %s/HSS_settings.json" } }, { @@ -1617,8 +1908,8 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1288.0, 524.0, 120.0, 22.0 ], - "text": "sprintf symout %s%s" + "patching_rect": [ 1288.0, 524.0, 123.0, 22.0 ], + "text": "sprintf symout %s/%s" } }, { @@ -1632,17 +1923,6 @@ "text": "read $1, bang" } }, - { - "box": { - "id": "obj-74", - "maxclass": "newobj", - "numinlets": 1, - "numoutlets": 1, - "outlettype": [ "" ], - "patching_rect": [ 764.0, 114.0, 77.0, 22.0 ], - "text": "absolutepath" - } - }, { "box": { "id": "obj-70", @@ -1816,7 +2096,7 @@ "numoutlets": 1, "outlettype": [ "bang" ], "parameter_enable": 0, - "patching_rect": [ 764.0, 49.0, 24.0, 24.0 ], + "patching_rect": [ 1148.0, 11.0, 24.0, 24.0 ], "varname": "init" } }, @@ -1871,7 +2151,7 @@ "numinlets": 3, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 1326.0, 356.0, 93.0, 22.0 ], + "patching_rect": [ 1326.4999999999998, 353.0, 93.0, 22.0 ], "text": "pipe s s 500" } }, @@ -2327,7 +2607,7 @@ "numinlets": 0, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 606.0, 46.0, 30.0, 30.0 ] + "patching_rect": [ 579.0, 54.0, 30.0, 30.0 ] } }, { @@ -2339,7 +2619,7 @@ "numinlets": 0, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 656.0, 46.0, 30.0, 30.0 ] + "patching_rect": [ 629.0, 54.0, 30.0, 30.0 ] } }, { @@ -2618,10 +2898,22 @@ "source": [ "obj-12", 0 ] } }, + { + "patchline": { + "destination": [ "obj-130", 0 ], + "source": [ "obj-120", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-120", 0 ], + "source": [ "obj-122", 0 ] + } + }, { "patchline": { "destination": [ "obj-137", 1 ], - "midpoints": [ 615.5, 499.0, 330.5, 499.0 ], + "midpoints": [ 588.5, 499.0, 330.5, 499.0 ], "source": [ "obj-123", 0 ] } }, @@ -2631,12 +2923,49 @@ "source": [ "obj-124", 0 ] } }, + { + "patchline": { + "destination": [ "obj-132", 0 ], + "source": [ "obj-125", 0 ] + } + }, { "patchline": { "destination": [ "obj-39", 0 ], "source": [ "obj-13", 0 ] } }, + { + "patchline": { + "destination": [ "obj-125", 0 ], + "source": [ "obj-130", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-134", 0 ], + "source": [ "obj-132", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-72", 0 ], + "source": [ "obj-132", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-99", 0 ], + "midpoints": [ 784.0, 181.734375, 1297.5, 181.734375 ], + "source": [ "obj-132", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-120", 0 ], + "source": [ "obj-134", 0 ] + } + }, { "patchline": { "destination": [ "obj-199", 0 ], @@ -2671,6 +3000,12 @@ "source": [ "obj-14", 0 ] } }, + { + "patchline": { + "destination": [ "obj-136", 0 ], + "source": [ "obj-140", 0 ] + } + }, { "patchline": { "destination": [ "obj-85", 0 ], @@ -3023,12 +3358,6 @@ "source": [ "obj-31", 0 ] } }, - { - "patchline": { - "destination": [ "obj-74", 0 ], - "source": [ "obj-32", 0 ] - } - }, { "patchline": { "destination": [ "obj-199", 0 ], @@ -3088,7 +3417,7 @@ }, { "patchline": { - "destination": [ "obj-32", 0 ], + "destination": [ "obj-122", 0 ], "source": [ "obj-43", 0 ] } }, @@ -3142,6 +3471,13 @@ "source": [ "obj-50", 0 ] } }, + { + "patchline": { + "destination": [ "obj-140", 0 ], + "order": 0, + "source": [ "obj-51", 0 ] + } + }, { "patchline": { "destination": [ "obj-42", 1 ], @@ -3151,6 +3487,7 @@ { "patchline": { "destination": [ "obj-42", 0 ], + "order": 1, "source": [ "obj-51", 0 ] } }, @@ -3218,7 +3555,7 @@ }, { "patchline": { - "destination": [ "obj-32", 0 ], + "destination": [ "obj-132", 0 ], "source": [ "obj-61", 0 ] } }, @@ -3277,21 +3614,6 @@ "source": [ "obj-70", 0 ] } }, - { - "patchline": { - "destination": [ "obj-72", 0 ], - "order": 1, - "source": [ "obj-71", 0 ] - } - }, - { - "patchline": { - "destination": [ "obj-99", 0 ], - "midpoints": [ 773.5, 176.59765625, 1297.5, 176.59765625 ], - "order": 0, - "source": [ "obj-71", 0 ] - } - }, { "patchline": { "destination": [ "obj-96", 0 ], @@ -3301,7 +3623,7 @@ { "patchline": { "destination": [ "obj-106", 2 ], - "midpoints": [ 640.5, 584.5, 363.5, 584.5 ], + "midpoints": [ 613.5, 584.5, 363.5, 584.5 ], "source": [ "obj-73", 1 ] } }, @@ -3311,12 +3633,6 @@ "source": [ "obj-73", 0 ] } }, - { - "patchline": { - "destination": [ "obj-71", 0 ], - "source": [ "obj-74", 0 ] - } - }, { "patchline": { "destination": [ "obj-80", 0 ], @@ -3471,7 +3787,7 @@ } ] }, - "patching_rect": [ 1817.9, 174.0, 194.5, 22.0 ], + "patching_rect": [ 1818.0, 187.0, 272.33333333333303, 22.0 ], "text": "p settings", "varname": "oph" } @@ -3483,7 +3799,7 @@ "numinlets": 1, "numoutlets": 4, "outlettype": [ "", "", "", "" ], - "patching_rect": [ 1970.0, 270.0, 50.5, 22.0 ], + "patching_rect": [ 1969.9999999999998, 218.0, 50.5, 22.0 ], "saved_object_attributes": { "embed": 0, "precision": 6 @@ -3812,7 +4128,7 @@ "box": { "id": "obj-66", "maxclass": "newobj", - "numinlets": 0, + "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "patcher": { @@ -3825,8 +4141,32 @@ "modernui": 1 }, "classnamespace": "box", - "rect": [ 621.0, 684.0, 903.0, 403.0 ], + "rect": [ 344.0, 628.0, 1117.0, 403.0 ], "boxes": [ + { + "box": { + "id": "obj-36", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 933.68, 211.0, 89.0, 22.0 ], + "presentation_linecount": 2, + "text": "outputmode $1" + } + }, + { + "box": { + "comment": "", + "id": "obj-3", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 933.68, 25.5, 30.0, 30.0 ] + } + }, { "box": { "id": "obj-2", @@ -3899,13 +4239,13 @@ { "box": { "id": "obj-21", - "linecount": 2, + "linecount": 3, "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 17.0, 106.0, 231.0, 35.0 ], - "text": "priority hub -1, priority hub::instrument -1, priority hub::instrument::bank -1" + "patching_rect": [ 17.0, 106.0, 226.0, 49.0 ], + "text": "priority hub -1, priority hub::instrument -1, priority hub::instrument::bank -1,, changemode 1" } }, { @@ -3976,6 +4316,18 @@ "source": [ "obj-25", 0 ] } }, + { + "patchline": { + "destination": [ "obj-36", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-50", 0 ], + "source": [ "obj-36", 0 ] + } + }, { "patchline": { "destination": [ "obj-73", 0 ], @@ -3990,7 +4342,7 @@ } ] }, - "patching_rect": [ 1423.0, 329.0, 128.0, 22.0 ], + "patching_rect": [ 1337.0, 318.0, 128.0, 22.0 ], "text": "p pattrstorage-settings" } }, @@ -4030,10 +4382,10 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 2092.0, 270.0, 41.0, 22.0 ], + "patching_rect": [ 2049.333333333333, 270.0, 41.0, 22.0 ], "presentation": 1, "presentation_rect": [ 413.0, 46.0, 39.0, 22.0 ], - "text": "01:39" + "text": "04:09" } }, { @@ -4053,10 +4405,10 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 2028.0, 270.0, 61.5, 22.0 ], + "patching_rect": [ 1978.1666666666665, 332.0, 61.5, 22.0 ], "presentation": 1, "presentation_rect": [ 397.0, 13.0, 55.0, 22.0 ], - "text": "14:52:53" + "text": "07:50:59" } }, { @@ -4067,7 +4419,7 @@ "numoutlets": 1, "outlettype": [ "bang" ], "parameter_enable": 0, - "patching_rect": [ 1876.4, 24.0, 24.0, 24.0 ] + "patching_rect": [ 1902.4444444444443, 76.0, 24.0, 24.0 ] } }, { @@ -4077,7 +4429,7 @@ "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 1925.0, 299.0, 33.0, 22.0 ], + "patching_rect": [ 1919.3333333333333, 222.0, 33.0, 22.0 ], "text": "grab" } }, @@ -4088,7 +4440,7 @@ "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 1853.0, 300.0, 33.0, 22.0 ], + "patching_rect": [ 1868.6666666666665, 222.0, 33.0, 22.0 ], "text": "grab" } }, @@ -4111,7 +4463,7 @@ "numinlets": 1, "numoutlets": 3, "outlettype": [ "", "", "" ], - "patching_rect": [ 2164.0, 248.0, 160.0, 49.0 ], + "patching_rect": [ 2164.0, 256.5, 160.0, 49.0 ], "restore": [ -30 ], "saved_object_attributes": { "parameter_enable": 0, @@ -4139,7 +4491,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1925.0, 352.0, 63.0, 22.0 ], + "patching_rect": [ 1919.3333333333333, 283.5, 63.0, 22.0 ], "text": "$2, -70 $1" } }, @@ -4150,7 +4502,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1970.0, 299.0, 103.0, 22.0 ], + "patching_rect": [ 1969.9999999999998, 247.0, 103.0, 22.0 ], "text": "pvar currentPiece" } }, @@ -4161,7 +4513,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1853.0, 352.0, 63.0, 22.0 ], + "patching_rect": [ 1868.6666666666665, 257.0, 63.0, 22.0 ], "text": "-70, $2 $1" } }, @@ -4172,7 +4524,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1853.0, 438.0, 79.0, 22.0 ], + "patching_rect": [ 1868.6666666666665, 360.0, 79.0, 22.0 ], "text": "prepend gain" } }, @@ -4183,7 +4535,7 @@ "numinlets": 3, "numoutlets": 2, "outlettype": [ "", "bang" ], - "patching_rect": [ 1853.0, 410.0, 40.0, 22.0 ], + "patching_rect": [ 1868.6666666666665, 332.0, 40.0, 22.0 ], "text": "line" } }, @@ -4194,7 +4546,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 2090.0, 84.0, 68.0, 22.0 ], + "patching_rect": [ 1986.8888888888887, 124.0, 68.0, 22.0 ], "text": "pvar pause" } }, @@ -4205,7 +4557,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1876.4, 84.0, 79.0, 22.0 ], + "patching_rect": [ 1902.4444444444443, 124.0, 79.0, 22.0 ], "text": "pvar duration" } }, @@ -4405,7 +4757,7 @@ "parameter_enable": 0, "patching_rect": [ 1032.0, 20.0, 100.0, 20.0 ], "presentation": 1, - "presentation_rect": [ 14.0, 47.0, 104.0, 27.0 ], + "presentation_rect": [ 14.0, 110.0, 104.0, 27.0 ], "text": "Save Changes", "textoncolor": [ 1.0, 1.0, 1.0, 1.0 ] } @@ -4472,7 +4824,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1817.9, 675.0, 68.0, 22.0 ], + "patching_rect": [ 1745.0, 687.0, 68.0, 22.0 ], "text": "pvar nodes" } }, @@ -4483,7 +4835,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1779.0, 384.0, 161.0, 22.0 ], + "patching_rect": [ 1791.333333333333, 413.0, 161.0, 22.0 ], "text": "target 1, clear, target 2, clear" } }, @@ -4506,7 +4858,7 @@ "numoutlets": 1, "outlettype": [ "int" ], "parameter_enable": 0, - "patching_rect": [ 1817.9, 87.0, 24.0, 24.0 ], + "patching_rect": [ 1817.9, 116.0, 24.0, 24.0 ], "varname": "start" } }, @@ -4516,13 +4868,13 @@ "classic_curve": 1, "data": [ { - "addpoints_with_curve": [ 0.0, 0.047619047619047616, 0, 0.0, 10.0, 0.746032, 0, 0.0, 20.0, 0.746032, 0, 0.0, 30.0, 0.555556, 0, 0.0, 40.0, 0.269841, 0, 0.0, 50.0, 0.18254, 0, 0.0, 60.0, 0.420635, 0, 0.0, 70.0, 0.579365, 0, 0.0, 80.0, 0.68254, 0, 0.0, 90.0, 0.460317, 0, 0.0, 100.0, 0.206349, 0, 0.0, 110.0, 0.150794, 0, 0.0, 120.0, 0.436508, 0, 0.0, 130.0, 0.68254, 0, 0.0, 140.0, 0.809524, 0, 0.0, 150.0, 0.18254, 0, 0.0, 160.0, 0.587302, 0, 0.0, 170.0, 0.563492, 0, 0.0, 180.0, 0.047619, 0, 0.0, 190.0, 0.801587, 0, 0.0, 200.0, 0.936508, 0, 0.0 ] + "addpoints_with_curve": [ 0.0, 0.047619, 0, 0.0, 20.0, 0.746032, 0, 0.0, 40.0, 0.746032, 0, 0.0, 60.0, 0.555556, 0, 0.0, 80.0, 0.269841, 0, 0.0, 100.0, 0.18254, 0, 0.0, 120.0, 0.420635, 0, 0.0, 140.0, 0.579365, 0, 0.0, 160.0, 0.68254, 0, 0.0, 180.0, 0.460317, 0, 0.0, 200.0, 0.206349, 0, 0.0, 220.0, 0.150794, 0, 0.0, 240.0, 0.436508, 0, 0.0, 260.0, 0.68254, 0, 0.0, 280.0, 0.809524, 0, 0.0, 300.0, 0.18254, 0, 0.0, 320.0, 0.587302, 0, 0.0, 340.0, 0.563492, 0, 0.0, 360.0, 0.047619, 0, 0.0, 380.0, 0.801587, 0, 0.0, 400.0, 0.936508, 0, 0.0 ] }, { - "addpoints_with_curve": [ 0.0, 0.9102040816326531, 0, 0.0, 10.0, 0.355102, 0, 0.0, 20.0, 0.355102, 0, 0.0, 30.0, 0.257143, 0, 0.0, 40.0, 0.24898, 0, 0.0, 50.0, 0.420408, 0, 0.0, 60.0, 0.493878, 0, 0.0, 70.0, 0.616327, 0, 0.0, 80.0, 0.657143, 0, 0.0, 90.0, 0.689796, 0, 0.0, 100.0, 0.673469, 0, 0.0, 110.0, 0.844898, 0, 0.0, 120.0, 0.134694, 0, 0.0, 130.0, 0.142857, 0, 0.0, 140.0, 0.346939, 0, 0.0, 150.0, 0.559184, 0, 0.0, 160.0, 0.673469, 0, 0.0, 170.0, 0.273469, 0, 0.0, 180.0, 0.24898, 0, 0.0, 190.0, 0.093878, 0, 0.0, 200.0, 0.453061, 0, 0.0 ] + "addpoints_with_curve": [ 0.0, 0.910204, 0, 0.0, 20.0, 0.355102, 0, 0.0, 40.0, 0.355102, 0, 0.0, 60.0, 0.257143, 0, 0.0, 80.0, 0.24898, 0, 0.0, 100.0, 0.420408, 0, 0.0, 120.0, 0.493878, 0, 0.0, 140.0, 0.616327, 0, 0.0, 160.0, 0.657143, 0, 0.0, 180.0, 0.689796, 0, 0.0, 200.0, 0.673469, 0, 0.0, 220.0, 0.844898, 0, 0.0, 240.0, 0.134694, 0, 0.0, 260.0, 0.142857, 0, 0.0, 280.0, 0.346939, 0, 0.0, 300.0, 0.559184, 0, 0.0, 320.0, 0.673469, 0, 0.0, 340.0, 0.273469, 0, 0.0, 360.0, 0.24898, 0, 0.0, 380.0, 0.093878, 0, 0.0, 400.0, 0.453061, 0, 0.0 ] } ], - "domain": 200.0, + "domain": 400.0, "id": "obj-152", "maxclass": "mc.function", "mode": 1, @@ -6435,8 +6787,8 @@ "key": "svg", "val": { "id": "src4", - "cx": 138, - "cy": 68 + "cx": 135, + "cy": 79 } } }, @@ -7720,29 +8072,6 @@ "text": "dump" } }, - { - "box": { - "id": "obj-36", - "linecount": 2, - "maxclass": "message", - "numinlets": 2, - "numoutlets": 1, - "outlettype": [ "" ], - "patching_rect": [ 1343.0, 316.0, 75.0, 35.0 ], - "text": "outputmode $1" - } - }, - { - "box": { - "id": "obj-35", - "maxclass": "message", - "numinlets": 2, - "numoutlets": 1, - "outlettype": [ "" ], - "patching_rect": [ 1251.0, 329.0, 88.0, 22.0 ], - "text": "changemode 1" - } - }, { "box": { "id": "obj-23", @@ -7851,7 +8180,7 @@ { "box": { "id": "obj-181", - "int": 3, + "int": 1, "maxclass": "gswitch2", "numinlets": 2, "numoutlets": 4, @@ -8499,16 +8828,6 @@ "text": "deferlow" } }, - { - "box": { - "id": "obj-9", - "maxclass": "newobj", - "numinlets": 1, - "numoutlets": 0, - "patching_rect": [ 308.75, 135.0, 32.0, 22.0 ], - "text": "print" - } - }, { "box": { "id": "obj-8", @@ -8551,7 +8870,7 @@ "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 647.0, 645.0, 59.0, 22.0 ], - "text": "0.428126" + "text": "0.156014" } }, { @@ -8573,7 +8892,7 @@ "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 585.0, 650.0, 59.0, 22.0 ], - "text": "0.439142" + "text": "0.156334" } }, { @@ -8595,7 +8914,7 @@ "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 524.0, 650.0, 59.0, 22.0 ], - "text": "0.371872" + "text": "0.16404" } }, { @@ -8617,7 +8936,7 @@ "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 464.0, 650.0, 59.0, 22.0 ], - "text": "0.361517" + "text": "0.114918" } }, { @@ -9141,14 +9460,6 @@ { "patchline": { "destination": [ "obj-44", 0 ], - "order": 1, - "source": [ "obj-181", 0 ] - } - }, - { - "patchline": { - "destination": [ "obj-9", 0 ], - "order": 0, "source": [ "obj-181", 0 ] } }, @@ -9812,7 +10123,7 @@ "parameter_enable": 0, "patching_rect": [ 37.5, 87.0, 100.0, 20.0 ], "presentation": 1, - "presentation_rect": [ 14.0, 15.0, 104.0, 27.0 ], + "presentation_rect": [ 14.0, 78.0, 104.0, 27.0 ], "text": "Open Interface", "textoncolor": [ 1.0, 1.0, 1.0, 1.0 ] } @@ -9828,20 +10139,6 @@ "text": "script npm install drawsocket" } }, - { - "box": { - "bubble": 1, - "bubbleside": 2, - "fontname": "Arial", - "fontsize": 11.0, - "id": "obj-118", - "maxclass": "comment", - "numinlets": 1, - "numoutlets": 0, - "patching_rect": [ 1921.0, 665.0, 137.0, 38.0 ], - "text": "Write presets to file" - } - }, { "box": { "id": "obj-104", @@ -9851,12 +10148,13 @@ "outlettype": [ "", "", "", "" ], "patching_rect": [ 926.0, 16.0, 56.0, 22.0 ], "restore": { - "duration": [ 200 ], - "mc.function": [ "data", 0, 88, 200.0, 0.0, 1.0, 0.0, 0.047619047619047616, 0, 0.0, 10.0, 0.746032, 0, 0.0, 20.0, 0.746032, 0, 0.0, 30.0, 0.555556, 0, 0.0, 40.0, 0.269841, 0, 0.0, 50.0, 0.18254, 0, 0.0, 60.0, 0.420635, 0, 0.0, 70.0, 0.579365, 0, 0.0, 80.0, 0.68254, 0, 0.0, 90.0, 0.460317, 0, 0.0, 100.0, 0.206349, 0, 0.0, 110.0, 0.150794, 0, 0.0, 120.0, 0.436508, 0, 0.0, 130.0, 0.68254, 0, 0.0, 140.0, 0.809524, 0, 0.0, 150.0, 0.18254, 0, 0.0, 160.0, 0.587302, 0, 0.0, 170.0, 0.563492, 0, 0.0, 180.0, 0.047619, 0, 0.0, 190.0, 0.801587, 0, 0.0, 200.0, 0.936508, 0, 0.0, "curve", "data", 1, 88, 200.0, 0.0, 1.0, 0.0, 0.9102040816326531, 0, 0.0, 10.0, 0.355102, 0, 0.0, 20.0, 0.355102, 0, 0.0, 30.0, 0.257143, 0, 0.0, 40.0, 0.24898, 0, 0.0, 50.0, 0.420408, 0, 0.0, 60.0, 0.493878, 0, 0.0, 70.0, 0.616327, 0, 0.0, 80.0, 0.657143, 0, 0.0, 90.0, 0.689796, 0, 0.0, 100.0, 0.673469, 0, 0.0, 110.0, 0.844898, 0, 0.0, 120.0, 0.134694, 0, 0.0, 130.0, 0.142857, 0, 0.0, 140.0, 0.346939, 0, 0.0, 150.0, 0.559184, 0, 0.0, 160.0, 0.673469, 0, 0.0, 170.0, 0.273469, 0, 0.0, 180.0, 0.24898, 0, 0.0, 190.0, 0.093878, 0, 0.0, 200.0, 0.453061, 0, 0.0, "curve" ], + "duration": [ 400 ], + "environments": [ 0 ], + "mc.function": [ "data", 0, 88, 400.0, 0.0, 1.0, 0.0, 0.047619, 0, 0.0, 20.0, 0.746032, 0, 0.0, 40.0, 0.746032, 0, 0.0, 60.0, 0.555556, 0, 0.0, 80.0, 0.269841, 0, 0.0, 100.0, 0.18254, 0, 0.0, 120.0, 0.420635, 0, 0.0, 140.0, 0.579365, 0, 0.0, 160.0, 0.68254, 0, 0.0, 180.0, 0.460317, 0, 0.0, 200.0, 0.206349, 0, 0.0, 220.0, 0.150794, 0, 0.0, 240.0, 0.436508, 0, 0.0, 260.0, 0.68254, 0, 0.0, 280.0, 0.809524, 0, 0.0, 300.0, 0.18254, 0, 0.0, 320.0, 0.587302, 0, 0.0, 340.0, 0.563492, 0, 0.0, 360.0, 0.047619, 0, 0.0, 380.0, 0.801587, 0, 0.0, 400.0, 0.936508, 0, 0.0, "curve", "data", 1, 88, 400.0, 0.0, 1.0, 0.0, 0.910204, 0, 0.0, 20.0, 0.355102, 0, 0.0, 40.0, 0.355102, 0, 0.0, 60.0, 0.257143, 0, 0.0, 80.0, 0.24898, 0, 0.0, 100.0, 0.420408, 0, 0.0, 120.0, 0.493878, 0, 0.0, 140.0, 0.616327, 0, 0.0, 160.0, 0.657143, 0, 0.0, 180.0, 0.689796, 0, 0.0, 200.0, 0.673469, 0, 0.0, 220.0, 0.844898, 0, 0.0, 240.0, 0.134694, 0, 0.0, 260.0, 0.142857, 0, 0.0, 280.0, 0.346939, 0, 0.0, 300.0, 0.559184, 0, 0.0, 320.0, 0.673469, 0, 0.0, 340.0, 0.273469, 0, 0.0, 360.0, 0.24898, 0, 0.0, 380.0, 0.093878, 0, 0.0, 400.0, 0.453061, 0, 0.0, "curve" ], "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 ], "pause": [ 10 ], "pdur": [ 400 ], - "start": [ 1 ], + "start": [ 0 ], "trajectory_mode": [ 1 ] }, "text": "autopattr", @@ -10897,10 +11195,10 @@ "outlettype": [ "", "", "", "" ], "patching_rect": [ 83.0, 16.0, 56.0, 22.0 ], "restore": { - "instrument-1": [ "X_Windwhistle.instr.json" ], - "instrument-2": [ "X_Darkswarm.instr.json" ], - "instrument-3": [ "X_BasicBells.instr.json" ], - "instrument-4": [ "X_Grain.instr.json" ] + "instrument-1": [ "Basic-Tone.instr.json" ], + "instrument-2": [ "Basic-Tone.instr.json" ], + "instrument-3": [ "Gentle-Metallic-1.instr.json" ], + "instrument-4": [ "Basic-Tone.instr.json" ] }, "text": "autopattr", "varname": "u249023098" @@ -11777,6 +12075,7 @@ "operating_hours": "0-24", "operation_mode": "Start Piece", "playing_mode": "Playlist", + "trajectory_mode": "circadian", "web_control": "fullscreen", "play": 1, "duration": 300, @@ -13322,7 +13621,7 @@ "numoutlets": 3, "outlettype": [ "", "", "" ], "patching_rect": [ 517.9, 790.0, 145.0, 22.0 ], - "restore": [ 4.264873556792736, 65.54635643959045 ], + "restore": [ 0, 54.874103307724 ], "saved_object_attributes": { "parameter_enable": 0, "parameter_mappable": 0 @@ -13339,7 +13638,7 @@ "numoutlets": 3, "outlettype": [ "", "", "" ], "patching_rect": [ 460.9, 903.0, 145.0, 22.0 ], - "restore": [ 58.41977775096893, 5.622959151864052 ], + "restore": [ 67.10740607976913, 0 ], "saved_object_attributes": { "parameter_enable": 0, "parameter_mappable": 0 @@ -13356,7 +13655,7 @@ "numoutlets": 3, "outlettype": [ "", "", "" ], "patching_rect": [ 403.9, 847.0, 145.0, 22.0 ], - "restore": [ 123.06454193592072, 58.5907187461853 ], + "restore": [ 127, 63.01615038514137 ], "saved_object_attributes": { "parameter_enable": 0, "parameter_mappable": 0 @@ -13373,7 +13672,7 @@ "numoutlets": 3, "outlettype": [ "", "", "" ], "patching_rect": [ 346.9, 790.0, 145.0, 22.0 ], - "restore": [ 58.198891282081604, 106.42057240009308 ], + "restore": [ 58.427181005477905, 123.27024340629578 ], "saved_object_attributes": { "parameter_enable": 0, "parameter_mappable": 0 @@ -14784,10 +15083,10 @@ "Djster.µbus[3]::event_length_display_style": -1 }, "saved_object_attributes": { - "client_rect": [ 763, 140, 1715, 770 ], + "client_rect": [ 4, 45, 358, 173 ], "parameter_enable": 0, "parameter_mappable": 0, - "storage_rect": [ 780, 524, 1380, 824 ] + "storage_rect": [ 583, 69, 1034, 197 ] }, "text": "pattrstorage DJster @greedy 1 @dirty 0", "varname": "DJster" @@ -15105,6 +15404,7 @@ { "patchline": { "destination": [ "obj-133", 0 ], + "midpoints": [ 1996.3888888888887, 159.36328125, 2099.5, 159.36328125 ], "order": 0, "source": [ "obj-105", 0 ] } @@ -15169,7 +15469,7 @@ { "patchline": { "destination": [ "obj-100", 0 ], - "midpoints": [ 1461.5, 63.73046875, 1567.0, 63.73046875, 1567.0, 373.0, 1788.5, 373.0 ], + "midpoints": [ 1461.5, 63.73046875, 1567.0, 63.73046875, 1567.0, 373.0, 1800.833333333333, 373.0 ], "order": 0, "source": [ "obj-120", 0 ] } @@ -15217,7 +15517,7 @@ { "patchline": { "destination": [ "obj-17", 0 ], - "midpoints": [ 1862.5, 723.5, 574.5, 723.5 ], + "midpoints": [ 1878.1666666666665, 723.5, 574.5, 723.5 ], "source": [ "obj-127", 0 ] } }, @@ -15233,12 +15533,6 @@ "source": [ "obj-129", 0 ] } }, - { - "patchline": { - "destination": [ "obj-25", 1 ], - "source": [ "obj-13", 1 ] - } - }, { "patchline": { "destination": [ "obj-126", 0 ], @@ -15270,12 +15564,46 @@ "source": [ "obj-134", 0 ] } }, + { + "patchline": { + "destination": [ "obj-174", 0 ], + "source": [ "obj-135", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-202", 3 ], + "midpoints": [ 2201.5, 175.5, 2080.833333333333, 175.5 ], + "source": [ "obj-135", 1 ] + } + }, { "patchline": { "destination": [ "obj-29", 0 ], "source": [ "obj-136", 0 ] } }, + { + "patchline": { + "destination": [ "obj-139", 0 ], + "source": [ "obj-137", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-144", 0 ], + "order": 0, + "source": [ "obj-139", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 1 ], + "midpoints": [ 2173.5, 76.61328125, 2040.5, 76.61328125 ], + "order": 1, + "source": [ "obj-139", 1 ] + } + }, { "patchline": { "destination": [ "obj-45", 0 ], @@ -15285,15 +15613,35 @@ { "patchline": { "destination": [ "obj-138", 0 ], + "order": 1, "source": [ "obj-140", 0 ] } }, + { + "patchline": { + "destination": [ "obj-176", 0 ], + "order": 0, + "source": [ "obj-140", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-148", 0 ], + "source": [ "obj-144", 0 ] + } + }, { "patchline": { "destination": [ "obj-27", 0 ], "source": [ "obj-145", 0 ] } }, + { + "patchline": { + "destination": [ "obj-135", 0 ], + "source": [ "obj-148", 0 ] + } + }, { "patchline": { "destination": [ "obj-202", 0 ], @@ -15326,6 +15674,18 @@ "source": [ "obj-152", 0 ] } }, + { + "patchline": { + "destination": [ "obj-191", 0 ], + "source": [ "obj-152", 4 ] + } + }, + { + "patchline": { + "destination": [ "obj-191", 0 ], + "source": [ "obj-152", 2 ] + } + }, { "patchline": { "destination": [ "obj-131", 0 ], @@ -15425,14 +15785,6 @@ "patchline": { "destination": [ "obj-273", 0 ], "midpoints": [ 574.5, 768.89453125, 74.5, 768.89453125 ], - "order": 1, - "source": [ "obj-17", 0 ] - } - }, - { - "patchline": { - "destination": [ "obj-78", 0 ], - "order": 0, "source": [ "obj-17", 0 ] } }, @@ -15448,6 +15800,12 @@ "source": [ "obj-173", 0 ] } }, + { + "patchline": { + "destination": [ "obj-135", 0 ], + "source": [ "obj-174", 0 ] + } + }, { "patchline": { "destination": [ "obj-7", 0 ], @@ -15532,6 +15890,12 @@ "source": [ "obj-195", 0 ] } }, + { + "patchline": { + "destination": [ "obj-152", 0 ], + "source": [ "obj-198", 0 ] + } + }, { "patchline": { "destination": [ "obj-58", 0 ], @@ -15631,12 +15995,6 @@ "source": [ "obj-273", 0 ] } }, - { - "patchline": { - "destination": [ "obj-13", 0 ], - "source": [ "obj-28", 0 ] - } - }, { "patchline": { "destination": [ "obj-132", 0 ], @@ -15682,18 +16040,6 @@ "source": [ "obj-32", 0 ] } }, - { - "patchline": { - "destination": [ "obj-20", 0 ], - "source": [ "obj-35", 0 ] - } - }, - { - "patchline": { - "destination": [ "obj-20", 0 ], - "source": [ "obj-36", 0 ] - } - }, { "patchline": { "destination": [ "obj-84", 0 ], @@ -15810,12 +16156,6 @@ "source": [ "obj-61", 0 ] } }, - { - "patchline": { - "destination": [ "obj-202", 3 ], - "source": [ "obj-62", 0 ] - } - }, { "patchline": { "destination": [ "obj-61", 0 ], @@ -15848,8 +16188,8 @@ }, { "patchline": { - "destination": [ "obj-36", 0 ], - "source": [ "obj-69", 1 ] + "destination": [ "obj-66", 0 ], + "source": [ "obj-69", 0 ] } }, { @@ -15925,12 +16265,6 @@ "source": [ "obj-77", 0 ] } }, - { - "patchline": { - "destination": [ "obj-82", 0 ], - "source": [ "obj-78", 0 ] - } - }, { "patchline": { "destination": [ "obj-17", 0 ], @@ -15941,7 +16275,7 @@ { "patchline": { "destination": [ "obj-100", 0 ], - "midpoints": [ 1299.0, 373.0, 1788.5, 373.0 ], + "midpoints": [ 1299.0, 373.0, 1800.833333333333, 373.0 ], "source": [ "obj-80", 2 ] } }, @@ -15967,7 +16301,7 @@ { "patchline": { "destination": [ "obj-100", 0 ], - "midpoints": [ 1655.5, 373.5, 1788.5, 373.5 ], + "midpoints": [ 1655.5, 373.5, 1800.833333333333, 373.5 ], "order": 0, "source": [ "obj-87", 0 ] } @@ -16396,7 +16730,7 @@ "parameter_overrides": { "obj-15::obj-1": { "parameter_longname": "Outset Pulses[3]", - "parameter_range": [ 1, 8 ] + "parameter_range": [ 1, 28 ] }, "obj-15::obj-104": { "parameter_longname": "umenu[3]" @@ -16494,7 +16828,7 @@ }, "obj-26::obj-1": { "parameter_longname": "Outset Pulses", - "parameter_range": [ 1, 20 ] + "parameter_range": [ 1, 8 ] }, "obj-26::obj-104": { "parameter_longname": "umenu" @@ -17254,7 +17588,7 @@ }, "obj-8::obj-1": { "parameter_longname": "Outset Pulses[2]", - "parameter_range": [ 1, 4 ] + "parameter_range": [ 1, 12 ] }, "obj-8::obj-104": { "parameter_longname": "umenu[2]"