@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.
- package/.babelrc +5 -0
- package/.github/workflows/main.yml +3 -3
- package/.history/.gitignore_20250415160643 +6 -0
- package/.history/.gitignore_20250415160723 +6 -0
- package/.history/examples/simple-webview/package-lock_20250415130242.json +5109 -0
- package/.history/examples/simple-webview/package-lock_20250416103557.json +5109 -0
- package/.history/examples/simple-webview/package_20250415130704.json +26 -0
- package/.history/examples/simple-webview/package_20250415184837.json +26 -0
- package/.history/examples/simple-webview/package_20250415190300.json +23 -0
- package/.history/examples/simple-webview/src/server_20250415105733.js +20 -0
- package/.history/examples/simple-webview/src/server_20250415184604.js +20 -0
- package/.history/examples/soundworks/package_20250415132431.json +35 -0
- package/.history/examples/soundworks/package_20250416105956.json +35 -0
- package/.history/max/CoMote/examples/simple-webview/package_20250415184836.json +26 -0
- package/.history/max/CoMote/examples/simple-webview/package_20250415185949.json +23 -0
- package/.history/max/CoMote/examples/simple-webview/package_20250415185950.json +23 -0
- package/.history/max/CoMote/package-info_20241018173608.json +41 -0
- package/.history/max/CoMote/package-info_20250416105743.json +27 -0
- package/.history/max/CoMote/package-info_20250416105826.json +27 -0
- package/.history/max/CoMote/source/comote-connect/package_20250415132759.json +19 -0
- package/.history/max/CoMote/source/comote-connect/package_20250416110158.json +19 -0
- package/.history/max/CoMote/source/comote-connect/server_20250414175059.js +193 -0
- package/.history/max/CoMote/source/comote-connect/server_20250415180549.js +193 -0
- package/.history/package_20250415143437.json +26 -0
- package/.history/package_20250416105907.json +26 -0
- package/LICENSE +2 -2
- package/examples/simple-webview/README.md +10 -0
- package/examples/simple-webview/build/comote-simple-webview-server.js +44 -0
- package/examples/simple-webview/package-lock.json +5109 -0
- package/examples/simple-webview/package.json +23 -0
- package/examples/simple-webview/public/favicon.ico +0 -0
- package/examples/simple-webview/public/index.html +13 -0
- package/examples/simple-webview/public/index.mjs +3623 -0
- package/examples/simple-webview/public/styles.css +99 -0
- package/examples/simple-webview/src/client.js +35 -0
- package/examples/simple-webview/src/server.js +20 -0
- package/examples/soundworks/.build/clients/components/sw-audit.js +64 -0
- package/examples/soundworks/.build/clients/components/sw-audit.js.map +1 -0
- package/examples/soundworks/.build/clients/components/sw-credits.js +73 -0
- package/examples/soundworks/.build/clients/components/sw-credits.js.map +1 -0
- package/examples/soundworks/.build/clients/player/.editorbackup/PlayerExperience.js~ +131 -0
- package/examples/soundworks/.build/clients/player/index.js +116 -0
- package/examples/soundworks/.build/clients/player/index.js.map +1 -0
- package/examples/soundworks/.build/clients/styles/app.scss +79 -0
- package/examples/soundworks/.build/clients/styles/normalize.scss +359 -0
- package/examples/soundworks/.build/clients/webview/index.js +72 -0
- package/examples/soundworks/.build/clients/webview/index.js.map +1 -0
- package/examples/soundworks/.build/public/css/app.css +76 -0
- package/examples/soundworks/.build/public/css/app.css.map +1 -0
- package/examples/soundworks/.build/public/css/normalize.css +321 -0
- package/examples/soundworks/.build/public/css/normalize.css.map +1 -0
- package/examples/soundworks/.build/public/player.js +98098 -0
- package/examples/soundworks/.build/public/player.js.map +1 -0
- package/examples/soundworks/.build/public/webview.js +50725 -0
- package/examples/soundworks/.build/public/webview.js.map +1 -0
- package/examples/soundworks/.build/server/index.js +57 -0
- package/examples/soundworks/.build/server/index.js.map +1 -0
- package/examples/soundworks/.build/server/schemas/.gitkeep +1 -0
- package/examples/soundworks/.build/server/schemas/global.js +19 -0
- package/examples/soundworks/.build/server/schemas/global.js.map +1 -0
- package/examples/soundworks/.build/server/tmpl/default.tmpl +27 -0
- package/examples/soundworks/.build/utils/catch-unhandled-errors.js +9 -0
- package/examples/soundworks/.build/utils/catch-unhandled-errors.js.map +1 -0
- package/examples/soundworks/.editorconfig +12 -0
- package/examples/soundworks/.eslintrc +3 -0
- package/examples/soundworks/.soundworks +7 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/CHANGELOG.md +76 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/LICENSE.md +19 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/README.md +259 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-ce.js +63 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-ce.js.map +1 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-pf_dom.js +62 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-pf_dom.js.map +1 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-pf_js.js +95 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-pf_js.js.map +1 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +374 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +1 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-sd-ce.js +240 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +1 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-sd.js +196 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/bundles/webcomponents-sd.js.map +1 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/custom-elements-es5-adapter.js +15 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/package.json +51 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +16 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +55 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +17 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-pf_dom-index.js +19 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-pf_js-index.js +13 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +19 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +25 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +18 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/flag-parser.js +69 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/baseuri.js +28 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/child-node/after.js +47 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/child-node/before.js +40 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/child-node/index.js +14 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/child-node/remove.js +37 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/child-node/replace-with.js +42 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/custom-event.js +79 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/es6-misc.js +38 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/event-listener-options.js +122 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/get-attribute-names.js +27 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/matches.js +21 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/parent-node/append.js +31 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/parent-node/index.js +13 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/parent-node/prepend.js +42 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/parent-node/replace-children.js +45 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/promise.js +50 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/svg-element-class-list.js +28 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/symbol.js +64 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/platform/toggle-attribute.js +39 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/src/unresolved.js +32 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/webcomponents-bundle.d.ts +175 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/webcomponents-bundle.js +384 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/webcomponents-bundle.js.map +1 -0
- package/examples/soundworks/.vendors/public/webcomponentsjs/webcomponents-loader.js +238 -0
- package/examples/soundworks/LICENSE +28 -0
- package/examples/soundworks/README.md +26 -0
- package/examples/soundworks/config/application.yaml +8 -0
- package/examples/soundworks/config/env-default.yaml +12 -0
- package/examples/soundworks/package.json +35 -0
- package/examples/soundworks/public/favicon.ico +0 -0
- package/examples/soundworks/public/images/loader.gif +0 -0
- package/examples/soundworks/src/clients/components/sw-audit.js +78 -0
- package/examples/soundworks/src/clients/components/sw-credits.js +80 -0
- package/examples/soundworks/src/clients/player/.editorbackup/PlayerExperience.js~ +131 -0
- package/examples/soundworks/src/clients/player/index.js +118 -0
- package/examples/soundworks/src/clients/styles/app.scss +79 -0
- package/examples/soundworks/src/clients/styles/normalize.scss +359 -0
- package/examples/soundworks/src/clients/webview/index.js +78 -0
- package/examples/soundworks/src/server/index.js +62 -0
- package/examples/soundworks/src/server/schemas/.gitkeep +1 -0
- package/examples/soundworks/src/server/schemas/global.js +18 -0
- package/examples/soundworks/src/server/tmpl/default.tmpl +27 -0
- package/examples/soundworks/src/utils/catch-unhandled-errors.js +9 -0
- package/index.html +51 -0
- package/max/CoMote/docs/sw.shared-state.maxref.xml +95 -0
- package/max/CoMote/examples/simple-webview/README.md +10 -0
- package/max/CoMote/examples/simple-webview/build/comote-simple-webview-server.js +44 -0
- package/max/CoMote/examples/simple-webview/comote-simple-webview-server.maxpat +186 -0
- package/max/CoMote/examples/simple-webview/package-lock.json +5109 -0
- package/max/CoMote/examples/simple-webview/package.json +23 -0
- package/max/CoMote/examples/simple-webview/public/favicon.ico +0 -0
- package/max/CoMote/examples/simple-webview/public/index.html +13 -0
- package/max/CoMote/examples/simple-webview/public/index.mjs +3623 -0
- package/max/CoMote/examples/simple-webview/public/styles.css +99 -0
- package/max/CoMote/examples/simple-webview/src/client.js +35 -0
- package/max/CoMote/examples/simple-webview/src/server.js +20 -0
- package/max/CoMote/examples/soundworks/.editorconfig +12 -0
- package/max/CoMote/examples/soundworks/.eslintrc +3 -0
- package/max/CoMote/examples/soundworks/.soundworks +7 -0
- package/max/CoMote/examples/soundworks/LICENSE +28 -0
- package/max/CoMote/examples/soundworks/README.md +26 -0
- package/max/CoMote/examples/soundworks/config/application.yaml +8 -0
- package/max/CoMote/examples/soundworks/config/env-default.yaml +12 -0
- package/max/CoMote/examples/soundworks/package.json +35 -0
- package/max/CoMote/examples/soundworks/public/favicon.ico +0 -0
- package/max/CoMote/examples/soundworks/public/images/loader.gif +0 -0
- package/max/CoMote/examples/soundworks/src/clients/components/sw-audit.js +78 -0
- package/max/CoMote/examples/soundworks/src/clients/components/sw-credits.js +80 -0
- package/max/CoMote/examples/soundworks/src/clients/player/.editorbackup/PlayerExperience.js~ +131 -0
- package/max/CoMote/examples/soundworks/src/clients/player/index.js +118 -0
- package/max/CoMote/examples/soundworks/src/clients/styles/app.scss +79 -0
- package/max/CoMote/examples/soundworks/src/clients/styles/normalize.scss +359 -0
- package/max/CoMote/examples/soundworks/src/clients/webview/index.js +78 -0
- package/max/CoMote/examples/soundworks/src/server/index.js +62 -0
- package/max/CoMote/examples/soundworks/src/server/schemas/.gitkeep +1 -0
- package/max/CoMote/examples/soundworks/src/server/schemas/global.js +18 -0
- package/max/CoMote/examples/soundworks/src/server/tmpl/default.tmpl +27 -0
- package/max/CoMote/examples/soundworks/src/utils/catch-unhandled-errors.js +9 -0
- package/max/CoMote/extras/CoMote.maxpat +1994 -0
- package/max/CoMote/help/comote_osc_receive.maxhelp +946 -0
- package/max/CoMote/icon.png +0 -0
- package/max/CoMote/init/objectmappings.txt +2 -0
- package/max/CoMote/media/comote-screenshot.png +0 -0
- package/max/CoMote/package-info.json +27 -0
- package/max/CoMote/patchers/comote-connect/comote-connect-public/comote-connect-client.mjs +2821 -0
- package/max/CoMote/patchers/comote-connect/comote-connect-public/favicon.ico +0 -0
- package/max/CoMote/patchers/comote-connect/comote-connect-public/index.html +22 -0
- package/max/CoMote/patchers/comote-connect/comote-connect-server.js +24775 -0
- package/max/CoMote/patchers/comote-connect/comote-connect.maxpat +1048 -0
- package/max/CoMote/patchers/comote-connect/package.json +4 -0
- package/max/CoMote/patchers/comote_format_from_comote_v2.maxpat +613 -0
- package/max/CoMote/patchers/comote_format_from_v3.maxpat +443 -0
- package/max/CoMote/patchers/comote_format_gyro_v2_to_v3.maxpat +240 -0
- package/max/CoMote/patchers/comote_format_gyro_v3_to_v2.maxpat +240 -0
- package/max/CoMote/patchers/comote_format_heading_v2_to_v3.maxpat +171 -0
- package/max/CoMote/patchers/comote_osc_receive.maxpat +440 -0
- package/max/CoMote/patchers/comote_osc_to_list.maxpat +161 -0
- package/max/CoMote/readme.md +22 -0
- package/max/CoMote/source/comote-connect/client.js +104 -0
- package/max/CoMote/source/comote-connect/package-lock.json +591 -0
- package/max/CoMote/source/comote-connect/package.json +19 -0
- package/max/CoMote/source/comote-connect/server.js +193 -0
- package/max-update.bash +44 -0
- package/package.json +10 -29
- package/src/.editorbackup/network-infos.js~ +60 -0
- package/src/.editorbackup/wifi-infos.js~ +33 -0
- package/{network-infos.js → src/network-infos.js} +25 -16
- package/{qrcode.js → src/qrcode.js} +32 -30
- package/{server.js → src/server.js} +60 -47
- package/{wifi-infos.js → src/wifi-infos.js} +8 -12
- package/README.md +0 -160
|
@@ -0,0 +1,440 @@
|
|
|
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" : [ -278.0, -1442.0, 1553.0, 1309.0 ],
|
|
14
|
+
"gridsize" : [ 15.0, 15.0 ],
|
|
15
|
+
"boxes" : [ {
|
|
16
|
+
"box" : {
|
|
17
|
+
"id" : "obj-13",
|
|
18
|
+
"maxclass" : "comment",
|
|
19
|
+
"numinlets" : 1,
|
|
20
|
+
"numoutlets" : 0,
|
|
21
|
+
"patching_rect" : [ 564.0, 532.0, 208.0, 20.0 ],
|
|
22
|
+
"presentation_linecount" : 3,
|
|
23
|
+
"text" : "comote_format_from_riot_v2 (TODO)"
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
, {
|
|
28
|
+
"box" : {
|
|
29
|
+
"id" : "obj-11",
|
|
30
|
+
"maxclass" : "comment",
|
|
31
|
+
"numinlets" : 1,
|
|
32
|
+
"numoutlets" : 0,
|
|
33
|
+
"patching_rect" : [ 293.0, 142.0, 185.0, 20.0 ],
|
|
34
|
+
"text" : "add manual setting for v1 (Ircam)"
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
}
|
|
38
|
+
, {
|
|
39
|
+
"box" : {
|
|
40
|
+
"id" : "obj-10",
|
|
41
|
+
"maxclass" : "newobj",
|
|
42
|
+
"numinlets" : 1,
|
|
43
|
+
"numoutlets" : 3,
|
|
44
|
+
"outlettype" : [ "", "int", "int" ],
|
|
45
|
+
"patching_rect" : [ 226.5, 141.0, 62.0, 22.0 ],
|
|
46
|
+
"text" : "change -1"
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
}
|
|
50
|
+
, {
|
|
51
|
+
"box" : {
|
|
52
|
+
"id" : "obj-9",
|
|
53
|
+
"maxclass" : "newobj",
|
|
54
|
+
"numinlets" : 1,
|
|
55
|
+
"numoutlets" : 3,
|
|
56
|
+
"outlettype" : [ "", "int", "int" ],
|
|
57
|
+
"patching_rect" : [ 138.0, 141.0, 62.0, 22.0 ],
|
|
58
|
+
"text" : "change -1"
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
, {
|
|
63
|
+
"box" : {
|
|
64
|
+
"color" : [ 0.960784, 0.827451, 0.156863, 1.0 ],
|
|
65
|
+
"id" : "obj-6",
|
|
66
|
+
"maxclass" : "newobj",
|
|
67
|
+
"numinlets" : 1,
|
|
68
|
+
"numoutlets" : 1,
|
|
69
|
+
"outlettype" : [ "bang" ],
|
|
70
|
+
"patching_rect" : [ 168.0, 22.0, 58.0, 22.0 ],
|
|
71
|
+
"text" : "loadbang"
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
}
|
|
75
|
+
, {
|
|
76
|
+
"box" : {
|
|
77
|
+
"id" : "obj-3",
|
|
78
|
+
"maxclass" : "newobj",
|
|
79
|
+
"numinlets" : 3,
|
|
80
|
+
"numoutlets" : 3,
|
|
81
|
+
"outlettype" : [ "", "", "" ],
|
|
82
|
+
"patching_rect" : [ 138.0, 104.0, 196.0, 22.0 ],
|
|
83
|
+
"text" : "route port id"
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
}
|
|
87
|
+
, {
|
|
88
|
+
"box" : {
|
|
89
|
+
"id" : "obj-2",
|
|
90
|
+
"maxclass" : "newobj",
|
|
91
|
+
"numinlets" : 1,
|
|
92
|
+
"numoutlets" : 2,
|
|
93
|
+
"outlettype" : [ "", "" ],
|
|
94
|
+
"patching_rect" : [ 168.0, 57.0, 72.0, 22.0 ],
|
|
95
|
+
"text" : "patcherargs"
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
}
|
|
99
|
+
, {
|
|
100
|
+
"box" : {
|
|
101
|
+
"id" : "obj-29",
|
|
102
|
+
"maxclass" : "comment",
|
|
103
|
+
"numinlets" : 1,
|
|
104
|
+
"numoutlets" : 0,
|
|
105
|
+
"patching_rect" : [ 564.0, 481.0, 105.0, 20.0 ],
|
|
106
|
+
"text" : "R-IoT v2 (Bitalino)"
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
}
|
|
110
|
+
, {
|
|
111
|
+
"box" : {
|
|
112
|
+
"id" : "obj-28",
|
|
113
|
+
"maxclass" : "comment",
|
|
114
|
+
"numinlets" : 1,
|
|
115
|
+
"numoutlets" : 0,
|
|
116
|
+
"patching_rect" : [ 440.0, 481.0, 44.0, 20.0 ],
|
|
117
|
+
"text" : "API v3"
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
}
|
|
121
|
+
, {
|
|
122
|
+
"box" : {
|
|
123
|
+
"id" : "obj-21",
|
|
124
|
+
"linecount" : 4,
|
|
125
|
+
"maxclass" : "comment",
|
|
126
|
+
"numinlets" : 1,
|
|
127
|
+
"numoutlets" : 0,
|
|
128
|
+
"patching_rect" : [ 40.0, 518.0, 90.0, 60.0 ],
|
|
129
|
+
"text" : "API v3 is unified (CoMote and R-IoT)"
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
}
|
|
133
|
+
, {
|
|
134
|
+
"box" : {
|
|
135
|
+
"id" : "obj-179",
|
|
136
|
+
"maxclass" : "newobj",
|
|
137
|
+
"numinlets" : 1,
|
|
138
|
+
"numoutlets" : 1,
|
|
139
|
+
"outlettype" : [ "" ],
|
|
140
|
+
"patching_rect" : [ 138.0, 631.0, 19.0, 22.0 ],
|
|
141
|
+
"text" : "t l"
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
}
|
|
145
|
+
, {
|
|
146
|
+
"box" : {
|
|
147
|
+
"id" : "obj-178",
|
|
148
|
+
"maxclass" : "newobj",
|
|
149
|
+
"numinlets" : 2,
|
|
150
|
+
"numoutlets" : 1,
|
|
151
|
+
"outlettype" : [ "" ],
|
|
152
|
+
"patching_rect" : [ 308.0, 531.0, 185.0, 22.0 ],
|
|
153
|
+
"text" : "comote_format_from_comote_v2"
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
}
|
|
157
|
+
, {
|
|
158
|
+
"box" : {
|
|
159
|
+
"id" : "obj-167",
|
|
160
|
+
"maxclass" : "newobj",
|
|
161
|
+
"numinlets" : 2,
|
|
162
|
+
"numoutlets" : 1,
|
|
163
|
+
"outlettype" : [ "" ],
|
|
164
|
+
"patching_rect" : [ 138.0, 531.0, 139.0, 22.0 ],
|
|
165
|
+
"text" : "comote_format_from_v3"
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
}
|
|
169
|
+
, {
|
|
170
|
+
"box" : {
|
|
171
|
+
"comment" : "",
|
|
172
|
+
"id" : "obj-114",
|
|
173
|
+
"index" : 1,
|
|
174
|
+
"maxclass" : "outlet",
|
|
175
|
+
"numinlets" : 1,
|
|
176
|
+
"numoutlets" : 0,
|
|
177
|
+
"patching_rect" : [ 138.0, 734.0, 30.0, 30.0 ]
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
}
|
|
181
|
+
, {
|
|
182
|
+
"box" : {
|
|
183
|
+
"comment" : "OSC messages",
|
|
184
|
+
"id" : "obj-48",
|
|
185
|
+
"index" : 1,
|
|
186
|
+
"maxclass" : "inlet",
|
|
187
|
+
"numinlets" : 0,
|
|
188
|
+
"numoutlets" : 1,
|
|
189
|
+
"outlettype" : [ "" ],
|
|
190
|
+
"patching_rect" : [ 96.0, 44.0, 30.0, 30.0 ]
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
}
|
|
194
|
+
, {
|
|
195
|
+
"box" : {
|
|
196
|
+
"id" : "obj-107",
|
|
197
|
+
"maxclass" : "comment",
|
|
198
|
+
"numinlets" : 1,
|
|
199
|
+
"numoutlets" : 0,
|
|
200
|
+
"patching_rect" : [ 857.0, 532.0, 222.0, 20.0 ],
|
|
201
|
+
"text" : "add manual setting for v1 (Ircam) TODO"
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
}
|
|
205
|
+
, {
|
|
206
|
+
"box" : {
|
|
207
|
+
"id" : "obj-106",
|
|
208
|
+
"maxclass" : "newobj",
|
|
209
|
+
"numinlets" : 2,
|
|
210
|
+
"numoutlets" : 2,
|
|
211
|
+
"outlettype" : [ "", "" ],
|
|
212
|
+
"patching_rect" : [ 502.0, 468.0, 52.0, 22.0 ],
|
|
213
|
+
"text" : "route v3"
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
}
|
|
217
|
+
, {
|
|
218
|
+
"box" : {
|
|
219
|
+
"id" : "obj-80",
|
|
220
|
+
"maxclass" : "newobj",
|
|
221
|
+
"numinlets" : 1,
|
|
222
|
+
"numoutlets" : 1,
|
|
223
|
+
"outlettype" : [ "" ],
|
|
224
|
+
"patching_rect" : [ 138.0, 378.0, 111.0, 22.0 ],
|
|
225
|
+
"text" : "comote_osc_to_list"
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
}
|
|
229
|
+
, {
|
|
230
|
+
"box" : {
|
|
231
|
+
"id" : "obj-50",
|
|
232
|
+
"maxclass" : "newobj",
|
|
233
|
+
"numinlets" : 1,
|
|
234
|
+
"numoutlets" : 1,
|
|
235
|
+
"outlettype" : [ "" ],
|
|
236
|
+
"patching_rect" : [ 138.0, 293.0, 77.0, 22.0 ],
|
|
237
|
+
"text" : "prepend port"
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
}
|
|
241
|
+
, {
|
|
242
|
+
"box" : {
|
|
243
|
+
"id" : "obj-27",
|
|
244
|
+
"maxclass" : "newobj",
|
|
245
|
+
"numinlets" : 2,
|
|
246
|
+
"numoutlets" : 2,
|
|
247
|
+
"outlettype" : [ "", "" ],
|
|
248
|
+
"patching_rect" : [ 138.0, 461.0, 52.0, 22.0 ],
|
|
249
|
+
"text" : "route v3"
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
}
|
|
253
|
+
, {
|
|
254
|
+
"box" : {
|
|
255
|
+
"color" : [ 0.52549, 0.062745, 0.003922, 1.0 ],
|
|
256
|
+
"id" : "obj-12",
|
|
257
|
+
"maxclass" : "newobj",
|
|
258
|
+
"numinlets" : 1,
|
|
259
|
+
"numoutlets" : 1,
|
|
260
|
+
"outlettype" : [ "" ],
|
|
261
|
+
"patching_rect" : [ 138.0, 334.0, 97.0, 22.0 ],
|
|
262
|
+
"text" : "udpreceive 8001"
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
}
|
|
266
|
+
, {
|
|
267
|
+
"box" : {
|
|
268
|
+
"id" : "obj-5",
|
|
269
|
+
"maxclass" : "comment",
|
|
270
|
+
"numinlets" : 1,
|
|
271
|
+
"numoutlets" : 0,
|
|
272
|
+
"patching_rect" : [ 228.0, 481.0, 44.0, 20.0 ],
|
|
273
|
+
"text" : "API v2"
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
}
|
|
277
|
+
, {
|
|
278
|
+
"box" : {
|
|
279
|
+
"id" : "obj-4",
|
|
280
|
+
"maxclass" : "comment",
|
|
281
|
+
"numinlets" : 1,
|
|
282
|
+
"numoutlets" : 0,
|
|
283
|
+
"patching_rect" : [ 73.0, 481.0, 44.0, 20.0 ],
|
|
284
|
+
"text" : "API v3"
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
}
|
|
288
|
+
, {
|
|
289
|
+
"box" : {
|
|
290
|
+
"id" : "obj-1",
|
|
291
|
+
"maxclass" : "newobj",
|
|
292
|
+
"numinlets" : 3,
|
|
293
|
+
"numoutlets" : 3,
|
|
294
|
+
"outlettype" : [ "", "", "" ],
|
|
295
|
+
"patching_rect" : [ 138.0, 424.0, 313.0, 22.0 ],
|
|
296
|
+
"text" : "route comote riot"
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
}
|
|
300
|
+
],
|
|
301
|
+
"lines" : [ {
|
|
302
|
+
"patchline" : {
|
|
303
|
+
"destination" : [ "obj-106", 0 ],
|
|
304
|
+
"source" : [ "obj-1", 1 ]
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
}
|
|
308
|
+
, {
|
|
309
|
+
"patchline" : {
|
|
310
|
+
"destination" : [ "obj-27", 0 ],
|
|
311
|
+
"source" : [ "obj-1", 0 ]
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
}
|
|
315
|
+
, {
|
|
316
|
+
"patchline" : {
|
|
317
|
+
"destination" : [ "obj-167", 1 ],
|
|
318
|
+
"order" : 1,
|
|
319
|
+
"source" : [ "obj-10", 0 ]
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
}
|
|
323
|
+
, {
|
|
324
|
+
"patchline" : {
|
|
325
|
+
"destination" : [ "obj-178", 1 ],
|
|
326
|
+
"order" : 0,
|
|
327
|
+
"source" : [ "obj-10", 0 ]
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
}
|
|
331
|
+
, {
|
|
332
|
+
"patchline" : {
|
|
333
|
+
"destination" : [ "obj-167", 0 ],
|
|
334
|
+
"source" : [ "obj-106", 0 ]
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
}
|
|
338
|
+
, {
|
|
339
|
+
"patchline" : {
|
|
340
|
+
"destination" : [ "obj-80", 0 ],
|
|
341
|
+
"source" : [ "obj-12", 0 ]
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
}
|
|
345
|
+
, {
|
|
346
|
+
"patchline" : {
|
|
347
|
+
"destination" : [ "obj-179", 0 ],
|
|
348
|
+
"source" : [ "obj-167", 0 ]
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
}
|
|
352
|
+
, {
|
|
353
|
+
"patchline" : {
|
|
354
|
+
"destination" : [ "obj-179", 0 ],
|
|
355
|
+
"source" : [ "obj-178", 0 ]
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
}
|
|
359
|
+
, {
|
|
360
|
+
"patchline" : {
|
|
361
|
+
"destination" : [ "obj-114", 0 ],
|
|
362
|
+
"source" : [ "obj-179", 0 ]
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
}
|
|
366
|
+
, {
|
|
367
|
+
"patchline" : {
|
|
368
|
+
"destination" : [ "obj-3", 0 ],
|
|
369
|
+
"source" : [ "obj-2", 1 ]
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
}
|
|
373
|
+
, {
|
|
374
|
+
"patchline" : {
|
|
375
|
+
"destination" : [ "obj-167", 0 ],
|
|
376
|
+
"source" : [ "obj-27", 0 ]
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
}
|
|
380
|
+
, {
|
|
381
|
+
"patchline" : {
|
|
382
|
+
"destination" : [ "obj-178", 0 ],
|
|
383
|
+
"source" : [ "obj-27", 1 ]
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
}
|
|
387
|
+
, {
|
|
388
|
+
"patchline" : {
|
|
389
|
+
"destination" : [ "obj-10", 0 ],
|
|
390
|
+
"source" : [ "obj-3", 1 ]
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
}
|
|
394
|
+
, {
|
|
395
|
+
"patchline" : {
|
|
396
|
+
"destination" : [ "obj-9", 0 ],
|
|
397
|
+
"source" : [ "obj-3", 0 ]
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
}
|
|
401
|
+
, {
|
|
402
|
+
"patchline" : {
|
|
403
|
+
"destination" : [ "obj-3", 0 ],
|
|
404
|
+
"source" : [ "obj-48", 0 ]
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
}
|
|
408
|
+
, {
|
|
409
|
+
"patchline" : {
|
|
410
|
+
"destination" : [ "obj-12", 0 ],
|
|
411
|
+
"source" : [ "obj-50", 0 ]
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
}
|
|
415
|
+
, {
|
|
416
|
+
"patchline" : {
|
|
417
|
+
"destination" : [ "obj-2", 0 ],
|
|
418
|
+
"source" : [ "obj-6", 0 ]
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
}
|
|
422
|
+
, {
|
|
423
|
+
"patchline" : {
|
|
424
|
+
"destination" : [ "obj-1", 0 ],
|
|
425
|
+
"source" : [ "obj-80", 0 ]
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
}
|
|
429
|
+
, {
|
|
430
|
+
"patchline" : {
|
|
431
|
+
"destination" : [ "obj-50", 0 ],
|
|
432
|
+
"source" : [ "obj-9", 0 ]
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
"originid" : "pat-196"
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
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" : [ 59.0, 106.0, 652.0, 517.0 ],
|
|
14
|
+
"gridsize" : [ 15.0, 15.0 ],
|
|
15
|
+
"boxes" : [ {
|
|
16
|
+
"box" : {
|
|
17
|
+
"id" : "obj-18",
|
|
18
|
+
"maxclass" : "comment",
|
|
19
|
+
"numinlets" : 1,
|
|
20
|
+
"numoutlets" : 0,
|
|
21
|
+
"patching_rect" : [ 326.0, 130.0, 32.0, 20.0 ],
|
|
22
|
+
"text" : "data"
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
, {
|
|
27
|
+
"box" : {
|
|
28
|
+
"id" : "obj-17",
|
|
29
|
+
"maxclass" : "comment",
|
|
30
|
+
"numinlets" : 1,
|
|
31
|
+
"numoutlets" : 0,
|
|
32
|
+
"patching_rect" : [ 111.0, 130.0, 51.0, 20.0 ],
|
|
33
|
+
"text" : "address"
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
, {
|
|
38
|
+
"box" : {
|
|
39
|
+
"color" : [ 0.529411764705882, 0.529411764705882, 0.529411764705882, 1.0 ],
|
|
40
|
+
"id" : "obj-64",
|
|
41
|
+
"maxclass" : "newobj",
|
|
42
|
+
"numinlets" : 1,
|
|
43
|
+
"numoutlets" : 1,
|
|
44
|
+
"outlettype" : [ "" ],
|
|
45
|
+
"patching_rect" : [ 167.0, 205.0, 71.0, 22.0 ],
|
|
46
|
+
"text" : "fromsymbol"
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
}
|
|
50
|
+
, {
|
|
51
|
+
"box" : {
|
|
52
|
+
"color" : [ 0.529411764705882, 0.529411764705882, 0.529411764705882, 1.0 ],
|
|
53
|
+
"id" : "obj-63",
|
|
54
|
+
"maxclass" : "newobj",
|
|
55
|
+
"numinlets" : 2,
|
|
56
|
+
"numoutlets" : 2,
|
|
57
|
+
"outlettype" : [ "", "" ],
|
|
58
|
+
"patching_rect" : [ 167.0, 266.0, 157.0, 22.0 ],
|
|
59
|
+
"text" : "zl join"
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
}
|
|
63
|
+
, {
|
|
64
|
+
"box" : {
|
|
65
|
+
"color" : [ 0.529411764705882, 0.529411764705882, 0.529411764705882, 1.0 ],
|
|
66
|
+
"id" : "obj-62",
|
|
67
|
+
"maxclass" : "newobj",
|
|
68
|
+
"numinlets" : 2,
|
|
69
|
+
"numoutlets" : 2,
|
|
70
|
+
"outlettype" : [ "", "" ],
|
|
71
|
+
"patching_rect" : [ 167.0, 100.0, 157.0, 22.0 ],
|
|
72
|
+
"text" : "zl slice 1"
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
}
|
|
76
|
+
, {
|
|
77
|
+
"box" : {
|
|
78
|
+
"color" : [ 0.529411764705882, 0.529411764705882, 0.529411764705882, 1.0 ],
|
|
79
|
+
"id" : "obj-57",
|
|
80
|
+
"maxclass" : "newobj",
|
|
81
|
+
"numinlets" : 3,
|
|
82
|
+
"numoutlets" : 1,
|
|
83
|
+
"outlettype" : [ "" ],
|
|
84
|
+
"patching_rect" : [ 167.0, 155.0, 114.0, 22.0 ],
|
|
85
|
+
"text" : "string.replaceall / \" \""
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
}
|
|
89
|
+
, {
|
|
90
|
+
"box" : {
|
|
91
|
+
"comment" : "",
|
|
92
|
+
"id" : "obj-78",
|
|
93
|
+
"index" : 1,
|
|
94
|
+
"maxclass" : "inlet",
|
|
95
|
+
"numinlets" : 0,
|
|
96
|
+
"numoutlets" : 1,
|
|
97
|
+
"outlettype" : [ "" ],
|
|
98
|
+
"patching_rect" : [ 167.0, 37.0, 30.0, 30.0 ]
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
}
|
|
102
|
+
, {
|
|
103
|
+
"box" : {
|
|
104
|
+
"comment" : "",
|
|
105
|
+
"id" : "obj-79",
|
|
106
|
+
"index" : 1,
|
|
107
|
+
"maxclass" : "outlet",
|
|
108
|
+
"numinlets" : 1,
|
|
109
|
+
"numoutlets" : 0,
|
|
110
|
+
"patching_rect" : [ 167.0, 348.0, 30.0, 30.0 ]
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"lines" : [ {
|
|
116
|
+
"patchline" : {
|
|
117
|
+
"destination" : [ "obj-64", 0 ],
|
|
118
|
+
"source" : [ "obj-57", 0 ]
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
}
|
|
122
|
+
, {
|
|
123
|
+
"patchline" : {
|
|
124
|
+
"destination" : [ "obj-57", 0 ],
|
|
125
|
+
"source" : [ "obj-62", 0 ]
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
}
|
|
129
|
+
, {
|
|
130
|
+
"patchline" : {
|
|
131
|
+
"destination" : [ "obj-63", 1 ],
|
|
132
|
+
"source" : [ "obj-62", 1 ]
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
, {
|
|
137
|
+
"patchline" : {
|
|
138
|
+
"destination" : [ "obj-79", 0 ],
|
|
139
|
+
"source" : [ "obj-63", 0 ]
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
}
|
|
143
|
+
, {
|
|
144
|
+
"patchline" : {
|
|
145
|
+
"destination" : [ "obj-63", 0 ],
|
|
146
|
+
"source" : [ "obj-64", 0 ]
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
}
|
|
150
|
+
, {
|
|
151
|
+
"patchline" : {
|
|
152
|
+
"destination" : [ "obj-62", 0 ],
|
|
153
|
+
"source" : [ "obj-78", 0 ]
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"originid" : "pat-856"
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# CoMote Max example
|
|
2
|
+
|
|
3
|
+
by ISMM Team @ Ircam - STMS (<https://www.stms-lab.fr/team/interaction-son-musique-mouvement>)
|
|
4
|
+
|
|
5
|
+
CoMote allows for streaming motion data (accelerometer, gyroscope) from the smartphone to desktop applications using either the OSC protocol or Websockets. The network's setup is facilitated by the use of a QR code generated by the targeted remote application receiving the motion sensor data.
|
|
6
|
+
|
|
7
|
+
CoMote is especially designed for the CoMo applications family that enables real-time interaction between gestures/movements and sounds. Nevertheless, the CoMote application can be used with any software that makes use of the OSC protocol.
|
|
8
|
+
|
|
9
|
+
Among the CoMo applications that make use of CoMote are CoMo-Vox to learn and train conducting gestures, and CoMo-Elements to interact collectively thought body movements with recorded sounds.
|
|
10
|
+
|
|
11
|
+
CoMote and the CoMo applications are software designed and developed by IRCAM in the Sound-Music-Movement-Interaction team (UMR STMS).
|
|
12
|
+
|
|
13
|
+
<https://github.com/ircam-ismm/comote>
|
|
14
|
+
|
|
15
|
+
## Credits
|
|
16
|
+
|
|
17
|
+
CoMote is developed by Ircam and the Music and Sound Science and Technology Joint Research Unit (STMS), supported by Ircam, CNRS, the French Ministry of Culture and Sorbonne University.
|
|
18
|
+
|
|
19
|
+
Produced with the support of the French Ministry of Education, Youth and Sports (Edu-up system), the National Research Agency (ELEMENT project), and in partnership with Radio France.
|
|
20
|
+
|
|
21
|
+
This version requires Max 7.1 or higher.
|
|
22
|
+
|