Compare commits
8 Commits
92b7545e90
...
help-patch
| Author | SHA1 | Date | |
|---|---|---|---|
| 51420cbd5f | |||
| 533de4668a | |||
| b850440287 | |||
| 7ac026f35f | |||
| 7cb4180d97 | |||
| 51767ff058 | |||
|
|
fe68764e7d | ||
|
|
40d0927a0e |
1836
ModEnum.maxhelp
1836
ModEnum.maxhelp
File diff suppressed because it is too large
Load Diff
345
ModEnum.maxpat
345
ModEnum.maxpat
@@ -2,42 +2,19 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
}
|
||||
,
|
||||
"classnamespace" : "box",
|
||||
"rect" : [ 217.0, 130.0, 872.0, 739.0 ],
|
||||
"rect" : [ 53.0, 190.0, 1417.0, 704.0 ],
|
||||
"bglocked" : 1,
|
||||
"openinpresentation" : 1,
|
||||
"default_fontsize" : 12.0,
|
||||
"default_fontface" : 0,
|
||||
"default_fontname" : "Arial",
|
||||
"gridonopen" : 1,
|
||||
"gridsize" : [ 15.0, 15.0 ],
|
||||
"gridsnaponopen" : 1,
|
||||
"objectsnaponopen" : 1,
|
||||
"statusbarvisible" : 2,
|
||||
"toolbarvisible" : 1,
|
||||
"lefttoolbarpinned" : 0,
|
||||
"toptoolbarpinned" : 0,
|
||||
"righttoolbarpinned" : 0,
|
||||
"bottomtoolbarpinned" : 0,
|
||||
"toolbars_unpinned_last_save" : 15,
|
||||
"tallnewobj" : 0,
|
||||
"boxanimatetime" : 200,
|
||||
"enablehscroll" : 1,
|
||||
"enablevscroll" : 1,
|
||||
"devicewidth" : 0.0,
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"tags" : "",
|
||||
"style" : "",
|
||||
"subpatcher_template" : "",
|
||||
"assistshowspatchername" : 0,
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"id" : "obj-5",
|
||||
@@ -76,11 +53,11 @@
|
||||
"box" : {
|
||||
"id" : "obj-46",
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 3,
|
||||
"numoutlets" : 3,
|
||||
"outlettype" : [ "", "", "" ],
|
||||
"patching_rect" : [ 207.5, 93.827167987823486, 135.0, 22.0 ],
|
||||
"text" : "routepass param reload"
|
||||
"numinlets" : 4,
|
||||
"numoutlets" : 4,
|
||||
"outlettype" : [ "", "", "", "" ],
|
||||
"patching_rect" : [ 207.5, 93.827167987823486, 193.0, 22.0 ],
|
||||
"text" : "routepass param reload viewMode"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -337,7 +314,7 @@
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 447.0, 1145.0, 96.0, 20.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 207.0, 130.0, 96.0, 20.0 ],
|
||||
"presentation_rect" : [ 673.0, 18.0, 96.0, 20.0 ],
|
||||
"text" : "Custom wave 4",
|
||||
"textcolor" : [ 0.254901960784314, 0.411764705882353, 0.882352941176471, 1.0 ]
|
||||
}
|
||||
@@ -352,7 +329,7 @@
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 356.0, 1145.0, 96.0, 20.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 31.0, 130.0, 96.0, 20.0 ],
|
||||
"presentation_rect" : [ 459.666666666666629, 18.0, 96.0, 20.0 ],
|
||||
"text" : "Custom wave 3",
|
||||
"textcolor" : [ 0.254901960784314, 0.411764705882353, 0.882352941176471, 1.0 ]
|
||||
}
|
||||
@@ -367,7 +344,7 @@
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 447.0, 1123.0, 96.0, 20.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 207.0, 18.0, 96.0, 20.0 ],
|
||||
"presentation_rect" : [ 246.333333333333314, 18.0, 96.0, 20.0 ],
|
||||
"text" : "Custom wave 2",
|
||||
"textcolor" : [ 0.254901960784314, 0.411764705882353, 0.882352941176471, 1.0 ]
|
||||
}
|
||||
@@ -382,7 +359,7 @@
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 356.0, 1123.0, 96.0, 20.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 31.0, 18.0, 96.0, 20.0 ],
|
||||
"presentation_rect" : [ 33.0, 18.0, 96.0, 20.0 ],
|
||||
"text" : "Custom wave 1",
|
||||
"textcolor" : [ 0.254901960784314, 0.411764705882353, 0.882352941176471, 1.0 ]
|
||||
}
|
||||
@@ -432,8 +409,8 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
@@ -441,33 +418,7 @@
|
||||
,
|
||||
"classnamespace" : "box",
|
||||
"rect" : [ 59.0, 119.0, 640.0, 480.0 ],
|
||||
"bglocked" : 0,
|
||||
"openinpresentation" : 0,
|
||||
"default_fontsize" : 12.0,
|
||||
"default_fontface" : 0,
|
||||
"default_fontname" : "Arial",
|
||||
"gridonopen" : 1,
|
||||
"gridsize" : [ 15.0, 15.0 ],
|
||||
"gridsnaponopen" : 1,
|
||||
"objectsnaponopen" : 1,
|
||||
"statusbarvisible" : 2,
|
||||
"toolbarvisible" : 1,
|
||||
"lefttoolbarpinned" : 0,
|
||||
"toptoolbarpinned" : 0,
|
||||
"righttoolbarpinned" : 0,
|
||||
"bottomtoolbarpinned" : 0,
|
||||
"toolbars_unpinned_last_save" : 0,
|
||||
"tallnewobj" : 0,
|
||||
"boxanimatetime" : 200,
|
||||
"enablehscroll" : 1,
|
||||
"enablevscroll" : 1,
|
||||
"devicewidth" : 0.0,
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"tags" : "",
|
||||
"style" : "",
|
||||
"subpatcher_template" : "",
|
||||
"assistshowspatchername" : 0,
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"id" : "obj-106",
|
||||
@@ -603,17 +554,11 @@
|
||||
}
|
||||
|
||||
}
|
||||
]
|
||||
],
|
||||
"originid" : "pat-180"
|
||||
}
|
||||
,
|
||||
"patching_rect" : [ 724.0, 1441.0, 95.0, 22.0 ],
|
||||
"saved_object_attributes" : {
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"globalpatchername" : "",
|
||||
"tags" : ""
|
||||
}
|
||||
,
|
||||
"text" : "p dumpFunction"
|
||||
}
|
||||
|
||||
@@ -670,7 +615,7 @@
|
||||
"parameter_enable" : 0,
|
||||
"patching_rect" : [ 724.0, 1479.0, 159.5, 52.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 208.0, 176.0, 159.5, 52.0 ],
|
||||
"presentation_rect" : [ 673.0, 64.0, 159.5, 52.0 ],
|
||||
"range" : [ 0.0, 100.0 ],
|
||||
"varname" : "userFunction4"
|
||||
}
|
||||
@@ -686,8 +631,8 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
@@ -695,33 +640,7 @@
|
||||
,
|
||||
"classnamespace" : "box",
|
||||
"rect" : [ 59.0, 119.0, 640.0, 480.0 ],
|
||||
"bglocked" : 0,
|
||||
"openinpresentation" : 0,
|
||||
"default_fontsize" : 12.0,
|
||||
"default_fontface" : 0,
|
||||
"default_fontname" : "Arial",
|
||||
"gridonopen" : 1,
|
||||
"gridsize" : [ 15.0, 15.0 ],
|
||||
"gridsnaponopen" : 1,
|
||||
"objectsnaponopen" : 1,
|
||||
"statusbarvisible" : 2,
|
||||
"toolbarvisible" : 1,
|
||||
"lefttoolbarpinned" : 0,
|
||||
"toptoolbarpinned" : 0,
|
||||
"righttoolbarpinned" : 0,
|
||||
"bottomtoolbarpinned" : 0,
|
||||
"toolbars_unpinned_last_save" : 0,
|
||||
"tallnewobj" : 0,
|
||||
"boxanimatetime" : 200,
|
||||
"enablehscroll" : 1,
|
||||
"enablevscroll" : 1,
|
||||
"devicewidth" : 0.0,
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"tags" : "",
|
||||
"style" : "",
|
||||
"subpatcher_template" : "",
|
||||
"assistshowspatchername" : 0,
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"id" : "obj-106",
|
||||
@@ -857,17 +776,11 @@
|
||||
}
|
||||
|
||||
}
|
||||
]
|
||||
],
|
||||
"originid" : "pat-182"
|
||||
}
|
||||
,
|
||||
"patching_rect" : [ 510.0, 1441.0, 95.0, 22.0 ],
|
||||
"saved_object_attributes" : {
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"globalpatchername" : "",
|
||||
"tags" : ""
|
||||
}
|
||||
,
|
||||
"text" : "p dumpFunction"
|
||||
}
|
||||
|
||||
@@ -923,7 +836,7 @@
|
||||
"parameter_enable" : 0,
|
||||
"patching_rect" : [ 510.0, 1479.0, 159.5, 52.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 32.0, 176.0, 161.0, 52.0 ],
|
||||
"presentation_rect" : [ 460.0, 64.0, 161.0, 52.0 ],
|
||||
"range" : [ 0.0, 100.0 ],
|
||||
"varname" : "userFunction3"
|
||||
}
|
||||
@@ -939,8 +852,8 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
@@ -948,33 +861,7 @@
|
||||
,
|
||||
"classnamespace" : "box",
|
||||
"rect" : [ 59.0, 119.0, 640.0, 480.0 ],
|
||||
"bglocked" : 0,
|
||||
"openinpresentation" : 0,
|
||||
"default_fontsize" : 12.0,
|
||||
"default_fontface" : 0,
|
||||
"default_fontname" : "Arial",
|
||||
"gridonopen" : 1,
|
||||
"gridsize" : [ 15.0, 15.0 ],
|
||||
"gridsnaponopen" : 1,
|
||||
"objectsnaponopen" : 1,
|
||||
"statusbarvisible" : 2,
|
||||
"toolbarvisible" : 1,
|
||||
"lefttoolbarpinned" : 0,
|
||||
"toptoolbarpinned" : 0,
|
||||
"righttoolbarpinned" : 0,
|
||||
"bottomtoolbarpinned" : 0,
|
||||
"toolbars_unpinned_last_save" : 0,
|
||||
"tallnewobj" : 0,
|
||||
"boxanimatetime" : 200,
|
||||
"enablehscroll" : 1,
|
||||
"enablevscroll" : 1,
|
||||
"devicewidth" : 0.0,
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"tags" : "",
|
||||
"style" : "",
|
||||
"subpatcher_template" : "",
|
||||
"assistshowspatchername" : 0,
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"id" : "obj-106",
|
||||
@@ -1110,17 +997,11 @@
|
||||
}
|
||||
|
||||
}
|
||||
]
|
||||
],
|
||||
"originid" : "pat-184"
|
||||
}
|
||||
,
|
||||
"patching_rect" : [ 296.0, 1441.0, 95.0, 22.0 ],
|
||||
"saved_object_attributes" : {
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"globalpatchername" : "",
|
||||
"tags" : ""
|
||||
}
|
||||
,
|
||||
"text" : "p dumpFunction"
|
||||
}
|
||||
|
||||
@@ -1177,7 +1058,7 @@
|
||||
"parameter_enable" : 0,
|
||||
"patching_rect" : [ 296.0, 1479.0, 159.5, 52.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 208.0, 64.0, 159.5, 52.0 ],
|
||||
"presentation_rect" : [ 246.0, 64.0, 159.5, 52.0 ],
|
||||
"range" : [ 0.0, 100.0 ],
|
||||
"varname" : "userFunction2"
|
||||
}
|
||||
@@ -1205,8 +1086,8 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
@@ -1214,33 +1095,7 @@
|
||||
,
|
||||
"classnamespace" : "box",
|
||||
"rect" : [ 59.0, 119.0, 640.0, 480.0 ],
|
||||
"bglocked" : 0,
|
||||
"openinpresentation" : 0,
|
||||
"default_fontsize" : 12.0,
|
||||
"default_fontface" : 0,
|
||||
"default_fontname" : "Arial",
|
||||
"gridonopen" : 1,
|
||||
"gridsize" : [ 15.0, 15.0 ],
|
||||
"gridsnaponopen" : 1,
|
||||
"objectsnaponopen" : 1,
|
||||
"statusbarvisible" : 2,
|
||||
"toolbarvisible" : 1,
|
||||
"lefttoolbarpinned" : 0,
|
||||
"toptoolbarpinned" : 0,
|
||||
"righttoolbarpinned" : 0,
|
||||
"bottomtoolbarpinned" : 0,
|
||||
"toolbars_unpinned_last_save" : 0,
|
||||
"tallnewobj" : 0,
|
||||
"boxanimatetime" : 200,
|
||||
"enablehscroll" : 1,
|
||||
"enablevscroll" : 1,
|
||||
"devicewidth" : 0.0,
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"tags" : "",
|
||||
"style" : "",
|
||||
"subpatcher_template" : "",
|
||||
"assistshowspatchername" : 0,
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"id" : "obj-106",
|
||||
@@ -1376,17 +1231,11 @@
|
||||
}
|
||||
|
||||
}
|
||||
]
|
||||
],
|
||||
"originid" : "pat-186"
|
||||
}
|
||||
,
|
||||
"patching_rect" : [ 82.0, 1441.0, 95.0, 22.0 ],
|
||||
"saved_object_attributes" : {
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"globalpatchername" : "",
|
||||
"tags" : ""
|
||||
}
|
||||
,
|
||||
"text" : "p dumpFunction"
|
||||
}
|
||||
|
||||
@@ -1423,7 +1272,7 @@
|
||||
"patching_rect" : [ 320.0, 1282.0, 162.0, 52.0 ],
|
||||
"peakcolor" : [ 0.498039, 0.498039, 0.498039, 1.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 207.0, 176.0, 162.0, 52.0 ],
|
||||
"presentation_rect" : [ 672.0, 64.0, 162.0, 52.0 ],
|
||||
"setminmax" : [ 0.0, 127.0 ],
|
||||
"settype" : 0,
|
||||
"size" : 50,
|
||||
@@ -1465,7 +1314,7 @@
|
||||
"patching_rect" : [ 320.0, 1185.0, 162.0, 52.0 ],
|
||||
"peakcolor" : [ 0.498039, 0.498039, 0.498039, 1.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 31.0, 176.0, 162.0, 52.0 ],
|
||||
"presentation_rect" : [ 460.0, 64.0, 162.0, 52.0 ],
|
||||
"setminmax" : [ 0.0, 127.0 ],
|
||||
"settype" : 0,
|
||||
"size" : 50,
|
||||
@@ -1552,7 +1401,7 @@
|
||||
"parameter_enable" : 0,
|
||||
"patching_rect" : [ 844.0, 1185.0, 106.0, 22.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 207.0, 152.0, 106.0, 22.0 ],
|
||||
"presentation_rect" : [ 673.0, 40.0, 106.0, 22.0 ],
|
||||
"textcolor" : [ 0.254901960784314, 0.411764705882353, 0.882352941176471, 1.0 ],
|
||||
"varname" : "umenu[3]"
|
||||
}
|
||||
@@ -1590,7 +1439,7 @@
|
||||
"parameter_enable" : 0,
|
||||
"patching_rect" : [ 735.0, 1185.0, 106.0, 22.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 31.0, 152.0, 106.0, 22.0 ],
|
||||
"presentation_rect" : [ 459.666666666666629, 40.0, 106.0, 22.0 ],
|
||||
"textcolor" : [ 0.254901960784314, 0.411764705882353, 0.882352941176471, 1.0 ],
|
||||
"varname" : "umenu[2]"
|
||||
}
|
||||
@@ -1628,7 +1477,7 @@
|
||||
"parameter_enable" : 0,
|
||||
"patching_rect" : [ 626.0, 1185.0, 106.0, 22.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 207.0, 40.0, 106.0, 22.0 ],
|
||||
"presentation_rect" : [ 246.333333333333314, 40.0, 106.0, 22.0 ],
|
||||
"textcolor" : [ 0.254901960784314, 0.411764705882353, 0.882352941176471, 1.0 ],
|
||||
"varname" : "umenu[1]"
|
||||
}
|
||||
@@ -1656,8 +1505,8 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
@@ -1665,33 +1514,7 @@
|
||||
,
|
||||
"classnamespace" : "box",
|
||||
"rect" : [ 59.0, 119.0, 640.0, 480.0 ],
|
||||
"bglocked" : 0,
|
||||
"openinpresentation" : 0,
|
||||
"default_fontsize" : 12.0,
|
||||
"default_fontface" : 0,
|
||||
"default_fontname" : "Arial",
|
||||
"gridonopen" : 1,
|
||||
"gridsize" : [ 15.0, 15.0 ],
|
||||
"gridsnaponopen" : 1,
|
||||
"objectsnaponopen" : 1,
|
||||
"statusbarvisible" : 2,
|
||||
"toolbarvisible" : 1,
|
||||
"lefttoolbarpinned" : 0,
|
||||
"toptoolbarpinned" : 0,
|
||||
"righttoolbarpinned" : 0,
|
||||
"bottomtoolbarpinned" : 0,
|
||||
"toolbars_unpinned_last_save" : 0,
|
||||
"tallnewobj" : 0,
|
||||
"boxanimatetime" : 200,
|
||||
"enablehscroll" : 1,
|
||||
"enablevscroll" : 1,
|
||||
"devicewidth" : 0.0,
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"tags" : "",
|
||||
"style" : "",
|
||||
"subpatcher_template" : "",
|
||||
"assistshowspatchername" : 0,
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"id" : "obj-12",
|
||||
@@ -1956,17 +1779,11 @@
|
||||
}
|
||||
|
||||
}
|
||||
]
|
||||
],
|
||||
"originid" : "pat-188"
|
||||
}
|
||||
,
|
||||
"patching_rect" : [ 517.0, 1267.0, 129.0, 22.0 ],
|
||||
"saved_object_attributes" : {
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"globalpatchername" : "",
|
||||
"tags" : ""
|
||||
}
|
||||
,
|
||||
"text" : "p toggle-wave-function"
|
||||
}
|
||||
|
||||
@@ -2004,7 +1821,7 @@
|
||||
"parameter_enable" : 0,
|
||||
"patching_rect" : [ 517.0, 1185.0, 106.0, 22.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 31.0, 40.0, 106.0, 22.0 ],
|
||||
"presentation_rect" : [ 33.0, 40.0, 106.0, 22.0 ],
|
||||
"textcolor" : [ 0.254901960784314, 0.411764705882353, 0.882352941176471, 1.0 ],
|
||||
"varname" : "umenu"
|
||||
}
|
||||
@@ -2072,7 +1889,7 @@
|
||||
"parameter_enable" : 0,
|
||||
"patching_rect" : [ 82.0, 1479.0, 159.5, 52.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 32.0, 64.0, 159.5, 52.0 ],
|
||||
"presentation_rect" : [ 33.0, 64.0, 159.5, 52.0 ],
|
||||
"range" : [ 0.0, 100.0 ],
|
||||
"varname" : "userFunction1"
|
||||
}
|
||||
@@ -2149,7 +1966,7 @@
|
||||
"patching_rect" : [ 144.0, 1282.0, 162.0, 52.0 ],
|
||||
"peakcolor" : [ 0.498039, 0.498039, 0.498039, 1.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 207.0, 64.0, 162.0, 52.0 ],
|
||||
"presentation_rect" : [ 246.0, 64.0, 162.0, 52.0 ],
|
||||
"setminmax" : [ 0.0, 127.0 ],
|
||||
"settype" : 0,
|
||||
"size" : 50,
|
||||
@@ -2168,8 +1985,8 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
@@ -2177,33 +1994,7 @@
|
||||
,
|
||||
"classnamespace" : "box",
|
||||
"rect" : [ 59.0, 119.0, 640.0, 480.0 ],
|
||||
"bglocked" : 0,
|
||||
"openinpresentation" : 0,
|
||||
"default_fontsize" : 12.0,
|
||||
"default_fontface" : 0,
|
||||
"default_fontname" : "Arial",
|
||||
"gridonopen" : 1,
|
||||
"gridsize" : [ 15.0, 15.0 ],
|
||||
"gridsnaponopen" : 1,
|
||||
"objectsnaponopen" : 1,
|
||||
"statusbarvisible" : 2,
|
||||
"toolbarvisible" : 1,
|
||||
"lefttoolbarpinned" : 0,
|
||||
"toptoolbarpinned" : 0,
|
||||
"righttoolbarpinned" : 0,
|
||||
"bottomtoolbarpinned" : 0,
|
||||
"toolbars_unpinned_last_save" : 0,
|
||||
"tallnewobj" : 0,
|
||||
"boxanimatetime" : 200,
|
||||
"enablehscroll" : 1,
|
||||
"enablevscroll" : 1,
|
||||
"devicewidth" : 0.0,
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"tags" : "",
|
||||
"style" : "",
|
||||
"subpatcher_template" : "",
|
||||
"assistshowspatchername" : 0,
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
@@ -2322,17 +2113,11 @@
|
||||
}
|
||||
|
||||
}
|
||||
]
|
||||
],
|
||||
"originid" : "pat-190"
|
||||
}
|
||||
,
|
||||
"patching_rect" : [ 619.0, 89.0, 66.0, 22.0 ],
|
||||
"saved_object_attributes" : {
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"globalpatchername" : "",
|
||||
"tags" : ""
|
||||
}
|
||||
,
|
||||
"text" : "p transport"
|
||||
}
|
||||
|
||||
@@ -2348,18 +2133,6 @@
|
||||
"patching_rect" : [ 144.0, 1123.0, 24.0, 24.0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"id" : "obj-13",
|
||||
"maxclass" : "message",
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 469.0, 170.0, 56.0, 22.0 ],
|
||||
"text" : "dumpNN"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
@@ -2406,7 +2179,7 @@
|
||||
"patching_rect" : [ 144.0, 1185.0, 162.0, 52.0 ],
|
||||
"peakcolor" : [ 0.498039, 0.498039, 0.498039, 1.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 31.0, 64.0, 162.0, 52.0 ],
|
||||
"presentation_rect" : [ 33.0, 64.0, 162.0, 52.0 ],
|
||||
"setminmax" : [ 0.0, 127.0 ],
|
||||
"settype" : 0,
|
||||
"size" : 50,
|
||||
@@ -2589,6 +2362,7 @@
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"disablefind" : 0,
|
||||
"id" : "obj-2",
|
||||
"maxclass" : "jweb",
|
||||
"numinlets" : 1,
|
||||
@@ -2596,7 +2370,7 @@
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 397.0, 210.0, 838.631580829620361, 368.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 16.0, 247.0, 839.0, 478.0 ],
|
||||
"presentation_rect" : [ 16.0, 139.0, 839.0, 474.0 ],
|
||||
"rendermode" : 0,
|
||||
"url" : "file://lfogui.html"
|
||||
}
|
||||
@@ -2607,6 +2381,8 @@
|
||||
"angle" : 270.0,
|
||||
"background" : 1,
|
||||
"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
|
||||
"border" : 1,
|
||||
"bordercolor" : [ 0.254901960784314, 0.411764705882353, 0.882352941176471, 1.0 ],
|
||||
"id" : "obj-9",
|
||||
"maxclass" : "panel",
|
||||
"mode" : 0,
|
||||
@@ -2614,7 +2390,7 @@
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 541.5, 393.5, 128.0, 128.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 16.0, 8.0, 378.0, 231.0 ],
|
||||
"presentation_rect" : [ 16.0, 8.0, 839.0, 130.0 ],
|
||||
"proportion" : 0.5
|
||||
}
|
||||
|
||||
@@ -2752,13 +2528,6 @@
|
||||
"source" : [ "obj-126", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-2", 0 ],
|
||||
"source" : [ "obj-13", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
@@ -3152,6 +2921,13 @@
|
||||
"source" : [ "obj-46", 1 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-2", 0 ],
|
||||
"source" : [ "obj-46", 2 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
@@ -3546,6 +3322,7 @@
|
||||
|
||||
}
|
||||
],
|
||||
"originid" : "pat-178",
|
||||
"parameters" : {
|
||||
"obj-25" : [ "dict", "dict", 0 ],
|
||||
"parameterbanks" : {
|
||||
|
||||
11
lfogui.js
11
lfogui.js
@@ -282,6 +282,11 @@ function MasterLfoHandler() {
|
||||
setTicks(event.detail);
|
||||
}
|
||||
|
||||
function handleChangeViewMode(event){
|
||||
setEnabled(true);
|
||||
setViewMode(event.detail);
|
||||
}
|
||||
|
||||
function setNN(event) {
|
||||
|
||||
for (let i = 0; i < MAXLFOS; i++) {
|
||||
@@ -352,6 +357,7 @@ function MasterLfoHandler() {
|
||||
window.addEventListener('userFunction', handleChangeUserFunction);
|
||||
window.addEventListener('userDefinedType', handleChangeUserDefinedType);
|
||||
window.addEventListener('maxTicks', handleMaxTicks);
|
||||
window.addEventListener('viewMode', handleChangeViewMode);
|
||||
|
||||
return () => {
|
||||
window.removeEventListener('loadDict', handleLoad);
|
||||
@@ -366,6 +372,7 @@ function MasterLfoHandler() {
|
||||
window.removeEventListener('userFunction', handleChangeUserFunction);
|
||||
window.removeEventListener('userDefinedType', handleChangeUserDefinedType);
|
||||
window.removeEventListener('maxTicks', handleMaxTicks);
|
||||
window.removeEventListener('viewMode', handleChangeViewMode);
|
||||
};
|
||||
}, [...allModArrays, ...allEnumArrays, ...allEnumMats, userDefinedWaves, userDefinedFunctions, userDefinedTypes, modCenterVals, render, beatsInMeasure, ticks]);
|
||||
|
||||
@@ -628,6 +635,10 @@ if (!DEBUG) {
|
||||
window.dispatchEvent(new CustomEvent('userWave', { 'detail': data }));
|
||||
});
|
||||
|
||||
window.max.bindInlet("viewMode", (mode) => {
|
||||
window.dispatchEvent(new CustomEvent('viewMode', { 'detail': parseInt(mode) }));
|
||||
});
|
||||
|
||||
window.max.bindInlet("userFunction", (index, ...points) => {
|
||||
//list of 101 points between 0-100
|
||||
let data = { points, index };
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user