From 2181dcf6682fdd25b73b2a91daecb76c78f7556a Mon Sep 17 00:00:00 2001 From: equilet <2237372+equilet@users.noreply.github.com> Date: Sat, 7 Jun 2025 13:32:55 -0700 Subject: [PATCH] adding preset waffle mockup --- misc/preset_waffle_mockup.maxpat | 332 +++++++++++++++++++++++++++++++ 1 file changed, 332 insertions(+) create mode 100644 misc/preset_waffle_mockup.maxpat diff --git a/misc/preset_waffle_mockup.maxpat b/misc/preset_waffle_mockup.maxpat new file mode 100644 index 0000000..c4ba6a0 --- /dev/null +++ b/misc/preset_waffle_mockup.maxpat @@ -0,0 +1,332 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 9, + "minor" : 0, + "revision" : 6, + "architecture" : "x64", + "modernui" : 1 + } +, + "classnamespace" : "box", + "rect" : [ 59.0, 106.0, 719.0, 609.0 ], + "gridsize" : [ 15.0, 15.0 ], + "boxes" : [ { + "box" : { + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 186.0, 190.0, 173.0, 22.0 ], + "text" : "t l l" + } + + } +, { + "box" : { + "id" : "obj-23", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 340.0, 223.0, 52.0, 22.0 ], + "text" : "store $2" + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 296.0, 355.0, 150.0, 20.0 ], + "text" : "preset could be hidden" + } + + } +, { + "box" : { + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 186.0, 129.0, 59.0, 22.0 ], + "text" : "route text" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "textedit", + "numinlets" : 1, + "numoutlets" : 4, + "outlettype" : [ "", "int", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 186.0, 68.0, 100.0, 50.0 ], + "presentation" : 1, + "presentation_rect" : [ 84.0, 261.0, 100.0, 50.0 ], + "text" : "box" + } + + } +, { + "box" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 186.0, 157.0, 81.0, 22.0 ], + "text" : "pack s 0" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 186.0, 223.0, 81.0, 22.0 ], + "text" : "setitem $2 $1" + } + + } +, { + "box" : { + "ghostbar" : 21, + "id" : "obj-11", + "maxclass" : "multislider", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 259.0, 448.0, 247.0, 71.0 ], + "presentation" : 1, + "presentation_rect" : [ 320.0, 261.0, 247.0, 71.0 ], + "size" : 7 + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-10", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 139.0, 481.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 261.0, 286.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-8", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 196.0, 481.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 261.0, 261.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-6", + "items" : [ 1, ",", 2, ",", 3, ",", 4, ",", 5, ",", 6, ",", 7, ",", 8, ",", 9, ",", 10, ",", 11 ], + "maxclass" : "umenu", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 186.0, 261.0, 100.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 84.0, 313.0, 100.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 94.0, 354.0, 50.0, 22.0 ], + "presentation" : 1, + "presentation_rect" : [ 190.0, 313.0, 50.0, 22.0 ] + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 186.0, 301.0, 29.5, 22.0 ], + "text" : "+ 1" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "preset", + "numinlets" : 1, + "numoutlets" : 5, + "outlettype" : [ "preset", "int", "preset", "int", "" ], + "patching_rect" : [ 186.0, 345.0, 100.0, 40.0 ], + "preset_data" : [ { + "number" : 1, + "data" : [ 11, "obj-11", "multislider", "list", -0.52112676056338, 0.0, -0.014084507042254, -0.295774647887324, -0.52112676056338, -0.71830985915493, -0.746478873239437, 5, "obj-10", "number", "float", 0.0, 5, "obj-8", "number", "float", 0.579999983310699 ] + } +, { + "number" : 2, + "data" : [ 11, "obj-11", "multislider", "list", -0.52112676056338, -0.154929577464789, -0.774647887323944, -1.0, -1.0, -1.0, 1.0, 5, "obj-10", "number", "float", 5.099999904632568, 5, "obj-8", "number", "float", 101.0 ] + } +, { + "number" : 3, + "data" : [ 11, "obj-11", "multislider", "list", -0.154929577464789, -0.887323943661972, -1.0, -1.0, -1.0, -1.0, -1.0, 5, "obj-8", "number", "float", 140.0, 5, "obj-10", "number", "float", 130.0 ] + } + ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "order" : 2, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "order" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "midpoints" : [ 236.0, 389.9039306640625, 173.818450927734375, 389.9039306640625, 173.818450927734375, 251.0, 195.5, 251.0 ], + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "order" : 1, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-24", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "order" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "order" : 1, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "midpoints" : [ 195.5, 293.0, 301.11090087890625, 293.0, 301.11090087890625, 143.830337524414062, 257.5, 143.830337524414062 ], + "order" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "order" : 1, + "source" : [ "obj-6", 0 ] + } + + } + ], + "dependency_cache" : [ ], + "autosave" : 0 + } + +} -- 2.34.1