Commit ee24f78d authored by maybites's avatar maybites
Browse files

display ultragrid fps

parent dcdaf0dd
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
} }
, ,
"classnamespace" : "box", "classnamespace" : "box",
"rect" : [ 571.0, 129.0, 375.0, 279.0 ], "rect" : [ 530.0, 439.0, 375.0, 279.0 ],
"bglocked" : 0, "bglocked" : 0,
"openinpresentation" : 1, "openinpresentation" : 1,
"default_fontsize" : 12.0, "default_fontsize" : 12.0,
...@@ -64,10 +64,10 @@ ...@@ -64,10 +64,10 @@
"lockeddragscroll" : 0, "lockeddragscroll" : 0,
"maxclass" : "bpatcher", "maxclass" : "bpatcher",
"name" : "deviceUG_icon.maxpat", "name" : "deviceUG_icon.maxpat",
"numinlets" : 4, "numinlets" : 5,
"numoutlets" : 0, "numoutlets" : 0,
"offset" : [ 0.0, 0.0 ], "offset" : [ 0.0, 0.0 ],
"patching_rect" : [ 118.5, 94.0, 34.0, 34.0 ], "patching_rect" : [ 118.5, 99.0, 93.5, 34.0 ],
"presentation" : 1, "presentation" : 1,
"presentation_rect" : [ 8.0, 5.0, 30.0, 33.0 ], "presentation_rect" : [ 8.0, 5.0, 30.0, 33.0 ],
"varname" : "direction", "varname" : "direction",
...@@ -116,10 +116,10 @@ ...@@ -116,10 +116,10 @@
"id" : "obj-3", "id" : "obj-3",
"maxclass" : "newobj", "maxclass" : "newobj",
"numinlets" : 1, "numinlets" : 1,
"numoutlets" : 4, "numoutlets" : 5,
"outlettype" : [ "int", "int", "int", "int" ], "outlettype" : [ "int", "int", "int", "int", "float" ],
"patching_rect" : [ 24.0, 53.0, 317.5, 22.0 ], "patching_rect" : [ 24.0, 53.0, 300.0, 22.0 ],
"text" : "unpack i i i i" "text" : "unpack i i i i f"
} }
} }
...@@ -217,6 +217,13 @@ ...@@ -217,6 +217,13 @@
"source" : [ "obj-17", 0 ] "source" : [ "obj-17", 0 ]
} }
}
, {
"patchline" : {
"destination" : [ "obj-32", 4 ],
"source" : [ "obj-3", 4 ]
}
} }
, { , {
"patchline" : { "patchline" : {
...@@ -305,7 +312,7 @@ ...@@ -305,7 +312,7 @@
, { , {
"name" : "rnbodefault", "name" : "rnbodefault",
"default" : { "default" : {
"elementcolor" : [ 0.357540726661682, 0.515565991401672, 0.861786782741547, 1.0 ], "stripecolor" : [ 0.258338063955307, 0.352425158023834, 0.511919498443604, 1.0 ],
"fontname" : [ "Lato" ], "fontname" : [ "Lato" ],
"bgfillcolor" : { "bgfillcolor" : {
"type" : "color", "type" : "color",
...@@ -318,10 +325,10 @@ ...@@ -318,10 +325,10 @@
} }
, ,
"bgcolor" : [ 0.031372549019608, 0.125490196078431, 0.211764705882353, 1.0 ], "bgcolor" : [ 0.031372549019608, 0.125490196078431, 0.211764705882353, 1.0 ],
"stripecolor" : [ 0.258338063955307, 0.352425158023834, 0.511919498443604, 1.0 ], "accentcolor" : [ 0.343034118413925, 0.506230533123016, 0.86220508813858, 1.0 ],
"elementcolor" : [ 0.357540726661682, 0.515565991401672, 0.861786782741547, 1.0 ],
"color" : [ 0.929412, 0.929412, 0.352941, 1.0 ], "color" : [ 0.929412, 0.929412, 0.352941, 1.0 ],
"fontsize" : [ 12.0 ], "fontsize" : [ 12.0 ]
"accentcolor" : [ 0.343034118413925, 0.506230533123016, 0.86220508813858, 1.0 ]
} }
, ,
"parentstyle" : "", "parentstyle" : "",
...@@ -330,12 +337,9 @@ ...@@ -330,12 +337,9 @@
, { , {
"name" : "rnbohighcontrast", "name" : "rnbohighcontrast",
"default" : { "default" : {
"elementcolor" : [ 0.223386004567146, 0.254748553037643, 0.998085916042328, 1.0 ], "stripecolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"editing_bgcolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"selectioncolor" : [ 0.301960784313725, 0.694117647058824, 0.949019607843137, 1.0 ],
"textcolor_inverse" : [ 1.0, 1.0, 1.0, 1.0 ], "textcolor_inverse" : [ 1.0, 1.0, 1.0, 1.0 ],
"textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "editing_bgcolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"locked_bgcolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"bgfillcolor" : { "bgfillcolor" : {
"type" : "color", "type" : "color",
"color" : [ 0.0, 0.0, 0.0, 1.0 ], "color" : [ 0.0, 0.0, 0.0, 1.0 ],
...@@ -347,11 +351,14 @@ ...@@ -347,11 +351,14 @@
} }
, ,
"bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"stripecolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ], "selectioncolor" : [ 0.301960784313725, 0.694117647058824, 0.949019607843137, 1.0 ],
"color" : [ 1.0, 0.874509803921569, 0.141176470588235, 1.0 ],
"clearcolor" : [ 1.0, 1.0, 1.0, 0.0 ], "clearcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"fontsize" : [ 13.0 ], "locked_bgcolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"accentcolor" : [ 0.666666666666667, 0.666666666666667, 0.666666666666667, 1.0 ] "accentcolor" : [ 0.666666666666667, 0.666666666666667, 0.666666666666667, 1.0 ],
"elementcolor" : [ 0.223386004567146, 0.254748553037643, 0.998085916042328, 1.0 ],
"color" : [ 1.0, 0.874509803921569, 0.141176470588235, 1.0 ],
"textcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"fontsize" : [ 13.0 ]
} }
, ,
"parentstyle" : "", "parentstyle" : "",
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
} }
, ,
"classnamespace" : "box", "classnamespace" : "box",
"rect" : [ 573.0, 394.0, 640.0, 480.0 ], "rect" : [ 729.0, 361.0, 640.0, 480.0 ],
"bglocked" : 0, "bglocked" : 0,
"openinpresentation" : 1, "openinpresentation" : 1,
"default_fontsize" : 12.0, "default_fontsize" : 12.0,
...@@ -39,6 +39,124 @@ ...@@ -39,6 +39,124 @@
"subpatcher_template" : "", "subpatcher_template" : "",
"assistshowspatchername" : 0, "assistshowspatchername" : 0,
"boxes" : [ { "boxes" : [ {
"box" : {
"id" : "obj-36",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 440.75, 284.0, 123.0, 22.0 ],
"text" : "sprintf symout %s fps"
}
}
, {
"box" : {
"id" : "obj-24",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 440.75, 321.0, 45.0, 22.0 ],
"text" : "hint $1"
}
}
, {
"box" : {
"id" : "obj-21",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"patching_rect" : [ 55.0, 167.0, 34.0, 22.0 ],
"text" : "sel 1"
}
}
, {
"box" : {
"id" : "obj-37",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 319.0, 314.0, 21.0, 21.0 ]
}
}
, {
"box" : {
"id" : "obj-35",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"patching_rect" : [ 304.0, 269.0, 34.0, 22.0 ],
"text" : "sel 1"
}
}
, {
"box" : {
"id" : "obj-28",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 319.0, 387.0, 154.0, 22.0 ],
"text" : "textcolor 0. 0.5 0.265625 1."
}
}
, {
"box" : {
"id" : "obj-29",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 304.0, 354.0, 167.0, 22.0 ],
"text" : "textcolor 0. 0.875 0.300781 1."
}
}
, {
"box" : {
"bgcolor" : [ 0.901960784313726, 0.901960784313726, 0.901960784313726, 0.0 ],
"fontsize" : 6.0,
"hidden" : 1,
"hint" : "117 fps",
"id" : "obj-27",
"ignoreclick" : 1,
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 267.0, 419.0, 37.0, 15.0 ],
"presentation" : 1,
"presentation_rect" : [ 0.0, 0.0, 16.0, 15.0 ],
"textcolor" : [ 0.0, 0.5, 0.265625, 1.0 ],
"triangle" : 0
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-20",
"index" : 0,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 314.5, 27.0, 30.0, 30.0 ]
}
}
, {
"box" : { "box" : {
"comment" : "", "comment" : "",
"id" : "obj-19", "id" : "obj-19",
...@@ -47,7 +165,7 @@ ...@@ -47,7 +165,7 @@
"numinlets" : 0, "numinlets" : 0,
"numoutlets" : 1, "numoutlets" : 1,
"outlettype" : [ "" ], "outlettype" : [ "" ],
"patching_rect" : [ 247.5, 27.0, 30.0, 30.0 ] "patching_rect" : [ 249.5, 27.0, 30.0, 30.0 ]
} }
} }
...@@ -71,7 +189,7 @@ ...@@ -71,7 +189,7 @@
"numinlets" : 1, "numinlets" : 1,
"numoutlets" : 1, "numoutlets" : 1,
"outlettype" : [ "bang" ], "outlettype" : [ "bang" ],
"patching_rect" : [ 339.0, 14.0, 58.0, 22.0 ], "patching_rect" : [ 404.0, 15.0, 58.0, 22.0 ],
"text" : "loadbang" "text" : "loadbang"
} }
...@@ -83,7 +201,7 @@ ...@@ -83,7 +201,7 @@
"numinlets" : 2, "numinlets" : 2,
"numoutlets" : 1, "numoutlets" : 1,
"outlettype" : [ "" ], "outlettype" : [ "" ],
"patching_rect" : [ 339.0, 74.0, 216.0, 22.0 ], "patching_rect" : [ 404.0, 75.0, 216.0, 22.0 ],
"text" : "remap_off 0. 0. 0. 1. 0. 0.5 0.265625 1." "text" : "remap_off 0. 0. 0. 1. 0. 0.5 0.265625 1."
} }
...@@ -95,7 +213,7 @@ ...@@ -95,7 +213,7 @@
"numinlets" : 2, "numinlets" : 2,
"numoutlets" : 1, "numoutlets" : 1,
"outlettype" : [ "" ], "outlettype" : [ "" ],
"patching_rect" : [ 322.75, 47.0, 229.0, 22.0 ], "patching_rect" : [ 387.75, 48.0, 229.0, 22.0 ],
"text" : "remap_on 0. 0. 0. 1. 0. 0.875 0.300781 1." "text" : "remap_on 0. 0. 0. 1. 0. 0.875 0.300781 1."
} }
...@@ -107,7 +225,7 @@ ...@@ -107,7 +225,7 @@
"numinlets" : 2, "numinlets" : 2,
"numoutlets" : 1, "numoutlets" : 1,
"outlettype" : [ "" ], "outlettype" : [ "" ],
"patching_rect" : [ 31.5, 149.0, 61.0, 22.0 ], "patching_rect" : [ 20.5, 222.0, 61.0, 22.0 ],
"text" : "hidden $1" "text" : "hidden $1"
} }
...@@ -119,7 +237,7 @@ ...@@ -119,7 +237,7 @@
"numinlets" : 2, "numinlets" : 2,
"numoutlets" : 1, "numoutlets" : 1,
"outlettype" : [ "int" ], "outlettype" : [ "int" ],
"patching_rect" : [ 31.5, 94.0, 29.5, 22.0 ], "patching_rect" : [ 20.5, 167.0, 29.5, 22.0 ],
"text" : "!- 1" "text" : "!- 1"
} }
...@@ -133,7 +251,7 @@ ...@@ -133,7 +251,7 @@
"numinlets" : 0, "numinlets" : 0,
"numoutlets" : 1, "numoutlets" : 1,
"outlettype" : [ "" ], "outlettype" : [ "" ],
"patching_rect" : [ 31.5, 27.0, 30.0, 30.0 ] "patching_rect" : [ 20.5, 28.0, 30.0, 30.0 ]
} }
} }
...@@ -157,7 +275,7 @@ ...@@ -157,7 +275,7 @@
"numinlets" : 2, "numinlets" : 2,
"numoutlets" : 1, "numoutlets" : 1,
"outlettype" : [ "" ], "outlettype" : [ "" ],
"patching_rect" : [ 369.0, 201.0, 244.0, 22.0 ], "patching_rect" : [ 434.0, 202.0, 244.0, 22.0 ],
"text" : "\"Receive stream from machine in local LAN\"" "text" : "\"Receive stream from machine in local LAN\""
} }
...@@ -169,7 +287,7 @@ ...@@ -169,7 +287,7 @@
"numinlets" : 2, "numinlets" : 2,
"numoutlets" : 1, "numoutlets" : 1,
"outlettype" : [ "" ], "outlettype" : [ "" ],
"patching_rect" : [ 355.0, 175.0, 214.0, 22.0 ], "patching_rect" : [ 420.0, 176.0, 214.0, 22.0 ],
"text" : "\"Send stream to machine in local LAN\"" "text" : "\"Send stream to machine in local LAN\""
} }
...@@ -181,7 +299,7 @@ ...@@ -181,7 +299,7 @@
"numinlets" : 2, "numinlets" : 2,
"numoutlets" : 1, "numoutlets" : 1,
"outlettype" : [ "" ], "outlettype" : [ "" ],
"patching_rect" : [ 335.0, 149.0, 164.0, 22.0 ], "patching_rect" : [ 400.0, 150.0, 164.0, 22.0 ],
"text" : "\"Receive stream from server\"" "text" : "\"Receive stream from server\""
} }
...@@ -193,7 +311,7 @@ ...@@ -193,7 +311,7 @@
"numinlets" : 2, "numinlets" : 2,
"numoutlets" : 1, "numoutlets" : 1,
"outlettype" : [ "" ], "outlettype" : [ "" ],
"patching_rect" : [ 318.0, 125.0, 135.0, 22.0 ], "patching_rect" : [ 383.0, 126.0, 135.0, 22.0 ],
"text" : "\"Send stream to server\"" "text" : "\"Send stream to server\""
} }
...@@ -205,7 +323,7 @@ ...@@ -205,7 +323,7 @@
"numinlets" : 2, "numinlets" : 2,
"numoutlets" : 1, "numoutlets" : 1,
"outlettype" : [ "" ], "outlettype" : [ "" ],
"patching_rect" : [ 318.0, 255.0, 45.0, 22.0 ], "patching_rect" : [ 383.0, 256.0, 45.0, 22.0 ],
"text" : "hint $1" "text" : "hint $1"
} }
...@@ -223,7 +341,7 @@ ...@@ -223,7 +341,7 @@
"maxclass" : "svgcolor", "maxclass" : "svgcolor",
"numinlets" : 1, "numinlets" : 1,
"numoutlets" : 0, "numoutlets" : 0,
"patching_rect" : [ 154.75, 289.0, 50.0, 50.0 ], "patching_rect" : [ 154.75, 326.0, 50.0, 50.0 ],
"presentation" : 1, "presentation" : 1,
"presentation_rect" : [ 0.0, 0.0, 30.0, 30.0 ], "presentation_rect" : [ 0.0, 0.0, 30.0, 30.0 ],
"togglemode" : 1 "togglemode" : 1
...@@ -341,6 +459,15 @@ ...@@ -341,6 +459,15 @@
, { , {
"patchline" : { "patchline" : {
"destination" : [ "obj-23", 0 ], "destination" : [ "obj-23", 0 ],
"order" : 1,
"source" : [ "obj-14", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-27", 0 ],
"order" : 0,
"source" : [ "obj-14", 0 ] "source" : [ "obj-14", 0 ]
} }
...@@ -369,6 +496,15 @@ ...@@ -369,6 +496,15 @@
, { , {
"patchline" : { "patchline" : {
"destination" : [ "obj-23", 0 ], "destination" : [ "obj-23", 0 ],
"order" : 1,
"source" : [ "obj-18", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-35", 0 ],
"order" : 0,
"source" : [ "obj-18", 0 ] "source" : [ "obj-18", 0 ]
} }
...@@ -436,6 +572,45 @@ ...@@ -436,6 +572,45 @@
"source" : [ "obj-2", 3 ] "source" : [ "obj-2", 3 ]
} }
}
, {
"patchline" : {
"destination" : [ "obj-27", 0 ],
"order" : 1,
"source" : [ "obj-20", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-36", 0 ],
"order" : 0,
"source" : [ "obj-20", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-27", 0 ],
"order" : 1,
"source" : [ "obj-21", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-36", 0 ],
"order" : 0,
"source" : [ "obj-21", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-27", 0 ],
"source" : [ "obj-24", 0 ]
}
} }
, { , {
"patchline" : { "patchline" : {
...@@ -452,6 +627,20 @@ ...@@ -452,6 +627,20 @@
"source" : [ "obj-26", 0 ] "source" : [ "obj-26", 0 ]
} }
}
, {
"patchline" : {
"destination" : [ "obj-27", 0 ],
"source" : [ "obj-28", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-27", 0 ],
"source" : [ "obj-29", 0 ]
}
} }
, { , {
"patchline" : { "patchline" : {
...@@ -459,6 +648,34 @@ ...@@ -459,6 +648,34 @@
"source" : [ "obj-3", 0 ] "source" : [ "obj-3", 0 ]
} }
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"source" : [ "obj-35", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-37", 0 ],
"source" : [ "obj-35", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-24", 0 ],
"source" : [ "obj-36", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-28", 0 ],
"source" : [ "obj-37", 0 ]
}
} }
, { , {
"patchline" : { "patchline" : {
...@@ -473,10 +690,19 @@ ...@@ -473,10 +690,19 @@
"source" : [ "obj-5", 0 ] "source" : [ "obj-5", 0 ]
} }
}
, {
"patchline" : {
"destination" : [ "obj-21", 0 ],
"order" : 0,
"source" : [ "obj-6", 0 ]
}
} }
, { , {
"patchline" : { "patchline" : {
"destination" : [ "obj-9", 0 ], "destination" : [ "obj-9", 0 ],
"order" : 1,
"source" : [ "obj-6", 0 ] "source" : [ "obj-6", 0 ]
} }
...@@ -508,7 +734,7 @@ ...@@ -508,7 +734,7 @@
"styles" : [ { "styles" : [ {
"name" : "rnbodefault", "name" : "rnbodefault",
"default" : { "default" : {
"elementcolor" : [ 0.357540726661682, 0.515565991401672, 0.861786782741547, 1.0 ], "stripecolor" : [ 0.258338063955307, 0.352425158023834, 0.511919498443604, 1.0 ],
"fontname" : [ "Lato" ], "fontname" : [ "Lato" ],
"bgfillcolor" : { "bgfillcolor" : {
"type" : "color", "type" : "color",
...@@ -521,10 +747,10 @@ ...@@ -521,10 +747,10 @@