@ircam/comote-helpers 0.3.3 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/.babelrc +5 -0
  2. package/.github/workflows/main.yml +3 -3
  3. package/.history/.gitignore_20250415160643 +6 -0
  4. package/.history/.gitignore_20250415160723 +6 -0
  5. package/.history/examples/simple-webview/package-lock_20250415130242.json +5109 -0
  6. package/.history/examples/simple-webview/package-lock_20250416103557.json +5109 -0
  7. package/.history/examples/simple-webview/package_20250415130704.json +26 -0
  8. package/.history/examples/simple-webview/package_20250415184837.json +26 -0
  9. package/.history/examples/simple-webview/package_20250415190300.json +23 -0
  10. package/.history/examples/simple-webview/src/server_20250415105733.js +20 -0
  11. package/.history/examples/simple-webview/src/server_20250415184604.js +20 -0
  12. package/.history/examples/soundworks/package_20250415132431.json +35 -0
  13. package/.history/examples/soundworks/package_20250416105956.json +35 -0
  14. package/.history/max/CoMote/examples/simple-webview/package_20250415184836.json +26 -0
  15. package/.history/max/CoMote/examples/simple-webview/package_20250415185949.json +23 -0
  16. package/.history/max/CoMote/examples/simple-webview/package_20250415185950.json +23 -0
  17. package/.history/max/CoMote/package-info_20241018173608.json +41 -0
  18. package/.history/max/CoMote/package-info_20250416105743.json +27 -0
  19. package/.history/max/CoMote/package-info_20250416105826.json +27 -0
  20. package/.history/max/CoMote/source/comote-connect/package_20250415132759.json +19 -0
  21. package/.history/max/CoMote/source/comote-connect/package_20250416110158.json +19 -0
  22. package/.history/max/CoMote/source/comote-connect/server_20250414175059.js +193 -0
  23. package/.history/max/CoMote/source/comote-connect/server_20250415180549.js +193 -0
  24. package/.history/package_20250415143437.json +26 -0
  25. package/.history/package_20250416105907.json +26 -0
  26. package/LICENSE +2 -2
  27. package/examples/simple-webview/README.md +10 -0
  28. package/examples/simple-webview/build/comote-simple-webview-server.js +44 -0
  29. package/examples/simple-webview/package-lock.json +5109 -0
  30. package/examples/simple-webview/package.json +23 -0
  31. package/examples/simple-webview/public/favicon.ico +0 -0
  32. package/examples/simple-webview/public/index.html +13 -0
  33. package/examples/simple-webview/public/index.mjs +3623 -0
  34. package/examples/simple-webview/public/styles.css +99 -0
  35. package/examples/simple-webview/src/client.js +35 -0
  36. package/examples/simple-webview/src/server.js +20 -0
  37. package/examples/soundworks/.build/clients/components/sw-audit.js +64 -0
  38. package/examples/soundworks/.build/clients/components/sw-audit.js.map +1 -0
  39. package/examples/soundworks/.build/clients/components/sw-credits.js +73 -0
  40. package/examples/soundworks/.build/clients/components/sw-credits.js.map +1 -0
  41. package/examples/soundworks/.build/clients/player/.editorbackup/PlayerExperience.js~ +131 -0
  42. package/examples/soundworks/.build/clients/player/index.js +116 -0
  43. package/examples/soundworks/.build/clients/player/index.js.map +1 -0
  44. package/examples/soundworks/.build/clients/styles/app.scss +79 -0
  45. package/examples/soundworks/.build/clients/styles/normalize.scss +359 -0
  46. package/examples/soundworks/.build/clients/webview/index.js +72 -0
  47. package/examples/soundworks/.build/clients/webview/index.js.map +1 -0
  48. package/examples/soundworks/.build/public/css/app.css +76 -0
  49. package/examples/soundworks/.build/public/css/app.css.map +1 -0
  50. package/examples/soundworks/.build/public/css/normalize.css +321 -0
  51. package/examples/soundworks/.build/public/css/normalize.css.map +1 -0
  52. package/examples/soundworks/.build/public/player.js +98098 -0
  53. package/examples/soundworks/.build/public/player.js.map +1 -0
  54. package/examples/soundworks/.build/public/webview.js +50725 -0
  55. package/examples/soundworks/.build/public/webview.js.map +1 -0
  56. package/examples/soundworks/.build/server/index.js +57 -0
  57. package/examples/soundworks/.build/server/index.js.map +1 -0
  58. package/examples/soundworks/.build/server/schemas/.gitkeep +1 -0
  59. package/examples/soundworks/.build/server/schemas/global.js +19 -0
  60. package/examples/soundworks/.build/server/schemas/global.js.map +1 -0
  61. package/examples/soundworks/.build/server/tmpl/default.tmpl +27 -0
  62. package/examples/soundworks/.build/utils/catch-unhandled-errors.js +9 -0
  63. package/examples/soundworks/.build/utils/catch-unhandled-errors.js.map +1 -0
  64. package/examples/soundworks/.editorconfig +12 -0
  65. package/examples/soundworks/.eslintrc +3 -0
  66. package/examples/soundworks/.soundworks +7 -0
  67. package/examples/soundworks/.vendors/public/webcomponentsjs/CHANGELOG.md +76 -0
  68. package/examples/soundworks/.vendors/public/webcomponentsjs/LICENSE.md +19 -0
  69. package/examples/soundworks/.vendors/public/webcomponentsjs/README.md +259 -0
  70. package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-ce.js +63 -0
  71. package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-ce.js.map +1 -0
  72. package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-pf_dom.js +62 -0
  73. package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-pf_dom.js.map +1 -0
  74. package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-pf_js.js +95 -0
  75. package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-pf_js.js.map +1 -0
  76. package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +374 -0
  77. package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +1 -0
  78. package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-sd-ce.js +240 -0
  79. package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +1 -0
  80. package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-sd.js +196 -0
  81. package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-sd.js.map +1 -0
  82. package/examples/soundworks/.vendors/public/webcomponentsjs/custom-elements-es5-adapter.js +15 -0
  83. package/examples/soundworks/.vendors/public/webcomponentsjs/package.json +51 -0
  84. package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +16 -0
  85. package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +55 -0
  86. package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +17 -0
  87. package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-pf_dom-index.js +19 -0
  88. package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-pf_js-index.js +13 -0
  89. package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +19 -0
  90. package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +25 -0
  91. package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +18 -0
  92. package/examples/soundworks/.vendors/public/webcomponentsjs/src/flag-parser.js +69 -0
  93. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/baseuri.js +28 -0
  94. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/child-node/after.js +47 -0
  95. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/child-node/before.js +40 -0
  96. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/child-node/index.js +14 -0
  97. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/child-node/remove.js +37 -0
  98. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/child-node/replace-with.js +42 -0
  99. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/custom-event.js +79 -0
  100. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/es6-misc.js +38 -0
  101. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/event-listener-options.js +122 -0
  102. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/get-attribute-names.js +27 -0
  103. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/matches.js +21 -0
  104. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/parent-node/append.js +31 -0
  105. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/parent-node/index.js +13 -0
  106. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/parent-node/prepend.js +42 -0
  107. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/parent-node/replace-children.js +45 -0
  108. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/promise.js +50 -0
  109. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/svg-element-class-list.js +28 -0
  110. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/symbol.js +64 -0
  111. package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/toggle-attribute.js +39 -0
  112. package/examples/soundworks/.vendors/public/webcomponentsjs/src/unresolved.js +32 -0
  113. package/examples/soundworks/.vendors/public/webcomponentsjs/webcomponents-bundle.d.ts +175 -0
  114. package/examples/soundworks/.vendors/public/webcomponentsjs/webcomponents-bundle.js +384 -0
  115. package/examples/soundworks/.vendors/public/webcomponentsjs/webcomponents-bundle.js.map +1 -0
  116. package/examples/soundworks/.vendors/public/webcomponentsjs/webcomponents-loader.js +238 -0
  117. package/examples/soundworks/LICENSE +28 -0
  118. package/examples/soundworks/README.md +26 -0
  119. package/examples/soundworks/config/application.yaml +8 -0
  120. package/examples/soundworks/config/env-default.yaml +12 -0
  121. package/examples/soundworks/package.json +35 -0
  122. package/examples/soundworks/public/favicon.ico +0 -0
  123. package/examples/soundworks/public/images/loader.gif +0 -0
  124. package/examples/soundworks/src/clients/components/sw-audit.js +78 -0
  125. package/examples/soundworks/src/clients/components/sw-credits.js +80 -0
  126. package/examples/soundworks/src/clients/player/.editorbackup/PlayerExperience.js~ +131 -0
  127. package/examples/soundworks/src/clients/player/index.js +118 -0
  128. package/examples/soundworks/src/clients/styles/app.scss +79 -0
  129. package/examples/soundworks/src/clients/styles/normalize.scss +359 -0
  130. package/examples/soundworks/src/clients/webview/index.js +78 -0
  131. package/examples/soundworks/src/server/index.js +62 -0
  132. package/examples/soundworks/src/server/schemas/.gitkeep +1 -0
  133. package/examples/soundworks/src/server/schemas/global.js +18 -0
  134. package/examples/soundworks/src/server/tmpl/default.tmpl +27 -0
  135. package/examples/soundworks/src/utils/catch-unhandled-errors.js +9 -0
  136. package/index.html +51 -0
  137. package/max/CoMote/docs/sw.shared-state.maxref.xml +95 -0
  138. package/max/CoMote/examples/simple-webview/README.md +10 -0
  139. package/max/CoMote/examples/simple-webview/build/comote-simple-webview-server.js +44 -0
  140. package/max/CoMote/examples/simple-webview/comote-simple-webview-server.maxpat +186 -0
  141. package/max/CoMote/examples/simple-webview/package-lock.json +5109 -0
  142. package/max/CoMote/examples/simple-webview/package.json +23 -0
  143. package/max/CoMote/examples/simple-webview/public/favicon.ico +0 -0
  144. package/max/CoMote/examples/simple-webview/public/index.html +13 -0
  145. package/max/CoMote/examples/simple-webview/public/index.mjs +3623 -0
  146. package/max/CoMote/examples/simple-webview/public/styles.css +99 -0
  147. package/max/CoMote/examples/simple-webview/src/client.js +35 -0
  148. package/max/CoMote/examples/simple-webview/src/server.js +20 -0
  149. package/max/CoMote/examples/soundworks/.editorconfig +12 -0
  150. package/max/CoMote/examples/soundworks/.eslintrc +3 -0
  151. package/max/CoMote/examples/soundworks/.soundworks +7 -0
  152. package/max/CoMote/examples/soundworks/LICENSE +28 -0
  153. package/max/CoMote/examples/soundworks/README.md +26 -0
  154. package/max/CoMote/examples/soundworks/config/application.yaml +8 -0
  155. package/max/CoMote/examples/soundworks/config/env-default.yaml +12 -0
  156. package/max/CoMote/examples/soundworks/package.json +35 -0
  157. package/max/CoMote/examples/soundworks/public/favicon.ico +0 -0
  158. package/max/CoMote/examples/soundworks/public/images/loader.gif +0 -0
  159. package/max/CoMote/examples/soundworks/src/clients/components/sw-audit.js +78 -0
  160. package/max/CoMote/examples/soundworks/src/clients/components/sw-credits.js +80 -0
  161. package/max/CoMote/examples/soundworks/src/clients/player/.editorbackup/PlayerExperience.js~ +131 -0
  162. package/max/CoMote/examples/soundworks/src/clients/player/index.js +118 -0
  163. package/max/CoMote/examples/soundworks/src/clients/styles/app.scss +79 -0
  164. package/max/CoMote/examples/soundworks/src/clients/styles/normalize.scss +359 -0
  165. package/max/CoMote/examples/soundworks/src/clients/webview/index.js +78 -0
  166. package/max/CoMote/examples/soundworks/src/server/index.js +62 -0
  167. package/max/CoMote/examples/soundworks/src/server/schemas/.gitkeep +1 -0
  168. package/max/CoMote/examples/soundworks/src/server/schemas/global.js +18 -0
  169. package/max/CoMote/examples/soundworks/src/server/tmpl/default.tmpl +27 -0
  170. package/max/CoMote/examples/soundworks/src/utils/catch-unhandled-errors.js +9 -0
  171. package/max/CoMote/extras/CoMote.maxpat +1994 -0
  172. package/max/CoMote/help/comote_osc_receive.maxhelp +946 -0
  173. package/max/CoMote/icon.png +0 -0
  174. package/max/CoMote/init/objectmappings.txt +2 -0
  175. package/max/CoMote/media/comote-screenshot.png +0 -0
  176. package/max/CoMote/package-info.json +27 -0
  177. package/max/CoMote/patchers/comote-connect/comote-connect-public/comote-connect-client.mjs +2821 -0
  178. package/max/CoMote/patchers/comote-connect/comote-connect-public/favicon.ico +0 -0
  179. package/max/CoMote/patchers/comote-connect/comote-connect-public/index.html +22 -0
  180. package/max/CoMote/patchers/comote-connect/comote-connect-server.js +24775 -0
  181. package/max/CoMote/patchers/comote-connect/comote-connect.maxpat +1048 -0
  182. package/max/CoMote/patchers/comote-connect/package.json +4 -0
  183. package/max/CoMote/patchers/comote_format_from_comote_v2.maxpat +613 -0
  184. package/max/CoMote/patchers/comote_format_from_v3.maxpat +443 -0
  185. package/max/CoMote/patchers/comote_format_gyro_v2_to_v3.maxpat +240 -0
  186. package/max/CoMote/patchers/comote_format_gyro_v3_to_v2.maxpat +240 -0
  187. package/max/CoMote/patchers/comote_format_heading_v2_to_v3.maxpat +171 -0
  188. package/max/CoMote/patchers/comote_osc_receive.maxpat +440 -0
  189. package/max/CoMote/patchers/comote_osc_to_list.maxpat +161 -0
  190. package/max/CoMote/readme.md +22 -0
  191. package/max/CoMote/source/comote-connect/client.js +104 -0
  192. package/max/CoMote/source/comote-connect/package-lock.json +591 -0
  193. package/max/CoMote/source/comote-connect/package.json +19 -0
  194. package/max/CoMote/source/comote-connect/server.js +193 -0
  195. package/max-update.bash +44 -0
  196. package/package.json +10 -29
  197. package/src/.editorbackup/network-infos.js~ +60 -0
  198. package/src/.editorbackup/wifi-infos.js~ +33 -0
  199. package/{network-infos.js → src/network-infos.js} +25 -16
  200. package/{qrcode.js → src/qrcode.js} +32 -30
  201. package/{server.js → src/server.js} +60 -47
  202. package/{wifi-infos.js → src/wifi-infos.js} +8 -12
  203. package/README.md +0 -160
@@ -0,0 +1,443 @@
1
+ {
2
+ "patcher" : {
3
+ "fileversion" : 1,
4
+ "appversion" : {
5
+ "major" : 9,
6
+ "minor" : 0,
7
+ "revision" : 5,
8
+ "architecture" : "x64",
9
+ "modernui" : 1
10
+ }
11
+ ,
12
+ "classnamespace" : "box",
13
+ "rect" : [ 134.0, 87.0, 1013.0, 779.0 ],
14
+ "gridsize" : [ 15.0, 15.0 ],
15
+ "boxes" : [ {
16
+ "box" : {
17
+ "id" : "obj-2",
18
+ "maxclass" : "comment",
19
+ "numinlets" : 1,
20
+ "numoutlets" : 0,
21
+ "patching_rect" : [ 834.0, 184.0, 142.0, 20.0 ],
22
+ "text" : "drop unknown messages"
23
+ }
24
+
25
+ }
26
+ , {
27
+ "box" : {
28
+ "id" : "obj-1",
29
+ "maxclass" : "comment",
30
+ "numinlets" : 1,
31
+ "numoutlets" : 0,
32
+ "patching_rect" : [ 319.0, 15.0, 44.0, 20.0 ],
33
+ "text" : "data"
34
+ }
35
+
36
+ }
37
+ , {
38
+ "box" : {
39
+ "id" : "obj-137",
40
+ "maxclass" : "newobj",
41
+ "numinlets" : 1,
42
+ "numoutlets" : 1,
43
+ "outlettype" : [ "" ],
44
+ "patching_rect" : [ 376.0, 629.0, 95.0, 22.0 ],
45
+ "text" : "prepend interval"
46
+ }
47
+
48
+ }
49
+ , {
50
+ "box" : {
51
+ "id" : "obj-132",
52
+ "maxclass" : "newobj",
53
+ "numinlets" : 2,
54
+ "numoutlets" : 1,
55
+ "outlettype" : [ "float" ],
56
+ "patching_rect" : [ 376.0, 561.0, 49.0, 22.0 ],
57
+ "text" : "!/ 1000."
58
+ }
59
+
60
+ }
61
+ , {
62
+ "box" : {
63
+ "id" : "obj-120",
64
+ "maxclass" : "comment",
65
+ "numinlets" : 1,
66
+ "numoutlets" : 0,
67
+ "patching_rect" : [ 27.0, 416.0, 250.0, 20.0 ],
68
+ "text" : "timestamp and frequency from accelerometer"
69
+ }
70
+
71
+ }
72
+ , {
73
+ "box" : {
74
+ "id" : "obj-119",
75
+ "maxclass" : "newobj",
76
+ "numinlets" : 2,
77
+ "numoutlets" : 2,
78
+ "outlettype" : [ "", "" ],
79
+ "patching_rect" : [ 701.0, 238.0, 55.0, 22.0 ],
80
+ "text" : "zl ecils 2"
81
+ }
82
+
83
+ }
84
+ , {
85
+ "box" : {
86
+ "id" : "obj-118",
87
+ "maxclass" : "newobj",
88
+ "numinlets" : 2,
89
+ "numoutlets" : 2,
90
+ "outlettype" : [ "", "" ],
91
+ "patching_rect" : [ 617.0, 238.0, 55.0, 22.0 ],
92
+ "text" : "zl ecils 2"
93
+ }
94
+
95
+ }
96
+ , {
97
+ "box" : {
98
+ "id" : "obj-117",
99
+ "maxclass" : "newobj",
100
+ "numinlets" : 2,
101
+ "numoutlets" : 2,
102
+ "outlettype" : [ "", "" ],
103
+ "patching_rect" : [ 546.0, 238.0, 55.0, 22.0 ],
104
+ "text" : "zl ecils 2"
105
+ }
106
+
107
+ }
108
+ , {
109
+ "box" : {
110
+ "id" : "obj-116",
111
+ "maxclass" : "comment",
112
+ "numinlets" : 1,
113
+ "numoutlets" : 0,
114
+ "patching_rect" : [ 194.0, 239.0, 187.0, 20.0 ],
115
+ "text" : "remove timestamp and frequency"
116
+ }
117
+
118
+ }
119
+ , {
120
+ "box" : {
121
+ "id" : "obj-115",
122
+ "maxclass" : "newobj",
123
+ "numinlets" : 2,
124
+ "numoutlets" : 2,
125
+ "outlettype" : [ "", "" ],
126
+ "patching_rect" : [ 473.0, 238.0, 55.0, 22.0 ],
127
+ "text" : "zl ecils 2"
128
+ }
129
+
130
+ }
131
+ , {
132
+ "box" : {
133
+ "id" : "obj-113",
134
+ "maxclass" : "newobj",
135
+ "numinlets" : 2,
136
+ "numoutlets" : 2,
137
+ "outlettype" : [ "", "" ],
138
+ "patching_rect" : [ 796.0, 238.0, 55.0, 22.0 ],
139
+ "text" : "zl ecils 1"
140
+ }
141
+
142
+ }
143
+ , {
144
+ "box" : {
145
+ "id" : "obj-110",
146
+ "maxclass" : "newobj",
147
+ "numinlets" : 1,
148
+ "numoutlets" : 1,
149
+ "outlettype" : [ "" ],
150
+ "patching_rect" : [ 248.0, 629.0, 109.0, 22.0 ],
151
+ "text" : "prepend frequency"
152
+ }
153
+
154
+ }
155
+ , {
156
+ "box" : {
157
+ "id" : "obj-109",
158
+ "maxclass" : "newobj",
159
+ "numinlets" : 1,
160
+ "numoutlets" : 1,
161
+ "outlettype" : [ "" ],
162
+ "patching_rect" : [ 121.0, 629.0, 111.0, 22.0 ],
163
+ "text" : "prepend timestamp"
164
+ }
165
+
166
+ }
167
+ , {
168
+ "box" : {
169
+ "id" : "obj-108",
170
+ "maxclass" : "newobj",
171
+ "numinlets" : 2,
172
+ "numoutlets" : 2,
173
+ "outlettype" : [ "", "" ],
174
+ "patching_rect" : [ 208.0, 505.0, 55.0, 22.0 ],
175
+ "text" : "zl ecils 1"
176
+ }
177
+
178
+ }
179
+ , {
180
+ "box" : {
181
+ "id" : "obj-56",
182
+ "maxclass" : "newobj",
183
+ "numinlets" : 2,
184
+ "numoutlets" : 2,
185
+ "outlettype" : [ "", "" ],
186
+ "patching_rect" : [ 396.0, 238.0, 55.0, 22.0 ],
187
+ "text" : "zl ecils 2"
188
+ }
189
+
190
+ }
191
+ , {
192
+ "box" : {
193
+ "id" : "obj-44",
194
+ "maxclass" : "comment",
195
+ "numinlets" : 1,
196
+ "numoutlets" : 0,
197
+ "patching_rect" : [ 864.0, 239.0, 107.0, 20.0 ],
198
+ "text" : "remove timestamp"
199
+ }
200
+
201
+ }
202
+ , {
203
+ "box" : {
204
+ "id" : "obj-28",
205
+ "maxclass" : "comment",
206
+ "numinlets" : 1,
207
+ "numoutlets" : 0,
208
+ "patching_rect" : [ 473.0, 15.0, 44.0, 20.0 ],
209
+ "text" : "id"
210
+ }
211
+
212
+ }
213
+ , {
214
+ "box" : {
215
+ "id" : "obj-17",
216
+ "maxclass" : "newobj",
217
+ "numinlets" : 2,
218
+ "numoutlets" : 2,
219
+ "outlettype" : [ "", "" ],
220
+ "patching_rect" : [ 396.0, 75.0, 46.0, 22.0 ],
221
+ "text" : "route 0"
222
+ }
223
+
224
+ }
225
+ , {
226
+ "box" : {
227
+ "id" : "obj-6",
228
+ "maxclass" : "newobj",
229
+ "numinlets" : 7,
230
+ "numoutlets" : 7,
231
+ "outlettype" : [ "", "", "", "", "", "", "" ],
232
+ "patching_rect" : [ 396.0, 184.0, 404.0, 22.0 ],
233
+ "text" : "routepass accelerometer gyroscope gravity magnetometer heading control"
234
+ }
235
+
236
+ }
237
+ , {
238
+ "box" : {
239
+ "comment" : "data",
240
+ "id" : "obj-164",
241
+ "index" : 1,
242
+ "maxclass" : "inlet",
243
+ "numinlets" : 0,
244
+ "numoutlets" : 1,
245
+ "outlettype" : [ "" ],
246
+ "patching_rect" : [ 396.0, 15.0, 30.0, 30.0 ]
247
+ }
248
+
249
+ }
250
+ , {
251
+ "box" : {
252
+ "comment" : "id",
253
+ "id" : "obj-165",
254
+ "index" : 2,
255
+ "maxclass" : "inlet",
256
+ "numinlets" : 0,
257
+ "numoutlets" : 1,
258
+ "outlettype" : [ "" ],
259
+ "patching_rect" : [ 431.0, 15.0, 30.0, 30.0 ]
260
+ }
261
+
262
+ }
263
+ , {
264
+ "box" : {
265
+ "comment" : "",
266
+ "id" : "obj-166",
267
+ "index" : 1,
268
+ "maxclass" : "outlet",
269
+ "numinlets" : 1,
270
+ "numoutlets" : 0,
271
+ "patching_rect" : [ 534.0, 714.0, 30.0, 30.0 ]
272
+ }
273
+
274
+ }
275
+ ],
276
+ "lines" : [ {
277
+ "patchline" : {
278
+ "destination" : [ "obj-109", 0 ],
279
+ "source" : [ "obj-108", 0 ]
280
+ }
281
+
282
+ }
283
+ , {
284
+ "patchline" : {
285
+ "destination" : [ "obj-110", 0 ],
286
+ "order" : 1,
287
+ "source" : [ "obj-108", 1 ]
288
+ }
289
+
290
+ }
291
+ , {
292
+ "patchline" : {
293
+ "destination" : [ "obj-132", 0 ],
294
+ "order" : 0,
295
+ "source" : [ "obj-108", 1 ]
296
+ }
297
+
298
+ }
299
+ , {
300
+ "patchline" : {
301
+ "destination" : [ "obj-166", 0 ],
302
+ "source" : [ "obj-109", 0 ]
303
+ }
304
+
305
+ }
306
+ , {
307
+ "patchline" : {
308
+ "destination" : [ "obj-166", 0 ],
309
+ "source" : [ "obj-110", 0 ]
310
+ }
311
+
312
+ }
313
+ , {
314
+ "patchline" : {
315
+ "destination" : [ "obj-166", 0 ],
316
+ "source" : [ "obj-113", 0 ]
317
+ }
318
+
319
+ }
320
+ , {
321
+ "patchline" : {
322
+ "destination" : [ "obj-166", 0 ],
323
+ "source" : [ "obj-115", 0 ]
324
+ }
325
+
326
+ }
327
+ , {
328
+ "patchline" : {
329
+ "destination" : [ "obj-166", 0 ],
330
+ "source" : [ "obj-117", 0 ]
331
+ }
332
+
333
+ }
334
+ , {
335
+ "patchline" : {
336
+ "destination" : [ "obj-166", 0 ],
337
+ "source" : [ "obj-118", 0 ]
338
+ }
339
+
340
+ }
341
+ , {
342
+ "patchline" : {
343
+ "destination" : [ "obj-166", 0 ],
344
+ "source" : [ "obj-119", 0 ]
345
+ }
346
+
347
+ }
348
+ , {
349
+ "patchline" : {
350
+ "destination" : [ "obj-137", 0 ],
351
+ "source" : [ "obj-132", 0 ]
352
+ }
353
+
354
+ }
355
+ , {
356
+ "patchline" : {
357
+ "destination" : [ "obj-166", 0 ],
358
+ "source" : [ "obj-137", 0 ]
359
+ }
360
+
361
+ }
362
+ , {
363
+ "patchline" : {
364
+ "destination" : [ "obj-17", 0 ],
365
+ "source" : [ "obj-164", 0 ]
366
+ }
367
+
368
+ }
369
+ , {
370
+ "patchline" : {
371
+ "destination" : [ "obj-17", 1 ],
372
+ "source" : [ "obj-165", 0 ]
373
+ }
374
+
375
+ }
376
+ , {
377
+ "patchline" : {
378
+ "destination" : [ "obj-6", 0 ],
379
+ "source" : [ "obj-17", 0 ]
380
+ }
381
+
382
+ }
383
+ , {
384
+ "patchline" : {
385
+ "destination" : [ "obj-108", 0 ],
386
+ "source" : [ "obj-56", 1 ]
387
+ }
388
+
389
+ }
390
+ , {
391
+ "patchline" : {
392
+ "destination" : [ "obj-166", 0 ],
393
+ "source" : [ "obj-56", 0 ]
394
+ }
395
+
396
+ }
397
+ , {
398
+ "patchline" : {
399
+ "destination" : [ "obj-113", 0 ],
400
+ "source" : [ "obj-6", 5 ]
401
+ }
402
+
403
+ }
404
+ , {
405
+ "patchline" : {
406
+ "destination" : [ "obj-115", 0 ],
407
+ "source" : [ "obj-6", 1 ]
408
+ }
409
+
410
+ }
411
+ , {
412
+ "patchline" : {
413
+ "destination" : [ "obj-117", 0 ],
414
+ "source" : [ "obj-6", 2 ]
415
+ }
416
+
417
+ }
418
+ , {
419
+ "patchline" : {
420
+ "destination" : [ "obj-118", 0 ],
421
+ "source" : [ "obj-6", 3 ]
422
+ }
423
+
424
+ }
425
+ , {
426
+ "patchline" : {
427
+ "destination" : [ "obj-119", 0 ],
428
+ "source" : [ "obj-6", 4 ]
429
+ }
430
+
431
+ }
432
+ , {
433
+ "patchline" : {
434
+ "destination" : [ "obj-56", 0 ],
435
+ "source" : [ "obj-6", 0 ]
436
+ }
437
+
438
+ }
439
+ ],
440
+ "originid" : "pat-854"
441
+ }
442
+
443
+ }
@@ -0,0 +1,240 @@
1
+ {
2
+ "patcher" : {
3
+ "fileversion" : 1,
4
+ "appversion" : {
5
+ "major" : 9,
6
+ "minor" : 0,
7
+ "revision" : 5,
8
+ "architecture" : "x64",
9
+ "modernui" : 1
10
+ }
11
+ ,
12
+ "classnamespace" : "box",
13
+ "rect" : [ 1361.0, -1103.0, 493.0, 460.0 ],
14
+ "gridsize" : [ 15.0, 15.0 ],
15
+ "boxes" : [ {
16
+ "box" : {
17
+ "id" : "obj-1",
18
+ "maxclass" : "comment",
19
+ "numinlets" : 1,
20
+ "numoutlets" : 0,
21
+ "patching_rect" : [ 232.0, 103.0, 115.0, 20.0 ],
22
+ "text" : "degree to radian"
23
+ }
24
+
25
+ }
26
+ , {
27
+ "box" : {
28
+ "comment" : "",
29
+ "id" : "obj-15",
30
+ "index" : 1,
31
+ "maxclass" : "inlet",
32
+ "numinlets" : 0,
33
+ "numoutlets" : 1,
34
+ "outlettype" : [ "" ],
35
+ "patching_rect" : [ 28.0, 23.0, 30.0, 30.0 ]
36
+ }
37
+
38
+ }
39
+ , {
40
+ "box" : {
41
+ "comment" : "",
42
+ "id" : "obj-16",
43
+ "index" : 1,
44
+ "maxclass" : "outlet",
45
+ "numinlets" : 1,
46
+ "numoutlets" : 0,
47
+ "patching_rect" : [ 28.0, 388.0, 30.0, 30.0 ]
48
+ }
49
+
50
+ }
51
+ , {
52
+ "box" : {
53
+ "id" : "obj-187",
54
+ "maxclass" : "newobj",
55
+ "numinlets" : 1,
56
+ "numoutlets" : 1,
57
+ "outlettype" : [ "" ],
58
+ "patching_rect" : [ 182.0, 59.0, 102.0, 22.0 ],
59
+ "text" : "expr asin(1.) / 90."
60
+ }
61
+
62
+ }
63
+ , {
64
+ "box" : {
65
+ "color" : [ 0.862745, 0.741176, 0.137255, 1.0 ],
66
+ "id" : "obj-184",
67
+ "maxclass" : "newobj",
68
+ "numinlets" : 1,
69
+ "numoutlets" : 1,
70
+ "outlettype" : [ "bang" ],
71
+ "patching_rect" : [ 182.0, 27.0, 58.0, 22.0 ],
72
+ "text" : "loadbang"
73
+ }
74
+
75
+ }
76
+ , {
77
+ "box" : {
78
+ "id" : "obj-183",
79
+ "maxclass" : "newobj",
80
+ "numinlets" : 2,
81
+ "numoutlets" : 1,
82
+ "outlettype" : [ "" ],
83
+ "patching_rect" : [ 28.0, 102.0, 173.0, 22.0 ],
84
+ "text" : "vexpr $f1 * $f2 @scalarmode 1"
85
+ }
86
+
87
+ }
88
+ , {
89
+ "box" : {
90
+ "id" : "obj-11",
91
+ "maxclass" : "comment",
92
+ "numinlets" : 1,
93
+ "numoutlets" : 0,
94
+ "patching_rect" : [ 293.0, 339.0, 115.0, 20.0 ],
95
+ "text" : "x, y, z"
96
+ }
97
+
98
+ }
99
+ , {
100
+ "box" : {
101
+ "id" : "obj-10",
102
+ "maxclass" : "comment",
103
+ "numinlets" : 1,
104
+ "numoutlets" : 0,
105
+ "patching_rect" : [ 282.0, 165.0, 115.0, 20.0 ],
106
+ "text" : "alpha, beta, gamma"
107
+ }
108
+
109
+ }
110
+ , {
111
+ "box" : {
112
+ "id" : "obj-8",
113
+ "maxclass" : "newobj",
114
+ "numinlets" : 1,
115
+ "numoutlets" : 2,
116
+ "outlettype" : [ "bang", "float" ],
117
+ "patching_rect" : [ 28.0, 220.0, 29.5, 22.0 ],
118
+ "text" : "t b f"
119
+ }
120
+
121
+ }
122
+ , {
123
+ "box" : {
124
+ "id" : "obj-7",
125
+ "maxclass" : "newobj",
126
+ "numinlets" : 1,
127
+ "numoutlets" : 1,
128
+ "outlettype" : [ "" ],
129
+ "patching_rect" : [ 50.0, 287.0, 72.0, 22.0 ],
130
+ "text" : "prepend set"
131
+ }
132
+
133
+ }
134
+ , {
135
+ "box" : {
136
+ "id" : "obj-6",
137
+ "maxclass" : "newobj",
138
+ "numinlets" : 3,
139
+ "numoutlets" : 1,
140
+ "outlettype" : [ "" ],
141
+ "patching_rect" : [ 28.0, 330.0, 224.0, 22.0 ],
142
+ "text" : "pack 0. 0. 0."
143
+ }
144
+
145
+ }
146
+ , {
147
+ "box" : {
148
+ "id" : "obj-5",
149
+ "maxclass" : "newobj",
150
+ "numinlets" : 1,
151
+ "numoutlets" : 3,
152
+ "outlettype" : [ "float", "float", "float" ],
153
+ "patching_rect" : [ 28.0, 164.0, 237.0, 22.0 ],
154
+ "text" : "unpack 0. 0. 0."
155
+ }
156
+
157
+ }
158
+ ],
159
+ "lines" : [ {
160
+ "patchline" : {
161
+ "destination" : [ "obj-183", 0 ],
162
+ "source" : [ "obj-15", 0 ]
163
+ }
164
+
165
+ }
166
+ , {
167
+ "patchline" : {
168
+ "destination" : [ "obj-5", 0 ],
169
+ "source" : [ "obj-183", 0 ]
170
+ }
171
+
172
+ }
173
+ , {
174
+ "patchline" : {
175
+ "destination" : [ "obj-187", 0 ],
176
+ "source" : [ "obj-184", 0 ]
177
+ }
178
+
179
+ }
180
+ , {
181
+ "patchline" : {
182
+ "destination" : [ "obj-183", 1 ],
183
+ "source" : [ "obj-187", 0 ]
184
+ }
185
+
186
+ }
187
+ , {
188
+ "patchline" : {
189
+ "destination" : [ "obj-6", 1 ],
190
+ "source" : [ "obj-5", 2 ]
191
+ }
192
+
193
+ }
194
+ , {
195
+ "patchline" : {
196
+ "destination" : [ "obj-7", 0 ],
197
+ "source" : [ "obj-5", 1 ]
198
+ }
199
+
200
+ }
201
+ , {
202
+ "patchline" : {
203
+ "destination" : [ "obj-8", 0 ],
204
+ "source" : [ "obj-5", 0 ]
205
+ }
206
+
207
+ }
208
+ , {
209
+ "patchline" : {
210
+ "destination" : [ "obj-16", 0 ],
211
+ "source" : [ "obj-6", 0 ]
212
+ }
213
+
214
+ }
215
+ , {
216
+ "patchline" : {
217
+ "destination" : [ "obj-6", 0 ],
218
+ "source" : [ "obj-7", 0 ]
219
+ }
220
+
221
+ }
222
+ , {
223
+ "patchline" : {
224
+ "destination" : [ "obj-6", 2 ],
225
+ "source" : [ "obj-8", 1 ]
226
+ }
227
+
228
+ }
229
+ , {
230
+ "patchline" : {
231
+ "destination" : [ "obj-6", 0 ],
232
+ "source" : [ "obj-8", 0 ]
233
+ }
234
+
235
+ }
236
+ ],
237
+ "originid" : "pat-1282"
238
+ }
239
+
240
+ }