From 8ad10a44a90630aff17242d83adaf633a460931a Mon Sep 17 00:00:00 2001 From: computermusik Date: Wed, 21 Aug 2024 00:01:30 +0200 Subject: [PATCH] Update hss-distributed-server.maxpat --- hss-distributed-server.maxpat | 162 +++++++++++++++++++++++----------- 1 file changed, 110 insertions(+), 52 deletions(-) diff --git a/hss-distributed-server.maxpat b/hss-distributed-server.maxpat index cd36522..ea632e1 100644 --- a/hss-distributed-server.maxpat +++ b/hss-distributed-server.maxpat @@ -10,8 +10,8 @@ } , "classnamespace" : "box", - "rect" : [ 390.0, 214.0, 1023.0, 411.0 ], - "bglocked" : 0, + "rect" : [ 455.0, 100.0, 1023.0, 510.0 ], + "bglocked" : 1, "openinpresentation" : 1, "default_fontsize" : 12.0, "default_fontface" : 0, @@ -39,6 +39,30 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-44", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 1301.5, 467.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-41", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 1301.5, 495.0, 107.0, 22.0 ], + "text" : "hub::global::dry $1" + } + + } +, { "box" : { "id" : "obj-14", "maxclass" : "newobj", @@ -61,7 +85,7 @@ "parameter_enable" : 0, "patching_rect" : [ 43.0, 178.0, 100.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 458.0, 15.5, 96.0, 27.0 ], + "presentation_rect" : [ 302.0, 73.0, 96.0, 27.0 ], "text" : "Load Client", "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ] } @@ -76,7 +100,7 @@ "outlettype" : [ "" ], "patching_rect" : [ 1151.0, 309.0, 33.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 735.0, 18.0, 33.0, 22.0 ], + "presentation_rect" : [ 502.0, 49.0, 33.0, 22.0 ], "text" : "read" } @@ -112,7 +136,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1288.0, 573.0, 134.0, 22.0 ], + "patching_rect" : [ 1288.0, 572.0, 134.0, 22.0 ], "text" : "pattrforward webcontrol" } @@ -135,7 +159,7 @@ } , "classnamespace" : "box", - "rect" : [ 177.0, 100.0, 1301.0, 761.0 ], + "rect" : [ 557.0, 141.0, 1301.0, 761.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -1937,7 +1961,9 @@ "numoutlets" : 3, "outlettype" : [ "int", "", "" ], "parameter_enable" : 0, - "patching_rect" : [ 612.5, 146.0, 128.0, 22.0 ] + "patching_rect" : [ 612.5, 146.0, 128.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 578.0, 21.0, 128.0, 22.0 ] } } @@ -2596,6 +2622,8 @@ "outlettype" : [ "", "", "" ], "parameter_enable" : 0, "patching_rect" : [ 771.5, 65.0, 126.0, 115.0 ], + "presentation" : 1, + "presentation_rect" : [ 728.0, 19.0, 126.0, 115.0 ], "varname" : "nodes", "xplace" : [ 0.5, 0.1, 0.9, 0.9, 0.1 ], "yplace" : [ 0.5, 0.1, 0.1, 0.9, 0.9 ] @@ -3176,7 +3204,7 @@ "numoutlets" : 0, "patching_rect" : [ 376.0, 198.0, 62.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 570.0, 19.0, 62.0, 20.0 ], + "presentation_rect" : [ 169.0, 19.0, 62.0, 20.0 ], "saved_attribute_attributes" : { "textcolor" : { "expression" : "themecolor.theme_textcolor" @@ -3197,7 +3225,7 @@ "outlettype" : [ "" ], "patching_rect" : [ 440.0, 197.0, 33.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 634.0, 18.0, 33.0, 22.0 ], + "presentation_rect" : [ 169.0, 46.0, 33.0, 22.0 ], "text" : "read" } @@ -3448,7 +3476,7 @@ "numoutlets" : 0, "patching_rect" : [ 1191.0, 678.0, 150.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 10.0, 19.0, 75.0, 20.0 ], + "presentation_rect" : [ 39.0, 19.0, 75.0, 20.0 ], "saved_attribute_attributes" : { "textcolor" : { "expression" : "themecolor.theme_textcolor" @@ -3471,7 +3499,7 @@ "parameter_enable" : 0, "patching_rect" : [ 48.0, 86.0, 100.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 333.0, 15.5, 96.0, 27.0 ], + "presentation_rect" : [ 302.0, 41.0, 96.0, 27.0 ], "text" : "Open Interface", "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ] } @@ -3485,7 +3513,7 @@ "numoutlets" : 0, "patching_rect" : [ 1191.0, 704.0, 150.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 677.0, 19.0, 53.0, 20.0 ], + "presentation_rect" : [ 502.0, 19.0, 53.0, 20.0 ], "saved_attribute_attributes" : { "textcolor" : { "expression" : "themecolor.theme_textcolor" @@ -3505,7 +3533,7 @@ "numoutlets" : 0, "patching_rect" : [ 1191.0, 729.0, 150.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 232.0, 19.0, 28.0, 20.0 ], + "presentation_rect" : [ 39.5, 107.0, 28.0, 20.0 ], "saved_attribute_attributes" : { "textcolor" : { "expression" : "themecolor.theme_textcolor" @@ -3553,7 +3581,7 @@ "outlettype" : [ "" ], "patching_rect" : [ 1092.0, 309.0, 56.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 781.0, 18.0, 56.0, 22.0 ], + "presentation_rect" : [ 502.0, 79.0, 56.0, 22.0 ], "text" : "writejson" } @@ -3609,7 +3637,7 @@ , { "box" : { "bubble" : 1, - "bubbleside" : 2, + "bubbleside" : 3, "fontname" : "Arial", "fontsize" : 11.0, "id" : "obj-86", @@ -3617,7 +3645,10 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 762.0, 8.0, 139.0, 50.0 ], + "patching_rect" : [ 762.0, 8.0, 139.0, 35.0 ], + "presentation" : 1, + "presentation_linecount" : 2, + "presentation_rect" : [ 578.0, 55.0, 139.0, 35.0 ], "text" : "Create presets by clicking on numbers" } @@ -3633,7 +3664,7 @@ "patching_rect" : [ 751.5, 280.0, 126.0, 28.0 ], "pattrstorage" : "DJster", "presentation" : 1, - "presentation_rect" : [ 855.0, 15.0, 125.0, 28.0 ] + "presentation_rect" : [ 870.0, 58.5, 125.0, 28.0 ] } } @@ -3654,7 +3685,7 @@ } , "classnamespace" : "box", - "rect" : [ 38.0, 64.0, 403.0, 673.0 ], + "rect" : [ 17.0, 57.0, 403.0, 673.0 ], "bglocked" : 0, "openinpresentation" : 1, "default_fontsize" : 12.0, @@ -4172,10 +4203,10 @@ "outlettype" : [ "", "", "", "" ], "patching_rect" : [ 12.0, 260.0, 56.0, 22.0 ], "restore" : { - "instrument-1" : [ "Dark_Monkey.instr" ], - "instrument-2" : [ "Hi_Voweler.instr" ], - "instrument-3" : [ "Celeste.instr" ], - "instrument-4" : [ "Stopped_Piano.instr" ] + "instrument-1" : [ "Bell-2.instr" ], + "instrument-2" : [ "Bell-2.instr" ], + "instrument-3" : [ "Bell-2.instr" ], + "instrument-4" : [ "Bell-2.instr" ] } , "text" : "autopattr", @@ -4859,7 +4890,7 @@ } , "classnamespace" : "box", - "rect" : [ 553.0, 274.0, 866.0, 841.0 ], + "rect" : [ 532.0, 175.0, 866.0, 841.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -4890,13 +4921,12 @@ "boxes" : [ { "box" : { "id" : "obj-22", - "linecount" : 2, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 51.0, 29.0, 40.0, 35.0 ], - "text" : "play 1" + "patching_rect" : [ 51.0, 11.5, 42.0, 22.0 ], + "text" : "dry 95" } } @@ -4956,7 +4986,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 578.714285714285779, 182.0, 137.0, 22.0 ], - "restore" : [ 0 ], + "restore" : [ 37 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -5018,7 +5048,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 484.428571428571502, 93.0, 139.0, 22.0 ], - "restore" : [ 0 ], + "restore" : [ 93 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -5049,7 +5079,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 437.0, 412.0, 168.0, 22.0 ], - "restore" : [ 0 ], + "restore" : [ 26 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -5080,7 +5110,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 390.142857142857167, 323.0, 177.0, 22.0 ], - "restore" : [ 0 ], + "restore" : [ 42 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -5111,7 +5141,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 343.0, 265.0, 171.0, 22.0 ], - "restore" : [ 0 ], + "restore" : [ 123 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -5130,7 +5160,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 295.75, 209.0, 162.0, 22.0 ], - "restore" : [ 0 ], + "restore" : [ 5.3 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -5149,7 +5179,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 248.625, 154.0, 145.0, 22.0 ], - "restore" : [ 0 ], + "restore" : [ -13 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -5168,7 +5198,7 @@ "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 201.5, 93.0, 159.0, 22.0 ], - "restore" : [ 0 ], + "restore" : [ 57 ], "saved_object_attributes" : { "parameter_enable" : 0, "parameter_mappable" : 0 @@ -5556,6 +5586,13 @@ "source" : [ "obj-21", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-22", 0 ] + } + } , { "patchline" : { @@ -5795,19 +5832,10 @@ "source" : [ "obj-9", 13 ] } - } -, { - "patchline" : { - "destination" : [ "obj-22", 1 ], - "order" : 0, - "source" : [ "obj-90", 0 ] - } - } , { "patchline" : { "destination" : [ "obj-9", 0 ], - "order" : 1, "source" : [ "obj-90", 0 ] } @@ -7136,7 +7164,6 @@ , { "box" : { "id" : "obj-34", - "int" : 2, "maxclass" : "gswitch2", "numinlets" : 2, "numoutlets" : 5, @@ -7672,7 +7699,7 @@ "outlettype" : [ "", "bang", "", "dictionary" ], "patching_rect" : [ 585.0, 520.0, 499.0, 172.0 ], "presentation" : 1, - "presentation_rect" : [ 513.0, 229.0, 499.0, 172.0 ], + "presentation_rect" : [ 511.5, 319.0, 499.0, 172.0 ], "varname" : "Djster.µbus[3]", "viewvisibility" : 1 } @@ -7696,7 +7723,7 @@ "outlettype" : [ "", "bang", "", "dictionary" ], "patching_rect" : [ 65.0, 520.0, 500.0, 172.0 ], "presentation" : 1, - "presentation_rect" : [ 11.0, 229.0, 500.0, 172.0 ], + "presentation_rect" : [ 9.5, 319.0, 500.0, 172.0 ], "varname" : "Djster.µbus[2]", "viewvisibility" : 1 } @@ -7720,7 +7747,7 @@ "outlettype" : [ "", "bang", "", "dictionary" ], "patching_rect" : [ 585.0, 340.0, 499.0, 172.0 ], "presentation" : 1, - "presentation_rect" : [ 513.0, 55.0, 499.0, 172.0 ], + "presentation_rect" : [ 511.5, 145.0, 499.0, 172.0 ], "varname" : "Djster.µbus[1]", "viewvisibility" : 1 } @@ -7763,7 +7790,7 @@ "outlettype" : [ "", "bang", "", "dictionary" ], "patching_rect" : [ 65.0, 340.0, 500.0, 172.0 ], "presentation" : 1, - "presentation_rect" : [ 10.0, 55.0, 500.0, 172.0 ], + "presentation_rect" : [ 8.5, 145.0, 500.0, 172.0 ], "varname" : "Djster.µbus[0]", "viewvisibility" : 1 } @@ -7796,7 +7823,7 @@ "parameter_enable" : 0, "patching_rect" : [ 169.0, 78.0, 24.0, 24.0 ], "presentation" : 1, - "presentation_rect" : [ 265.0, 16.0, 27.0, 27.0 ] + "presentation_rect" : [ 75.5, 104.0, 27.0, 27.0 ] } } @@ -7827,7 +7854,7 @@ "outlettype" : [ "" ], "patching_rect" : [ 428.0, 116.0, 63.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 159.0, 18.0, 63.0, 22.0 ], + "presentation_rect" : [ 39.5, 76.0, 63.0, 22.0 ], "text" : "script stop" } @@ -7841,7 +7868,7 @@ "outlettype" : [ "" ], "patching_rect" : [ 362.0, 116.0, 64.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 93.0, 18.0, 64.0, 22.0 ], + "presentation_rect" : [ 39.0, 46.0, 64.0, 22.0 ], "text" : "script start" } @@ -7895,6 +7922,23 @@ "text" : "loadunique hss-distributed-client" } + } +, { + "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" : [ 338.0, 92.0, 128.0, 128.0 ], + "presentation" : 1, + "presentation_rect" : [ 9.0, 5.5, 1001.0, 134.0 ], + "proportion" : 0.5 + } + } ], "lines" : [ { @@ -8224,6 +8268,20 @@ "source" : [ "obj-40", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-61", 0 ], + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "source" : [ "obj-44", 0 ] + } + } , { "patchline" : { @@ -8665,7 +8723,7 @@ , "obj-26::obj-1" : { "parameter_longname" : "Outset Pulses", - "parameter_range" : [ 1, 7 ] + "parameter_range" : [ 1, 32 ] } , "obj-26::obj-104" : {