diff --git a/help/data/presets/mvc.cross~.presets.json b/help/data/presets/mvc.cross~.presets.json index a4d138e..5214605 100644 --- a/help/data/presets/mvc.cross~.presets.json +++ b/help/data/presets/mvc.cross~.presets.json @@ -2,5 +2,19 @@ "_metadata" : { "package-version" : 0.4 } +, + "Demo preset 1" : { + "frequency" : 100.0, + "preset-name" : "Demo preset 1", + "ON" : 1, + "preset-description" : "undefined" + } +, + "Demo preset 2" : { + "frequency" : 7777.0, + "preset-name" : "Demo preset 2", + "ON" : 1, + "preset-description" : "undefined" + } } diff --git a/help/mvc.cross~.maxhelp b/help/mvc.cross~.maxhelp index 9b537d0..0fcf8f7 100644 --- a/help/mvc.cross~.maxhelp +++ b/help/mvc.cross~.maxhelp @@ -2,15 +2,15 @@ "patcher" : { "fileversion" : 1, "appversion" : { - "major" : 9, - "minor" : 0, + "major" : 8, + "minor" : 6, "revision" : 0, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 100.0, 100.0, 899.0, 611.0 ], + "rect" : [ 100.0, 232.0, 899.0, 611.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -104,8 +104,8 @@ "patcher" : { "fileversion" : 1, "appversion" : { - "major" : 9, - "minor" : 0, + "major" : 8, + "minor" : 6, "revision" : 0, "architecture" : "x64", "modernui" : 1 @@ -166,15 +166,15 @@ "patcher" : { "fileversion" : 1, "appversion" : { - "major" : 9, - "minor" : 0, + "major" : 8, + "minor" : 6, "revision" : 0, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 100.0, 126.0, 899.0, 585.0 ], + "rect" : [ 100.0, 258.0, 899.0, 585.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -204,6 +204,240 @@ "showontab" : 2, "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 8, + "minor" : 6, + "revision" : 0, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 1070.0, 370.0, 411.0, 374.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-9", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 23.0, 42.0, 237.169312169312207, 33.0 ], + "text" : "You can recall any preset with the \"preset\" message followed by a preset name." + } + + } +, { + "box" : { + "id" : "obj-8", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 72.0, 143.0, 244.0, 20.0 ], + "text" : "You can also use the preset menu actions" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 104.0, 213.0, 86.0, 22.0 ], + "text" : "preset rename" + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-6", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 196.0, 236.0, 102.0, 24.0 ], + "text" : "don't do that :)" + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.086274509803922, 0.086274509803922, 1.0 ], + "bgcolor2" : [ 1.0, 0.086274509803922, 0.086274509803922, 1.0 ], + "bgfillcolor_angle" : 270.0, + "bgfillcolor_autogradient" : 0.0, + "bgfillcolor_color" : [ 0.847058823529412, 0.070588235294118, 0.070588235294118, 1.0 ], + "bgfillcolor_color1" : [ 1.0, 0.086274509803922, 0.086274509803922, 1.0 ], + "bgfillcolor_color2" : [ 0.2, 0.2, 0.2, 1.0 ], + "bgfillcolor_proportion" : 0.5, + "bgfillcolor_type" : "color", + "gradient" : 1, + "id" : "obj-4", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 116.0, 237.0, 78.0, 22.0 ], + "text" : "preset delete" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 89.0, 189.0, 83.0, 22.0 ], + "text" : "preset editdict" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 77.0, 165.0, 72.0, 22.0 ], + "text" : "preset reset" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 37.0, 102.837837837837839, 164.0, 22.0 ], + "text" : "preset recall \"Demo preset 2\"" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 23.0, 80.0, 164.0, 22.0 ], + "text" : "preset recall \"Demo preset 1\"" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 23.0, 287.0, 30.0, 30.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-7", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 211.0, 278.5, 58.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p presets", + "varname" : "presets[1]" + } + + } +, { "box" : { "id" : "obj-40", "lastchannelcount" : 3, @@ -499,7 +733,7 @@ "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 3, - "outlettype" : [ "", "int", "initialized" ], + "outlettype" : [ "", "int", "" ], "patching_rect" : [ 514.5, 350.489544235924768, 278.0, 22.0 ], "text" : "mvc.remote crossHelper/myFunkyCross/frequency" } @@ -582,6 +816,13 @@ } ], "lines" : [ { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "source" : [ "obj-1", 0 ] + } + + } +, { "patchline" : { "destination" : [ "obj-3", 1 ], "source" : [ "obj-14", 0 ] @@ -840,6 +1081,7 @@ "parameters" : { "obj-51::obj-16" : [ "mc.live.gain~[3]", "mc.live.gain~", 0 ], "obj-51::obj-22" : [ "mc.live.gain~[2]", "mc.live.gain~", 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-40" : [ "mc.live.gain~[4]", "mc.live.gain~", 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 ], diff --git a/patchers/components/mvc.cross~.gui.maxpat b/patchers/components/mvc.cross~.gui.maxpat index 9353197..f45145e 100644 --- a/patchers/components/mvc.cross~.gui.maxpat +++ b/patchers/components/mvc.cross~.gui.maxpat @@ -3,8 +3,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 3, - "revision" : 1, + "minor" : 6, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } @@ -40,6 +40,57 @@ "assistshowspatchername" : 0, "title" : "no target", "boxes" : [ { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "wclose" ], + "patching_rect" : [ 26.0, 204.0, 52.0, 22.0 ], + "text" : "t wclose" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 26.0, 173.0, 63.0, 22.0 ], + "text" : "closebang" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 72.0, 255.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" : [ 26.0, 251.0, 30.0, 30.0 ] + } + + } +, { "box" : { "id" : "obj-9", "maxclass" : "newobj", @@ -50,8 +101,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 3, - "revision" : 1, + "minor" : 6, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } @@ -247,184 +298,6 @@ "text" : "patcherargs" } - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 3, - "revision" : 1, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 106.0, 306.0, 268.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" : { - "comment" : "", - "id" : "obj-28", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 13.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-24", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 122.0, 217.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-23", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 50.0, 83.0, 91.0, 22.0 ], - "text" : "routepass none" - } - - } -, { - "box" : { - "id" : "obj-22", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 50.0, 52.0, 82.0, 22.0 ], - "text" : "route address" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 122.0, 189.778528999999992, 99.0, 22.0 ], - "text" : "prepend address" - } - - } -, { - "box" : { - "id" : "obj-19", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 122.0, 132.778528999999992, 140.0, 22.0 ], - "text" : "combine path /frequency" - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-19", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-23", 0 ], - "source" : [ "obj-22", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "midpoints" : [ 59.5, 184.389264499999996, 131.5, 184.389264499999996 ], - "source" : [ "obj-23", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-19", 0 ], - "source" : [ "obj-23", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-22", 0 ], - "source" : [ "obj-28", 0 ] - } - - } - ] - } -, - "patching_rect" : [ 334.0, 131.5, 61.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p address" - } - } , { "box" : { @@ -458,8 +331,8 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 3, - "revision" : 1, + "minor" : 6, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } @@ -727,7 +600,7 @@ } , { "box" : { - "args" : [ "#0" ], + "args" : [ "#0.view" ], "bgmode" : 0, "border" : 0, "clickthrough" : 0, @@ -758,24 +631,17 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 304.0, 46.0, 28.0, 22.0 ], + "saved_object_attributes" : { + "attr_comment" : "" + } +, "text" : "in 1" } } , { "box" : { - "id" : "obj-2", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 379.0, 50.0, 81.0, 22.0 ], - "text" : "address none" - } - - } -, { - "box" : { + "args" : [ "frequency", "@parent", "#0.view" ], "bgmode" : 0, "border" : 0, "clickthrough" : 0, @@ -827,7 +693,7 @@ "presentation_rect" : [ 0.0, 0.0, 300.0, 78.0 ], "proportion" : 0.5, "rounded" : 2, - "varname" : "25588-bgpanel" + "varname" : "23301-bgpanel" } } @@ -855,15 +721,17 @@ } , { "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-12", 2 ] + "destination" : [ "obj-10", 0 ], + "order" : 0, + "source" : [ "obj-17", 0 ] } } , { "patchline" : { - "destination" : [ "obj-12", 1 ], - "source" : [ "obj-2", 0 ] + "destination" : [ "obj-13", 0 ], + "order" : 1, + "source" : [ "obj-17", 0 ] } } @@ -883,22 +751,22 @@ } , { "patchline" : { - "destination" : [ "obj-12", 1 ], - "source" : [ "obj-5", 0 ] + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 1 ], - "source" : [ "obj-6", 0 ] + "source" : [ "obj-5", 0 ] } } , { "patchline" : { - "destination" : [ "obj-18", 1 ], - "source" : [ "obj-7", 0 ] + "destination" : [ "obj-12", 1 ], + "source" : [ "obj-6", 0 ] } } diff --git a/patchers/components/mvc.cross~.maxpat b/patchers/components/mvc.cross~.maxpat index c58fc8c..667ea6b 100644 --- a/patchers/components/mvc.cross~.maxpat +++ b/patchers/components/mvc.cross~.maxpat @@ -3,7 +3,7 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 5, + "minor" : 6, "revision" : 0, "architecture" : "x64", "modernui" : 1 @@ -39,6 +39,138 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-9", + "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" : [ 373.0, 112.0, 67.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p all-chans" + } + + } +, { "box" : { "color" : [ 0.843137254901961, 0.647058823529412, 0.611764705882353, 1.0 ], "fontsize" : 14.0, @@ -57,9 +189,9 @@ "box" : { "id" : "obj-4", "maxclass" : "newobj", - "numinlets" : 0, + "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 451.0, 53.5, 115.0, 22.0 ], + "patching_rect" : [ 451.0, 53.5, 118.0, 22.0 ], "text" : "mvc.isloading #0" } @@ -133,7 +265,7 @@ "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, - "outlettype" : [ "" ], + "outlettype" : [ "multichannelsignal" ], "patching_rect" : [ 35.0, 45.5, 30.0, 30.0 ] } @@ -202,15 +334,22 @@ } , { "patchline" : { - "destination" : [ "obj-17", 1 ], + "destination" : [ "obj-55", 1 ], + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], "source" : [ "obj-8", 1 ] } } , { "patchline" : { - "destination" : [ "obj-55", 1 ], - "source" : [ "obj-8", 0 ] + "destination" : [ "obj-17", 1 ], + "source" : [ "obj-9", 0 ] } }