helpfile update with v8ui and new features
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
A jsui replacement for the preset object.
|
A jsui replacement for the preset object.
|
||||||
</digest>
|
</digest>
|
||||||
<description>
|
<description>
|
||||||
tc.preset is a <o>jsui</o>/<o>v8ui</o> clone of the <o>preset</o> object, but loaded with more features, such as preset organization through drag and drop, display as a scrollable list, colored slots...
|
tc.preset is a <o>jsui</o> /<o>v8ui</o> clone of the <o>preset</o> object, but loaded with more features, such as preset organization through drag and drop, display as a scrollable list, colored slots...
|
||||||
Contrary to the preset object, tc.preset doesn't work alone and has to be used in conjonction with a pattrstorage object.<modification class=""></modification>
|
Contrary to the preset object, tc.preset doesn't work alone and has to be used in conjonction with a pattrstorage object.<modification class=""></modification>
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
@@ -18,6 +18,7 @@
|
|||||||
<metadata name='tag'>preset</metadata>
|
<metadata name='tag'>preset</metadata>
|
||||||
<metadata name='tag'>pattrstorage</metadata>
|
<metadata name='tag'>pattrstorage</metadata>
|
||||||
<metadata name='tag'>jsui</metadata>
|
<metadata name='tag'>jsui</metadata>
|
||||||
|
<metadata name='tag'>v8ui</metadata>
|
||||||
</metadatalist>
|
</metadatalist>
|
||||||
|
|
||||||
|
|
||||||
@@ -185,7 +186,7 @@
|
|||||||
</attribute>
|
</attribute>
|
||||||
<attribute name='menu_mode' get='1' set='1' type='int' size='1' >
|
<attribute name='menu_mode' get='1' set='1' type='int' size='1' >
|
||||||
<digest>Menu mode</digest>
|
<digest>Menu mode</digest>
|
||||||
<description>Populates the umenu connected to 2nd outlet with preset number and name (0), preset number only (1), or name only (2). See recall_filled when using mode 2</description>
|
<description>Populates the umenu connected to 2nd outlet with preset number and name (0), preset number only (1), or name only (2). In 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.</description>
|
||||||
</attribute>
|
</attribute>
|
||||||
<attribute name='min_rows' get='1' set='1' type='int' size='1' >
|
<attribute name='min_rows' get='1' set='1' type='int' size='1' >
|
||||||
<digest>Minimum number of rows to display</digest>
|
<digest>Minimum number of rows to display</digest>
|
||||||
@@ -202,15 +203,15 @@
|
|||||||
<digest>pattrstorage object to bind to</digest>
|
<digest>pattrstorage object to bind to</digest>
|
||||||
<description>Set the name of the [pattrstorage] to bind to. Its outlet must be connected to the [tc.preset] inlet.
|
<description>Set the name of the [pattrstorage] to bind to. Its outlet must be connected to the [tc.preset] inlet.
|
||||||
</description>
|
</description>
|
||||||
</attribute>
|
|
||||||
<attribute name='recall_passthrough' get='1' set='1' type='bool' size='1' >
|
|
||||||
<digest>Send recall messages to pattrstorage directly</digest>
|
|
||||||
<description>When enabled (default) recall messages triggered by clicking filled slots in tc.preset are sent directly to [pattrstorage]. When disabled, these recall messages are sent out of [tc.preset] left outlet and it's up to the user to pass them to [pattrstorage]. It can be usefull for triggering interpolations with custom logic.</description>
|
|
||||||
</attribute>
|
</attribute>
|
||||||
<attribute name='poll_edited' get='1' set='1' type='bool' size='1' >
|
<attribute name='poll_edited' get='1' set='1' type='bool' size='1' >
|
||||||
<digest>Regularly check if current preset is edited</digest>
|
<digest>Regularly check if current preset is edited</digest>
|
||||||
<description>When set to a positive value, [tc.preset] will check if the last recalled preset has been edited by polling [pattrstorage] with the 'getedited' message every period of time defined by the value. For example, a value of 0.5 will result in a polling every half second. When a preset is edited, a dot appears on top of its slot.</description>
|
<description>When set to a positive value, [tc.preset] will check if the last recalled preset has been edited by polling [pattrstorage] with the 'getedited' message every period of time defined by the value. For example, a value of 0.5 will result in a polling every half second. When a preset is edited, a dot appears on top of its slot.</description>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<attribute name='recall_passthrough' get='1' set='1' type='bool' size='1' >
|
||||||
|
<digest>Send recall messages to pattrstorage directly</digest>
|
||||||
|
<description>When enabled (default) recall messages triggered by clicking filled slots in tc.preset are sent directly to [pattrstorage]. When disabled, these recall messages are sent out of [tc.preset] left outlet and it's up to the user to pass them to [pattrstorage]. It can be usefull for triggering interpolations with custom logic.</description>
|
||||||
|
</attribute>
|
||||||
<attribute name='scrollable' get='1' set='1' type='bool' size='1' >
|
<attribute name='scrollable' get='1' set='1' type='bool' size='1' >
|
||||||
<digest>Scroll through your presets</digest>
|
<digest>Scroll through your presets</digest>
|
||||||
<description>When set to 1, you can through the jsui to see all your presets, or at least up to the row defined by the min_rows attributes.
|
<description>When set to 1, you can through the jsui to see all your presets, or at least up to the row defined by the min_rows attributes.
|
||||||
|
247
help/colors.json
Normal file
247
help/colors.json
Normal file
@@ -0,0 +1,247 @@
|
|||||||
|
{
|
||||||
|
"pattrstorage": {
|
||||||
|
"name": "colors",
|
||||||
|
"slots": {
|
||||||
|
"1": {
|
||||||
|
"id": 1,
|
||||||
|
"name": "Preset 1",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"a322b36b-1aba-415c-9083-d8df678268b7\"}" ],
|
||||||
|
"u099005226": [ -0.23, -0.5700000000000001, 0.26, 0.02, 0.72, -0.18, -0.46, 0.4, 0.16, -0.92, 0.77, 0.9500000000000001, -0.37, 0.25, -0.07, -0.38 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"2": {
|
||||||
|
"id": 2,
|
||||||
|
"name": "Preset 2",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"416cad49-d949-4d13-ad8b-4c8d16422e95\"}" ],
|
||||||
|
"u099005226": [ -0.64, 0.47000000000000003, -0.3, -0.7000000000000001, 0.55, 0.59, -0.38, 0.28, 0.9, 0.19, -0.8, 0.66, -0.2, -0.1, -0.65, -0.8300000000000001 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"3": {
|
||||||
|
"id": 3,
|
||||||
|
"name": "Preset 3",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"a5ea784b-e1d8-45af-9415-ae4ee863ee15\"}" ],
|
||||||
|
"u099005226": [ -0.02, 0.65, -0.24, 0.6900000000000001, -0.21, -0.34, 0.63, 0.93, 0.48, 0.32, 0.28, 0.11, -0.52, -0.08, -0.63, -0.85 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"4": {
|
||||||
|
"id": 4,
|
||||||
|
"name": "Preset 4",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"e6da1028-1f9d-46b2-9317-df7336e277da\"}" ],
|
||||||
|
"u099005226": [ 0.62, -0.84, -0.89, 0.8200000000000001, -0.19, -0.96, -0.92, -0.92, 0.37, -0.3, 0.91, 0.78, -0.75, 0.64, 0.96, -0.45 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"5": {
|
||||||
|
"id": 5,
|
||||||
|
"name": "Preset 5",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"c6499b4a-1dcf-4b1e-a4fc-a546020b26d9\"}" ],
|
||||||
|
"u099005226": [ 0.84, 0.31, 0.14, -0.26, -0.92, 0.79, -0.59, -0.77, -0.88, -0.35000000000000003, 0.87, -0.8, -0.96, -0.87, -0.86, -0.38 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"6": {
|
||||||
|
"id": 6,
|
||||||
|
"name": "Preset 6",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"47896b3c-65df-4c56-a8eb-c2fe0553472a\"}" ],
|
||||||
|
"u099005226": [ 0.22, -0.6900000000000001, -0.06, -0.8, -0.47000000000000003, 0.16, 0.61, -0.75, 0.98, -0.12, -0.3, 0.11, -0.02, -0.2, 0.6, -0.5700000000000001 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"7": {
|
||||||
|
"id": 7,
|
||||||
|
"name": "Preset 7",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"2f1aaecc-cd1e-4a81-82d2-d46c9136cfa5\"}" ],
|
||||||
|
"u099005226": [ 0.9400000000000001, 0.3, -0.37, -0.37, -0.43, 0.31, 0.89, -0.43, -0.12, 0.11, -0.33, -0.19, 0.02, 0.32, 0.45, -0.8200000000000001 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"8": {
|
||||||
|
"id": 8,
|
||||||
|
"name": "Preset 8",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"9f47c706-f761-4c58-afdf-28c65ade9cb3\"}" ],
|
||||||
|
"u099005226": [ -0.88, 0.42, -0.45, 0.11, -0.6900000000000001, -0.09, -0.9400000000000001, 0.08, -0.63, 0.5, -0.22, 0.87, -0.38, 0.37, -0.33, -0.52 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"9": {
|
||||||
|
"id": 9,
|
||||||
|
"name": "Preset 9",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"d1be0a1d-7a3b-4613-80e4-0b0efa3ab660\"}" ],
|
||||||
|
"u099005226": [ -0.29, 0.63, -0.6900000000000001, 0.53, 0.8, 0.04, -0.98, -0.03, -0.61, 0.05, -0.5, 0.02, -0.71, 0.67, -0.97, 0.58 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"10": {
|
||||||
|
"id": 10,
|
||||||
|
"name": "Preset 10",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"26cc337d-6bcf-43ab-908b-1f7eb276388c\"}" ],
|
||||||
|
"u099005226": [ 0.01, 0.39, -0.99, -0.93, 0.62, -0.76, 0.97, 0.44, -0.54, -0.72, -0.18, -0.04, -0.28, 0.42, 0.9, -0.71 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"11": {
|
||||||
|
"id": 11,
|
||||||
|
"name": "Preset 11",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"8485a630-8039-487c-8bc3-9aa9b7775009\"}" ],
|
||||||
|
"u099005226": [ -0.34, 0.41000000000000003, 0.15, 0.79, 0.98, 0.97, 0.03, 0.74, -0.43, -0.9, -0.79, 0.65, -0.81, 0.0, 0.87, 0.18 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"12": {
|
||||||
|
"id": 12,
|
||||||
|
"name": "Preset 12",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"47516903-29a3-489f-8ac1-3719e4a8b1f4\"}" ],
|
||||||
|
"u099005226": [ 0.17, 0.27, -0.16, -0.39, -0.88, -0.56, 0.9500000000000001, -0.92, 0.6900000000000001, 0.63, 0.38, 0.04, -0.1, -0.72, -0.33, -0.37 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"13": {
|
||||||
|
"id": 13,
|
||||||
|
"name": "Preset 13",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"c41a028f-0eb6-4e7c-9b77-175ef06a865a\"}" ],
|
||||||
|
"u099005226": [ -0.92, 0.78, 0.42, -0.32, 0.26, -0.7000000000000001, -0.81, -0.2, 0.06, -0.39, -0.17, 0.39, 0.22, 0.75, -0.1, -0.42 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"14": {
|
||||||
|
"id": 14,
|
||||||
|
"name": "Preset 14",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"543722ae-5744-44d8-881f-b7922c4c345c\"}" ],
|
||||||
|
"u099005226": [ -0.37, 0.19, -0.54, -0.25, -0.6900000000000001, -0.32, -0.13, -0.03, 0.05, -0.42, -0.08, 0.72, 0.48, 0.15, 0.48, -0.56 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"15": {
|
||||||
|
"id": 15,
|
||||||
|
"name": "Preset 15",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"b7f4a192-656d-4b7c-a81e-94dac376c7c4\"}" ],
|
||||||
|
"u099005226": [ -0.18, -0.99, -0.29, 0.89, 0.26, -0.14, 0.28, -0.34, 0.1, 0.7000000000000001, 0.6, -0.74, -0.87, 0.67, 0.9, 0.03 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"16": {
|
||||||
|
"id": 16,
|
||||||
|
"name": "Preset 16",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"30425c06-ee40-4cb5-8ceb-87354fc78627\"}" ],
|
||||||
|
"u099005226": [ 0.5700000000000001, 0.13, -0.42, -1.0, -0.73, 0.64, -0.64, 0.84, -0.06, -0.68, -0.51, -0.9400000000000001, 0.02, -0.31, 0.87, -0.85 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"17": {
|
||||||
|
"id": 17,
|
||||||
|
"name": "Preset 17",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"8ffd1cfb-81b9-4520-83e9-457a7575f8e1\"}" ],
|
||||||
|
"u099005226": [ 0.7000000000000001, -0.67, -0.33, -0.58, -0.26, -0.8, 0.3, 0.6900000000000001, 0.18, -0.65, 0.39, -0.5700000000000001, 0.11, 0.98, 0.77, 0.59 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"18": {
|
||||||
|
"id": 18,
|
||||||
|
"name": "Preset 18",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"f623fb60-d94e-49ec-b63f-d677f50cb1e0\"}" ],
|
||||||
|
"u099005226": [ 0.0, 0.34, 0.72, 0.01, -0.9400000000000001, -0.24, -0.25, -0.67, 0.77, -0.63, -0.06, 0.54, -0.81, 0.19, 0.91, -0.64 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"19": {
|
||||||
|
"id": 19,
|
||||||
|
"name": "Preset 19",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"639f7725-654b-4177-bbc2-606c24f7e689\"}" ],
|
||||||
|
"u099005226": [ -0.7000000000000001, -0.56, -0.12, 0.3, 0.5, 0.91, 0.51, -0.66, 0.04, -0.07, 0.33, -0.93, 0.19, 0.58, -0.48, -0.39 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"20": {
|
||||||
|
"id": 20,
|
||||||
|
"name": "Preset 20",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"8e3bc022-ffdd-4154-86c3-b6f527974335\"}" ],
|
||||||
|
"u099005226": [ -0.12, 0.68, -0.97, 0.78, 0.24, -0.76, -0.66, -0.68, 0.87, -0.8200000000000001, 0.52, -0.99, 0.44, 0.72, 0.97, -0.8 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"21": {
|
||||||
|
"id": 21,
|
||||||
|
"name": "Preset 21",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"bb57651d-1aa5-42a5-8fd4-9df051e6f87d\"}" ],
|
||||||
|
"u099005226": [ -0.11, 0.92, 0.92, 0.98, -0.42, 0.14, -0.92, -0.52, 0.15, -0.55, -0.54, -0.99, 0.1, -0.2, -0.33, -0.09 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"22": {
|
||||||
|
"id": 22,
|
||||||
|
"name": "Preset 22",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"9a340fc0-3b57-4a20-a9aa-e1d4139683fe\"}" ],
|
||||||
|
"u099005226": [ 0.36, -0.59, 0.92, 0.32, -0.1, 0.09, -0.02, -0.43, 0.38, -0.44, 0.47000000000000003, -0.43, -0.6, 0.43, -0.5, 0.45 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"23": {
|
||||||
|
"id": 23,
|
||||||
|
"name": "Preset 23",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"9d2f72e5-8ef4-425c-abe6-daefae9d2864\"}" ],
|
||||||
|
"u099005226": [ -0.34, -0.44, -0.28, -0.26, 0.68, 0.93, 0.22, 0.46, -0.26, 0.41000000000000003, 0.25, 0.26, 0.86, 0.52, 0.08, -0.45 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"24": {
|
||||||
|
"id": 24,
|
||||||
|
"name": "Preset 24",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"b6e243d0-0095-4034-b89b-18386d1d7cbb\"}" ],
|
||||||
|
"u099005226": [ 0.19, -0.6, -0.04, 0.11, -0.17, -0.3, 0.14, 0.99, -0.41000000000000003, 0.58, -0.03, 0.36, 0.91, 0.7000000000000001, -0.04, -0.73 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"25": {
|
||||||
|
"id": 25,
|
||||||
|
"name": "Preset 25",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"a09d3a53-0216-4fe9-bdf4-c1c56fb8951b\"}" ],
|
||||||
|
"u099005226": [ 0.7000000000000001, -0.58, -0.9, 0.32, 0.22, -0.3, 0.28, -0.96, -0.03, -0.93, 0.8, 0.36, -0.99, -0.84, 0.25, -0.81 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"26": {
|
||||||
|
"id": 26,
|
||||||
|
"name": "Preset 26",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"6395b36f-d5de-461e-9d17-3efe8db6f7a7\"}" ],
|
||||||
|
"u099005226": [ -0.23, -0.1, 0.29, -0.16, -0.88, 0.63, 0.08, 0.6, 0.31, -0.61, -0.68, -0.52, 0.08, -0.05, -0.6, -0.64 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"34": {
|
||||||
|
"id": 34,
|
||||||
|
"name": "Preset 34",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"f30716a0-acde-4451-9f3e-a6c1ad65f546\"}" ],
|
||||||
|
"u099005226": [ 0.86, 0.97, 0.74, -0.62, 0.4, -0.35000000000000003, 0.65, -0.81, 0.67, -0.48, -0.34, 0.77, 0.38, 0.91, 0.9, -0.7000000000000001 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"44": {
|
||||||
|
"id": 44,
|
||||||
|
"name": "Preset 44",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"1fbb9408-f660-4735-9984-f9111b77fda9\"}" ],
|
||||||
|
"u099005226": [ -0.9400000000000001, -0.78, -0.36, -0.5, -0.16, 0.79, 0.85, 0.56, 0.14, -0.34, -0.89, 0.47000000000000003, -0.77, -0.96, -0.86, 0.49 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"56": {
|
||||||
|
"id": 56,
|
||||||
|
"name": "Preset 56",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"8c5b437e-7f0c-4e97-8a2a-70acda0f17d6\"}" ],
|
||||||
|
"u099005226": [ -0.16, -0.01, -0.55, -0.6, 0.08, 0.98, 0.77, -0.6, 0.64, 0.6900000000000001, -0.79, -0.81, -0.28, -0.76, 0.15, 0.81 ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"65": {
|
||||||
|
"id": 65,
|
||||||
|
"name": "Preset 65",
|
||||||
|
"data": {
|
||||||
|
"preset_metadata": [ "{\"color\":[0,0.502,0.502,0.502,1],\"uid\":\"44918fd8-bfef-42ee-87ed-13929dc21d32\"}" ],
|
||||||
|
"u099005226": [ 0.63, 0.64, -0.14, 0.5700000000000001, -0.32, -0.78, 0.87, -0.36, -0.14, -0.85, -0.3, -0.51, 0.8200000000000001, -0.02, -0.02, 0.78 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
4276
help/max8.tc.preset.maxhelp
Normal file
4276
help/max8.tc.preset.maxhelp
Normal file
File diff suppressed because it is too large
Load Diff
5179
help/max9.tc.preset.maxhelp
Normal file
5179
help/max9.tc.preset.maxhelp
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,65 +1,42 @@
|
|||||||
{
|
{
|
||||||
"pattrstorage" : {
|
"pattrstorage": {
|
||||||
"name" : "test",
|
"name": "test",
|
||||||
"slots" : {
|
"slots": {
|
||||||
"1" : {
|
"1": {
|
||||||
"id" : 1,
|
"id": 1,
|
||||||
"name" : "up",
|
"name": "up",
|
||||||
"data" : {
|
"data": {
|
||||||
"u099005226" : [ -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 ],
|
"u099005226": [ -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 ]
|
||||||
"slot colors::colors" : [ 65 ],
|
|
||||||
"appearance::test" : [ -1 ],
|
|
||||||
"snippet::mypat" : [ -1 ],
|
|
||||||
"behavior::test" : [ -1 ],
|
|
||||||
"messages::test" : [ -1 ]
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"2": {
|
||||||
|
"id": 2,
|
||||||
|
"name": "down",
|
||||||
|
"data": {
|
||||||
|
"u099005226": [ 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 ]
|
||||||
}
|
}
|
||||||
,
|
},
|
||||||
"2" : {
|
"3": {
|
||||||
"id" : 2,
|
"id": 3,
|
||||||
"name" : "down",
|
"name": "sine",
|
||||||
"data" : {
|
"data": {
|
||||||
"u099005226" : [ 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 ],
|
"u099005226": [ -0.079365079365079, 0.206349206349206, 0.428571428571429, 0.682539682539683, 0.904761904761905, 0.904761904761905, 0.841269841269841, 0.555555555555556, 0.047619047619048, -0.301587301587302, -0.587301587301587, -0.682539682539683, -0.650793650793651, -0.428571428571429, -0.111111111111111, 0.079365079365079 ]
|
||||||
"slot colors::colors" : [ 65 ],
|
|
||||||
"appearance::test" : [ -1 ],
|
|
||||||
"snippet::mypat" : [ -1 ],
|
|
||||||
"behavior::test" : [ -1 ],
|
|
||||||
"messages::test" : [ -1 ]
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"4": {
|
||||||
|
"id": 4,
|
||||||
|
"name": "random",
|
||||||
|
"data": {
|
||||||
|
"u099005226": [ -0.587301587301587, 0.365079365079365, -0.46031746031746, -0.015873015873016, 0.904761904761905, -0.714285714285714, 0.206349206349206, -0.142857142857143, 0.428571428571429, -0.746031746031746, 0.587301587301587, -0.619047619047619, -0.047619047619048, -0.555555555555556, -0.428571428571429, 0.396825396825397 ]
|
||||||
}
|
}
|
||||||
,
|
},
|
||||||
"3" : {
|
"7": {
|
||||||
"id" : 3,
|
"id": 7,
|
||||||
"name" : "sine",
|
"name": "W",
|
||||||
"data" : {
|
"data": {
|
||||||
"u099005226" : [ -0.079365079365079, 0.206349206349206, 0.428571428571429, 0.682539682539683, 0.904761904761905, 0.904761904761905, 0.841269841269841, 0.555555555555556, 0.047619047619048, -0.301587301587302, -0.587301587301587, -0.682539682539683, -0.650793650793651, -0.428571428571429, -0.111111111111111, 0.079365079365079 ],
|
"u099005226": [ 1.0, 0.6875, 0.21875, -0.15625, -0.46875, -1.0, -0.65625, -0.1875, 0.09375, -0.1875, -0.59375, -1.0, -0.5625, -0.1875, 0.40625, 1.0 ]
|
||||||
"slot colors::colors" : [ 65 ],
|
|
||||||
"appearance::test" : [ -1 ],
|
|
||||||
"snippet::mypat" : [ -1 ],
|
|
||||||
"behavior::test" : [ -1 ],
|
|
||||||
"messages::test" : [ -1 ]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
,
|
|
||||||
"4" : {
|
|
||||||
"id" : 4,
|
|
||||||
"name" : "random",
|
|
||||||
"data" : {
|
|
||||||
"u099005226" : [ -0.587301587301587, 0.365079365079365, -0.46031746031746, -0.015873015873016, 0.904761904761905, -0.714285714285714, 0.206349206349206, -0.142857142857143, 0.428571428571429, -0.746031746031746, 0.587301587301587, -0.619047619047619, -0.047619047619048, -0.555555555555556, -0.428571428571429, 0.396825396825397 ],
|
|
||||||
"slot colors::colors" : [ 65 ],
|
|
||||||
"appearance::test" : [ -1 ],
|
|
||||||
"snippet::mypat" : [ -1 ],
|
|
||||||
"behavior::test" : [ -1 ],
|
|
||||||
"messages::test" : [ -1 ]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
@@ -1,3 +1 @@
|
|||||||
max setdefinepackage tc.preset pattrstorage;
|
max definesubstitution tc.preset jsui @filename tc.preset @jsarguments;
|
||||||
max definesubstitution tc.preset jsui @filename tc.preset;
|
|
||||||
max setdefinepackage "" "";
|
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
max setdefinepackage tc.preset pattrstorage;
|
max setdefinepackage tc.preset pattrstorage;
|
||||||
max define tc.preset v8ui @filename tc.preset;
|
max define tc.preset v8ui @filename tc.preset @jsarguments;
|
||||||
max setdefinepackage "" "";
|
max setdefinepackage "" "";
|
@@ -144,7 +144,7 @@ var poll_edited_task = new Task(do_poll_edited, this);
|
|||||||
var has_loaded = false;
|
var has_loaded = false;
|
||||||
|
|
||||||
if (jsarguments.length>1) { // Depreciated, use "pattrstorage" attribute instead of jsarguments.
|
if (jsarguments.length>1) { // Depreciated, use "pattrstorage" attribute instead of jsarguments.
|
||||||
pattrstorage_name = jsarguments[1];
|
setpattrstorage(jsarguments[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTIONS
|
// FUNCTIONS
|
||||||
@@ -2062,7 +2062,7 @@ function setselect_mode(v){
|
|||||||
mgraphics.redraw();
|
mgraphics.redraw();
|
||||||
}
|
}
|
||||||
|
|
||||||
declareattribute("color_mode", "getcolor_mode", "setcolor_mode", 1, {type: "long", min: 0, max: 3, style: "enumindex", enumvals: ["Same color", "Six colors cycling", "Six colors free", "Custom colors"], label: "Color Mode", category: "Appearance"});
|
declareattribute("color_mode", "getcolor_mode", "setcolor_mode", 1, {type: "long", min: 0, max: 3, style: "enumindex", enumvals: ["Classic", "Cycle", "Select", "Custom"], label: "Color Mode", category: "Appearance"});
|
||||||
function getcolor_mode() {
|
function getcolor_mode() {
|
||||||
return color_mode;
|
return color_mode;
|
||||||
}
|
}
|
||||||
|
167
snippets/max9.tc.preset_JSUI.maxsnip
Normal file
167
snippets/max9.tc.preset_JSUI.maxsnip
Normal file
File diff suppressed because one or more lines are too long
259
snippets/max9.tc.preset_color.maxsnip
Normal file
259
snippets/max9.tc.preset_color.maxsnip
Normal file
File diff suppressed because one or more lines are too long
464
snippets/max9.tc.preset_interp.maxsnip
Normal file
464
snippets/max9.tc.preset_interp.maxsnip
Normal file
File diff suppressed because one or more lines are too long
186
snippets/max9.tc.preset_list.maxsnip
Normal file
186
snippets/max9.tc.preset_list.maxsnip
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user