Bug fix du jour
This commit is contained in:
parent
82208c3a77
commit
6bb583a379
@ -39,6 +39,67 @@
|
||||
"subpatcher_template" : "",
|
||||
"assistshowspatchername" : 0,
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"id" : "obj-40",
|
||||
"maxclass" : "message",
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 1267.0, 377.0, 89.0, 22.0 ],
|
||||
"presentation_linecount" : 2,
|
||||
"text" : "storagewindow"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"id" : "obj-38",
|
||||
"maxclass" : "message",
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 1105.25, 346.0, 29.5, 22.0 ],
|
||||
"text" : "1"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"id" : "obj-36",
|
||||
"maxclass" : "message",
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 1318.0, 328.0, 82.0, 22.0 ],
|
||||
"text" : "outputmode 2"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"id" : "obj-35",
|
||||
"maxclass" : "message",
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 1228.0, 328.0, 88.0, 22.0 ],
|
||||
"text" : "changemode 1"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"id" : "obj-31",
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 612.5, 52.5, 70.0, 22.0 ],
|
||||
"text" : "loadmess 0"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"id" : "obj-23",
|
||||
"maxclass" : "message",
|
||||
@ -107,7 +168,7 @@
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 612.5, 139.0, 89.0, 22.0 ],
|
||||
"patching_rect" : [ 612.5, 154.0, 89.0, 22.0 ],
|
||||
"text" : "displayknob $1"
|
||||
}
|
||||
|
||||
@ -128,7 +189,6 @@
|
||||
, {
|
||||
"box" : {
|
||||
"id" : "obj-181",
|
||||
"int" : 1,
|
||||
"maxclass" : "gswitch2",
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 2,
|
||||
@ -318,7 +378,6 @@
|
||||
, {
|
||||
"box" : {
|
||||
"id" : "obj-165",
|
||||
"int" : 1,
|
||||
"maxclass" : "gswitch2",
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 2,
|
||||
@ -769,7 +828,6 @@
|
||||
, {
|
||||
"box" : {
|
||||
"clickmoveinactive" : 0,
|
||||
"displayknob" : 1,
|
||||
"filternodeschanges" : 1,
|
||||
"id" : "obj-132",
|
||||
"knobcolor" : [ 0.929411764705882, 0.929411764705882, 0.352941176470588, 0.79 ],
|
||||
@ -1305,7 +1363,7 @@
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 1268.0, 268.0, 117.0, 22.0 ],
|
||||
"patching_rect" : [ 1267.0, 256.0, 117.0, 22.0 ],
|
||||
"text" : "-> djster_webcontrol"
|
||||
}
|
||||
|
||||
@ -1317,7 +1375,7 @@
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "bang" ],
|
||||
"patching_rect" : [ 1196.0, 271.0, 58.0, 22.0 ],
|
||||
"patching_rect" : [ 1195.0, 259.0, 58.0, 22.0 ],
|
||||
"text" : "loadbang"
|
||||
}
|
||||
|
||||
@ -1780,7 +1838,7 @@
|
||||
"maxclass" : "comment",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 1036.0, 271.0, 137.0, 38.0 ],
|
||||
"patching_rect" : [ 1048.0, 269.0, 137.0, 38.0 ],
|
||||
"text" : "Write presets to file"
|
||||
}
|
||||
|
||||
@ -1792,7 +1850,7 @@
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 1080.0, 311.0, 56.0, 22.0 ],
|
||||
"patching_rect" : [ 1092.0, 309.0, 56.0, 22.0 ],
|
||||
"presentation" : 1,
|
||||
"presentation_rect" : [ 385.0, 17.5, 56.0, 22.0 ],
|
||||
"text" : "writejson"
|
||||
@ -1858,7 +1916,7 @@
|
||||
"maxclass" : "comment",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 545.0, 33.5, 137.0, 35.0 ],
|
||||
"patching_rect" : [ 593.0, 13.5, 137.0, 35.0 ],
|
||||
"text" : "Create presets by clicking on numbers"
|
||||
}
|
||||
|
||||
@ -1895,7 +1953,7 @@
|
||||
}
|
||||
,
|
||||
"classnamespace" : "box",
|
||||
"rect" : [ 1154.0, 420.0, 403.0, 673.0 ],
|
||||
"rect" : [ 614.0, 212.0, 403.0, 673.0 ],
|
||||
"bglocked" : 0,
|
||||
"openinpresentation" : 1,
|
||||
"default_fontsize" : 12.0,
|
||||
@ -1923,7 +1981,6 @@
|
||||
"style" : "",
|
||||
"subpatcher_template" : "",
|
||||
"assistshowspatchername" : 0,
|
||||
"visible" : 1,
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"fontname" : "Lato",
|
||||
@ -2105,7 +2162,7 @@
|
||||
}
|
||||
,
|
||||
"classnamespace" : "box",
|
||||
"rect" : [ 102.0, 236.0, 876.0, 682.0 ],
|
||||
"rect" : [ 320.0, 266.0, 876.0, 682.0 ],
|
||||
"bglocked" : 0,
|
||||
"openinpresentation" : 0,
|
||||
"default_fontsize" : 12.0,
|
||||
@ -2133,6 +2190,7 @@
|
||||
"style" : "",
|
||||
"subpatcher_template" : "",
|
||||
"assistshowspatchername" : 0,
|
||||
"visible" : 1,
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"id" : "obj-18",
|
||||
@ -5879,24 +5937,23 @@
|
||||
, {
|
||||
"box" : {
|
||||
"id" : "obj-20",
|
||||
"linecount" : 2,
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 1117.333333333333258, 358.0, 265.0, 35.0 ],
|
||||
"patching_rect" : [ 1092.0, 425.0, 173.0, 22.0 ],
|
||||
"priority" : {
|
||||
"hub::instrument::bank" : -1
|
||||
}
|
||||
,
|
||||
"saved_object_attributes" : {
|
||||
"client_rect" : [ 1049, 490, 1658, 806 ],
|
||||
"client_rect" : [ 100, 172, 813, 696 ],
|
||||
"parameter_enable" : 0,
|
||||
"parameter_mappable" : 0,
|
||||
"storage_rect" : [ 780, 524, 1380, 824 ]
|
||||
"storage_rect" : [ 100, 172, 615, 612 ]
|
||||
}
|
||||
,
|
||||
"text" : "pattrstorage DJster @greedy 1 @outputmode 2 @changemode 1",
|
||||
"text" : "pattrstorage DJster @greedy 1",
|
||||
"varname" : "DJster"
|
||||
}
|
||||
|
||||
@ -6124,7 +6181,7 @@
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 1196.0, 308.0, 177.0, 22.0 ],
|
||||
"patching_rect" : [ 1195.0, 296.0, 177.0, 22.0 ],
|
||||
"text" : "priority hub::instrument::bank -1"
|
||||
}
|
||||
|
||||
@ -6398,6 +6455,13 @@
|
||||
"source" : [ "obj-30", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-182", 0 ],
|
||||
"source" : [ "obj-31", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
@ -6406,6 +6470,27 @@
|
||||
"source" : [ "obj-32", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-20", 0 ],
|
||||
"source" : [ "obj-35", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-20", 0 ],
|
||||
"source" : [ "obj-36", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-20", 0 ],
|
||||
"source" : [ "obj-38", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
@ -6414,6 +6499,13 @@
|
||||
"source" : [ "obj-39", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-20", 0 ],
|
||||
"source" : [ "obj-40", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
|
@ -48,15 +48,17 @@ function readPiece(path)
|
||||
var keys = outdict.getkeys();
|
||||
for (var i = 0; i < keys.length; i++) outlet(3, keys[i]);
|
||||
outlet(1, outdict.get("DefaultSetting::1::networkData"));
|
||||
outlet(1, predict(0.5, 0.5));
|
||||
outlet(1, "predict", 0.5, 0.5);
|
||||
outlet(0, 0.5, 0.5);
|
||||
}
|
||||
|
||||
function getSection(section)
|
||||
{
|
||||
outlet(1, outdict.get(section + "::1::networkData"));
|
||||
outlet(1, predict(0.5, 0.5));
|
||||
outlet(0, 0.5, 0.5);
|
||||
if (outdict.contains(section)) {
|
||||
outlet(1, outdict.get(section + "::1::networkData"));
|
||||
outlet(1, "predict", 0.5, 0.5);
|
||||
outlet(0, 0.5, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
function writePiece()
|
||||
|
Loading…
Reference in New Issue
Block a user