From c1064cd333a98dec3f43ca2733f1ab7e2e3eded4 Mon Sep 17 00:00:00 2001 From: computermusik Date: Wed, 12 Jun 2024 14:36:13 +0200 Subject: [PATCH] Even moire work --- hss-distributed-client.maxpat | 85 +++++++++++++-------------------- hss-distributed-server.maxpat | 89 +++++++++++++++++++++++++++++++---- 2 files changed, 113 insertions(+), 61 deletions(-) diff --git a/hss-distributed-client.maxpat b/hss-distributed-client.maxpat index a81a8ac..6afda8f 100644 --- a/hss-distributed-client.maxpat +++ b/hss-distributed-client.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 252.0, 100.0, 1071.0, 842.0 ], + "rect" : [ 163.0, 104.0, 1071.0, 842.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -75,7 +75,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 766.0, 376.0, 35.0, 22.0 ], + "patching_rect" : [ 415.0, 507.0, 35.0, 22.0 ], "text" : "clear" } @@ -89,18 +89,7 @@ "numoutlets" : 2, "outlettype" : [ "list", "list" ], "parameter_enable" : 0, - "patching_rect" : [ 766.0, 419.0, 130.0, 66.0 ] - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 395.0, 507.0, 32.0, 22.0 ], - "text" : "print" + "patching_rect" : [ 415.0, 541.0, 167.0, 84.0 ] } } @@ -151,7 +140,7 @@ "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 620.0, 524.0, 50.0, 22.0 ], + "patching_rect" : [ 779.0, 542.0, 50.0, 22.0 ], "varname" : "spread" } @@ -171,7 +160,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 620.0, 554.0, 69.0, 22.0 ], + "patching_rect" : [ 779.0, 572.0, 69.0, 22.0 ], "text" : "_spread $1" } @@ -187,7 +176,7 @@ "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 547.0, 580.0, 50.0, 22.0 ], + "patching_rect" : [ 706.0, 598.0, 50.0, 22.0 ], "varname" : "dry" } @@ -207,7 +196,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 547.0, 610.0, 45.0, 22.0 ], + "patching_rect" : [ 706.0, 628.0, 45.0, 22.0 ], "text" : "dry $1" } @@ -223,7 +212,7 @@ "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 696.0, 580.0, 50.0, 22.0 ], + "patching_rect" : [ 855.0, 598.0, 50.0, 22.0 ], "varname" : "tail" } @@ -243,7 +232,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 696.0, 610.0, 43.0, 22.0 ], + "patching_rect" : [ 855.0, 628.0, 43.0, 22.0 ], "text" : "tail $1" } @@ -259,7 +248,7 @@ "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 620.0, 580.0, 50.0, 22.0 ], + "patching_rect" : [ 779.0, 598.0, 50.0, 22.0 ], "varname" : "early" } @@ -279,7 +268,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 620.0, 610.0, 54.0, 22.0 ], + "patching_rect" : [ 779.0, 628.0, 54.0, 22.0 ], "text" : "early $1" } @@ -294,7 +283,7 @@ "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 547.0, 523.0, 50.0, 22.0 ], + "patching_rect" : [ 706.0, 541.0, 50.0, 22.0 ], "varname" : "amount" } @@ -314,7 +303,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 547.0, 553.0, 68.0, 22.0 ], + "patching_rect" : [ 706.0, 571.0, 68.0, 22.0 ], "text" : "revtime $1" } @@ -330,7 +319,7 @@ "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 465.0, 523.0, 50.0, 22.0 ], + "patching_rect" : [ 624.0, 541.0, 50.0, 22.0 ], "varname" : "roomsize" } @@ -350,7 +339,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 465.0, 553.0, 78.0, 22.0 ], + "patching_rect" : [ 624.0, 571.0, 78.0, 22.0 ], "text" : "roomsize $1" } @@ -366,7 +355,7 @@ "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 466.0, 580.0, 50.0, 22.0 ], + "patching_rect" : [ 625.0, 598.0, 50.0, 22.0 ], "varname" : "damping" } @@ -386,7 +375,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 466.0, 610.0, 75.0, 22.0 ], + "patching_rect" : [ 625.0, 628.0, 75.0, 22.0 ], "text" : "damping $1" } @@ -402,7 +391,7 @@ "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 696.0, 523.0, 50.0, 22.0 ], + "patching_rect" : [ 855.0, 541.0, 50.0, 22.0 ], "varname" : "bandwidth" } @@ -422,7 +411,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 696.0, 553.0, 84.0, 22.0 ], + "patching_rect" : [ 855.0, 571.0, 84.0, 22.0 ], "text" : "bandwidth $1" } @@ -549,7 +538,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 315.0, 90.0, 142.0, 22.0 ], + "patching_rect" : [ 318.0, 90.0, 142.0, 22.0 ], "text" : "shutdown /s /f /hybrid /t 0" } @@ -560,7 +549,7 @@ "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 315.0, 122.0, 43.0, 22.0 ], + "patching_rect" : [ 318.0, 122.0, 43.0, 22.0 ], "text" : "shell" } @@ -672,7 +661,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 368.0, 66.0, 73.0, 22.0 ], + "patching_rect" : [ 372.0, 66.0, 73.0, 22.0 ], "saved_object_attributes" : { "client_rect" : [ 477, 213, 1086, 529 ], "parameter_enable" : 0, @@ -692,8 +681,8 @@ "numinlets" : 5, "numoutlets" : 5, "outlettype" : [ "", "", "", "", "" ], - "patching_rect" : [ 156.0, 35.0, 231.0, 22.0 ], - "text" : "routepass note instrument bank shutdown" + "patching_rect" : [ 156.0, 35.0, 235.0, 22.0 ], + "text" : "routepass note instrument bank /shutdown" } } @@ -5467,7 +5456,7 @@ , { "patchline" : { "destination" : [ "obj-32", 0 ], - "midpoints" : [ 474.5, 672.0, 296.5, 672.0 ], + "midpoints" : [ 633.5, 672.0, 296.5, 672.0 ], "source" : [ "obj-18", 0 ] } @@ -5564,7 +5553,7 @@ , { "patchline" : { "destination" : [ "obj-32", 0 ], - "midpoints" : [ 629.5, 700.5, 296.5, 700.5 ], + "midpoints" : [ 788.5, 700.5, 296.5, 700.5 ], "source" : [ "obj-26", 0 ] } @@ -5607,7 +5596,7 @@ , { "patchline" : { "destination" : [ "obj-32", 0 ], - "midpoints" : [ 629.5, 672.0, 296.5, 672.0 ], + "midpoints" : [ 788.5, 672.0, 296.5, 672.0 ], "source" : [ "obj-5", 0 ] } @@ -5671,7 +5660,7 @@ , { "patchline" : { "destination" : [ "obj-11", 0 ], - "order" : 2, + "order" : 1, "source" : [ "obj-61", 0 ] } @@ -5683,14 +5672,6 @@ "source" : [ "obj-61", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "order" : 1, - "source" : [ "obj-61", 0 ] - } - } , { "patchline" : { @@ -5767,7 +5748,7 @@ , { "patchline" : { "destination" : [ "obj-32", 0 ], - "midpoints" : [ 556.5, 700.5, 296.5, 700.5 ], + "midpoints" : [ 715.5, 700.5, 296.5, 700.5 ], "source" : [ "obj-85", 0 ] } @@ -5782,7 +5763,7 @@ , { "patchline" : { "destination" : [ "obj-32", 0 ], - "midpoints" : [ 705.5, 700.5, 296.5, 700.5 ], + "midpoints" : [ 864.5, 700.5, 296.5, 700.5 ], "source" : [ "obj-87", 0 ] } @@ -5790,7 +5771,7 @@ , { "patchline" : { "destination" : [ "obj-32", 0 ], - "midpoints" : [ 556.5, 672.0, 296.5, 672.0 ], + "midpoints" : [ 715.5, 672.0, 296.5, 672.0 ], "source" : [ "obj-88", 0 ] } @@ -5812,7 +5793,7 @@ , { "patchline" : { "destination" : [ "obj-32", 0 ], - "midpoints" : [ 475.5, 700.5, 296.5, 700.5 ], + "midpoints" : [ 634.5, 700.5, 296.5, 700.5 ], "source" : [ "obj-91", 0 ] } @@ -5827,7 +5808,7 @@ , { "patchline" : { "destination" : [ "obj-32", 0 ], - "midpoints" : [ 705.5, 672.0, 296.5, 672.0 ], + "midpoints" : [ 864.5, 672.0, 296.5, 672.0 ], "source" : [ "obj-93", 0 ] } diff --git a/hss-distributed-server.maxpat b/hss-distributed-server.maxpat index e86439f..7e55570 100644 --- a/hss-distributed-server.maxpat +++ b/hss-distributed-server.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 34.0, 100.0, 1021.0, 413.0 ], + "rect" : [ 40.0, 87.0, 1021.0, 413.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -39,6 +39,46 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-44", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 369.0, 17.0, 150.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 358.0, 18.5, 34.0, 20.0 ], + "saved_attribute_attributes" : { + "textcolor" : { + "expression" : "themecolor.theme_textcolor" + } + + } +, + "text" : "write" + } + + } +, { + "box" : { + "id" : "obj-43", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 250.0, 19.0, 150.0, 20.0 ], + "presentation" : 1, + "presentation_rect" : [ 270.0, 18.5, 33.0, 20.0 ], + "saved_attribute_attributes" : { + "textcolor" : { + "expression" : "themecolor.theme_textcolor" + } + + } +, + "text" : "read" + } + + } +, { "box" : { "id" : "obj-42", "maxclass" : "comment", @@ -46,7 +86,7 @@ "numoutlets" : 0, "patching_rect" : [ 592.0, 20.0, 150.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 606.0, 18.5, 62.0, 20.0 ], + "presentation_rect" : [ 671.0, 18.5, 62.0, 20.0 ], "saved_attribute_attributes" : { "textcolor" : { "expression" : "themecolor.theme_textcolor" @@ -67,7 +107,7 @@ "outlettype" : [ "" ], "patching_rect" : [ 440.0, 197.0, 33.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 670.0, 17.5, 33.0, 22.0 ], + "presentation_rect" : [ 735.0, 17.5, 33.0, 22.0 ], "text" : "read" } @@ -341,7 +381,7 @@ "parameter_enable" : 0, "patching_rect" : [ 48.0, 86.0, 100.0, 20.0 ], "presentation" : 1, - "presentation_rect" : [ 456.0, 15.0, 109.0, 27.0 ], + "presentation_rect" : [ 491.0, 15.0, 109.0, 27.0 ], "text" : "Open Interface", "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ] } @@ -412,6 +452,8 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 728.0, 109.0, 46.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 305.0, 17.5, 46.0, 22.0 ], "text" : "read, 1" } @@ -450,6 +492,8 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 714.0, 77.0, 56.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 394.0, 17.5, 56.0, 22.0 ], "text" : "writejson" } @@ -573,7 +617,7 @@ } , "classnamespace" : "box", - "rect" : [ 1174.0, 355.0, 403.0, 673.0 ], + "rect" : [ 1173.0, 373.0, 403.0, 673.0 ], "bglocked" : 0, "openinpresentation" : 1, "default_fontsize" : 12.0, @@ -601,6 +645,7 @@ "style" : "", "subpatcher_template" : "", "assistshowspatchername" : 0, + "visible" : 1, "boxes" : [ { "box" : { "fontname" : "Lato", @@ -1084,7 +1129,7 @@ } , "classnamespace" : "box", - "rect" : [ 116.0, 100.0, 1067.0, 643.0 ], + "rect" : [ 116.0, 198.0, 1067.0, 643.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -1143,7 +1188,7 @@ } , "classnamespace" : "box", - "rect" : [ 293.0, 122.0, 717.0, 660.0 ], + "rect" : [ 293.0, 220.0, 717.0, 660.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -1172,6 +1217,26 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-25", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 426.0, 516.0, 56.0, 22.0 ], + "restore" : { + "instrument-1" : [ "Bell-1.instr" ], + "instrument-2" : [ "E-Pad.instr" ], + "instrument-3" : [ "Marimba.instr" ], + "instrument-4" : [ "Cymbales_Antiques.instr" ] + } +, + "text" : "autopattr", + "varname" : "u249023098" + } + + } +, { "box" : { "id" : "obj-24", "maxclass" : "newobj", @@ -1321,6 +1386,7 @@ "outlettype" : [ "int", "", "" ], "parameter_enable" : 0, "patching_rect" : [ 312.0, 445.0, 100.0, 22.0 ], + "pattrmode" : 1, "varname" : "instrument-4" } @@ -1335,6 +1401,7 @@ "outlettype" : [ "int", "", "" ], "parameter_enable" : 0, "patching_rect" : [ 277.0, 415.0, 100.0, 22.0 ], + "pattrmode" : 1, "varname" : "instrument-3" } @@ -1349,6 +1416,7 @@ "outlettype" : [ "int", "", "" ], "parameter_enable" : 0, "patching_rect" : [ 242.0, 385.0, 100.0, 22.0 ], + "pattrmode" : 1, "varname" : "instrument-2" } @@ -1423,6 +1491,7 @@ "outlettype" : [ "int", "", "" ], "parameter_enable" : 0, "patching_rect" : [ 207.0, 357.0, 100.0, 22.0 ], + "pattrmode" : 1, "varname" : "instrument-1" } @@ -1781,7 +1850,8 @@ "tags" : "" } , - "text" : "p instrument" + "text" : "p instrument", + "varname" : "instrument" } } @@ -3873,6 +3943,7 @@ , { "box" : { "id" : "obj-34", + "int" : 4, "maxclass" : "gswitch2", "numinlets" : 2, "numoutlets" : 5, @@ -4312,7 +4383,7 @@ "outlettype" : [ "" ], "patching_rect" : [ 268.0, 10.0, 262.0, 22.0 ], "saved_object_attributes" : { - "client_rect" : [ 477, 213, 1086, 529 ], + "client_rect" : [ 618, 87, 1725, 904 ], "parameter_enable" : 0, "parameter_mappable" : 0, "storage_rect" : [ 780, 524, 1380, 824 ]