From 845538376f96d4959504bac7c4fc3c3e8edb4e1f Mon Sep 17 00:00:00 2001 From: equilet <2237372+equilet@users.noreply.github.com> Date: Mon, 24 Mar 2025 20:20:28 -0700 Subject: [PATCH] clarified use case of spat5 helper --- engine_spat5helper.maxhelp | 119 +++++++------------------------------ engine_spat5helper.maxpat | 55 ++++++++++------- 2 files changed, 58 insertions(+), 116 deletions(-) diff --git a/engine_spat5helper.maxhelp b/engine_spat5helper.maxhelp index c8a3218..6628d12 100644 --- a/engine_spat5helper.maxhelp +++ b/engine_spat5helper.maxhelp @@ -4,13 +4,13 @@ "appversion" : { "major" : 9, "minor" : 0, - "revision" : 2, + "revision" : 6, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 105.0, 114.0, 761.0, 560.0 ], + "rect" : [ 100.0, 100.0, 761.0, 560.0 ], "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { @@ -48,7 +48,7 @@ "appversion" : { "major" : 9, "minor" : 0, - "revision" : 2, + "revision" : 6, "architecture" : "x64", "modernui" : 1 } @@ -116,15 +116,10 @@ } } - ], - "originid" : "pat-238" + ] } , "patching_rect" : [ 411.0, 62.0, 97.0, 22.0 ], - "saved_object_attributes" : { - "globalpatchername" : "" - } -, "text" : "p demo_bundles" } @@ -137,8 +132,7 @@ "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, - "patching_rect" : [ 268.0, 61.0, 24.0, 24.0 ], - "svg" : "" + "patching_rect" : [ 268.0, 61.0, 24.0, 24.0 ] } } @@ -165,53 +159,6 @@ "text" : "o.route /recall" } - } -, { - "box" : { - "id" : "obj-21", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 461.0, 395.0, 37.0, 22.0 ], - "text" : "s osc" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 461.0, 270.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 461.0, 364.0, 96.0, 22.0 ], - "text" : "o.prepend /store" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "FullPacket" ], - "patching_rect" : [ 461.0, 334.0, 35.0, 22.0 ], - "text" : "o.var" - } - } , { "box" : { @@ -221,8 +168,7 @@ "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, - "patching_rect" : [ 88.0, 167.0, 24.0, 24.0 ], - "svg" : "" + "patching_rect" : [ 88.0, 167.0, 24.0, 24.0 ] } } @@ -297,13 +243,13 @@ "box" : { "fontface" : 0, "id" : "obj-4", - "linecount" : 3, + "linecount" : 2, "maxclass" : "o.display", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 268.0, 459.0, 334.0, 59.0 ], - "text" : "/source/1/xyz : [-0.282846, -0.959165, 0.],\n/source/1/color : \"red\",\n/source/1/name : \"src1\"" + "patching_rect" : [ 268.0, 459.0, 334.0, 46.0 ], + "text" : "/source/1/xyz : [0.999968, 0.00799991, 0.],\n/source/1/name : \"\"" } } @@ -337,13 +283,6 @@ "source" : [ "obj-1", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-21", 0 ], - "source" : [ "obj-12", 0 ] - } - } , { "patchline" : { @@ -374,20 +313,6 @@ "source" : [ "obj-2", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-8", 1 ], - "source" : [ "obj-2", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-20", 0 ] - } - } , { "patchline" : { @@ -438,18 +363,24 @@ } } -, { - "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-8", 0 ] + ], + "parameters" : { + "obj-2::obj-9" : [ "live.menu[1]", "live.menu[1]", 0 ], + "parameterbanks" : { + "0" : { + "index" : 0, + "name" : "", + "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ] } } - ], - "originid" : "pat-236", +, + "inherited_shortname" : 1 + } +, "dependency_cache" : [ { "name" : "engine_spat5helper.maxpat", - "bootpath" : "~/Documents/freelance/hugh_livingston/projects/sonogarden_maxproj", + "bootpath" : "~/Documents/programming/git_repositories/sonogarden_maxproj", "patcherrelativepath" : ".", "type" : "JSON", "implicit" : 1 @@ -457,7 +388,7 @@ , { "name" : "o.accum.maxpat", "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace", - "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace", + "patcherrelativepath" : "../../../Max 9/Packages/odot/patchers/namespace", "type" : "JSON", "implicit" : 1 } @@ -485,10 +416,6 @@ "name" : "o.union.mxo", "type" : "iLaX" } -, { - "name" : "o.var.mxo", - "type" : "iLaX" - } , { "name" : "spat5.oper.mxo", "type" : "iLaX" diff --git a/engine_spat5helper.maxpat b/engine_spat5helper.maxpat index 30fabbb..cfa8e18 100644 --- a/engine_spat5helper.maxpat +++ b/engine_spat5helper.maxpat @@ -4,17 +4,40 @@ "appversion" : { "major" : 9, "minor" : 0, - "revision" : 2, + "revision" : 6, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 34.0, 134.0, 1372.0, 732.0 ], + "rect" : [ 212.0, 231.0, 1372.0, 732.0 ], "openinpresentation" : 1, "gridsize" : [ 15.0, 15.0 ], "subpatcher_template" : "Untitled5_template", "boxes" : [ { + "box" : { + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 447.0, 118.0, 168.0, 22.0 ], + "text" : "loadmess #4" + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 736.0, 468.0, 45.0, 22.0 ], + "text" : "s store" + } + + } +, { "box" : { "id" : "obj-38", "maxclass" : "message", @@ -229,7 +252,6 @@ "parameter_longname" : "live.menu[1]", "parameter_mmax" : 140, "parameter_modmode" : 0, - "parameter_osc_name" : "", "parameter_shortname" : "live.menu[1]", "parameter_type" : 2 } @@ -275,18 +297,6 @@ "text" : "o.accum" } - } -, { - "box" : { - "comment" : "", - "id" : "obj-10", - "index" : 0, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 677.0, 455.0, 25.0, 25.0 ] - } - } , { "box" : { @@ -348,8 +358,7 @@ "parameter_enable" : 0, "patching_rect" : [ 548.0, 269.0, 24.0, 24.0 ], "presentation" : 1, - "presentation_rect" : [ 106.5, 54.0, 24.0, 24.0 ], - "svg" : "" + "presentation_rect" : [ 106.5, 54.0, 24.0, 24.0 ] } } @@ -582,7 +591,7 @@ } , { "patchline" : { - "destination" : [ "obj-10", 0 ], + "destination" : [ "obj-23", 0 ], "source" : [ "obj-13", 0 ] } @@ -719,6 +728,13 @@ "source" : [ "obj-29", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-32", 0 ] + } + } , { "patchline" : { @@ -823,7 +839,6 @@ } ], - "originid" : "pat-2444", "parameters" : { "obj-9" : [ "live.menu[1]", "live.menu[1]", 0 ], "parameterbanks" : { @@ -841,7 +856,7 @@ "dependency_cache" : [ { "name" : "o.accum.maxpat", "bootpath" : "~/Documents/Max 9/Packages/odot/patchers/namespace", - "patcherrelativepath" : "../../../../Max 9/Packages/odot/patchers/namespace", + "patcherrelativepath" : "../../../Max 9/Packages/odot/patchers/namespace", "type" : "JSON", "implicit" : 1 } -- 2.34.1