diff --git a/extras/tc.preset Launch.maxpat b/extras/tc.preset Launch.maxpat index 6eac0da..974b396 100644 --- a/extras/tc.preset Launch.maxpat +++ b/extras/tc.preset Launch.maxpat @@ -1,202 +1,251 @@ { - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 9, - "minor" : 1, - "revision" : 0, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 371.0, 273.0, 483.0, 443.0 ], - "gridsize" : [ 15.0, 15.0 ], - "toolbarvisible" : 0, - "lefttoolbarpinned" : 2, - "toptoolbarpinned" : 2, - "righttoolbarpinned" : 2, - "bottomtoolbarpinned" : 2, - "toolbars_unpinned_last_save" : 15, - "enablehscroll" : 0, - "enablevscroll" : 0, - "assistshowspatchername" : 0, - "commentary" : "", - "showcommentary" : 0, - "boxes" : [ { - "box" : { - "hidden" : 1, - "id" : "obj-17", - "linecount" : 5, - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 9.0, 354.0, 116.0, 76.0 ], - "text" : ";\rmax launchbrowser https://glucose47.gumroad.com/l/tc_preset" - } - - } -, { - "box" : { - "id" : "obj-13", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 166.5, 373.0, 150.0, 47.0 ], - "text" : "GPL 3.0\n© Théophile Clet, 2025\nClick here to support", - "textcolor" : [ 0.0, 0.0, 0.0, 0.5 ], - "textjustification" : 1 - } - - } -, { - "box" : { - "fontsize" : 16.0, - "id" : "obj-11", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 99.0, 81.0, 285.0, 24.0 ], - "text" : "A jsui replacement for the preset object" - } - - } -, { - "box" : { - "embedstate" : [ [ "margin", 4 ], [ "bgcolor", 0.2, 0.2, 0.2, 1 ], [ "scrollable", 0 ], [ "interp_slot_color", 1, 1, 1, 0.8 ], [ "layout", 1 ], [ "color_4", 0.367, 0.542, 0.712, 1 ], [ "autowriteagain", 0 ], [ "display_interp", 1 ], [ "text_bg_color", 1, 1, 1, 0.5 ], [ "select_mode", 0 ], [ "color_mode", 0 ], [ "color_5", 0.283, 0.606, 0.559, 1 ], [ "empty_slot_color", 0.349, 0.349, 0.349, 1 ], [ "ignoreslotzero", 1 ], [ "color_1", 0.743, 0.41, 0.501, 1 ], [ "text_color", 0.129, 0.129, 0.129, 1 ], [ "spacing", 4 ], [ "slot_round", 0 ], [ "color_6", 0.316, 0.616, 0.377, 1 ], [ "active_slot_color", 0.808, 0.898, 0.91, 1 ], [ "menu_mode", 0 ], [ "bubblesize", 14 ], [ "min_rows", 10 ], [ "color_2", 0.679, 0.405, 0.669, 1 ], [ "fontsize", 14 ], [ "send_name", "none" ], [ "stored_slot_color", 0.502, 0.502, 0.502, 1 ], [ "fontname", "Arial" ], [ "color_3", 0.527, 0.459, 0.756, 1 ] ], - "filename" : "tc.preset", - "id" : "obj-8", - "maxclass" : "jsui", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 254.0, 153.0, 130.0, 58.0 ] - } - - } -, { - "box" : { - "hidden" : 1, - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 9.0, 301.0, 51.0, 22.0 ], - "text" : "pcontrol" - } - - } -, { - "box" : { - "hidden" : 1, - "id" : "obj-6", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 9.0, 274.0, 165.0, 22.0 ], - "text" : "loadunique tc.preset.maxhelp" - } - - } -, { - "box" : { - "fontsize" : 20.0, - "id" : "obj-4", - "maxclass" : "textbutton", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 162.0, 282.0, 159.0, 41.0 ], - "text" : "Open helper file" - } - - } -, { - "box" : { - "embedstate" : [ [ "margin", 4 ], [ "bgcolor", 0.2, 0.2, 0.2, 1 ], [ "scrollable", 0 ], [ "interp_slot_color", 1, 1, 1, 0.8 ], [ "layout", 0 ], [ "color_4", 0.367, 0.542, 0.712, 1 ], [ "autowriteagain", 0 ], [ "display_interp", 1 ], [ "text_bg_color", 1, 1, 1, 0.5 ], [ "select_mode", 0 ], [ "color_mode", 0 ], [ "color_5", 0.283, 0.606, 0.559, 1 ], [ "empty_slot_color", 0.349, 0.349, 0.349, 1 ], [ "ignoreslotzero", 1 ], [ "color_1", 0.743, 0.41, 0.501, 1 ], [ "text_color", 0.129, 0.129, 0.129, 1 ], [ "spacing", 4 ], [ "slot_round", 0 ], [ "color_6", 0.316, 0.616, 0.377, 1 ], [ "active_slot_color", 0.808, 0.898, 0.91, 1 ], [ "menu_mode", 0 ], [ "bubblesize", 14 ], [ "min_rows", 10 ], [ "color_2", 0.679, 0.405, 0.669, 1 ], [ "fontsize", 14 ], [ "send_name", "none" ], [ "stored_slot_color", 0.502, 0.502, 0.502, 1 ], [ "fontname", "Arial" ], [ "color_3", 0.527, 0.459, 0.756, 1 ] ], - "filename" : "tc.preset", - "id" : "obj-3", - "maxclass" : "jsui", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "", "", "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 99.0, 153.0, 130.0, 58.0 ] - } - - } -, { - "box" : { - "fontface" : 1, - "fontsize" : 48.0, - "id" : "obj-2", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 137.0, 16.0, 209.0, 60.0 ], - "text" : "tc.preset", - "textjustification" : 1 - } - - } -, { - "box" : { - "bgcolor" : [ 0.2, 0.2, 0.2, 0.0 ], - "fontsize" : 20.0, - "id" : "obj-15", - "maxclass" : "textbutton", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 166.5, 373.0, 150.0, 47.0 ], - "text" : "Open helper file", - "textoncolor" : [ 0.807843137254902, 0.898039215686275, 0.909803921568627, 0.0 ], - "textovercolor" : [ 0.929411764705882, 0.929411764705882, 0.352941176470588, 0.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "hidden" : 1, - "source" : [ "obj-15", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "hidden" : 1, - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "hidden" : 1, - "source" : [ "obj-6", 0 ] - } - - } - ], - "dependency_cache" : [ { - "name" : "tc.preset.js", - "bootpath" : "~/Documents/Max 9/Packages/tc.preset/javascript", - "patcherrelativepath" : "../javascript", - "type" : "TEXT", - "implicit" : 1 - } - ], - "autosave" : 0 - } - -} + "patcher": { + "fileversion": 1, + "appversion": { + "major": 9, + "minor": 1, + "revision": 0, + "architecture": "x64", + "modernui": 1 + }, + "classnamespace": "box", + "rect": [ 371.0, 273.0, 483.0, 443.0 ], + "toolbarvisible": 0, + "lefttoolbarpinned": 2, + "toptoolbarpinned": 2, + "righttoolbarpinned": 2, + "bottomtoolbarpinned": 2, + "toolbars_unpinned_last_save": 15, + "enablehscroll": 0, + "enablevscroll": 0, + "boxes": [ + { + "box": { + "hidden": 1, + "id": "obj-17", + "linecount": 5, + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 9.0, 354.0, 144.0, 76.0 ], + "text": ";\rmax launchbrowser https://www.paypal.com/donate/?hosted_button_id=AVGJ5JLTP76K8" + } + }, + { + "box": { + "id": "obj-13", + "linecount": 3, + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 166.5, 373.0, 150.0, 47.0 ], + "text": "GPL 3.0\n© Théophile Clet, 2025\nClick here to support", + "textcolor": [ 0.0, 0.0, 0.0, 0.5 ], + "textjustification": 1 + } + }, + { + "box": { + "fontsize": 16.0, + "id": "obj-11", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 82.0, 81.0, 319.0, 24.0 ], + "text": "A jsui/v8ui replacement for the preset object" + } + }, + { + "box": { + "embedstate": [ + [ "margin", 4 ], + [ "bubblesize", 14 ], + [ "fontsize", 14 ], + [ "color_5", 0.283, 0.606, 0.559, 1 ], + [ "scrollable", 0 ], + [ "text_color", 0.129, 0.129, 0.129, 1 ], + [ "color_2", 0.679, 0.405, 0.669, 1 ], + [ "recall_passthrough", 1 ], + [ "fontname", "Arial" ], + [ "display_interp", 1 ], + [ "edited_color", 1, 0.49, 0.263, 1 ], + [ "send_name", "none" ], + [ "stored_slot_color", 0.502, 0.502, 0.502, 1 ], + [ "autowriteagain", 0 ], + [ "ui_rename", 0 ], + [ "color_4", 0.367, 0.542, 0.712, 1 ], + [ "bgcolor", 0.2, 0.2, 0.2, 1 ], + [ "color_mode", 0 ], + [ "min_rows", 10 ], + [ "ignoreslotzero", 1 ], + [ "spacing", 4 ], + [ "color_1", 0.743, 0.41, 0.501, 1 ], + [ "empty_slot_color", 0.349, 0.349, 0.349, 1 ], + [ "use_uid", 0 ], + [ "slot_round", 0 ], + [ "color_6", 0.316, 0.616, 0.377, 1 ], + [ "interp_slot_color", 1, 1, 1, 0.8 ], + [ "menu_mode", 0 ], + [ "text_bg_color", 1, 1, 1, 0.5 ], + [ "select_mode", 0 ], + [ "color_3", 0.527, 0.459, 0.756, 1 ], + [ "active_slot_color", 0.808, 0.898, 0.91, 1 ], + [ "nbslot_edit", 1 ], + [ "unique_names", 0 ], + [ "layout", 1 ], + [ "poll_edited", 0 ] + ], + "filename": "tc.preset", + "id": "obj-8", + "maxclass": "jsui", + "numinlets": 1, + "numoutlets": 5, + "outlettype": [ "", "", "", "", "" ], + "parameter_enable": 0, + "patching_rect": [ 254.0, 153.0, 130.0, 58.0 ] + } + }, + { + "box": { + "hidden": 1, + "id": "obj-7", + "maxclass": "newobj", + "numinlets": 1, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 9.0, 301.0, 51.0, 22.0 ], + "text": "pcontrol" + } + }, + { + "box": { + "hidden": 1, + "id": "obj-6", + "maxclass": "message", + "numinlets": 2, + "numoutlets": 1, + "outlettype": [ "" ], + "patching_rect": [ 9.0, 274.0, 165.0, 22.0 ], + "text": "loadunique tc.preset.maxhelp" + } + }, + { + "box": { + "fontsize": 20.0, + "id": "obj-4", + "maxclass": "textbutton", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "int" ], + "parameter_enable": 0, + "patching_rect": [ 162.0, 282.0, 159.0, 41.0 ], + "text": "Open helper file" + } + }, + { + "box": { + "embedstate": [ + [ "margin", 4 ], + [ "bubblesize", 14 ], + [ "fontsize", 14 ], + [ "color_5", 0.283, 0.606, 0.559, 1 ], + [ "scrollable", 0 ], + [ "text_color", 0.129, 0.129, 0.129, 1 ], + [ "color_2", 0.679, 0.405, 0.669, 1 ], + [ "recall_passthrough", 1 ], + [ "fontname", "Arial" ], + [ "display_interp", 1 ], + [ "edited_color", 1, 0.49, 0.263, 1 ], + [ "send_name", "none" ], + [ "stored_slot_color", 0.502, 0.502, 0.502, 1 ], + [ "autowriteagain", 0 ], + [ "ui_rename", 0 ], + [ "color_4", 0.367, 0.542, 0.712, 1 ], + [ "bgcolor", 0.2, 0.2, 0.2, 1 ], + [ "color_mode", 0 ], + [ "min_rows", 10 ], + [ "ignoreslotzero", 1 ], + [ "spacing", 4 ], + [ "color_1", 0.743, 0.41, 0.501, 1 ], + [ "empty_slot_color", 0.349, 0.349, 0.349, 1 ], + [ "use_uid", 0 ], + [ "slot_round", 0 ], + [ "color_6", 0.316, 0.616, 0.377, 1 ], + [ "interp_slot_color", 1, 1, 1, 0.8 ], + [ "menu_mode", 0 ], + [ "text_bg_color", 1, 1, 1, 0.5 ], + [ "select_mode", 0 ], + [ "color_3", 0.527, 0.459, 0.756, 1 ], + [ "active_slot_color", 0.808, 0.898, 0.91, 1 ], + [ "nbslot_edit", 1 ], + [ "unique_names", 0 ], + [ "layout", 0 ], + [ "poll_edited", 0 ] + ], + "filename": "tc.preset", + "id": "obj-3", + "maxclass": "jsui", + "numinlets": 1, + "numoutlets": 5, + "outlettype": [ "", "", "", "", "" ], + "parameter_enable": 0, + "patching_rect": [ 99.0, 153.0, 130.0, 58.0 ] + } + }, + { + "box": { + "fontface": 1, + "fontsize": 48.0, + "id": "obj-2", + "maxclass": "comment", + "numinlets": 1, + "numoutlets": 0, + "patching_rect": [ 137.0, 16.0, 209.0, 60.0 ], + "text": "tc.preset", + "textjustification": 1 + } + }, + { + "box": { + "bgcolor": [ 0.2, 0.2, 0.2, 0.0 ], + "fontsize": 20.0, + "id": "obj-15", + "maxclass": "textbutton", + "numinlets": 1, + "numoutlets": 3, + "outlettype": [ "", "", "int" ], + "parameter_enable": 0, + "patching_rect": [ 166.5, 373.0, 150.0, 47.0 ], + "text": "Open helper file", + "textoncolor": [ 0.807843137254902, 0.898039215686275, 0.909803921568627, 0.0 ], + "textovercolor": [ 0.929411764705882, 0.929411764705882, 0.352941176470588, 0.0 ] + } + } + ], + "lines": [ + { + "patchline": { + "destination": [ "obj-17", 0 ], + "hidden": 1, + "source": [ "obj-15", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-6", 0 ], + "hidden": 1, + "source": [ "obj-4", 0 ] + } + }, + { + "patchline": { + "destination": [ "obj-7", 0 ], + "hidden": 1, + "source": [ "obj-6", 0 ] + } + } + ], + "autosave": 0 + } +} \ No newline at end of file