diff --git a/gesture_sound_interaction_2.0/patchers/gsi.machineLearning.maxpat b/gesture_sound_interaction_2.0/patchers/gsi.machineLearning.maxpat index ecc96d1edf26f77d7ea045dd3e4f5349e14156b8..babe9f63f0c16ef293a3a84bc1375c0c1ca19ea7 100644 --- a/gesture_sound_interaction_2.0/patchers/gsi.machineLearning.maxpat +++ b/gesture_sound_interaction_2.0/patchers/gsi.machineLearning.maxpat @@ -168,7 +168,20 @@ "tags" : "", "style" : "", "subpatcher_template" : "mzed_default", + "visible" : 1, "boxes" : [ { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 147.0, 240.0, 82.0, 22.0 ], + "text" : "prepend clear" + } + + } +, { "box" : { "comment" : "", "id" : "obj-1", @@ -176,7 +189,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 74.0, 408.0, 30.0, 30.0 ] + "patching_rect" : [ 74.0, 375.0, 30.0, 30.0 ] } } @@ -187,7 +200,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], - "patching_rect" : [ 108.0, 204.0, 22.0, 22.0 ], + "patching_rect" : [ 158.0, 200.0, 22.0, 22.0 ], "text" : "t 0" } @@ -209,10 +222,10 @@ "id" : "obj-23", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "int" ], - "patching_rect" : [ 74.0, 204.0, 32.0, 22.0 ], - "text" : "t b 1" + "numoutlets" : 3, + "outlettype" : [ "bang", "int", "int" ], + "patching_rect" : [ 74.0, 204.0, 42.0, 22.0 ], + "text" : "t b 1 1" } } @@ -223,7 +236,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 74.0, 302.0, 54.0, 22.0 ], + "patching_rect" : [ 74.0, 321.0, 54.0, 22.0 ], "text" : "gate" } @@ -246,7 +259,7 @@ } , "classnamespace" : "box", - "rect" : [ 605.0, 260.0, 796.0, 787.0 ], + "rect" : [ 805.0, 205.0, 1224.0, 883.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -274,6 +287,30 @@ "style" : "", "subpatcher_template" : "mzed_default", "boxes" : [ { + "box" : { + "id" : "obj-19", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 615.0, 716.0, 42.0, 22.0 ], + "text" : "train 1" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 615.0, 682.0, 34.0, 22.0 ], + "text" : "sel 0" + } + + } +, { "box" : { "id" : "obj-33", "maxclass" : "toggle", @@ -625,10 +662,19 @@ "source" : [ "obj-1", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "order" : 0, + "source" : [ "obj-10", 0 ] + } + } , { "patchline" : { "destination" : [ "obj-33", 0 ], + "order" : 1, "source" : [ "obj-10", 0 ] } @@ -683,6 +729,13 @@ "source" : [ "obj-15", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-16", 0 ] + } + } , { "patchline" : { @@ -725,6 +778,13 @@ "source" : [ "obj-18", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "source" : [ "obj-19", 0 ] + } + } , { "patchline" : { @@ -930,8 +990,8 @@ "styles" : [ { "name" : "black in white", "default" : { - "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ] } , "parentstyle" : "number001", @@ -945,7 +1005,7 @@ ] } , - "patching_rect" : [ 109.0, 268.0, 71.0, 22.0 ], + "patching_rect" : [ 74.0, 267.0, 71.0, 22.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -995,6 +1055,13 @@ , { "patchline" : { "destination" : [ "obj-25", 0 ], + "source" : [ "obj-23", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], "source" : [ "obj-23", 1 ] } @@ -1019,6 +1086,13 @@ "source" : [ "obj-3", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-25", 1 ], + "source" : [ "obj-4", 0 ] + } + } , { "patchline" : { @@ -1031,8 +1105,8 @@ "styles" : [ { "name" : "black in white", "default" : { - "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ] } , "parentstyle" : "number001", @@ -1292,8 +1366,8 @@ "styles" : [ { "name" : "black in white", "default" : { - "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ] } , "parentstyle" : "number001", @@ -2047,8 +2121,8 @@ "styles" : [ { "name" : "black in white", "default" : { - "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ] } , "parentstyle" : "number001", @@ -2632,8 +2706,8 @@ "styles" : [ { "name" : "black in white", "default" : { - "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ] } , "parentstyle" : "number001", @@ -2900,8 +2974,8 @@ "styles" : [ { "name" : "black in white", "default" : { - "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ] } , "parentstyle" : "number001", @@ -3148,8 +3222,8 @@ "styles" : [ { "name" : "black in white", "default" : { - "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ] } , "parentstyle" : "number001", @@ -3748,8 +3822,8 @@ "styles" : [ { "name" : "black in white", "default" : { - "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ] } , "parentstyle" : "number001", diff --git a/gesture_sound_interaction_2.0/patchers/gsi.main.maxpat b/gesture_sound_interaction_2.0/patchers/gsi.main.maxpat index ca20d6780838203c72b04d1a35d90523364c668e..5ffdba3ce7e11e36c7a00d4e3fe9e295a2b8d44a 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" : [ 343.0, 428.0, 1112.0, 852.0 ], + "rect" : [ 109.0, 87.0, 1112.0, 852.0 ], "bglocked" : 0, "openinpresentation" : 1, "default_fontsize" : 12.0, @@ -318,6 +318,7 @@ "tags" : "", "style" : "", "subpatcher_template" : "mzed_default", + "visible" : 1, "boxes" : [ { "box" : { "id" : "obj-15", @@ -824,8 +825,8 @@ "styles" : [ { "name" : "black in white", "default" : { - "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ] } , "parentstyle" : "number001", @@ -1175,8 +1176,8 @@ "styles" : [ { "name" : "black in white", "default" : { - "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ] } , "parentstyle" : "number001", @@ -1444,9 +1445,9 @@ "implicit" : 1 } , { - "name" : "envelopes_settings_template.json", - "bootpath" : "~/Work/SofDev/continuous-gesture-sound-interaction/gesture_sound_interaction_2.0/data", - "patcherrelativepath" : "../data", + "name" : "test.json", + "bootpath" : "~/Work/SofDev/continuous-gesture-sound-interaction/gesture_sound_interaction_2.0/_DeletedItems/data", + "patcherrelativepath" : "../_DeletedItems/data", "type" : "JSON", "implicit" : 1 } @@ -1515,8 +1516,8 @@ "styles" : [ { "name" : "black in white", "default" : { - "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] + "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ], + "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ] } , "parentstyle" : "number001",