From 36f6f89500be8881e4c15a6f09049dc86f96f149 Mon Sep 17 00:00:00 2001 From: mzed <github@mikezed.com> Date: Tue, 9 Jul 2019 12:05:11 +0100 Subject: [PATCH] experimenting with connections --- .../patchers/gsi.main.maxpat | 70 ++++++++++++++++--- .../patchers/gsi.router.maxpat | 37 +++++++--- 2 files changed, 88 insertions(+), 19 deletions(-) diff --git a/gesture_sound_interaction_2.0/patchers/gsi.main.maxpat b/gesture_sound_interaction_2.0/patchers/gsi.main.maxpat index 265e873..582508b 100644 --- a/gesture_sound_interaction_2.0/patchers/gsi.main.maxpat +++ b/gesture_sound_interaction_2.0/patchers/gsi.main.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 558.0, 188.0, 726.0, 534.0 ], + "rect" : [ 726.0, 158.0, 726.0, 534.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -38,6 +38,57 @@ "style" : "", "subpatcher_template" : "mzed_default", "boxes" : [ { + "box" : { + "id" : "obj-14", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 90.0, 284.0, 155.0, 20.0 ], + "presentation_linecount" : 2, + "text" : "Example UI, please change" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 158.0, 330.0, 150.0, 20.0 ], + "text" : "wekinator" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 158.0, 308.0, 150.0, 20.0 ], + "text" : "xmm" + } + + } +, { + "box" : { + "disabled" : [ 0, 0 ], + "id" : "obj-10", + "itemtype" : 0, + "maxclass" : "radiogroup", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 136.0, 308.0, 18.0, 34.0 ], + "size" : 2, + "value" : 1, + "varname" : "selector" + } + + } +, { "box" : { "id" : "obj-7", "maxclass" : "newobj", @@ -264,6 +315,7 @@ } , { "box" : { + "color" : [ 0.0, 0.976470588235294, 0.996078431372549, 1.0 ], "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 0, @@ -280,18 +332,19 @@ "fontsize" : 16.0, "id" : "obj-2", "maxclass" : "newobj", - "numinlets" : 5, + "numinlets" : 6, "numoutlets" : 4, "outlettype" : [ "", "", "", "" ], "patching_rect" : [ 410.0, 189.0, 75.0, 27.0 ], - "text" : "gsi.router" + "text" : "gsi.router", + "varname" : "gsi.router" } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-2", 2 ], + "destination" : [ "obj-2", 3 ], "source" : [ "obj-1", 0 ] } @@ -326,28 +379,29 @@ } , { "patchline" : { - "destination" : [ "obj-2", 0 ], + "color" : [ 0.047058823529412, 0.913725490196078, 0.913725490196078, 1.0 ], + "destination" : [ "obj-2", 1 ], "source" : [ "obj-3", 0 ] } } , { "patchline" : { - "destination" : [ "obj-2", 1 ], + "destination" : [ "obj-2", 2 ], "source" : [ "obj-4", 0 ] } } , { "patchline" : { - "destination" : [ "obj-2", 4 ], + "destination" : [ "obj-2", 5 ], "source" : [ "obj-6", 0 ] } } , { "patchline" : { - "destination" : [ "obj-2", 3 ], + "destination" : [ "obj-2", 4 ], "source" : [ "obj-7", 0 ] } diff --git a/gesture_sound_interaction_2.0/patchers/gsi.router.maxpat b/gesture_sound_interaction_2.0/patchers/gsi.router.maxpat index e533d14..ac020e3 100644 --- a/gesture_sound_interaction_2.0/patchers/gsi.router.maxpat +++ b/gesture_sound_interaction_2.0/patchers/gsi.router.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 284.0, 144.0, 726.0, 534.0 ], + "rect" : [ 284.0, 144.0, 730.0, 534.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -38,6 +38,21 @@ "style" : "", "subpatcher_template" : "mzed_default", "boxes" : [ { + "box" : { + "annotation" : "Main GUI input", + "comment" : "Main GUI input", + "hint" : "Main GUI input", + "id" : "obj-12", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 60.0, 84.0, 30.0, 30.0 ] + } + + } +, { "box" : { "comment" : "", "id" : "obj-11", @@ -89,12 +104,12 @@ "box" : { "comment" : "", "id" : "obj-7", - "index" : 5, + "index" : 6, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 314.0, 80.0, 30.0, 30.0 ] + "patching_rect" : [ 425.0, 80.0, 30.0, 30.0 ] } } @@ -102,12 +117,12 @@ "box" : { "comment" : "", "id" : "obj-6", - "index" : 4, + "index" : 5, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 243.0, 80.0, 30.0, 30.0 ] + "patching_rect" : [ 354.0, 80.0, 30.0, 30.0 ] } } @@ -115,12 +130,12 @@ "box" : { "comment" : "", "id" : "obj-5", - "index" : 3, + "index" : 4, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 171.0, 80.0, 30.0, 30.0 ] + "patching_rect" : [ 282.0, 80.0, 30.0, 30.0 ] } } @@ -128,12 +143,12 @@ "box" : { "comment" : "", "id" : "obj-3", - "index" : 2, + "index" : 3, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 72.0, 80.0, 30.0, 30.0 ] + "patching_rect" : [ 183.0, 80.0, 30.0, 30.0 ] } } @@ -141,12 +156,12 @@ "box" : { "comment" : "", "id" : "obj-1", - "index" : 1, + "index" : 2, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 27.0, 80.0, 30.0, 30.0 ] + "patching_rect" : [ 138.0, 80.0, 30.0, 30.0 ] } } -- GitLab