From bf8b0d83acd083cad68aa8590bc4568aa0baec05 Mon Sep 17 00:00:00 2001 From: computermusik Date: Sun, 23 Nov 2025 22:43:58 +0100 Subject: [PATCH] function2coll --- .../hss-video-broadcaster.maxpat | 0 .../ligetilogo_white.png | Bin hss-server.maxpat | 669 +++++++++++++++--- javascript/hss.piecemaker.js | 2 +- 4 files changed, 588 insertions(+), 83 deletions(-) rename {HSS Broadcast => HSS Broadcaster}/hss-video-broadcaster.maxpat (100%) rename {HSS Broadcast => HSS Broadcaster}/ligetilogo_white.png (100%) diff --git a/HSS Broadcast/hss-video-broadcaster.maxpat b/HSS Broadcaster/hss-video-broadcaster.maxpat similarity index 100% rename from HSS Broadcast/hss-video-broadcaster.maxpat rename to HSS Broadcaster/hss-video-broadcaster.maxpat diff --git a/HSS Broadcast/ligetilogo_white.png b/HSS Broadcaster/ligetilogo_white.png similarity index 100% rename from HSS Broadcast/ligetilogo_white.png rename to HSS Broadcaster/ligetilogo_white.png diff --git a/hss-server.maxpat b/hss-server.maxpat index a2b2965..3922e00 100644 --- a/hss-server.maxpat +++ b/hss-server.maxpat @@ -9,12 +9,521 @@ "modernui": 1 }, "classnamespace": "box", - "rect": [ 407.0, 72.0, 1019.0, 857.0 ], + "rect": [ 407.0, 72.0, 1018.0, 858.0 ], "bglocked": 1, "openinpresentation": 1, "toolbarvisible": 0, "globalpatchername": "server", "boxes": [ + { + "box": { + "id": "obj-125", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 0, + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 0, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 877.0, 282.0, 494.0, 750.0 ], + "boxes": [ + { + "box": { + "id": "obj-10", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 73.0, 46.0, 54.0, 22.0 ], + "text": "deferlow" + } + }, + { + "box": { + "comment": "", + "id": "obj-9", + "index": 1, + "maxclass": "inlet", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 73.0, 1.0, 30.0, 30.0 ] + } + }, + { + "box": { + "id": "obj-26", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 286.0, 582.0, 75.0, 22.0 ], + "text": "sprintf %i\\\\%" + } + }, + { + "box": { + "id": "obj-25", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 286.0, 548.0, 37.0, 22.0 ], + "text": "* 100" + } + }, + { + "box": { + "id": "obj-24", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "float" ], + "patching_rect": [ 286.0, 514.0, 55.0, 22.0 ], + "text": "/ 1." + } + }, + { + "box": { + "id": "obj-22", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 50.0, 673.0, 83.0, 22.0 ], + "text": "prepend store" + } + }, + { + "box": { + "id": "obj-21", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 50.0, 640.0, 78.0, 22.0 ], + "text": "join" + } + }, + { + "box": { + "id": "obj-18", + "maxclass": "newobj", + "numinlets": 3, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 50.0, 582.0, 182.0, 22.0 ], + "text": "combine h : m @padding 2 0 2" + } + }, + { + "box": { + "id": "obj-16", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "int", "int" ], + "patching_rect": [ 50.0, 548.0, 182.0, 22.0 ], + "text": "divmod 60" + } + }, + { + "box": { + "id": "obj-14", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "int", "int" ], + "patching_rect": [ 50.0, 514.0, 64.0, 22.0 ], + "text": "divmod 60" + } + }, + { + "box": { + "id": "obj-6", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 73.0, 411.0, 55.0, 22.0 ], + "text": "zl.slice 1" + } + }, + { + "box": { + "id": "obj-5", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 50.0, 703.0, 78.0, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll schedule" + } + }, + { + "box": { + "id": "obj-4", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "int" ], + "patching_rect": [ 255.0, 191.0, 29.5, 22.0 ], + "text": "+ 1" + } + }, + { + "box": { + "id": "obj-3", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 50.0, 471.0, 42.0, 22.0 ], + "text": "gate 2" + } + }, + { + "box": { + "id": "obj-2", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 73.0, 376.0, 59.0, 22.0 ], + "text": "packback" + } + }, + { + "box": { + "id": "obj-1", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "" ], + "patching_rect": [ 255.0, 150.0, 199.0, 22.0 ], + "restore": [ 0 ], + "saved_object_attributes": { + "parameter_enable": 0, + "parameter_mappable": 0 + }, + "text": "pattr bindto parent::trajectory_mode", + "varname": "bindto" + } + }, + { + "box": { + "id": "obj-117", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 158.66666666666666, 237.0, 60.409999999999854, 22.0 ], + "text": "pack i f" + } + }, + { + "box": { + "id": "obj-106", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 2, + "outlettype": [ "int", "float" ], + "patching_rect": [ 158.66666666666666, 196.0, 60.0, 22.0 ], + "text": "unpack i f" + } + }, + { + "box": { + "id": "obj-83", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 158.66666666666666, 271.0, 90.0, 22.0 ], + "text": "prepend merge" + } + }, + { + "box": { + "id": "obj-82", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "clear", "bang" ], + "patching_rect": [ 73.0, 114.0, 201.0, 22.0 ], + "text": "t l l clear b" + } + }, + { + "box": { + "id": "obj-78", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 4, + "outlettype": [ "", "", "", "" ], + "patching_rect": [ 73.0, 333.0, 50.5, 22.0 ], + "saved_object_attributes": { + "embed": 0, + "precision": 6 + }, + "text": "coll" + } + }, + { + "box": { + "id": "obj-36", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 73.0, 80.0, 39.0, 22.0 ], + "text": "dump" + } + }, + { + "box": { + "id": "obj-28", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 5, + "outlettype": [ "", "", "", "", "" ], + "patching_rect": [ 133.66666666666666, 150.0, 69.0, 22.0 ], + "text": "grab 5 mc.f" + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-4", 0 ], + "source": [ "obj-1", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-36", 0 ], + "source": [ "obj-10", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-117", 1 ], + "source": [ "obj-106", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-117", 0 ], + "order": 1, + "source": [ "obj-106", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-24", 1 ], + "midpoints": [ 168.16666666666666, 225.93359375, 331.5, 225.93359375 ], + "order": 0, + "source": [ "obj-106", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-83", 0 ], + "source": [ "obj-117", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-16", 0 ], + "source": [ "obj-14", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-18", 2 ], + "source": [ "obj-16", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-18", 0 ], + "source": [ "obj-16", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-21", 0 ], + "source": [ "obj-18", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-6", 0 ], + "source": [ "obj-2", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-22", 0 ], + "source": [ "obj-21", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-5", 0 ], + "source": [ "obj-22", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-25", 0 ], + "source": [ "obj-24", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-26", 0 ], + "source": [ "obj-25", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-21", 0 ], + "midpoints": [ 295.5, 623.53515625, 59.5, 623.53515625 ], + "source": [ "obj-26", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-106", 0 ], + "source": [ "obj-28", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-14", 0 ], + "source": [ "obj-3", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-24", 0 ], + "midpoints": [ 82.5, 501.34765625, 295.5, 501.34765625 ], + "source": [ "obj-3", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-82", 0 ], + "source": [ "obj-36", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 0 ], + "midpoints": [ 264.5, 450.890625, 59.5, 450.890625 ], + "source": [ "obj-4", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-21", 1 ], + "source": [ "obj-6", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-3", 1 ], + "source": [ "obj-6", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 1 ], + "source": [ "obj-78", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-2", 0 ], + "source": [ "obj-78", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-1", 0 ], + "source": [ "obj-82", 3 ] + } + }, + { + "patchline": { + "destination": [ "obj-28", 0 ], + "source": [ "obj-82", 1 ] + } + }, + { + "patchline": { + "destination": [ "obj-78", 0 ], + "source": [ "obj-82", 2 ] + } + }, + { + "patchline": { + "destination": [ "obj-78", 0 ], + "source": [ "obj-82", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-78", 0 ], + "source": [ "obj-83", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-10", 0 ], + "source": [ "obj-9", 0 ] + } + } + ] + }, + "patching_rect": [ 1161.5, 171.0, 85.0, 22.0 ], + "text": "p function2coll", + "varname": "function2coll" + } + }, + { + "box": { + "id": "obj-141", + "maxclass": "newobj", + "numinlets": 0, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 1957.0, 384.0, 38.0, 22.0 ], + "text": "r mc.f" + } + }, + { + "box": { + "id": "obj-123", + "maxclass": "newobj", + "numinlets": 2, + "numoutlets": 2, + "outlettype": [ "", "" ], + "patching_rect": [ 1818.0, 633.0, 37.0, 22.0 ], + "text": "zl.rev" + } + }, { "box": { "id": "obj-201", @@ -33,17 +542,6 @@ "textcolor": [ 0.071196037102503, 0.071195997168178, 0.071196007384196, 1.0 ] } }, - { - "box": { - "id": "obj-198", - "maxclass": "message", - "numinlets": 2, - "numoutlets": 1, - "outlettype": [ "" ], - "patching_rect": [ 1774.0, 452.0, 39.0, 22.0 ], - "text": "dump" - } - }, { "box": { "id": "obj-176", @@ -51,7 +549,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1818.0, 687.0, 168.0, 22.0 ], + "patching_rect": [ 1892.0, 679.0, 168.0, 22.0 ], "text": "pattrforward machineLearning", "varname": "machineLearning[1]" } @@ -1344,7 +1842,7 @@ "modernui": 1 }, "classnamespace": "box", - "rect": [ 92.0, 133.0, 1674.0, 1002.0 ], + "rect": [ 40.0, 106.0, 1674.0, 1002.0 ], "boxes": [ { "box": { @@ -4442,10 +4940,10 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 2049.333333333333, 270.0, 41.0, 22.0 ], + "patching_rect": [ 2049.333333333333, 218.0, 41.0, 22.0 ], "presentation": 1, "presentation_rect": [ 417.000013589859, 46.33333474397659, 39.0, 22.0 ], - "text": "02:38" + "text": "03:24" } }, { @@ -4465,10 +4963,10 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1978.1666666666665, 332.0, 61.5, 22.0 ], + "patching_rect": [ 1978.1666666666665, 316.0, 61.5, 22.0 ], "presentation": 1, "presentation_rect": [ 401.000013589859, 13.000000417232513, 55.0, 22.0 ], - "text": "13:17:43" + "text": "22:43:14" } }, { @@ -4489,7 +4987,7 @@ "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 1919.3333333333333, 222.0, 33.0, 22.0 ], + "patching_rect": [ 1919.3333333333333, 218.0, 33.0, 22.0 ], "text": "grab" } }, @@ -4500,7 +4998,7 @@ "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 1868.6666666666665, 222.0, 33.0, 22.0 ], + "patching_rect": [ 1869.3333333333333, 218.0, 33.0, 22.0 ], "text": "grab" } }, @@ -4511,7 +5009,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 2090.0, 370.0, 93.0, 22.0 ], + "patching_rect": [ 2090.0, 323.0, 93.0, 22.0 ], "text": "join @triggers 2" } }, @@ -4540,7 +5038,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "int" ], - "patching_rect": [ 2090.0, 316.0, 37.0, 22.0 ], + "patching_rect": [ 2090.0, 253.0, 37.0, 22.0 ], "text": "* 500" } }, @@ -4551,7 +5049,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1919.3333333333333, 283.5, 63.0, 22.0 ], + "patching_rect": [ 1919.3333333333333, 280.0, 63.0, 22.0 ], "text": "$2, -70 $1" } }, @@ -4573,7 +5071,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1868.6666666666665, 257.0, 63.0, 22.0 ], + "patching_rect": [ 1869.3333333333333, 253.0, 63.0, 22.0 ], "text": "-70, $2 $1" } }, @@ -4584,7 +5082,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1868.6666666666665, 360.0, 79.0, 22.0 ], + "patching_rect": [ 1868.6666666666665, 351.0, 79.0, 22.0 ], "text": "prepend gain" } }, @@ -4595,7 +5093,7 @@ "numinlets": 3, "numoutlets": 2, "outlettype": [ "", "bang" ], - "patching_rect": [ 1868.6666666666665, 332.0, 40.0, 22.0 ], + "patching_rect": [ 1868.6666666666665, 323.0, 40.0, 22.0 ], "text": "line" } }, @@ -4884,7 +5382,7 @@ "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1745.0, 687.0, 68.0, 22.0 ], + "patching_rect": [ 1818.0, 679.0, 68.0, 22.0 ], "text": "pvar nodes" } }, @@ -4895,7 +5393,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 1791.333333333333, 413.0, 161.0, 22.0 ], + "patching_rect": [ 1791.333333333333, 384.0, 161.0, 22.0 ], "text": "target 1, clear, target 2, clear" } }, @@ -4906,7 +5404,7 @@ "numinlets": 2, "numoutlets": 2, "outlettype": [ "", "" ], - "patching_rect": [ 1817.9, 646.0, 61.0, 22.0 ], + "patching_rect": [ 1818.0, 604.0, 61.0, 22.0 ], "text": "zl.group 2" } }, @@ -4928,10 +5426,10 @@ "classic_curve": 1, "data": [ { - "addpoints_with_curve": [ 0.0, 0.884921, 0, 0.0, 1800.0, 1.0, 0, 0.0, 3600.0, 1.0, 0, 0.0, 5400.0, 0.996032, 0, 0.0, 7200.0, 1.0, 0, 0.0, 9000.0, 1.0, 0, 0.0, 10800.0, 1.0, 0, 0.0, 12600.0, 1.0, 0, 0.0, 14400.0, 1.0, 0, 0.0, 16200.0, 1.0, 0, 0.0, 18000.0, 1.0, 0, 0.0, 19800.0, 1.0, 0, 0.0, 21600.0, 1.0, 0, 0.0, 23400.0, 1.0, 0, 0.0, 25200.0, 0.884921, 0, 0.0, 27000.0, 0.84127, 0, 0.0, 28800.0, 0.753968, 0, 0.0, 30600.0, 0.702381, 0, 0.0, 32400.0, 0.650794, 0, 0.0, 34200.0, 0.5, 0, 0.0, 36000.0, 0.400794, 0, 0.0, 37800.0, 0.349206, 0, 0.0, 39600.0, 0.242063, 0, 0.0, 41400.0, 0.206349, 0, 0.0, 43200.0, 0.107143, 0, 0.0, 45000.0, 0.0, 0, 0.0, 46800.0, 0.0, 0, 0.0, 48600.0, 0.0, 0, 0.0, 50400.0, 0.0, 0, 0.0, 52200.0, 0.0, 0, 0.0, 54000.0, 0.0, 0, 0.0, 55800.0, 0.0, 0, 0.0, 57600.0, 0.0, 0, 0.0, 59400.0, 0.0, 0, 0.0, 61200.0, 0.0, 0, 0.0, 63000.0, 0.0, 0, 0.0, 64800.0, 0.0, 0, 0.0, 66600.0, 0.0, 0, 0.0, 68400.0, 0.130952, 0, 0.0, 70200.0, 0.190476, 0, 0.0, 72000.0, 0.25, 0, 0.0, 73800.0, 0.325397, 0, 0.0, 75600.0, 0.392857, 0, 0.0, 77400.0, 0.5, 0, 0.0, 79200.0, 0.611111, 0, 0.0, 81000.0, 0.674603, 0, 0.0, 82800.0, 0.765873, 0, 0.0, 84600.0, 0.805556, 0, 0.0 ] + "addpoints_with_curve": [ 0.0, 0.386621, 0, 0.0, 1800.0, 0.507937, 0, 0.0, 3600.0, 0.642857, 0, 0.0, 5400.0, 0.611111, 0, 0.0, 7200.0, 0.531746, 0, 0.0, 9000.0, 0.452381, 0, 0.0, 10800.0, 0.388889, 0, 0.0, 12600.0, 0.357143, 0, 0.0, 14400.0, 0.301587, 0, 0.0, 16200.0, 0.285714, 0, 0.0, 18000.0, 0.31746, 0, 0.0, 19800.0, 0.365079, 0, 0.0, 21600.0, 0.428571, 0, 0.0, 23400.0, 0.484127, 0, 0.0, 25200.0, 0.595238, 0, 0.0, 27000.0, 0.65873, 0, 0.0, 28800.0, 0.722222, 0, 0.0, 30600.0, 0.753968, 0, 0.0, 32400.0, 0.785714, 0, 0.0, 34200.0, 0.785714, 0, 0.0, 36000.0, 0.738095, 0, 0.0, 37800.0, 0.68254, 0, 0.0, 39600.0, 0.84127, 0, 0.0, 41400.0, 0.912698, 0, 0.0, 43200.0, 0.738095, 0, 0.0, 45000.0, 0.603175, 0, 0.0, 46800.0, 0.484127, 0, 0.0, 48600.0, 0.380952, 0, 0.0, 50400.0, 0.293651, 0, 0.0, 52200.0, 0.206349, 0, 0.0, 54000.0, 0.126984, 0, 0.0, 55800.0, 0.126984, 0, 0.0, 57600.0, 0.111111, 0, 0.0, 59400.0, 0.079365, 0, 0.0, 61200.0, 0.071429, 0, 0.0, 63000.0, 0.126984, 0, 0.0, 64800.0, 0.126984, 0, 0.0, 66600.0, 0.119048, 0, 0.0, 68400.0, 0.103175, 0, 0.0, 70200.0, 0.079365, 0, 0.0, 72000.0, 0.198413, 0, 0.0, 73800.0, 0.269841, 0, 0.0, 75600.0, 0.34127, 0, 0.0, 77400.0, 0.460317, 0, 0.0, 79200.0, 0.571429, 0, 0.0, 81000.0, 0.714286, 0, 0.0, 82800.0, 0.84127, 0, 0.0, 84600.0, 0.944444, 0, 0.0 ] }, { - "addpoints_with_curve": [ 0.0, 0.122449, 0, 0.0, 1800.0, 0.0, 0, 0.0, 3600.0, 0.102041, 0, 0.0, 5400.0, 0.163265, 0, 0.0, 7200.0, 0.253061, 0, 0.0, 9000.0, 0.289796, 0, 0.0, 10800.0, 0.383673, 0, 0.0, 12600.0, 0.506122, 0, 0.0, 14400.0, 0.591837, 0, 0.0, 16200.0, 0.661224, 0, 0.0, 18000.0, 0.75102, 0, 0.0, 19800.0, 0.812245, 0, 0.0, 21600.0, 0.914286, 0, 0.0, 23400.0, 1.0, 0, 0.0, 25200.0, 0.885714, 0, 0.0, 27000.0, 0.836735, 0, 0.0, 28800.0, 0.742857, 0, 0.0, 30600.0, 0.685714, 0, 0.0, 32400.0, 0.628571, 0, 0.0, 34200.0, 0.497959, 0, 0.0, 36000.0, 0.37551, 0, 0.0, 37800.0, 0.318367, 0, 0.0, 39600.0, 0.22449, 0, 0.0, 41400.0, 0.171429, 0, 0.0, 43200.0, 0.106122, 0, 0.0, 45000.0, 0.0, 0, 0.0, 46800.0, 0.089796, 0, 0.0, 48600.0, 0.142857, 0, 0.0, 50400.0, 0.253061, 0, 0.0, 52200.0, 0.293878, 0, 0.0, 54000.0, 0.363265, 0, 0.0, 55800.0, 0.497959, 0, 0.0, 57600.0, 0.583673, 0, 0.0, 59400.0, 0.640816, 0, 0.0, 61200.0, 0.75102, 0, 0.0, 63000.0, 0.795918, 0, 0.0, 64800.0, 0.881633, 0, 0.0, 66600.0, 1.0, 0, 0.0, 68400.0, 0.873469, 0, 0.0, 70200.0, 0.82449, 0, 0.0, 72000.0, 0.755102, 0, 0.0, 73800.0, 0.669388, 0, 0.0, 75600.0, 0.604082, 0, 0.0, 77400.0, 0.497959, 0, 0.0, 79200.0, 0.387755, 0, 0.0, 81000.0, 0.334694, 0, 0.0, 82800.0, 0.240816, 0, 0.0, 84600.0, 0.195918, 0, 0.0 ] + "addpoints_with_curve": [ 0.0, 0.062682, 0, 0.0, 1800.0, 0.502041, 0, 0.0, 3600.0, 0.62449, 0, 0.0, 5400.0, 0.689796, 0, 0.0, 7200.0, 0.706122, 0, 0.0, 9000.0, 0.706122, 0, 0.0, 10800.0, 0.665306, 0, 0.0, 12600.0, 0.632653, 0, 0.0, 14400.0, 0.559184, 0, 0.0, 16200.0, 0.477551, 0, 0.0, 18000.0, 0.412245, 0, 0.0, 19800.0, 0.346939, 0, 0.0, 21600.0, 0.297959, 0, 0.0, 23400.0, 0.281633, 0, 0.0, 25200.0, 0.281633, 0, 0.0, 27000.0, 0.306122, 0, 0.0, 28800.0, 0.338776, 0, 0.0, 30600.0, 0.387755, 0, 0.0, 32400.0, 0.469388, 0, 0.0, 34200.0, 0.55102, 0, 0.0, 36000.0, 0.62449, 0, 0.0, 37800.0, 0.673469, 0, 0.0, 39600.0, 0.861224, 0, 0.0, 41400.0, 0.910204, 0, 0.0, 43200.0, 0.95102, 0, 0.0, 45000.0, 0.934694, 0, 0.0, 46800.0, 0.918367, 0, 0.0, 48600.0, 0.918367, 0, 0.0, 50400.0, 0.902041, 0, 0.0, 52200.0, 0.902041, 0, 0.0, 54000.0, 0.893878, 0, 0.0, 55800.0, 0.828571, 0, 0.0, 57600.0, 0.738776, 0, 0.0, 59400.0, 0.657143, 0, 0.0, 61200.0, 0.57551, 0, 0.0, 63000.0, 0.461224, 0, 0.0, 64800.0, 0.363265, 0, 0.0, 66600.0, 0.289796, 0, 0.0, 68400.0, 0.183673, 0, 0.0, 70200.0, 0.085714, 0, 0.0, 72000.0, 0.077551, 0, 0.0, 73800.0, 0.069388, 0, 0.0, 75600.0, 0.077551, 0, 0.0, 77400.0, 0.069388, 0, 0.0, 79200.0, 0.053061, 0, 0.0, 81000.0, 0.085714, 0, 0.0, 82800.0, 0.077551, 0, 0.0, 84600.0, 0.077551, 0, 0.0 ] } ], "domain": 86400.0, @@ -4942,7 +5440,7 @@ "numoutlets": 5, "outlettype": [ "float", "", "", "bang", "int" ], "parameter_enable": 0, - "patching_rect": [ 1817.9, 468.0, 370.0, 168.0 ], + "patching_rect": [ 1818.0, 430.0, 370.0, 168.0 ], "shadowactive": 0, "varname": "mc.function" } @@ -5621,7 +6119,7 @@ "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], - "patching_rect": [ 747.0, 289.0, 166.0, 49.0 ], + "patching_rect": [ 747.0, 289.0, 168.0, 49.0 ], "text": "300, cantchange 0, bgcolor 0.047 0.424 0.847 1., triangle 1" } }, @@ -6846,8 +7344,8 @@ "key": "svg", "val": { "id": "src4", - "cx": 139, - "cy": 70 + "cx": 152, + "cy": 69 } } }, @@ -8239,7 +8737,7 @@ { "box": { "id": "obj-181", - "int": 2, + "int": 1, "maxclass": "gswitch2", "numinlets": 2, "numoutlets": 4, @@ -8929,7 +9427,7 @@ "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 647.0, 645.0, 59.0, 22.0 ], - "text": "0.383798" + "text": "0.276182" } }, { @@ -8951,7 +9449,7 @@ "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 585.0, 650.0, 59.0, 22.0 ], - "text": "0.401711" + "text": "0.358244" } }, { @@ -8973,7 +9471,7 @@ "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 524.0, 650.0, 59.0, 22.0 ], - "text": "0.395791" + "text": "0.299538" } }, { @@ -8995,7 +9493,7 @@ "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 464.0, 650.0, 59.0, 22.0 ], - "text": "0.397512" + "text": "0.2653" } }, { @@ -9903,7 +10401,7 @@ "numinlets": 2, "numoutlets": 5, "outlettype": [ "dictionary", "", "", "", "" ], - "patching_rect": [ 1648.0, 555.0, 91.0, 22.0 ], + "patching_rect": [ 1648.0, 559.0, 91.0, 22.0 ], "saved_object_attributes": { "legacy": 1, "parameter_enable": 0, @@ -10209,7 +10707,7 @@ "restore": { "duration": [ 295 ], "environments": [ 0 ], - "mc.function": [ "data", 0, 196, 86400.0, 0.0, 1.0, 0.0, 0.884921, 0, 0.0, 1800.0, 1.0, 0, 0.0, 3600.0, 1.0, 0, 0.0, 5400.0, 0.996032, 0, 0.0, 7200.0, 1.0, 0, 0.0, 9000.0, 1.0, 0, 0.0, 10800.0, 1.0, 0, 0.0, 12600.0, 1.0, 0, 0.0, 14400.0, 1.0, 0, 0.0, 16200.0, 1.0, 0, 0.0, 18000.0, 1.0, 0, 0.0, 19800.0, 1.0, 0, 0.0, 21600.0, 1.0, 0, 0.0, 23400.0, 1.0, 0, 0.0, 25200.0, 0.884921, 0, 0.0, 27000.0, 0.84127, 0, 0.0, 28800.0, 0.753968, 0, 0.0, 30600.0, 0.702381, 0, 0.0, 32400.0, 0.650794, 0, 0.0, 34200.0, 0.5, 0, 0.0, 36000.0, 0.400794, 0, 0.0, 37800.0, 0.349206, 0, 0.0, 39600.0, 0.242063, 0, 0.0, 41400.0, 0.206349, 0, 0.0, 43200.0, 0.107143, 0, 0.0, 45000.0, 0.0, 0, 0.0, 46800.0, 0.0, 0, 0.0, 48600.0, 0.0, 0, 0.0, 50400.0, 0.0, 0, 0.0, 52200.0, 0.0, 0, 0.0, 54000.0, 0.0, 0, 0.0, 55800.0, 0.0, 0, 0.0, 57600.0, 0.0, 0, 0.0, 59400.0, 0.0, 0, 0.0, 61200.0, 0.0, 0, 0.0, 63000.0, 0.0, 0, 0.0, 64800.0, 0.0, 0, 0.0, 66600.0, 0.0, 0, 0.0, 68400.0, 0.130952, 0, 0.0, 70200.0, 0.190476, 0, 0.0, 72000.0, 0.25, 0, 0.0, 73800.0, 0.325397, 0, 0.0, 75600.0, 0.392857, 0, 0.0, 77400.0, 0.5, 0, 0.0, 79200.0, 0.611111, 0, 0.0, 81000.0, 0.674603, 0, 0.0, 82800.0, 0.765873, 0, 0.0, 84600.0, 0.805556, 0, 0.0, "curve", "data", 1, 196, 86400.0, 0.0, 1.0, 0.0, 0.122449, 0, 0.0, 1800.0, 0.0, 0, 0.0, 3600.0, 0.102041, 0, 0.0, 5400.0, 0.163265, 0, 0.0, 7200.0, 0.253061, 0, 0.0, 9000.0, 0.289796, 0, 0.0, 10800.0, 0.383673, 0, 0.0, 12600.0, 0.506122, 0, 0.0, 14400.0, 0.591837, 0, 0.0, 16200.0, 0.661224, 0, 0.0, 18000.0, 0.75102, 0, 0.0, 19800.0, 0.812245, 0, 0.0, 21600.0, 0.914286, 0, 0.0, 23400.0, 1.0, 0, 0.0, 25200.0, 0.885714, 0, 0.0, 27000.0, 0.836735, 0, 0.0, 28800.0, 0.742857, 0, 0.0, 30600.0, 0.685714, 0, 0.0, 32400.0, 0.628571, 0, 0.0, 34200.0, 0.497959, 0, 0.0, 36000.0, 0.37551, 0, 0.0, 37800.0, 0.318367, 0, 0.0, 39600.0, 0.22449, 0, 0.0, 41400.0, 0.171429, 0, 0.0, 43200.0, 0.106122, 0, 0.0, 45000.0, 0.0, 0, 0.0, 46800.0, 0.089796, 0, 0.0, 48600.0, 0.142857, 0, 0.0, 50400.0, 0.253061, 0, 0.0, 52200.0, 0.293878, 0, 0.0, 54000.0, 0.363265, 0, 0.0, 55800.0, 0.497959, 0, 0.0, 57600.0, 0.583673, 0, 0.0, 59400.0, 0.640816, 0, 0.0, 61200.0, 0.75102, 0, 0.0, 63000.0, 0.795918, 0, 0.0, 64800.0, 0.881633, 0, 0.0, 66600.0, 1.0, 0, 0.0, 68400.0, 0.873469, 0, 0.0, 70200.0, 0.82449, 0, 0.0, 72000.0, 0.755102, 0, 0.0, 73800.0, 0.669388, 0, 0.0, 75600.0, 0.604082, 0, 0.0, 77400.0, 0.497959, 0, 0.0, 79200.0, 0.387755, 0, 0.0, 81000.0, 0.334694, 0, 0.0, 82800.0, 0.240816, 0, 0.0, 84600.0, 0.195918, 0, 0.0, "curve" ], + "mc.function": [ "data", 0, 196, 86400.0, 0.0, 1.0, 0.0, 0.386621, 0, 0.0, 1800.0, 0.507937, 0, 0.0, 3600.0, 0.642857, 0, 0.0, 5400.0, 0.611111, 0, 0.0, 7200.0, 0.531746, 0, 0.0, 9000.0, 0.452381, 0, 0.0, 10800.0, 0.388889, 0, 0.0, 12600.0, 0.357143, 0, 0.0, 14400.0, 0.301587, 0, 0.0, 16200.0, 0.285714, 0, 0.0, 18000.0, 0.31746, 0, 0.0, 19800.0, 0.365079, 0, 0.0, 21600.0, 0.428571, 0, 0.0, 23400.0, 0.484127, 0, 0.0, 25200.0, 0.595238, 0, 0.0, 27000.0, 0.65873, 0, 0.0, 28800.0, 0.722222, 0, 0.0, 30600.0, 0.753968, 0, 0.0, 32400.0, 0.785714, 0, 0.0, 34200.0, 0.785714, 0, 0.0, 36000.0, 0.738095, 0, 0.0, 37800.0, 0.68254, 0, 0.0, 39600.0, 0.84127, 0, 0.0, 41400.0, 0.912698, 0, 0.0, 43200.0, 0.738095, 0, 0.0, 45000.0, 0.603175, 0, 0.0, 46800.0, 0.484127, 0, 0.0, 48600.0, 0.380952, 0, 0.0, 50400.0, 0.293651, 0, 0.0, 52200.0, 0.206349, 0, 0.0, 54000.0, 0.126984, 0, 0.0, 55800.0, 0.126984, 0, 0.0, 57600.0, 0.111111, 0, 0.0, 59400.0, 0.079365, 0, 0.0, 61200.0, 0.071429, 0, 0.0, 63000.0, 0.126984, 0, 0.0, 64800.0, 0.126984, 0, 0.0, 66600.0, 0.119048, 0, 0.0, 68400.0, 0.103175, 0, 0.0, 70200.0, 0.079365, 0, 0.0, 72000.0, 0.198413, 0, 0.0, 73800.0, 0.269841, 0, 0.0, 75600.0, 0.34127, 0, 0.0, 77400.0, 0.460317, 0, 0.0, 79200.0, 0.571429, 0, 0.0, 81000.0, 0.714286, 0, 0.0, 82800.0, 0.84127, 0, 0.0, 84600.0, 0.944444, 0, 0.0, "curve", "data", 1, 196, 86400.0, 0.0, 1.0, 0.0, 0.062682, 0, 0.0, 1800.0, 0.502041, 0, 0.0, 3600.0, 0.62449, 0, 0.0, 5400.0, 0.689796, 0, 0.0, 7200.0, 0.706122, 0, 0.0, 9000.0, 0.706122, 0, 0.0, 10800.0, 0.665306, 0, 0.0, 12600.0, 0.632653, 0, 0.0, 14400.0, 0.559184, 0, 0.0, 16200.0, 0.477551, 0, 0.0, 18000.0, 0.412245, 0, 0.0, 19800.0, 0.346939, 0, 0.0, 21600.0, 0.297959, 0, 0.0, 23400.0, 0.281633, 0, 0.0, 25200.0, 0.281633, 0, 0.0, 27000.0, 0.306122, 0, 0.0, 28800.0, 0.338776, 0, 0.0, 30600.0, 0.387755, 0, 0.0, 32400.0, 0.469388, 0, 0.0, 34200.0, 0.55102, 0, 0.0, 36000.0, 0.62449, 0, 0.0, 37800.0, 0.673469, 0, 0.0, 39600.0, 0.861224, 0, 0.0, 41400.0, 0.910204, 0, 0.0, 43200.0, 0.95102, 0, 0.0, 45000.0, 0.934694, 0, 0.0, 46800.0, 0.918367, 0, 0.0, 48600.0, 0.918367, 0, 0.0, 50400.0, 0.902041, 0, 0.0, 52200.0, 0.902041, 0, 0.0, 54000.0, 0.893878, 0, 0.0, 55800.0, 0.828571, 0, 0.0, 57600.0, 0.738776, 0, 0.0, 59400.0, 0.657143, 0, 0.0, 61200.0, 0.57551, 0, 0.0, 63000.0, 0.461224, 0, 0.0, 64800.0, 0.363265, 0, 0.0, 66600.0, 0.289796, 0, 0.0, 68400.0, 0.183673, 0, 0.0, 70200.0, 0.085714, 0, 0.0, 72000.0, 0.077551, 0, 0.0, 73800.0, 0.069388, 0, 0.0, 75600.0, 0.077551, 0, 0.0, 77400.0, 0.069388, 0, 0.0, 79200.0, 0.053061, 0, 0.0, 81000.0, 0.085714, 0, 0.0, 82800.0, 0.077551, 0, 0.0, 84600.0, 0.077551, 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": [ 86400 ], @@ -11254,10 +11752,10 @@ "outlettype": [ "", "", "", "" ], "patching_rect": [ 83.0, 16.0, 56.0, 22.0 ], "restore": { - "instrument-1": [ "X_Windwhistle.instr.json" ], - "instrument-2": [ "X_Grain.instr.json" ], - "instrument-3": [ "X_BasicBells.instr.json" ], - "instrument-4": [ "X_Windwhistle.instr.json" ] + "instrument-1": [ "Aurora.instr.json" ], + "instrument-2": [ "Dreamy-Fifths.instr.json" ], + "instrument-3": [ "Round-Bell.instr.json" ], + "instrument-4": [ "Large-Space.instr.json" ] }, "text": "autopattr", "varname": "u249023098" @@ -13680,7 +14178,7 @@ "numoutlets": 3, "outlettype": [ "", "", "" ], "patching_rect": [ 517.9, 790.0, 145.0, 22.0 ], - "restore": [ 5.762761816382408, 63.47349816560745 ], + "restore": [ 20.030759766697884, 64.82388055324554 ], "saved_object_attributes": { "parameter_enable": 0, "parameter_mappable": 0 @@ -13697,7 +14195,7 @@ "numoutlets": 3, "outlettype": [ "", "", "" ], "patching_rect": [ 460.9, 903.0, 145.0, 22.0 ], - "restore": [ 63.78542649745941, 7.962971396744251 ], + "restore": [ 63.60930019617081, 18.266160368919373 ], "saved_object_attributes": { "parameter_enable": 0, "parameter_mappable": 0 @@ -13714,7 +14212,7 @@ "numoutlets": 3, "outlettype": [ "", "", "" ], "patching_rect": [ 403.9, 847.0, 145.0, 22.0 ], - "restore": [ 127, 61.01179113984108 ], + "restore": [ 109.87448585033417, 64.57089060544968 ], "saved_object_attributes": { "parameter_enable": 0, "parameter_mappable": 0 @@ -13731,7 +14229,7 @@ "numoutlets": 3, "outlettype": [ "", "", "" ], "patching_rect": [ 346.9, 790.0, 145.0, 22.0 ], - "restore": [ 63.16221705079079, 107.78128755092621 ], + "restore": [ 66.29911905527115, 107.18569648265839 ], "saved_object_attributes": { "parameter_enable": 0, "parameter_mappable": 0 @@ -15120,10 +15618,6 @@ { "box": { "active": { - "hub::global::level_1": 0, - "hub::global::level_2": 0, - "hub::global::level_3": 0, - "hub::global::level_4": 0, "duration": 0, "mc.function": 0, "nodes": 0, @@ -15140,7 +15634,6 @@ "priority": { "hub": -1, "hub::instrument": -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, @@ -15572,6 +16065,20 @@ "source": [ "obj-122", 0 ] } }, + { + "patchline": { + "destination": [ "obj-138", 0 ], + "order": 1, + "source": [ "obj-123", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-176", 0 ], + "order": 0, + "source": [ "obj-123", 0 ] + } + }, { "patchline": { "destination": [ "obj-127", 0 ], @@ -15676,16 +16183,14 @@ }, { "patchline": { - "destination": [ "obj-138", 0 ], - "order": 1, + "destination": [ "obj-123", 0 ], "source": [ "obj-140", 0 ] } }, { "patchline": { - "destination": [ "obj-176", 0 ], - "order": 0, - "source": [ "obj-140", 0 ] + "destination": [ "obj-152", 0 ], + "source": [ "obj-141", 0 ] } }, { @@ -15942,12 +16447,6 @@ "source": [ "obj-195", 0 ] } }, - { - "patchline": { - "destination": [ "obj-152", 0 ], - "source": [ "obj-198", 0 ] - } - }, { "patchline": { "destination": [ "obj-58", 0 ], @@ -16047,6 +16546,12 @@ "source": [ "obj-273", 0 ] } }, + { + "patchline": { + "destination": [ "obj-125", 0 ], + "source": [ "obj-29", 3 ] + } + }, { "patchline": { "destination": [ "obj-132", 0 ], @@ -16782,7 +17287,7 @@ "parameter_overrides": { "obj-15::obj-1": { "parameter_longname": "Outset Pulses[3]", - "parameter_range": [ 1, 8 ] + "parameter_range": [ 1, 24 ] }, "obj-15::obj-104": { "parameter_longname": "umenu[3]" @@ -16794,10 +17299,10 @@ "parameter_longname": "Eventfulness[3]" }, "obj-15::obj-110": { - "parameter_initial": 99, + "parameter_initial": 1000, "parameter_longname": "Event Length Percent[3]", - "parameter_range": [ 1.0, 1000.0 ], - "parameter_unitstyle": 5 + "parameter_range": [ 20.0, 20000.0 ], + "parameter_unitstyle": 2 }, "obj-15::obj-115": { "parameter_longname": "live.toggle[7]" @@ -16880,7 +17385,7 @@ }, "obj-26::obj-1": { "parameter_longname": "Outset Pulses", - "parameter_range": [ 1, 8 ] + "parameter_range": [ 1, 24 ] }, "obj-26::obj-104": { "parameter_longname": "umenu" @@ -16892,10 +17397,10 @@ "parameter_longname": "Eventfulness" }, "obj-26::obj-110": { - "parameter_initial": 99, + "parameter_initial": 1000, "parameter_longname": "Event Length Percent", - "parameter_range": [ 1.0, 1000.0 ], - "parameter_unitstyle": 5 + "parameter_range": [ 20.0, 20000.0 ], + "parameter_unitstyle": 2 }, "obj-26::obj-115": { "parameter_invisible": 2, @@ -17540,7 +18045,7 @@ }, "obj-5::obj-1": { "parameter_longname": "Outset Pulses[1]", - "parameter_range": [ 1, 4 ] + "parameter_range": [ 1, 8 ] }, "obj-5::obj-104": { "parameter_longname": "umenu[1]" @@ -17552,10 +18057,10 @@ "parameter_longname": "Eventfulness[1]" }, "obj-5::obj-110": { - "parameter_initial": 99, + "parameter_initial": 1000, "parameter_longname": "Event Length Percent[1]", - "parameter_range": [ 1.0, 1000.0 ], - "parameter_unitstyle": 5 + "parameter_range": [ 20.0, 20000.0 ], + "parameter_unitstyle": 2 }, "obj-5::obj-115": { "parameter_longname": "live.toggle[5]" @@ -17640,7 +18145,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]" @@ -17652,10 +18157,10 @@ "parameter_longname": "Eventfulness[2]" }, "obj-8::obj-110": { - "parameter_initial": 99, + "parameter_initial": 1000, "parameter_longname": "Event Length Percent[2]", - "parameter_range": [ 1.0, 1000.0 ], - "parameter_unitstyle": 5 + "parameter_range": [ 20.0, 20000.0 ], + "parameter_unitstyle": 2 }, "obj-8::obj-115": { "parameter_longname": "live.toggle[6]" diff --git a/javascript/hss.piecemaker.js b/javascript/hss.piecemaker.js index 4e09dc7..7c4b6b8 100644 --- a/javascript/hss.piecemaker.js +++ b/javascript/hss.piecemaker.js @@ -184,7 +184,7 @@ function setSection(section) var piece = new Dict(); piece.parse(JSON.stringify({ "player" : 0, "piece" : section })); this.patcher.getnamed("webcontrol").message("param", "dictionary", piece.name); - //outlet(3, "dictionary", piece.name); + outlet(3, "bang"); } function train()