From f56ab3242701ca935e1095f0285a1bcad82044c0 Mon Sep 17 00:00:00 2001 From: Marlon Schumacher <schumacher@hfm-karlsruhe.de> Date: Tue, 05 Nov 2024 15:18:54 +0100 Subject: [PATCH] chore: add notes to side-detector --- library/side-detector.maxpat | 78 +++++++++++++++++++++++++++++++++++---- 1 files changed, 70 insertions(+), 8 deletions(-) diff --git a/library/side-detector.maxpat b/library/side-detector.maxpat index f9736eb..d7cd19f 100644 --- a/library/side-detector.maxpat +++ b/library/side-detector.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 222.0, 305.0, 640.0, 480.0 ], + "rect" : [ 222.0, 305.0, 707.0, 548.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -40,13 +40,59 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 370.0, 194.0, 224.0, 20.0 ], + "text" : "different thresholds possible" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 56.0, 365.0, 224.0, 20.0 ], + "text" : "best to implement the logic in JS or odot" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 290.0, 393.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 290.0, 364.0, 71.0, 22.0 ], + "text" : "match 1 2 0" + } + + } +, { + "box" : { "id" : "obj-21", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 515.0, 361.0, 24.0, 24.0 ] + "patching_rect" : [ 661.0, 431.0, 24.0, 24.0 ] } } @@ -58,7 +104,7 @@ "numoutlets" : 1, "outlettype" : [ "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 372.0, 353.0, 24.0, 24.0 ] + "patching_rect" : [ 518.0, 423.0, 24.0, 24.0 ] } } @@ -69,7 +115,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 465.0, 337.0, 50.0, 22.0 ] + "patching_rect" : [ 611.0, 407.0, 50.0, 22.0 ], + "text" : "1" } } @@ -80,7 +127,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 302.0, 337.0, 50.0, 22.0 ], + "patching_rect" : [ 448.0, 407.0, 50.0, 22.0 ], "text" : "1" } @@ -92,7 +139,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 333.0, 294.0, 201.0, 22.0 ], + "patching_rect" : [ 479.0, 364.0, 201.0, 22.0 ], "text" : "if $i1<2&&$i2<3 then 1 else out2 $i1" } @@ -104,7 +151,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 259.0, 289.0, 50.0, 22.0 ], + "patching_rect" : [ 237.0, 289.0, 50.0, 22.0 ], "text" : "1 2 0" } @@ -240,6 +287,13 @@ } , { "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { "destination" : [ "obj-1", 0 ], "source" : [ "obj-6", 0 ] } @@ -255,7 +309,7 @@ , { "patchline" : { "destination" : [ "obj-12", 1 ], - "order" : 1, + "order" : 2, "source" : [ "obj-9", 0 ] } @@ -268,6 +322,14 @@ } } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "order" : 1, + "source" : [ "obj-9", 0 ] + } + + } ], "dependency_cache" : [ ], "autosave" : 0 -- Gitblit v1.9.1