From 550b9066cd10d6851a0f12b012987fb1910c2d88 Mon Sep 17 00:00:00 2001 From: Vincent Goudard Date: Fri, 26 Jan 2024 16:01:53 +0100 Subject: [PATCH] update mvc.lores~ cf. #1 --- help/mvc.lores~.maxhelp | 162 ++---------- patchers/components/mvc.lores~.gui.maxpat | 78 ++++-- patchers/components/mvc.lores~.maxpat | 296 +++++++++++++++++++++- 3 files changed, 360 insertions(+), 176 deletions(-) diff --git a/help/mvc.lores~.maxhelp b/help/mvc.lores~.maxhelp index 887c60e..20c474b 100644 --- a/help/mvc.lores~.maxhelp +++ b/help/mvc.lores~.maxhelp @@ -235,7 +235,7 @@ } , "classnamespace" : "box", - "rect" : [ 449.0, 377.0, 754.0, 380.0 ], + "rect" : [ 449.0, 377.0, 411.0, 374.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -264,86 +264,6 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { - "box" : { - "bubble" : 1, - "id" : "obj-26", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 415.977072310405674, 140.457306582306558, 198.0, 37.0 ], - "text" : "or use the dedicated GUI objects by providing them a path" - } - - } -, { - "box" : { - "id" : "obj-24", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 395.977072310405674, 146.957306582306558, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 395.977072310405674, 188.957306582306558, 203.0, 22.0 ], - "text" : "name biquadHelper/myFunkyBiquad" - } - - } -, { - "box" : { - "bgmode" : 0, - "border" : 0, - "clickthrough" : 0, - "enablehscroll" : 0, - "enablevscroll" : 0, - "id" : "obj-12", - "lockeddragscroll" : 0, - "lockedsize" : 0, - "maxclass" : "bpatcher", - "name" : "mvc.model.gui.maxpat", - "numinlets" : 2, - "numoutlets" : 3, - "offset" : [ 0.0, 0.0 ], - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 395.977072310405674, 266.957306582306558, 301.0, 22.0 ], - "varname" : "mvc.model.gui", - "viewvisibility" : 1 - } - - } -, { - "box" : { - "bgmode" : 0, - "border" : 0, - "clickthrough" : 0, - "enablehscroll" : 0, - "enablevscroll" : 0, - "id" : "obj-10", - "lockeddragscroll" : 0, - "lockedsize" : 0, - "maxclass" : "bpatcher", - "name" : "mvc.GUI.presets.maxpat", - "numinlets" : 2, - "numoutlets" : 2, - "offset" : [ 0.0, 0.0 ], - "outlettype" : [ "", "" ], - "patching_rect" : [ 395.977072310405674, 227.957306582306558, 139.0, 23.0 ], - "viewvisibility" : 1 - } - - } -, { "box" : { "id" : "obj-9", "linecount" : 2, @@ -361,7 +281,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 72.0, 173.0, 244.0, 20.0 ], + "patching_rect" : [ 72.0, 143.0, 244.0, 20.0 ], "text" : "You can also use the preset menu actions" } @@ -373,8 +293,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 103.807760141093468, 242.971537721537686, 138.0, 22.0 ], - "text" : "preset \"Rename Preset\"" + "patching_rect" : [ 104.0, 213.0, 86.0, 22.0 ], + "text" : "preset rename" } } @@ -385,7 +305,7 @@ "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 242.977072310405674, 266.957306582306558, 102.0, 24.0 ], + "patching_rect" : [ 196.0, 236.0, 102.0, 24.0 ], "text" : "don't do that :)" } @@ -407,8 +327,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 115.977072310405646, 266.957306582306558, 125.0, 22.0 ], - "text" : "preset \"Delete preset\"" + "patching_rect" : [ 116.0, 237.0, 78.0, 22.0 ], + "text" : "preset delete" } } @@ -419,8 +339,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 89.169312169312178, 218.985768860768843, 166.0, 22.0 ], - "text" : "preset \"Edit preset dictionary\"" + "patching_rect" : [ 89.0, 189.0, 83.0, 22.0 ], + "text" : "preset editdict" } } @@ -431,8 +351,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 77.0, 195.0, 138.0, 22.0 ], - "text" : "preset \"Reset to default\"" + "patching_rect" : [ 77.0, 165.0, 72.0, 22.0 ], + "text" : "preset reset" } } @@ -443,8 +363,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 37.0, 102.837837837837839, 128.0, 22.0 ], - "text" : "preset lowpass@1kHz" + "patching_rect" : [ 37.0, 102.837837837837839, 164.0, 22.0 ], + "text" : "preset recall \"Demo preset 2\"" } } @@ -455,20 +375,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 23.0, 80.0, 158.0, 22.0 ], - "text" : "preset \"my very own preset\"" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 48.0, 125.675675675675677, 98.0, 22.0 ], - "text" : "preset \"Preset 5\"" + "patching_rect" : [ 23.0, 80.0, 164.0, 22.0 ], + "text" : "preset recall \"Demo preset 1\"" } } @@ -480,7 +388,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 23.0, 317.0, 30.0, 30.0 ] + "patching_rect" : [ 23.0, 287.0, 30.0, 30.0 ] } } @@ -491,30 +399,6 @@ "source" : [ "obj-1", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "order" : 1, - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-12", 1 ], - "midpoints" : [ 405.477072310405674, 221.457306582306558, 687.477072310405674, 221.457306582306558 ], - "order" : 0, - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-17", 0 ] - } - } , { "patchline" : { @@ -529,13 +413,6 @@ "source" : [ "obj-2", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-24", 0 ] - } - } , { "patchline" : { @@ -807,6 +684,7 @@ } , { "box" : { + "color" : [ 0.501961, 0.501961, 0.501961, 1.0 ], "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 2, @@ -1033,7 +911,7 @@ ], "parameters" : { "obj-51::obj-16" : [ "mc.live.gain~[3]", "mc.live.gain~", 0 ], - "obj-51::obj-21::obj-12::obj-8::obj-7" : [ "live.toggle[5]", "live.toggle", 0 ], + "obj-51::obj-3::obj-8::obj-5::obj-25::obj-61::obj-20.1::obj-12::obj-8::obj-7" : [ "live.toggle[7]", "live.toggle", 0 ], "obj-51::obj-7::obj-21::obj-6" : [ "live.tab[4]", "live.tab[1]", 0 ], "obj-51::obj-7::obj-35" : [ "[1]", "Level", 0 ], "parameterbanks" : { @@ -1041,10 +919,6 @@ } , "parameter_overrides" : { - "obj-51::obj-21::obj-12::obj-8::obj-7" : { - "parameter_longname" : "live.toggle[5]" - } -, "obj-51::obj-7::obj-21::obj-6" : { "parameter_longname" : "live.tab[4]" } diff --git a/patchers/components/mvc.lores~.gui.maxpat b/patchers/components/mvc.lores~.gui.maxpat index d026838..e5825ca 100644 --- a/patchers/components/mvc.lores~.gui.maxpat +++ b/patchers/components/mvc.lores~.gui.maxpat @@ -41,25 +41,52 @@ "title" : "myFunkyLores", "boxes" : [ { "box" : { - "id" : "obj-4", + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "wclose" ], + "patching_rect" : [ 44.66666666666697, 173.0, 52.0, 22.0 ], + "text" : "t wclose" + } + + } +, { + "box" : { + "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 426.0, 10.0, 63.0, 22.0 ], + "patching_rect" : [ 44.66666666666697, 142.0, 63.0, 22.0 ], "text" : "closebang" } } , { "box" : { - "id" : "obj-2", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 426.0, 41.0, 43.0, 22.0 ], - "text" : "parent" + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 90.66666666666697, 224.0, 35.0, 22.0 ], + "saved_object_attributes" : { + "attr_comment" : "" + } +, + "text" : "out 1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-13", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 44.66666666666697, 220.0, 30.0, 30.0 ] } } @@ -652,10 +679,6 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 349.0, 35.0, 28.0, 22.0 ], - "saved_object_attributes" : { - "attr_comment" : "" - } -, "text" : "in 1" } @@ -690,7 +713,7 @@ "presentation_rect" : [ 0.0, 0.0, 300.0, 72.0 ], "proportion" : 0.5, "rounded" : 2, - "varname" : "3194-bgpanel" + "varname" : "35566-bgpanel" } } @@ -726,8 +749,24 @@ } , { "patchline" : { - "destination" : [ "obj-12", 1 ], - "source" : [ "obj-2", 0 ] + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "order" : 1, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "order" : 0, + "source" : [ "obj-17", 0 ] } } @@ -758,13 +797,6 @@ "source" : [ "obj-36", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-4", 0 ] - } - } , { "patchline" : { diff --git a/patchers/components/mvc.lores~.maxpat b/patchers/components/mvc.lores~.maxpat index 957d204..58a43f1 100644 --- a/patchers/components/mvc.lores~.maxpat +++ b/patchers/components/mvc.lores~.maxpat @@ -3,8 +3,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 2, - "revision" : 2, + "minor" : 6, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } @@ -39,12 +39,276 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 0, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 86.0, 128.0, 111.0, 22.0 ], + "text" : "prepend setvalue 0" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 50.0, 100.0, 55.0, 22.0 ], + "text" : "zl.slice 2" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-6", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 86.0, 163.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-6", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 429.0, 149.0, 67.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p all-chans" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 0, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 0, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "assistshowspatchername" : 0, + "boxes" : [ { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 86.0, 128.0, 111.0, 22.0 ], + "text" : "prepend setvalue 0" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 50.0, 100.0, 55.0, 22.0 ], + "text" : "zl.slice 2" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-6", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-7", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 86.0, 163.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-6", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 292.0, 149.0, 67.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p all-chans" + } + + } +, { "box" : { "id" : "obj-3", "maxclass" : "newobj", - "numinlets" : 0, + "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 285.0, 74.0, 115.0, 22.0 ], + "patching_rect" : [ 285.0, 74.0, 118.0, 22.0 ], "text" : "mvc.isloading #0" } @@ -83,7 +347,7 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "multichannelsignal", "multichannelsignal" ], - "patching_rect" : [ 35.0, 156.0, 139.0, 22.0 ], + "patching_rect" : [ 35.0, 156.0, 142.0, 22.0 ], "text" : "mvc.bypass.mono #0" } @@ -159,6 +423,20 @@ "source" : [ "obj-21", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-17", 1 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 2 ], + "source" : [ "obj-5", 0 ] + } + } , { "patchline" : { @@ -176,15 +454,15 @@ } , { "patchline" : { - "destination" : [ "obj-17", 2 ], - "source" : [ "obj-8", 2 ] + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-8", 1 ] } } , { "patchline" : { - "destination" : [ "obj-17", 1 ], - "source" : [ "obj-8", 1 ] + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-8", 2 ] } }