Compare commits
No commits in common. "7cb4180d9772db771108b178df910e6844b1b90b" and "fe68764e7d194940247cbd45a850fe739cb74d0a" have entirely different histories.
7cb4180d97
...
fe68764e7d
307
ModEnum.maxpat
307
ModEnum.maxpat
@ -2,19 +2,42 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
}
|
||||
,
|
||||
"classnamespace" : "box",
|
||||
"rect" : [ 53.0, 190.0, 1417.0, 704.0 ],
|
||||
"rect" : [ 47.0, 165.0, 884.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",
|
||||
@ -53,11 +76,11 @@
|
||||
"box" : {
|
||||
"id" : "obj-46",
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 4,
|
||||
"numoutlets" : 4,
|
||||
"outlettype" : [ "", "", "", "" ],
|
||||
"patching_rect" : [ 207.5, 93.827167987823486, 193.0, 22.0 ],
|
||||
"text" : "routepass param reload viewMode"
|
||||
"numinlets" : 3,
|
||||
"numoutlets" : 3,
|
||||
"outlettype" : [ "", "", "" ],
|
||||
"patching_rect" : [ 207.5, 93.827167987823486, 135.0, 22.0 ],
|
||||
"text" : "routepass param reload"
|
||||
}
|
||||
|
||||
}
|
||||
@ -409,8 +432,8 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
@ -418,7 +441,33 @@
|
||||
,
|
||||
"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",
|
||||
@ -554,11 +603,17 @@
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
"originid" : "pat-180"
|
||||
]
|
||||
}
|
||||
,
|
||||
"patching_rect" : [ 724.0, 1441.0, 95.0, 22.0 ],
|
||||
"saved_object_attributes" : {
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"globalpatchername" : "",
|
||||
"tags" : ""
|
||||
}
|
||||
,
|
||||
"text" : "p dumpFunction"
|
||||
}
|
||||
|
||||
@ -631,8 +686,8 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
@ -640,7 +695,33 @@
|
||||
,
|
||||
"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",
|
||||
@ -776,11 +857,17 @@
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
"originid" : "pat-182"
|
||||
]
|
||||
}
|
||||
,
|
||||
"patching_rect" : [ 510.0, 1441.0, 95.0, 22.0 ],
|
||||
"saved_object_attributes" : {
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"globalpatchername" : "",
|
||||
"tags" : ""
|
||||
}
|
||||
,
|
||||
"text" : "p dumpFunction"
|
||||
}
|
||||
|
||||
@ -852,8 +939,8 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
@ -861,7 +948,33 @@
|
||||
,
|
||||
"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",
|
||||
@ -997,11 +1110,17 @@
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
"originid" : "pat-184"
|
||||
]
|
||||
}
|
||||
,
|
||||
"patching_rect" : [ 296.0, 1441.0, 95.0, 22.0 ],
|
||||
"saved_object_attributes" : {
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"globalpatchername" : "",
|
||||
"tags" : ""
|
||||
}
|
||||
,
|
||||
"text" : "p dumpFunction"
|
||||
}
|
||||
|
||||
@ -1086,8 +1205,8 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
@ -1095,7 +1214,33 @@
|
||||
,
|
||||
"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",
|
||||
@ -1231,11 +1376,17 @@
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
"originid" : "pat-186"
|
||||
]
|
||||
}
|
||||
,
|
||||
"patching_rect" : [ 82.0, 1441.0, 95.0, 22.0 ],
|
||||
"saved_object_attributes" : {
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"globalpatchername" : "",
|
||||
"tags" : ""
|
||||
}
|
||||
,
|
||||
"text" : "p dumpFunction"
|
||||
}
|
||||
|
||||
@ -1505,8 +1656,8 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
@ -1514,7 +1665,33 @@
|
||||
,
|
||||
"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",
|
||||
@ -1779,11 +1956,17 @@
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
"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"
|
||||
}
|
||||
|
||||
@ -1985,8 +2168,8 @@
|
||||
"patcher" : {
|
||||
"fileversion" : 1,
|
||||
"appversion" : {
|
||||
"major" : 9,
|
||||
"minor" : 0,
|
||||
"major" : 8,
|
||||
"minor" : 6,
|
||||
"revision" : 5,
|
||||
"architecture" : "x64",
|
||||
"modernui" : 1
|
||||
@ -1994,7 +2177,33 @@
|
||||
,
|
||||
"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",
|
||||
@ -2113,11 +2322,17 @@
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
"originid" : "pat-190"
|
||||
]
|
||||
}
|
||||
,
|
||||
"patching_rect" : [ 619.0, 89.0, 66.0, 22.0 ],
|
||||
"saved_object_attributes" : {
|
||||
"description" : "",
|
||||
"digest" : "",
|
||||
"globalpatchername" : "",
|
||||
"tags" : ""
|
||||
}
|
||||
,
|
||||
"text" : "p transport"
|
||||
}
|
||||
|
||||
@ -2133,6 +2348,18 @@
|
||||
"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" : {
|
||||
@ -2362,7 +2589,6 @@
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"disablefind" : 0,
|
||||
"id" : "obj-2",
|
||||
"maxclass" : "jweb",
|
||||
"numinlets" : 1,
|
||||
@ -2528,6 +2754,13 @@
|
||||
"source" : [ "obj-126", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-2", 0 ],
|
||||
"source" : [ "obj-13", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
@ -2921,13 +3154,6 @@
|
||||
"source" : [ "obj-46", 1 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-2", 0 ],
|
||||
"source" : [ "obj-46", 2 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
@ -3322,7 +3548,6 @@
|
||||
|
||||
}
|
||||
],
|
||||
"originid" : "pat-178",
|
||||
"parameters" : {
|
||||
"obj-25" : [ "dict", "dict", 0 ],
|
||||
"parameterbanks" : {
|
||||
|
11
lfogui.js
11
lfogui.js
@ -282,11 +282,6 @@ function MasterLfoHandler() {
|
||||
setTicks(event.detail);
|
||||
}
|
||||
|
||||
function handleChangeViewMode(event){
|
||||
setEnabled(true);
|
||||
setViewMode(event.detail);
|
||||
}
|
||||
|
||||
function setNN(event) {
|
||||
|
||||
for (let i = 0; i < MAXLFOS; i++) {
|
||||
@ -357,7 +352,6 @@ function MasterLfoHandler() {
|
||||
window.addEventListener('userFunction', handleChangeUserFunction);
|
||||
window.addEventListener('userDefinedType', handleChangeUserDefinedType);
|
||||
window.addEventListener('maxTicks', handleMaxTicks);
|
||||
window.addEventListener('viewMode', handleChangeViewMode);
|
||||
|
||||
return () => {
|
||||
window.removeEventListener('loadDict', handleLoad);
|
||||
@ -372,7 +366,6 @@ 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]);
|
||||
|
||||
@ -635,10 +628,6 @@ 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 };
|
||||
|
Loading…
Reference in New Issue
Block a user