Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5eaa9ca63d | |||
| 1b84b07e22 | |||
| 0fa39f185b | |||
| 627848d872 | |||
| 7c37e5a0d4 | |||
| 18f183f91a | |||
| 5a5f26ce07 | |||
| 12b585a6d2 | |||
| ca80a6cfe6 | |||
| a9322cd2eb |
1
build.sh
1
build.sh
@@ -31,6 +31,7 @@ copy_files() {
|
||||
-not -path "*/.*" \
|
||||
-not -path "./dist/*" \
|
||||
-not -path "./media/*" \
|
||||
-not -name "*.zip" \
|
||||
-not -name "build.sh" | while read -r file; do
|
||||
|
||||
# Get filename without path
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -39,8 +39,8 @@
|
||||
"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",
|
||||
"patching_rect": [ 155.0, 374.0, 173.0, 47.0 ],
|
||||
"text": "GPL 3.0\n© Théophile Clet, 2024-2026\nClick here to support",
|
||||
"textcolor": [ 0.0, 0.0, 0.0, 0.5 ],
|
||||
"textjustification": 1
|
||||
}
|
||||
@@ -58,43 +58,44 @@
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"border": 0,
|
||||
"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 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1.0 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1.0 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "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 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "ui_rename", 0 ],
|
||||
[ "layout", 1 ],
|
||||
[ "poll_edited", 0 ]
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1.0 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "margin", 4 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1.0 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1.0 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "pattrstorage", "" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "nbslot_edit", 1 ]
|
||||
],
|
||||
"filename": "tc.preset",
|
||||
"id": "obj-8",
|
||||
@@ -145,43 +146,44 @@
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"border": 0,
|
||||
"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 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1.0 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1.0 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "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 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "ui_rename", 0 ],
|
||||
[ "layout", 0 ],
|
||||
[ "poll_edited", 0 ]
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1.0 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "margin", 4 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1.0 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1.0 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "pattrstorage", "" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "nbslot_edit", 1 ]
|
||||
],
|
||||
"filename": "tc.preset",
|
||||
"id": "obj-3",
|
||||
@@ -216,7 +218,7 @@
|
||||
"numoutlets": 3,
|
||||
"outlettype": [ "", "", "int" ],
|
||||
"parameter_enable": 0,
|
||||
"patching_rect": [ 166.5, 373.0, 150.0, 47.0 ],
|
||||
"patching_rect": [ 155.0, 374.0, 173.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 ]
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -24,7 +24,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -65,7 +65,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -479,7 +479,7 @@
|
||||
{
|
||||
"box": {
|
||||
"id": "obj-17",
|
||||
"items": [ 1, "up", ",", 2, "down", ",", 3, "sine", ",", 4, "random", ",", 7, "W" ],
|
||||
"items": [ 1, "up", ",", 2, "down", ",", 3, "sine", ",", 4, "random", ",", 7, "W", ",", 17, "Bell" ],
|
||||
"maxclass": "umenu",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 3,
|
||||
@@ -530,43 +530,42 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1.0 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1.0 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "pattrstorage", "tcpreset_help" ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "ui_rename", 0 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "nbslot_edit", 1 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "margin", 4 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "layout", 0 ],
|
||||
[ "slot_round", 0 ]
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1.0 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "margin", 4 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1.0 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1.0 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "pattrstorage", "tcpreset_help" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "nbslot_edit", 1 ]
|
||||
],
|
||||
"filename": "tc.preset.js",
|
||||
"id": "obj-10",
|
||||
@@ -805,7 +804,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -813,16 +812,28 @@
|
||||
"rect": [ 0.0, 26.0, 899.0, 620.0 ],
|
||||
"showontab": 1,
|
||||
"boxes": [
|
||||
{
|
||||
"box": {
|
||||
"bubble": 1,
|
||||
"id": "obj-7",
|
||||
"linecount": 6,
|
||||
"maxclass": "comment",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 0,
|
||||
"patching_rect": [ 271.0, 342.0, 222.0, 91.0 ],
|
||||
"text": "Double-click to recall a preset (because @select_mode is enabled)\nThis will cause a preset interpolation because @recall_passthrough is disabled and additionnal logic has been added in [p interp]"
|
||||
}
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"id": "obj-3",
|
||||
"items": [ "Preset", "number", "|", "name", ",", "Preset", "number", ",", "Preset", "name" ],
|
||||
"items": [ "Preset", "number", "+", "name", ",", "Preset", "number", ",", "Preset", "name" ],
|
||||
"maxclass": "umenu",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 3,
|
||||
"outlettype": [ "int", "", "" ],
|
||||
"parameter_enable": 0,
|
||||
"patching_rect": [ 235.0, 549.0, 155.0, 22.0 ]
|
||||
"patching_rect": [ 284.0, 563.0, 155.0, 22.0 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -848,7 +859,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -1070,7 +1081,7 @@
|
||||
"numinlets": 1,
|
||||
"numoutlets": 3,
|
||||
"outlettype": [ "", "", "" ],
|
||||
"patching_rect": [ 293.0, 378.0, 40.0, 22.0 ],
|
||||
"patching_rect": [ 279.0, 438.0, 40.0, 22.0 ],
|
||||
"restore": [ 0.873015873015873, 0.714285714285714, 0.587301587301587, 0.46031746031746, 0.301587301587302, 0.174603174603175, 0.015873015873016, -0.111111111111111, -0.238095238095238, -0.333333333333333, -0.428571428571429, -0.523809523809524, -0.587301587301587, -0.682539682539683, -0.777777777777778, -0.873015873015873 ],
|
||||
"saved_object_attributes": {
|
||||
"parameter_enable": 0,
|
||||
@@ -1088,21 +1099,11 @@
|
||||
"numoutlets": 2,
|
||||
"outlettype": [ "", "" ],
|
||||
"parameter_enable": 0,
|
||||
"patching_rect": [ 304.0, 405.0, 136.0, 78.0 ],
|
||||
"patching_rect": [ 290.0, 465.0, 136.0, 78.0 ],
|
||||
"size": 16,
|
||||
"varname": "multislider"
|
||||
}
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"id": "obj-30",
|
||||
"maxclass": "comment",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 0,
|
||||
"patching_rect": [ 337.0, 379.0, 118.0, 20.0 ],
|
||||
"text": "Some data to store"
|
||||
}
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"id": "obj-24",
|
||||
@@ -1121,7 +1122,7 @@
|
||||
"maxclass": "comment",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 0,
|
||||
"patching_rect": [ 404.0, 527.0, 261.0, 87.0 ],
|
||||
"patching_rect": [ 441.0, 530.5, 261.0, 87.0 ],
|
||||
"text": "Make the preset menu to be populated by the preset number and/or their name.\nIn modes 0 and 2, use the leftmost outlet of umenu prepended by the recall_filled message to recall the correct preset. In mode 1, you can use the umenu's middle outlet directly."
|
||||
}
|
||||
},
|
||||
@@ -1189,7 +1190,7 @@
|
||||
{
|
||||
"box": {
|
||||
"id": "obj-17",
|
||||
"items": [ 1, "up", ",", 2, "down", ",", 3, "sine", ",", 4, "random", ",", 7, "W" ],
|
||||
"items": [ 1, "up", ",", 2, "down", ",", 3, "sine", ",", 4, "random", ",", 7, "W", ",", 17, "Bell" ],
|
||||
"maxclass": "umenu",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 3,
|
||||
@@ -1202,43 +1203,42 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1.0 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1.0 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "pattrstorage", "tcpreset_help" ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "select_mode", 1 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "ui_rename", 1 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "nbslot_edit", 1 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "select_mode", 1 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "recall_passthrough", 0 ],
|
||||
[ "poll_edited", 1 ],
|
||||
[ "margin", 4 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "layout", 0 ],
|
||||
[ "slot_round", 0 ]
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "poll_edited", 1 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1.0 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "margin", 4 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1.0 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1.0 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "recall_passthrough", 0 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "pattrstorage", "tcpreset_help" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "nbslot_edit", 1 ]
|
||||
],
|
||||
"filename": "tc.preset.js",
|
||||
"id": "obj-10",
|
||||
@@ -1387,7 +1387,7 @@
|
||||
"numoutlets": 1,
|
||||
"outlettype": [ "" ],
|
||||
"parameter_enable": 0,
|
||||
"patching_rect": [ 235.0, 577.0, 117.0, 22.0 ],
|
||||
"patching_rect": [ 284.0, 591.0, 117.0, 22.0 ],
|
||||
"text_width": 87.0
|
||||
}
|
||||
},
|
||||
@@ -1582,7 +1582,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -1611,7 +1611,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -1660,43 +1660,42 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1.0 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1.0 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "pattrstorage", "mypat" ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "ui_rename", 1 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "nbslot_edit", 1 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "margin", 4 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "scrollable", 1 ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "layout", 1 ],
|
||||
[ "slot_round", 0 ]
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "scrollable", 1 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1.0 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "margin", 4 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1.0 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1.0 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "pattrstorage", "mypat" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "nbslot_edit", 1 ]
|
||||
],
|
||||
"filename": "tc.preset.js",
|
||||
"id": "obj-10",
|
||||
@@ -1780,7 +1779,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -1801,44 +1800,44 @@
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1.0 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1.0 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "pattrstorage", "mypat" ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "ui_rename", 0 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "nbslot_edit", 1 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "margin", 4 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "layout", 0 ],
|
||||
[ "slot_round", 0 ]
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1.0 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "margin", 4 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1.0 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1.0 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "pattrstorage", "mypat" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "nbslot_edit", 1 ]
|
||||
],
|
||||
"filename": "tc.preset.js",
|
||||
"id": "obj-2",
|
||||
@@ -2051,7 +2050,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -2094,7 +2093,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -2360,43 +2359,42 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1.0 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1.0 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "pattrstorage", "mypat" ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "ui_rename", 1 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "nbslot_edit", 1 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "recall_passthrough", 0 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "margin", 4 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "layout", 0 ],
|
||||
[ "slot_round", 0 ]
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1.0 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "margin", 4 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1.0 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1.0 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "recall_passthrough", 0 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "pattrstorage", "mypat" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "nbslot_edit", 1 ]
|
||||
],
|
||||
"filename": "tc.preset.js",
|
||||
"id": "obj-10",
|
||||
@@ -2509,7 +2507,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -2526,6 +2524,7 @@
|
||||
"keymode": 1,
|
||||
"lines": 1,
|
||||
"maxclass": "textedit",
|
||||
"nosymquotes": 1,
|
||||
"numinlets": 1,
|
||||
"numoutlets": 4,
|
||||
"outlettype": [ "", "int", "", "" ],
|
||||
@@ -2637,43 +2636,42 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1.0 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1.0 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "pattrstorage", "tcpreset_help" ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "ui_rename", 0 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "nbslot_edit", 1 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "margin", 4 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "scrollable", 1 ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "layout", 1 ],
|
||||
[ "slot_round", 0 ]
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "scrollable", 1 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1.0 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "margin", 4 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1.0 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1.0 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "pattrstorage", "tcpreset_help" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "nbslot_edit", 1 ]
|
||||
],
|
||||
"filename": "tc.preset.js",
|
||||
"id": "obj-10",
|
||||
@@ -2956,14 +2954,29 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
"classnamespace": "box",
|
||||
"rect": [ 100.0, 126.0, 899.0, 620.0 ],
|
||||
"rect": [ 0.0, 26.0, 899.0, 620.0 ],
|
||||
"showontab": 1,
|
||||
"boxes": [
|
||||
{
|
||||
"box": {
|
||||
"bubble": 1,
|
||||
"bubble_bgcolor": [ 0.38823529411764707, 0.17254901960784313, 0.17254901960784313, 1.0 ],
|
||||
"bubbleside": 2,
|
||||
"id": "obj-28",
|
||||
"linecount": 4,
|
||||
"maxclass": "comment",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 0,
|
||||
"patching_rect": [ 182.0, 231.5, 393.0, 79.0 ],
|
||||
"text": "For color modes 2 and 3, and use_uid to work, you need to add a pattr object named 'preset_metadata' to your patch. If using subscribe mode, make sure to add preset_metadata to the pattrstorage's subscribe list.\nPreset color data will be stored just like your other parameters.",
|
||||
"textcolor": [ 0.8156862745098039, 0.8156862745098039, 0.8156862745098039, 1.0 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"hidden": 1,
|
||||
@@ -3103,7 +3116,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -3155,7 +3168,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -3548,7 +3561,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -3860,7 +3873,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -4004,20 +4017,6 @@
|
||||
"text": "p color_wheel"
|
||||
}
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"bubble": 1,
|
||||
"bubble_bgcolor": [ 0.815686274509804, 0.650980392156863, 0.650980392156863, 1.0 ],
|
||||
"bubbleside": 2,
|
||||
"id": "obj-28",
|
||||
"linecount": 4,
|
||||
"maxclass": "comment",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 0,
|
||||
"patching_rect": [ 182.0, 231.5, 393.0, 79.0 ],
|
||||
"text": "For color modes 2 and 3, and use_uid to work, you need to add a pattr object named 'preset_metadata' to your patch. If using subscribe mode, make sure to add preset_metadata to the pattrstorage's subscribe list.\nPreset color data will be stored just like your other parameters."
|
||||
}
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"id": "obj-6",
|
||||
@@ -4048,7 +4047,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -4288,43 +4287,42 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1.0 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1.0 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "pattrstorage", "colors" ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "color_mode", 1 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "ui_rename", 0 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "nbslot_edit", 1 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "use_uid", 1 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "margin", 4 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "layout", 0 ],
|
||||
[ "slot_round", 0 ]
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "use_uid", 1 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1.0 ],
|
||||
[ "color_mode", 1 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "margin", 4 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1.0 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1.0 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "pattrstorage", "colors" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "nbslot_edit", 1 ]
|
||||
],
|
||||
"filename": "tc.preset.js",
|
||||
"id": "obj-10",
|
||||
@@ -4606,12 +4604,12 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
"classnamespace": "box",
|
||||
"rect": [ 0.0, 26.0, 899.0, 620.0 ],
|
||||
"rect": [ 100.0, 126.0, 899.0, 620.0 ],
|
||||
"default_fontsize": 13.0,
|
||||
"gridsize": [ 5.0, 5.0 ],
|
||||
"showontab": 1,
|
||||
@@ -4780,7 +4778,7 @@
|
||||
{
|
||||
"box": {
|
||||
"id": "obj-8",
|
||||
"items": [ 1, "up", ",", 2, "down", ",", 3, "sine", ",", 4, "random", ",", 7, "W" ],
|
||||
"items": [ 1, "up", ",", 2, "down", ",", 3, "sine", ",", 4, "random", ",", 7, "W", ",", 17, "Bell" ],
|
||||
"maxclass": "umenu",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 3,
|
||||
@@ -4793,43 +4791,42 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1.0 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1.0 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "pattrstorage", "tcpreset_help" ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "ui_rename", 0 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "nbslot_edit", 1 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "margin", 4 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "layout", 0 ],
|
||||
[ "slot_round", 0 ]
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1.0 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "margin", 4 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1.0 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1.0 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "pattrstorage", "tcpreset_help" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "nbslot_edit", 1 ]
|
||||
],
|
||||
"filename": "tc.preset.js",
|
||||
"id": "obj-10",
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
"classnamespace": "box",
|
||||
"rect": [ 368.0, 140.0, 900.0, 646.0 ],
|
||||
"rect": [ 322.0, 100.0, 900.0, 648.0 ],
|
||||
"showrootpatcherontab": 0,
|
||||
"showontab": 0,
|
||||
"boxes": [
|
||||
@@ -24,12 +24,12 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
"classnamespace": "box",
|
||||
"rect": [ 0.0, 26.0, 900.0, 620.0 ],
|
||||
"rect": [ 0.0, 26.0, 900.0, 622.0 ],
|
||||
"showontab": 1,
|
||||
"boxes": [
|
||||
{
|
||||
@@ -40,7 +40,7 @@
|
||||
"numinlets": 1,
|
||||
"numoutlets": 0,
|
||||
"patching_rect": [ 519.0, 236.0, 350.0, 47.0 ],
|
||||
"text": "V8UI version in Max 9.0.0 to 9.0.5: ui_rename and automatic pattrstorage linking won't work, since jsmaxobj patchcords property vor v8ui has been added in Max 9.0.6."
|
||||
"text": "V8UI version in Max 9.0.0 to 9.0.5: ui_rename and automatic pattrstorage linking won't work, since jsmaxobj patchcords property for v8ui has been added in Max 9.0.6."
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -119,7 +119,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -141,9 +141,9 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
@@ -154,9 +154,9 @@
|
||||
[ "color_mode", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "layout", 0 ],
|
||||
@@ -172,9 +172,8 @@
|
||||
[ "send_name", "none" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1 ],
|
||||
[ "ui_rename", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "use_uid", 0 ]
|
||||
@@ -261,7 +260,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -272,9 +271,9 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
@@ -285,9 +284,9 @@
|
||||
[ "color_mode", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "layout", 0 ],
|
||||
@@ -303,9 +302,8 @@
|
||||
[ "send_name", "none" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1 ],
|
||||
[ "ui_rename", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "use_uid", 0 ]
|
||||
@@ -380,7 +378,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -389,44 +387,44 @@
|
||||
"boxes": [
|
||||
{
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1.0 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1.0 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "pattrstorage", "mypat" ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "ui_rename", 0 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "nbslot_edit", 1 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "margin", 4 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "layout", 0 ],
|
||||
[ "slot_round", 0 ]
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1.0 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "margin", 4 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1.0 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1.0 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "pattrstorage", "mypat" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "nbslot_edit", 1 ]
|
||||
],
|
||||
"filename": "tc.preset",
|
||||
"id": "obj-1",
|
||||
@@ -552,12 +550,12 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
"classnamespace": "box",
|
||||
"rect": [ 0.0, 26.0, 900.0, 620.0 ],
|
||||
"rect": [ 0.0, 26.0, 900.0, 622.0 ],
|
||||
"showontab": 1,
|
||||
"boxes": [],
|
||||
"lines": []
|
||||
@@ -593,12 +591,12 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
"classnamespace": "box",
|
||||
"rect": [ 0.0, 26.0, 900.0, 620.0 ],
|
||||
"rect": [ 0.0, 26.0, 900.0, 622.0 ],
|
||||
"showontab": 1,
|
||||
"boxes": [
|
||||
{
|
||||
@@ -964,7 +962,7 @@
|
||||
{
|
||||
"box": {
|
||||
"id": "obj-17",
|
||||
"items": [ 1, "up", ",", 2, "down", ",", 3, "sine", ",", 4, "random", ",", 7, "W" ],
|
||||
"items": [ 1, "up", ",", 2, "down", ",", 3, "sine", ",", 4, "random", ",", 7, "W", ",", 17, "Bell" ],
|
||||
"maxclass": "umenu",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 3,
|
||||
@@ -1064,9 +1062,9 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
@@ -1077,9 +1075,9 @@
|
||||
[ "color_mode", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "layout", 0 ],
|
||||
@@ -1095,9 +1093,8 @@
|
||||
[ "send_name", "none" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1 ],
|
||||
[ "ui_rename", 0 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "use_uid", 0 ]
|
||||
@@ -1345,14 +1342,26 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
"classnamespace": "box",
|
||||
"rect": [ 0.0, 26.0, 900.0, 620.0 ],
|
||||
"rect": [ 0.0, 26.0, 900.0, 622.0 ],
|
||||
"showontab": 1,
|
||||
"boxes": [
|
||||
{
|
||||
"box": {
|
||||
"bubble": 1,
|
||||
"id": "obj-7",
|
||||
"linecount": 6,
|
||||
"maxclass": "comment",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 0,
|
||||
"patching_rect": [ 269.0, 342.0, 222.0, 91.0 ],
|
||||
"text": "Double-click to recall a preset (because @select_mode is enabled)\nThis will cause a preset interpolation because @recall_passthrough is disabled and additionnal logic has been added in [p interp]"
|
||||
}
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"id": "obj-11",
|
||||
@@ -1366,6 +1375,7 @@
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"color": [ 1.0, 0.0, 0.0, 1.0 ],
|
||||
"id": "obj-2",
|
||||
"maxclass": "newobj",
|
||||
"numinlets": 1,
|
||||
@@ -1376,7 +1386,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -1598,8 +1608,8 @@
|
||||
"numinlets": 1,
|
||||
"numoutlets": 3,
|
||||
"outlettype": [ "", "", "" ],
|
||||
"patching_rect": [ 293.0, 378.0, 40.0, 22.0 ],
|
||||
"restore": [ -0.714285714285714, -0.714285714285714, -0.6, -0.542857142857143, -0.457142857142857, -0.342857142857143, -0.171428571428571, -0.028571428571429, 0.028571428571428, 0.142857142857143, 0.228571428571429, 0.371428571428571, 0.485714285714286, 0.571428571428571, 0.714285714285714, 0.8 ],
|
||||
"patching_rect": [ 282.0, 443.0, 40.0, 22.0 ],
|
||||
"restore": [ 0.873015873015873, 0.714285714285714, 0.587301587301587, 0.46031746031746, 0.301587301587302, 0.174603174603175, 0.015873015873016, -0.111111111111111, -0.238095238095238, -0.333333333333333, -0.428571428571429, -0.523809523809524, -0.587301587301587, -0.682539682539683, -0.777777777777778, -0.873015873015873 ],
|
||||
"saved_object_attributes": {
|
||||
"parameter_enable": 0,
|
||||
"parameter_mappable": 0
|
||||
@@ -1616,21 +1626,11 @@
|
||||
"numoutlets": 2,
|
||||
"outlettype": [ "", "" ],
|
||||
"parameter_enable": 0,
|
||||
"patching_rect": [ 304.0, 405.0, 136.0, 78.0 ],
|
||||
"patching_rect": [ 293.0, 470.0, 136.0, 78.0 ],
|
||||
"size": 16,
|
||||
"varname": "multislider"
|
||||
}
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"id": "obj-30",
|
||||
"maxclass": "comment",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 0,
|
||||
"patching_rect": [ 337.0, 379.0, 118.0, 20.0 ],
|
||||
"text": "Some data to store"
|
||||
}
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"id": "obj-24",
|
||||
@@ -1717,7 +1717,7 @@
|
||||
{
|
||||
"box": {
|
||||
"id": "obj-17",
|
||||
"items": [ 1, "up", ",", 2, "down", ",", 3, "sine", ",", 4, "random", ",", 7, "W" ],
|
||||
"items": [ 1, "up", ",", 2, "down", ",", 3, "sine", ",", 4, "random", ",", 7, "W", ",", 17, "Bell" ],
|
||||
"maxclass": "umenu",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 3,
|
||||
@@ -1730,9 +1730,9 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
@@ -1743,9 +1743,9 @@
|
||||
[ "color_mode", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "layout", 0 ],
|
||||
@@ -1761,9 +1761,8 @@
|
||||
[ "send_name", "none" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1 ],
|
||||
[ "ui_rename", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "use_uid", 0 ]
|
||||
@@ -2116,12 +2115,12 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
"classnamespace": "box",
|
||||
"rect": [ 0.0, 26.0, 900.0, 620.0 ],
|
||||
"rect": [ 0.0, 26.0, 900.0, 622.0 ],
|
||||
"showontab": 1,
|
||||
"boxes": [
|
||||
{
|
||||
@@ -2145,7 +2144,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -2165,44 +2164,44 @@
|
||||
},
|
||||
{
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1.0 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1.0 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "pattrstorage", "mypat" ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "ui_rename", 0 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "menu_mode", 0 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "nbslot_edit", 1 ],
|
||||
[ "color_4", 0.367, 0.542, 0.712, 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "select_mode", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "margin", 4 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "layout", 0 ],
|
||||
[ "slot_round", 0 ]
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "poll_edited", 0 ],
|
||||
[ "scrollable", 0 ],
|
||||
[ "use_uid", 0 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1.0 ],
|
||||
[ "color_mode", 0 ],
|
||||
[ "color_5", 0.283, 0.606, 0.559, 1 ],
|
||||
[ "min_rows", 10 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "margin", 4 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1.0 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1.0 ],
|
||||
[ "color_3", 0.527, 0.459, 0.756, 1 ],
|
||||
[ "send_name", "none" ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "recall_passthrough", 1 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "pattrstorage", "mypat" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_6", 0.316, 0.616, 0.377, 1 ],
|
||||
[ "nbslot_edit", 1 ]
|
||||
],
|
||||
"filename": "tc.preset",
|
||||
"id": "obj-1",
|
||||
@@ -2324,7 +2323,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -2373,9 +2372,9 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
@@ -2386,9 +2385,9 @@
|
||||
[ "color_mode", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "layout", 1 ],
|
||||
@@ -2404,9 +2403,8 @@
|
||||
[ "send_name", "none" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1 ],
|
||||
[ "ui_rename", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "use_uid", 0 ]
|
||||
@@ -2499,7 +2497,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -2508,10 +2506,11 @@
|
||||
"boxes": [
|
||||
{
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
@@ -2522,9 +2521,9 @@
|
||||
[ "color_mode", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "layout", 0 ],
|
||||
@@ -2540,9 +2539,8 @@
|
||||
[ "send_name", "none" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1 ],
|
||||
[ "ui_rename", 0 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "use_uid", 0 ]
|
||||
@@ -2758,7 +2756,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -2801,7 +2799,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -3067,9 +3065,9 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
@@ -3080,9 +3078,9 @@
|
||||
[ "color_mode", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "layout", 0 ],
|
||||
@@ -3098,9 +3096,8 @@
|
||||
[ "send_name", "none" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1 ],
|
||||
[ "ui_rename", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "use_uid", 0 ]
|
||||
@@ -3222,12 +3219,12 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
"classnamespace": "box",
|
||||
"rect": [ 0.0, 26.0, 900.0, 620.0 ],
|
||||
"rect": [ 0.0, 26.0, 900.0, 622.0 ],
|
||||
"showontab": 1,
|
||||
"boxes": [
|
||||
{
|
||||
@@ -3239,6 +3236,7 @@
|
||||
"keymode": 1,
|
||||
"lines": 1,
|
||||
"maxclass": "textedit",
|
||||
"nosymquotes": 1,
|
||||
"numinlets": 1,
|
||||
"numoutlets": 4,
|
||||
"outlettype": [ "", "int", "", "" ],
|
||||
@@ -3326,9 +3324,9 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
@@ -3339,9 +3337,9 @@
|
||||
[ "color_mode", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "layout", 1 ],
|
||||
@@ -3357,9 +3355,8 @@
|
||||
[ "send_name", "none" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1 ],
|
||||
[ "ui_rename", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "use_uid", 0 ]
|
||||
@@ -3644,12 +3641,12 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
"classnamespace": "box",
|
||||
"rect": [ 0.0, 26.0, 900.0, 620.0 ],
|
||||
"rect": [ 322.0, 126.0, 900.0, 622.0 ],
|
||||
"showontab": 1,
|
||||
"boxes": [
|
||||
{
|
||||
@@ -3768,7 +3765,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -3820,7 +3817,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -4213,7 +4210,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -4525,7 +4522,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -4672,7 +4669,7 @@
|
||||
{
|
||||
"box": {
|
||||
"bubble": 1,
|
||||
"bubble_bgcolor": [ 0.8156862745098039, 0.6509803921568628, 0.6509803921568628, 1.0 ],
|
||||
"bubble_bgcolor": [ 0.38823529411764707, 0.17254901960784313, 0.17254901960784313, 1.0 ],
|
||||
"bubbleside": 2,
|
||||
"id": "obj-28",
|
||||
"linecount": 4,
|
||||
@@ -4680,7 +4677,8 @@
|
||||
"numinlets": 1,
|
||||
"numoutlets": 0,
|
||||
"patching_rect": [ 182.0, 231.5, 393.0, 79.0 ],
|
||||
"text": "For color modes 2 and 3, and use_uid to work, you need to add a pattr object named 'preset_metadata' to your patch. If using subscribe mode, make sure to add preset_metadata to the pattrstorage's subscribe list.\nPreset color data will be stored just like your other parameters."
|
||||
"text": "For color modes 2 and 3, and use_uid to work, you need to add a pattr object named 'preset_metadata' to your patch. If using subscribe mode, make sure to add preset_metadata to the pattrstorage's subscribe list.\nPreset color data will be stored just like your other parameters.",
|
||||
"textcolor": [ 0.8156862745098039, 0.8156862745098039, 0.8156862745098039, 1.0 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -4713,7 +4711,7 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
@@ -4953,9 +4951,9 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
@@ -4966,9 +4964,9 @@
|
||||
[ "color_mode", 1 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "layout", 0 ],
|
||||
@@ -4984,9 +4982,8 @@
|
||||
[ "send_name", "none" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1 ],
|
||||
[ "ui_rename", 0 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "use_uid", 1 ]
|
||||
@@ -5269,12 +5266,12 @@
|
||||
"appversion": {
|
||||
"major": 9,
|
||||
"minor": 1,
|
||||
"revision": 0,
|
||||
"revision": 2,
|
||||
"architecture": "x64",
|
||||
"modernui": 1
|
||||
},
|
||||
"classnamespace": "box",
|
||||
"rect": [ 368.0, 166.0, 900.0, 620.0 ],
|
||||
"rect": [ 0.0, 26.0, 900.0, 622.0 ],
|
||||
"default_fontsize": 13.0,
|
||||
"gridsize": [ 5.0, 5.0 ],
|
||||
"showontab": 1,
|
||||
@@ -5422,7 +5419,7 @@
|
||||
{
|
||||
"box": {
|
||||
"id": "obj-8",
|
||||
"items": [ 1, "up", ",", 2, "down", ",", 3, "sine", ",", 4, "random", ",", 7, "W" ],
|
||||
"items": [ 1, "up", ",", 2, "down", ",", 3, "sine", ",", 4, "random", ",", 7, "W", ",", 17, "Bell" ],
|
||||
"maxclass": "umenu",
|
||||
"numinlets": 1,
|
||||
"numoutlets": 3,
|
||||
@@ -5435,9 +5432,9 @@
|
||||
"box": {
|
||||
"border": 0,
|
||||
"embedstate": [
|
||||
[ "active_slot_color", 0.808, 0.898, 0.91, 1 ],
|
||||
[ "active_slot_color", 0.618934978328545, 0.744701397656435, 0.953750108255376, 1 ],
|
||||
[ "autowriteagain", 0 ],
|
||||
[ "bgcolor", 0.2, 0.2, 0.2, 1 ],
|
||||
[ "bgcolor", 0.125, 0.125, 0.125, 1 ],
|
||||
[ "bubblesize", 14 ],
|
||||
[ "color_1", 0.743, 0.41, 0.501, 1 ],
|
||||
[ "color_2", 0.679, 0.405, 0.669, 1 ],
|
||||
@@ -5448,9 +5445,9 @@
|
||||
[ "color_mode", 0 ],
|
||||
[ "display_interp", 1 ],
|
||||
[ "edited_color", 1, 0.49, 0.263, 1 ],
|
||||
[ "empty_slot_color", 0.349, 0.349, 0.349, 1 ],
|
||||
[ "empty_slot_color", 0.221327066888467, 0.221327006361825, 0.221327022178404, 1 ],
|
||||
[ "fontname", "Arial" ],
|
||||
[ "fontsize", 14 ],
|
||||
[ "fontsize", 13 ],
|
||||
[ "ignoreslotzero", 1 ],
|
||||
[ "interp_slot_color", 1, 1, 1, 0.8 ],
|
||||
[ "layout", 0 ],
|
||||
@@ -5466,9 +5463,8 @@
|
||||
[ "send_name", "none" ],
|
||||
[ "slot_round", 0 ],
|
||||
[ "spacing", 4 ],
|
||||
[ "stored_slot_color", 0.502, 0.502, 0.502, 1 ],
|
||||
[ "text_bg_color", 1, 1, 1, 0.5 ],
|
||||
[ "text_color", 0.129, 0.129, 0.129, 1 ],
|
||||
[ "stored_slot_color", 0.458595350062755, 0.458595237564901, 0.458595266962388, 1 ],
|
||||
[ "text_color", 0.85, 0.85, 0.85, 1 ],
|
||||
[ "ui_rename", 1 ],
|
||||
[ "unique_names", 0 ],
|
||||
[ "use_uid", 0 ]
|
||||
|
||||
@@ -46,17 +46,17 @@ var slot_round_ratio = 0;
|
||||
var margin = 4;
|
||||
var spacing = 4;
|
||||
|
||||
var font_size = 14;
|
||||
var font_size = 13;
|
||||
var font_name = "Arial";
|
||||
|
||||
var background_color = [0.2, 0.2, 0.2, 1];
|
||||
var empty_slot_color = [0.349, 0.349, 0.349, 1];
|
||||
var active_slot_color = [0.808, 0.898, 0.910, 1];
|
||||
var stored_slot_color = [0.502, 0.502, 0.502, 1];
|
||||
var background_color = max.getcolor("theme_bgcolor"); //[0.2, 0.2, 0.2, 1];
|
||||
var empty_slot_color = max.getcolor("theme_elementcolor"); //[0.349, 0.349, 0.349, 1];
|
||||
var active_slot_color = max.getcolor("theme_color"); //[0.808, 0.898, 0.910, 1];
|
||||
var stored_slot_color = max.getcolor("theme_accentcolor"); //[0.502, 0.502, 0.502, 1];
|
||||
var interp_slot_color = [1.0, 1.0, 1.0, 0.8];
|
||||
var border_color = [1.0, 1.0, 1.0, 0.85];
|
||||
var text_bg_color = [1,1,1, 0.5];
|
||||
var text_color = [0.129, 0.129, 0.129, 1];
|
||||
var text_color = max.getcolor("theme_textcolor"); //[0.129, 0.129, 0.129, 1];
|
||||
var text_bg_color = set_text_bg_color();
|
||||
var edited_color = [1, 0.49, 0.263, 1];
|
||||
|
||||
var color_1 = [0.743, 0.41, 0.501, 1]; // Color set for the filled slots. I don't like how this is declared. More info in color_wheel() declaration
|
||||
@@ -125,6 +125,7 @@ var drag_scroll = 0; // handle scrolling when dragging outside of boundaries
|
||||
var shift_hold = 0;
|
||||
var option_hold = 0;
|
||||
var control_hold = 0;
|
||||
var is_updating_names = 0;
|
||||
var is_interpolating = 0;
|
||||
var is_moving = 0;
|
||||
var is_dragging = 0; // Drag flag
|
||||
@@ -156,7 +157,7 @@ if (jsarguments.length>1) { // Depreciated, use "pattrstorage" attribute instead
|
||||
}
|
||||
|
||||
// FUNCTIONS
|
||||
function slot(left, top, right, bottom, name, lock, interp, color_index, color_custom, uid) {
|
||||
function slot(left, top, right, bottom, name, lock, interp, color_index, color_custom, uid, filled) {
|
||||
this.left = left;
|
||||
this.top = top;
|
||||
this.right = right;
|
||||
@@ -167,6 +168,7 @@ function slot(left, top, right, bottom, name, lock, interp, color_index, color_c
|
||||
this.color_index = color_index;
|
||||
this.color_custom = color_custom;
|
||||
this.uid = uid;
|
||||
this.filled = filled;
|
||||
|
||||
this.init = function() {
|
||||
this.left = 0;
|
||||
@@ -178,6 +180,7 @@ function slot(left, top, right, bottom, name, lock, interp, color_index, color_c
|
||||
this.interp = -1;
|
||||
this.init_color();
|
||||
this.uid = 0;
|
||||
this.filled = false;
|
||||
}
|
||||
|
||||
this.init_color = function() {
|
||||
@@ -192,6 +195,7 @@ function slot(left, top, right, bottom, name, lock, interp, color_index, color_c
|
||||
this.color_index = 0;
|
||||
this.color_custom = stored_slot_color;
|
||||
this.uid = 0;
|
||||
this.filled = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -288,7 +292,7 @@ function calc_rows_columns() {
|
||||
if (typeof slots[cur] !== 'undefined') {
|
||||
prev_state = slots[cur];
|
||||
}
|
||||
slots[cur] = new slot(left, top, right, bottom, prev_state.name, prev_state.lock, prev_state.interp, prev_state.color_index, prev_state.color_custom, prev_state.uid);
|
||||
slots[cur] = new slot(left, top, right, bottom, prev_state.name, prev_state.lock, prev_state.interp, prev_state.color_index, prev_state.color_custom, prev_state.uid, prev_state.filled);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -324,7 +328,7 @@ function draw_slot(id, scale, cont) {
|
||||
var bg_txt_dim_w = ui_width - (2*margin + slot_size + spacing);
|
||||
var bg_txt_dim_h = slot_size;
|
||||
|
||||
if (slots[id].name != null) {
|
||||
if (slots[id].filled) {
|
||||
cont.set_source_rgba(stored_slot_color);
|
||||
} else {
|
||||
cont.set_source_rgba(empty_slot_color);
|
||||
@@ -404,7 +408,7 @@ function format_slot_name(id) {
|
||||
text = '[' + text + ']';
|
||||
}
|
||||
// If slot has a name, append it to the preset name
|
||||
if (slots[id].name != null) {
|
||||
if ([null, '<(unnamed)>'].indexOf(slots[id].name) < 0 ) {
|
||||
text += ': ' + slots[id].name;
|
||||
}
|
||||
text = text.toString();
|
||||
@@ -430,7 +434,7 @@ function paint_base() {
|
||||
// All slots
|
||||
for (var i = 1; i <= true_slots_count_display; i++) {
|
||||
if (i != drag_slot) { //We mask the slot that is currently dragged as it is drawn at the mouse position already
|
||||
if (slots[i].name != null) {
|
||||
if (slots[i].filled == true) {
|
||||
if (color_mode == 1) {
|
||||
mg.set_source_rgba(color_wheel_custom[i % color_wheel_size]);
|
||||
} else if (color_mode == 2) {
|
||||
@@ -548,20 +552,22 @@ function paint()
|
||||
if (last_hovered > -1) {
|
||||
|
||||
// Slot border
|
||||
if (slots[last_hovered].name == null || (slots[last_hovered].name != null && !control_hold)) {
|
||||
mgraphics.set_source_rgba(border_color[0], border_color[1], border_color[2], 0.8 * border_color[3]);
|
||||
if (slots[last_hovered].filled == false || (slots[last_hovered].filled == true && !control_hold)) {
|
||||
mgraphics.set_source_rgba(text_color[0], text_color[1], text_color[2], 0.8 * text_color[3]);
|
||||
mgraphics.set_line_width(1);
|
||||
draw_slot_bubble(slots[last_hovered].left, slots[last_hovered].top, slot_size, slot_size);
|
||||
mgraphics.stroke();
|
||||
}
|
||||
|
||||
if (last_hovered_is_preset_slot) {
|
||||
var stroke_width = Math.round(1 + slot_size / 10);
|
||||
stroke_width = Math.max(2, stroke_width);
|
||||
if (shift_hold) {
|
||||
if (control_hold && slots[last_hovered].name !== null) {
|
||||
if (control_hold && slots[last_hovered].filled == true) {
|
||||
// About to lock/unlock
|
||||
var bracket_size = slot_size * 0.2;
|
||||
mgraphics.set_source_rgba(border_color);
|
||||
mgraphics.set_line_width(2);
|
||||
mgraphics.set_source_rgba(text_color);
|
||||
mgraphics.set_line_width(stroke_width);
|
||||
mgraphics.move_to(slots[last_hovered].left + bracket_size, slots[last_hovered].top);
|
||||
mgraphics.rel_line_to(-bracket_size, 0);
|
||||
mgraphics.rel_line_to(0, slot_size);
|
||||
@@ -571,9 +577,9 @@ function paint()
|
||||
mgraphics.rel_line_to(0, slot_size);
|
||||
mgraphics.rel_line_to(-bracket_size, 0);
|
||||
mgraphics.stroke();
|
||||
} else if (option_hold && !control_hold && slots[last_hovered].name !== null) {
|
||||
} else if (option_hold && !control_hold && slots[last_hovered].filled == true) {
|
||||
// About to delete
|
||||
mgraphics.set_source_rgba(empty_slot_color[0], empty_slot_color[1], empty_slot_color[2], 0.8);
|
||||
mgraphics.set_source_rgba(0, 0, 0, 0.5);
|
||||
draw_slot_bubble(slots[last_hovered].left + 1, slots[last_hovered].top + 1, slot_size-2, slot_size-2);
|
||||
mgraphics.fill();
|
||||
} else if (!control_hold && !option_hold){
|
||||
@@ -582,14 +588,14 @@ function paint()
|
||||
draw_slot_bubble(slots[last_hovered].left + 1, slots[last_hovered].top + 1, slot_size-2, slot_size-2);
|
||||
mgraphics.fill();
|
||||
}
|
||||
} else if (control_hold && slots[last_hovered].name !== null) {
|
||||
} else if (control_hold && slots[last_hovered].filled == true) {
|
||||
// About to rename
|
||||
mgraphics.set_source_rgba(border_color);
|
||||
mgraphics.set_line_width(2);
|
||||
mgraphics.move_to(slots[last_hovered].left, slots[last_hovered].top);
|
||||
mgraphics.rel_line_to(slot_size, 0);
|
||||
mgraphics.move_to(slots[last_hovered].left, slots[last_hovered].bottom);
|
||||
mgraphics.rel_line_to(slot_size, 0);
|
||||
mgraphics.set_source_rgba(text_color);
|
||||
mgraphics.set_line_width(stroke_width);
|
||||
mgraphics.move_to(slots[last_hovered].left - 1, slots[last_hovered].top);
|
||||
mgraphics.rel_line_to(slot_size + 2, 0);
|
||||
mgraphics.move_to(slots[last_hovered].left - 1, slots[last_hovered].bottom);
|
||||
mgraphics.rel_line_to(slot_size + 2, 0);
|
||||
mgraphics.stroke();
|
||||
}
|
||||
}
|
||||
@@ -607,18 +613,18 @@ function paint()
|
||||
text = format_slot_name(last_hovered);
|
||||
}
|
||||
var text_dim = mgraphics.text_measure(text);
|
||||
// If the text is too big or a slot is being dragged, display the text on top of the next slot.
|
||||
// Otherwise, it gets displayed on the hovered slot.
|
||||
|
||||
// Display the text bubble on top of the next slot to avoid hiding slots borders (useful when attempting to lock/rename/delete)
|
||||
var bg_txt_dim_w = text_dim[0] > slot_size ? text_dim[0] + 4 : slot_size + 4;
|
||||
var bg_txt_dim_h = text_dim[1] > slot_size ? text_dim[1] + 4 : slot_size + 4;
|
||||
var bg_txt_pos_x = text_dim[0] > slot_size || is_dragging ? slots[last_hovered].left + slot_size + 2: slots[last_hovered].left - 2;
|
||||
var bg_txt_pos_y = text_dim[1] > slot_size || is_dragging ? slots[last_hovered].top - 2 : slots[last_hovered].top - 2;
|
||||
|
||||
var bg_txt_pos_x = slots[last_hovered].right + 2;
|
||||
var bg_txt_pos_y = slots[last_hovered].top - 2;
|
||||
|
||||
// If there is not enough place on the right and if there is more available place on the left, text is displayed on the left
|
||||
var arrow_on_left = true;
|
||||
if (bg_txt_pos_x + bg_txt_dim_w > ui_width && slots[last_hovered].left - half_spacing > ui_width - slots[last_hovered].right) {
|
||||
bg_txt_pos_x = slots[last_hovered].left - half_spacing - bg_txt_dim_w;
|
||||
arrow_on_left = false;
|
||||
}
|
||||
|
||||
var txt_pos_x = text_dim[0] > slot_size ? bg_txt_pos_x + half_spacing : bg_txt_pos_x + (bg_txt_dim_w / 2) - (text_dim[0]/2);
|
||||
@@ -627,9 +633,21 @@ function paint()
|
||||
// Bubble background
|
||||
mgraphics.set_source_rgba(text_bg_color);
|
||||
mgraphics.rectangle_rounded(bg_txt_pos_x, bg_txt_pos_y, bg_txt_dim_w, bg_txt_dim_h, 4, 4);
|
||||
// Draw an arrow pointing toward the preset slot
|
||||
if (arrow_on_left) {
|
||||
mgraphics.move_to(slots[last_hovered].right, slots[last_hovered].top + slot_size / 2);
|
||||
mgraphics.rel_line_to(2, 3);
|
||||
mgraphics.rel_line_to(0, -6);
|
||||
mgraphics.close_path();
|
||||
} else {
|
||||
mgraphics.move_to(slots[last_hovered].left, slots[last_hovered].top + slot_size / 2);
|
||||
mgraphics.rel_line_to(-2, 3);
|
||||
mgraphics.rel_line_to(0, -6);
|
||||
mgraphics.close_path();
|
||||
}
|
||||
mgraphics.fill();
|
||||
|
||||
// Buble text
|
||||
// Bubble text
|
||||
mgraphics.set_source_rgba(text_color);
|
||||
mgraphics.move_to(txt_pos_x, txt_pos_y);
|
||||
mgraphics.show_text(text.toString());
|
||||
@@ -871,17 +889,20 @@ function anything() {
|
||||
} else {
|
||||
slots[v].name = null;
|
||||
slots[v].interp = -1;
|
||||
slots[v].filled = 0;
|
||||
if (active_slot == v) {
|
||||
active_slot = 0;
|
||||
} else if (previous_active_slot == v) {
|
||||
selected_slot = 0;
|
||||
}
|
||||
if (previous_active_slot == v) {
|
||||
previous_active_slot = 0;
|
||||
}
|
||||
|
||||
if (is_dragging == 0 && is_moving == 0) {
|
||||
to_pattrstorage("delete", v);
|
||||
to_pattrstorage("getslotlist");
|
||||
paint_base();
|
||||
set_active_slot(active_slot);
|
||||
paint_base();
|
||||
if (!is_dragging) {
|
||||
outlet(0, "delete", v);
|
||||
if (selected_slot == v) {
|
||||
@@ -947,8 +968,11 @@ function slotlist() {
|
||||
}
|
||||
}
|
||||
for (var i = 0; i < filled_slots.length; i++) {
|
||||
to_pattrstorage("getslotname", filled_slots[i]);
|
||||
// to_pattrstorage("getslotname", filled_slots[i]);
|
||||
slots[filled_slots[i]].filled = true;
|
||||
}
|
||||
is_updating_names = 1;
|
||||
to_pattrstorage("getslotnamelist");
|
||||
get_all_presets_metadata();
|
||||
update_filled_slots_dict();
|
||||
}
|
||||
@@ -956,8 +980,18 @@ function slotlist() {
|
||||
|
||||
function slotname() {
|
||||
var args = arrayfromargs(arguments);
|
||||
if (args[0] > 0 && args[1] != "(undefined)") {
|
||||
slots[args[0]].name = args[1];
|
||||
var slot = args[0];
|
||||
var name = args[1];
|
||||
if (slot == 'done') {
|
||||
is_updating_names = 0;
|
||||
return;
|
||||
}
|
||||
if (slot > 0 && name != "(undefined)") {
|
||||
if (is_updating_names == 1 && slots[slot].filled == false) {
|
||||
// Removing parenthesis automatically added by pattrstorage if the preset has a name but isn't filled
|
||||
name = name.slice(1, -1);
|
||||
}
|
||||
slots[slot].name = name;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1022,7 +1056,7 @@ function recall() {
|
||||
interp = Math.min( 1, Math.max(0, args[2]));
|
||||
}
|
||||
|
||||
if ((src_slot == 0 || (filled_slots.indexOf(src_slot) > -1 && slots[src_slot].name != null)) && (trg_slot == 0 || (filled_slots.indexOf(trg_slot) > -1 && slots[trg_slot].name != null))) {
|
||||
if ((src_slot == 0 || filled_slots.indexOf(src_slot) > -1) && (trg_slot == 0 || filled_slots.indexOf(trg_slot) > -1 )) {
|
||||
for (var i = 0; i < filled_slots.length; i++) {
|
||||
slots[filled_slots[i]].interp = -1;
|
||||
}
|
||||
@@ -1081,7 +1115,7 @@ function recall_filled() {
|
||||
var args = arrayfromargs(arguments);
|
||||
var index = args[0];
|
||||
if (index < filled_slots.length) {
|
||||
to_pattrstorage('recall', filled_slots[args[0]]);
|
||||
to_pattrstorage('recall', filled_slots[index]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1099,7 +1133,7 @@ function recallmulti() {
|
||||
|
||||
for (var i = 0; i < interp_slots.length; i++) {
|
||||
var nb = interp_slots[i][0];
|
||||
if (slots[nb].name != null) {
|
||||
if (slots[nb].filled == true) {
|
||||
interp_slots[i][1] /= summed_weight;
|
||||
} else {
|
||||
interp_slots[i][1] = -1;
|
||||
@@ -1212,7 +1246,7 @@ function move() {
|
||||
if (args.length < 2) return;
|
||||
var src_slot = args[0]; // Preset to move
|
||||
var dst_slot = args[1]; // Destination slot
|
||||
if (src_slot == dst_slot || !(src_slot <= slots_highest && dst_slot <= slots_count_display) || slots[src_slot].name == null) {
|
||||
if (src_slot == dst_slot || !(src_slot <= slots_highest && dst_slot <= slots_count_display) || slots[src_slot].filled == false) {
|
||||
if (is_dragging) {
|
||||
|
||||
}
|
||||
@@ -1223,8 +1257,8 @@ function move() {
|
||||
var cur_active_slot = active_slot;
|
||||
var cur_prev_active_slot = previous_active_slot;
|
||||
var cur_selected_slot = selected_slot;
|
||||
var offset = ((dst_slot <= src_slot) && slots[dst_slot].name != null) ? 1 : 0;
|
||||
var offset_others = slots[dst_slot].name != null ? 1 : 0;
|
||||
var offset = ((dst_slot <= src_slot) && slots[dst_slot].filled) ? 1 : 0;
|
||||
var offset_others = slots[dst_slot].filled == true ? 1 : 0;
|
||||
var src_slot_lock = slots[src_slot].lock;
|
||||
var recalc_rows_flag = 0;
|
||||
|
||||
@@ -1233,7 +1267,7 @@ function move() {
|
||||
lock(src_slot, 0);
|
||||
}
|
||||
// If new slot is empty we just move the drag preset here. If it's not, we move al next slots to the right
|
||||
if (slots[dst_slot].name !== null) {
|
||||
if (slots[dst_slot].filled == true) {
|
||||
if (slots_highest == slots_count_display) {
|
||||
// If there's a stored preset in the last displayed slot, it will be pushed to a new row at insert, so we need to add a new row at redraw
|
||||
recalc_rows_flag = 1;
|
||||
@@ -1394,7 +1428,7 @@ function to_pattrstorage() {
|
||||
}
|
||||
|
||||
function select(v) {
|
||||
if (filled_slots.indexOf(v) > -1) {
|
||||
if (v <= slots_highest && slots[v].filled) {
|
||||
selected_slot = v;
|
||||
set_umenu(selected_slot);
|
||||
if (selected_slot != 0) {
|
||||
@@ -1577,6 +1611,7 @@ function set_textedit(s) {
|
||||
}
|
||||
textedit_obj.setattr('presentation', this.patcher.getattr("presentation"));
|
||||
textedit_obj.setattr('hidden', 0);
|
||||
this.patcher.bringtofront(textedit_obj);
|
||||
}
|
||||
textedit_obj.message("select");
|
||||
is_typing_name = s;
|
||||
@@ -1687,15 +1722,15 @@ function onclick(x,y,but,cmd,shift,capslock,option,ctrl)
|
||||
}
|
||||
if (shift) {
|
||||
output = "store";
|
||||
if (option) {
|
||||
if (option && slots[last_hovered].filled) {
|
||||
output = "delete";
|
||||
}
|
||||
if (ctrl) {
|
||||
if (ctrl && slots[last_hovered].filled) {
|
||||
output = "lock";
|
||||
}
|
||||
} else if (ctrl && filled_slots.indexOf(last_hovered) > -1) {
|
||||
} else if (ctrl && slots[last_hovered].filled) {
|
||||
output = "rename";
|
||||
} else if (slots[last_hovered].name == null) {
|
||||
} else if (slots[last_hovered].filled == false) {
|
||||
return;
|
||||
}
|
||||
if (output == "recall" && recall_passthrough == false) {
|
||||
@@ -1733,7 +1768,7 @@ onclick.local = 1;
|
||||
|
||||
function ondblclick(x,y,but,cmd,shift,capslock,option,ctrl)
|
||||
{
|
||||
if (select_mode && last_hovered > -1 && pattrstorage_name != null && filled_slots.indexOf(last_hovered) > -1) {
|
||||
if (select_mode && last_hovered > -1 && pattrstorage_name != null && slots[last_hovered].filled) {
|
||||
if (recall_passthrough) {
|
||||
to_pattrstorage("recall", last_hovered);
|
||||
} else {
|
||||
@@ -1750,7 +1785,7 @@ function ondrag(x,y,but,cmd,shift,capslock,option,ctrl)
|
||||
{
|
||||
if (pattrstorage_name != null) {
|
||||
y -= y_offset;
|
||||
if (is_dragging == 0 && last_hovered > 0 && slots[last_hovered].name !== null) {
|
||||
if (is_dragging == 0 && last_hovered > 0 && slots[last_hovered].filled == true) {
|
||||
// To prevent mistakes, is_dragging is set to 1 only when dragging for more than 10 pixels
|
||||
var dist_from_start = Math.sqrt((x-last_x)*(x-last_x)+(y-last_y)*(y-last_y));
|
||||
if (dist_from_start > 10) {
|
||||
@@ -1943,7 +1978,7 @@ function setbgcolor(){
|
||||
if (arguments.length == 4) {
|
||||
background_color = [arguments[0], arguments[1], arguments[2], arguments[3]];
|
||||
} else if (arguments.length == 0) {
|
||||
background_color = [0.2, 0.2, 0.2, 1];
|
||||
background_color = max.getcolor("theme_bgcolor");
|
||||
} else {
|
||||
error('bgcolor: wrong number of arguments\n');
|
||||
}
|
||||
@@ -1961,7 +1996,7 @@ function setemptycolor(){
|
||||
if (arguments.length == 4) {
|
||||
empty_slot_color = [arguments[0], arguments[1], arguments[2], arguments[3]];
|
||||
} else if (arguments.length == 0) {
|
||||
empty_slot_color = [0.349, 0.349, 0.349, 1];
|
||||
empty_slot_color = max.getcolor("theme_elementcolor");
|
||||
} else {
|
||||
error('empty_slot_color: wrong number of arguments\n');
|
||||
}
|
||||
@@ -1979,7 +2014,7 @@ function setactiveslotcolor(){
|
||||
if (arguments.length == 4) {
|
||||
active_slot_color = [arguments[0], arguments[1], arguments[2], arguments[3]];
|
||||
} else if (arguments.length == 0) {
|
||||
active_slot_color = [0.808, 0.898, 0.910, 1];
|
||||
active_slot_color = max.getcolor("theme_color");
|
||||
} else {
|
||||
error('active_slot_color: wrong number of arguments\n');
|
||||
}
|
||||
@@ -1997,7 +2032,7 @@ function setstoredslotcolor(){
|
||||
if (arguments.length == 4) {
|
||||
stored_slot_color = [arguments[0], arguments[1], arguments[2], arguments[3]];
|
||||
} else if (arguments.length == 0) {
|
||||
stored_slot_color = [0.502, 0.502, 0.502, 1];
|
||||
stored_slot_color = max.getcolor("theme_accentcolor");
|
||||
} else {
|
||||
error('stored_slot_color: wrong number of arguments\n');
|
||||
}
|
||||
@@ -2023,24 +2058,6 @@ function setinterpslotcolor(){
|
||||
}
|
||||
setinterpslotcolor.local = 1;
|
||||
|
||||
declareattribute("text_bg_color", "gettextbgcolor", "settextbgcolor", 1, {style: "rgba", label: "Text Background Color", category: "Appearance"});
|
||||
function gettextbgcolor() {
|
||||
return text_bg_color;
|
||||
}
|
||||
gettextbgcolor.local = 1;
|
||||
|
||||
function settextbgcolor(){
|
||||
if (arguments.length == 4) {
|
||||
text_bg_color = [arguments[0], arguments[1], arguments[2], arguments[3]];
|
||||
} else if (arguments.length == 0) {
|
||||
text_bg_color = [1,1,1, 0.5];
|
||||
} else {
|
||||
error('text_bg_color: wrong number of arguments\n');
|
||||
}
|
||||
mgraphics.redraw();
|
||||
}
|
||||
settextbgcolor.local = 1;
|
||||
|
||||
declareattribute("text_color", "gettextcolor", "settextcolor", 1, {style: "rgba", label: "Text Color", category: "Appearance"});
|
||||
function gettextcolor() {
|
||||
return text_color;
|
||||
@@ -2050,14 +2067,25 @@ function settextcolor(){
|
||||
if (arguments.length == 4) {
|
||||
text_color = [arguments[0], arguments[1], arguments[2], arguments[3]];
|
||||
} else if (arguments.length == 0) {
|
||||
text_color = [0.129, 0.129, 0.129, 1];
|
||||
text_color = max.getcolor("theme_textcolor");
|
||||
} else {
|
||||
error('text_color: wrong number of arguments\n');
|
||||
}
|
||||
set_text_bg_color();
|
||||
mgraphics.redraw();
|
||||
}
|
||||
settextcolor.local = 1;
|
||||
|
||||
function set_text_bg_color() {
|
||||
text_bg_color = is_dark_color(text_color) ? [1, 1, 1, 0.5] : [0, 0, 0, 0.5];
|
||||
}
|
||||
set_text_bg_color.local = 1;
|
||||
|
||||
function is_dark_color(color) {
|
||||
return (0.299 * color[0] + 0.587 * color[1] + 0.114 * color[2]) < 0.5;
|
||||
}
|
||||
is_dark_color.local = 1;
|
||||
|
||||
declareattribute("fontsize", "getfontsize", "setfontsize", 1, {type: "float", label: "Font Size", category: "Appearance"});
|
||||
function getfontsize() {
|
||||
return font_size;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name" : "tc.preset",
|
||||
"displayname" : "",
|
||||
"version" : "1.2.0",
|
||||
"version" : "1.2.2",
|
||||
"author" : "Théophile Clet",
|
||||
"authors" : [ ],
|
||||
"description" : "A jsui replacement for the preset object",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name" : "tc.preset",
|
||||
"displayname" : "",
|
||||
"version" : "1.2.0",
|
||||
"version" : "1.2.2",
|
||||
"author" : "Théophile Clet",
|
||||
"authors" : [ ],
|
||||
"description" : "A v8ui replacement for the preset object",
|
||||
|
||||
Reference in New Issue
Block a user