Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
telemersion
Telemersive Gateway
Commits
71fd3208
Commit
71fd3208
authored
Mar 14, 2021
by
maybites
Browse files
usability fixes
fix for osc reset
parent
dae002cc
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
patchers/TelemersiveGateway.maxpat
View file @
71fd3208
This diff is collapsed.
Click to expand it.
patchers/devices/deviceOSC_local.maxpat
View file @
71fd3208
...
...
@@ -10,7 +10,7 @@
}
,
"classnamespace" : "box",
"rect" : [
586
.0,
246
.0,
232
.0, 591.0 ],
"rect" : [
462
.0,
162
.0,
738
.0, 591.0 ],
"bglocked" : 0,
"openinpresentation" : 1,
"default_fontsize" : 12.0,
...
...
@@ -39,6 +39,42 @@
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-18",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"patching_rect" : [ 318.0, 228.0, 34.0, 22.0 ],
"text" : "sel 1"
}
}
, {
"box" : {
"id" : "obj-16",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 318.0, 19.5, 32.0, 22.0 ],
"text" : "t b b"
}
}
, {
"box" : {
"id" : "obj-6",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 95.0, 298.0, 54.0, 22.0 ],
"text" : "deferlow"
}
}
, {
"box" : {
"id" : "obj-8",
"maxclass" : "newobj",
...
...
@@ -328,7 +364,7 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 95.0,
299
.0, 57.0, 22.0 ],
"patching_rect" : [ 95.0,
322
.0, 57.0, 22.0 ],
"text" : "tosymbol"
}
...
...
@@ -404,7 +440,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 229.333333333333343, 9
1
.0, 43.0, 22.0 ],
"patching_rect" : [ 229.333333333333343, 9
9
.0, 43.0, 22.0 ],
"text" : "* 1000"
}
...
...
@@ -416,7 +452,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 229.333333333333343, 15
3
.0, 29.5, 22.0 ],
"patching_rect" : [ 229.333333333333343, 15
8
.0, 29.5, 22.0 ],
"text" : "+"
}
...
...
@@ -428,7 +464,7 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 277.833333333333371, 9
1
.0, 77.0, 22.0 ],
"patching_rect" : [ 277.833333333333371, 9
9
.0, 77.0, 22.0 ],
"text" : "loadmess #2"
}
...
...
@@ -440,8 +476,8 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 277.833333333333371, 12
0
.0,
29.5
, 22.0 ],
"text" : "
+
0"
"patching_rect" : [ 277.833333333333371, 12
7
.0,
30.0
, 22.0 ],
"text" : "
* 1
0"
}
}
...
...
@@ -452,7 +488,7 @@
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 229.333333333333343,
62
.0, 99.0, 22.0 ],
"patching_rect" : [ 229.333333333333343,
70
.0, 99.0, 22.0 ],
"text" : "receiveR roomID"
}
...
...
@@ -464,7 +500,7 @@
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 140.6666666666666
57, 27.0
, 117.0, 22.0 ],
"patching_rect" : [ 140.6666666666666
86, 19.5
, 117.0, 22.0 ],
"text" : "receiveR serverURL"
}
...
...
@@ -485,7 +521,7 @@
"numoutlets" : 1,
"offset" : [ 0.0, 0.0 ],
"outlettype" : [ "bang" ],
"patching_rect" : [ 52.0,
27.0, 69
.0, 4
7
.0 ],
"patching_rect" : [ 52.0,
89.5, 97
.0, 4
1
.0 ],
"presentation" : 1,
"presentation_rect" : [ 0.0, 0.0, 100.0, 40.0 ],
"viewvisibility" : 1
...
...
@@ -499,7 +535,7 @@
"numinlets" : 1,
"numoutlets" : 4,
"outlettype" : [ "", "", "", "" ],
"patching_rect" : [
273
.833333333333371,
27
.0, 56.0, 22.0 ],
"patching_rect" : [
487
.833333333333371,
16
.0, 56.0, 22.0 ],
"text" : "autopattr",
"varname" : "u181005868"
}
...
...
@@ -512,7 +548,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 52.0, 1
0
4.0, 35.0, 22.0 ],
"patching_rect" : [ 52.0, 14
2
.0, 35.0, 22.0 ],
"text" : "open"
}
...
...
@@ -522,8 +558,8 @@
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 4,
"numoutlets" :
2
,
"outlettype" : [ "", "" ],
"numoutlets" :
3
,
"outlettype" : [ "", ""
, "int"
],
"patching_rect" : [ 52.0, 191.0, 285.0, 22.0 ],
"text" : "deviceOSC_view #1 #2",
"varname" : "gui"
...
...
@@ -579,6 +615,29 @@
"source" : [ "obj-15", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-11", 0 ],
"source" : [ "obj-16", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-17", 0 ],
"order" : 0,
"source" : [ "obj-16", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"order" : 1,
"source" : [ "obj-16", 0 ]
}
}
, {
"patchline" : {
...
...
@@ -586,6 +645,14 @@
"source" : [ "obj-17", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-16", 0 ],
"midpoints" : [ 327.5, 264.0, 461.0, 264.0, 461.0, 9.5, 327.5, 9.5 ],
"source" : [ "obj-18", 0 ]
}
}
, {
"patchline" : {
...
...
@@ -630,11 +697,18 @@
"source" : [ "obj-29", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-18", 0 ],
"source" : [ "obj-3", 2 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"midpoints" : [ 61.5, 228.0, 25.5, 228.0, 25.5,
11
.0, 61.5,
11
.0 ],
"midpoints" : [ 61.5, 228.0, 25.5, 228.0, 25.5,
80
.0, 61.5,
80
.0 ],
"source" : [ "obj-3", 0 ]
}
...
...
@@ -655,7 +729,7 @@
}
, {
"patchline" : {
"destination" : [ "obj-
24
", 0 ],
"destination" : [ "obj-
6
", 0 ],
"source" : [ "obj-30", 1 ]
}
...
...
@@ -681,6 +755,13 @@
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-24", 0 ],
"source" : [ "obj-6", 0 ]
}
}
, {
"patchline" : {
...
...
@@ -706,43 +787,43 @@
],
"dependency_cache" : [ {
"name" : "deviceOSC_view.maxpat",
"bootpath" : "~/Arbeiten/01_projekte/181111_IASpace/01_projekte/20xx_Telematik/01_dev/
TeSApp
/patchers/
mockup
",
"bootpath" : "~/Arbeiten/01_projekte/181111_IASpace/01_projekte/20xx_Telematik/01_dev/
telemersive-gateway
/patchers/
devices
",
"patcherrelativepath" : ".",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "SVGButton.maxpat",
"bootpath" : "~/Arbeiten/01_projekte/181111_IASpace/01_projekte/20xx_Telematik/01_dev/
TeSApp
/patchers/
mockup
",
"patcherrelativepath" : ".",
"bootpath" : "~/Arbeiten/01_projekte/181111_IASpace/01_projekte/20xx_Telematik/01_dev/
telemersive-gateway
/patchers/
utils
",
"patcherrelativepath" : ".
./utils
",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "tg.view.appearance.maxpat",
"bootpath" : "~/Arbeiten/01_projekte/181111_IASpace/01_projekte/20xx_Telematik/01_dev/
TeSApp
/patchers/
mockup
",
"patcherrelativepath" : ".",
"bootpath" : "~/Arbeiten/01_projekte/181111_IASpace/01_projekte/20xx_Telematik/01_dev/
telemersive-gateway
/patchers/
utils
",
"patcherrelativepath" : ".
./utils
",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "deviceOSC_button.maxpat",
"bootpath" : "~/Arbeiten/01_projekte/181111_IASpace/01_projekte/20xx_Telematik/01_dev/
TeSApp
/patchers/
mockup
",
"bootpath" : "~/Arbeiten/01_projekte/181111_IASpace/01_projekte/20xx_Telematik/01_dev/
telemersive-gateway
/patchers/
devices
",
"patcherrelativepath" : ".",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "deviceOSC_icon.maxpat",
"bootpath" : "~/Arbeiten/01_projekte/181111_IASpace/01_projekte/20xx_Telematik/01_dev/
TeSApp
/patchers/
mockup
",
"bootpath" : "~/Arbeiten/01_projekte/181111_IASpace/01_projekte/20xx_Telematik/01_dev/
telemersive-gateway
/patchers/
devices
",
"patcherrelativepath" : ".",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "receiveR.maxpat",
"bootpath" : "~/Arbeiten/01_projekte/181111_IASpace/01_projekte/20xx_Telematik/01_dev/
TeSApp
/patchers/
mockup
",
"patcherrelativepath" : ".",
"bootpath" : "~/Arbeiten/01_projekte/181111_IASpace/01_projekte/20xx_Telematik/01_dev/
telemersive-gateway
/patchers/
utils
",
"patcherrelativepath" : ".
./utils
",
"type" : "JSON",
"implicit" : 1
}
...
...
patchers/devices/deviceOSC_view.maxpat
View file @
71fd3208
...
...
@@ -10,7 +10,7 @@
}
,
"classnamespace" : "box",
"rect" : [
40
2.0,
429
.0, 4
3
2.0, 1
37
.0 ],
"rect" : [
38
2.0,
376
.0, 42
6
.0, 1
46
.0 ],
"bglocked" : 0,
"openinpresentation" : 1,
"default_fontsize" : 12.0,
...
...
@@ -39,6 +39,43 @@
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-15",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 565.0, 231.0, 35.0, 22.0 ],
"text" : "set 0"
}
}
, {
"box" : {
"id" : "obj-11",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 522.166666666666742, 231.0, 24.0, 24.0 ],
"varname" : "reset"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-7",
"index" : 0,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 522.166666666666742, 269.0, 30.0, 30.0 ]
}
}
, {
"box" : {
"id" : "obj-6",
"maxclass" : "newobj",
...
...
@@ -391,7 +428,8 @@
"restore" : {
"description" : [ "description..." ],
"inputIndicator" : [ 0 ],
"outputIndicator" : [ 0 ]
"outputIndicator" : [ 0 ],
"reset" : [ 0 ]
}
,
"text" : "autopattr",
...
...
@@ -450,9 +488,9 @@
"lockeddragscroll" : 0,
"maxclass" : "bpatcher",
"numinlets" : 4,
"numoutlets" :
1
,
"numoutlets" :
2
,
"offset" : [ 0.0, 0.0 ],
"outlettype" : [ "" ],
"outlettype" : [ ""
, "bang"
],
"patcher" : {
"fileversion" : 1,
"appversion" : {
...
...
@@ -464,7 +502,7 @@
}
,
"classnamespace" : "box",
"rect" : [ 270.0, 107.0,
792
.0, 378.0 ],
"rect" : [ 270.0, 107.0,
858
.0, 378.0 ],
"bglocked" : 0,
"openinpresentation" : 1,
"default_fontsize" : 12.0,
...
...
@@ -495,12 +533,24 @@
"boxes" : [ {
"box" : {
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 477.0, 82.0, 38.0, 22.0 ],
"text" : "zl.reg"
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 329.043209876543187, 245.0, 57.0, 20.0 ],
"presentation" : 1,
"presentation_rect" : [ 72.0, 1.0, 180.0, 20.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-4",
"index" : 2,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 759.0, 301.0, 30.0, 30.0 ]
}
}
...
...
@@ -513,7 +563,7 @@
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [
31
9.0, 4
0
.0, 24.0, 24.0 ],
"patching_rect" : [
75
9.0,
1
4.0, 24.0, 24.0 ],
"presentation" : 1,
"presentation_rect" : [ 319.0, 1.0, 21.0, 21.0 ]
}
...
...
@@ -539,25 +589,6 @@
"varname" : "u839005257"
}
}
, {
"box" : {
"id" : "obj-29",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 263.0, 88.0, 103.0, 22.0 ],
"restore" : [ 0 ],
"saved_object_attributes" : {
"parameter_enable" : 0,
"parameter_mappable" : 0
}
,
"text" : "pattr gatewayPort",
"varname" : "gatewayPort"
}
}
, {
"box" : {
...
...
@@ -591,7 +622,7 @@
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"patching_rect" : [ 477.851851851851734,
112
.0, 29.5, 22.0 ],
"patching_rect" : [ 477.851851851851734,
88
.0, 29.5, 22.0 ],
"text" : "t b l"
}
...
...
@@ -720,18 +751,6 @@
"varname" : "outputPortTwo"
}
}
, {
"box" : {
"id" : "obj-44",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 335.234567901234527, 217.0, 119.0, 22.0 ],
"text" : "loadmess set 0.0.0.0"
}
}
, {
"box" : {
...
...
@@ -800,7 +819,7 @@
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 3
35.23456790123452
7, 1
95
.0, 53.0, 20.0 ],
"patching_rect" : [ 3
29.04320987654318
7, 1
78
.0, 53.0, 20.0 ],
"presentation" : 1,
"presentation_rect" : [ 0.0, 1.0, 53.0, 20.0 ],
"text" : "listening"
...
...
@@ -969,77 +988,63 @@
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"destination" : [ "obj-35", 0 ],
"order" : 1,
"source" : [ "obj-21", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-3", 0 ],
"source" : [ "obj-23", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-40", 6 ],
"source" : [ "obj-25", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-10", 0 ],
"order" : 1,
"source" : [ "obj-26", 0 ]
"destination" : [ "obj-40", 3 ],
"order" : 3,
"source" : [ "obj-21", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-
48
", 0 ],
"destination" : [ "obj-
56
", 0 ],
"order" : 0,
"source" : [ "obj-2
6
", 0 ]
"source" : [ "obj-2
1
", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-
35
", 0 ],
"order" :
1
,
"source" : [ "obj-2
9
", 0 ]
"destination" : [ "obj-
6
", 0 ],
"order" :
2
,
"source" : [ "obj-2
1
", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-40", 3 ],
"order" : 3,
"source" : [ "obj-29", 0 ]
"destination" : [ "obj-62", 0 ],
"source" : [ "obj-23", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-56", 0 ],
"order" : 0,
"source" : [ "obj-29", 0 ]
"destination" : [ "obj-40", 6 ],
"source" : [ "obj-25", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-
6
", 0 ],
"order" :
2
,
"source" : [ "obj-2
9
", 0 ]
"destination" : [ "obj-
10
", 0 ],
"order" :
1
,
"source" : [ "obj-2
6
", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-62", 0 ],
"source" : [ "obj-3", 0 ]
"destination" : [ "obj-48", 0 ],
"order" : 0,
"source" : [ "obj-26", 0 ]
}
}
...
...
@@ -1056,13 +1061,6 @@
"source" : [ "obj-40", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-40", 4 ],
"source" : [ "obj-44", 0 ]
}
}
, {
"patchline" : {
...
...
@@ -1087,16 +1085,7 @@
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"order" : 1,
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-3", 0 ],
"order" : 0,
"destination" : [ "obj-4", 0 ],
"source" : [ "obj-5", 0 ]
}
...
...
@@ -1181,6 +1170,22 @@
"source" : [ "obj-62", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-3", 0 ],
"order" : 3,
"source" : [ "obj-62", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-40", 4 ],
"order" : 2,
"source" : [ "obj-62", 1 ]
}
}
, {
"patchline" : {
...
...
@@ -1223,6 +1228,22 @@
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-15", 0 ],
"order" : 0,
"source" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"order" : 1,
"source" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
...
...
@@ -1245,6 +1266,13 @@
"source" : [ "obj-14", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-11", 0 ],
"source" : [ "obj-15", 0 ]
}