Compare commits
1939 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be1ecf53cf | ||
|
|
5fd9d4a408 | ||
|
|
98314f441e | ||
|
|
3ebb4121b4 | ||
|
|
365cf1a9bc | ||
|
|
ffd3d08579 | ||
|
|
edc4ffd2ec | ||
|
|
b2da0a8962 | ||
|
|
100f3a824d | ||
|
|
0bab9a1d1e | ||
|
|
e43e290300 | ||
|
|
421999e70b | ||
|
|
6bded203a8 | ||
|
|
c2fad00c23 | ||
|
|
6b0b637f07 | ||
|
|
643211b39f | ||
|
|
cd013e372e | ||
|
|
2cee11b1fe | ||
|
|
f8b4792bd6 | ||
|
|
543075ed5f | ||
|
|
48326389ad | ||
|
|
616c0c5eee | ||
|
|
8b8ed54a48 | ||
|
|
f97ce68882 | ||
|
|
e055fad12f | ||
|
|
1c97047b99 | ||
|
|
32176c6c9e | ||
|
|
dbb051e301 | ||
|
|
e180b889cb | ||
|
|
e57cd32438 | ||
|
|
1557fecef9 | ||
|
|
6d35b17a46 | ||
|
|
88a3d8da2a | ||
|
|
c85c2ad2c4 | ||
|
|
50899fdee0 | ||
|
|
6719f31751 | ||
|
|
75057a7513 | ||
|
|
6ee68b0b6c | ||
|
|
0ab40dbb2f | ||
|
|
4f1314e8b7 | ||
|
|
f0747c5e8f | ||
|
|
f30dd79f0c | ||
|
|
9aa0210d01 | ||
|
|
5881611374 | ||
|
|
7da43a5c35 | ||
|
|
8cbdb03060 | ||
|
|
2f6a03350e | ||
|
|
5cb6423051 | ||
|
|
ca20d3cdef | ||
|
|
97d5296293 | ||
|
|
7ad382f306 | ||
|
|
705bfc0677 | ||
|
|
a90dceca63 | ||
|
|
663c87c041 | ||
|
|
35de57cb79 | ||
|
|
51730bea42 | ||
|
|
2d18b2fdba | ||
|
|
3b2aa8fbd2 | ||
|
|
aca20b1226 | ||
|
|
3385dcdd4e | ||
|
|
c7f6965c72 | ||
|
|
4df408c74e | ||
|
|
d64452af99 | ||
|
|
92339a9086 | ||
|
|
22a85de1b2 | ||
|
|
c0414eed8e | ||
|
|
88eb7aee34 | ||
|
|
a53673f0bc | ||
|
|
2d1ddd3353 | ||
|
|
3ba0719013 | ||
|
|
683eb37c44 | ||
|
|
1463eec81d | ||
|
|
acf90ff0ca | ||
|
|
92c6f15fab | ||
|
|
26964cec84 | ||
|
|
7f4a4f8447 | ||
|
|
176ce80cc0 | ||
|
|
0e4ba29dd9 | ||
|
|
5f9b2c0867 | ||
|
|
d80ca6b1d4 | ||
|
|
95d0f8acf3 | ||
|
|
1dc70c69cb | ||
|
|
75f90e7455 | ||
|
|
699078e089 | ||
|
|
81dc3f5c19 | ||
|
|
5b0279a01c | ||
|
|
58aa2f3048 | ||
|
|
2cd8a20413 | ||
|
|
c583567a1c | ||
|
|
344102573f | ||
|
|
e940175c6d | ||
|
|
d81b184c4a | ||
|
|
feefa95ca6 | ||
|
|
9b0b8ce46c | ||
|
|
3e93ef8dc4 | ||
|
|
5ff01fd845 | ||
|
|
f84973bdc3 | ||
|
|
25b761a4ef | ||
|
|
da5e5c5d7f | ||
|
|
fe6a30c5a2 | ||
|
|
e5a696bbcf | ||
|
|
8ae0e43e46 | ||
|
|
c3b9563adf | ||
|
|
483a991d6f | ||
|
|
06c10d527f | ||
|
|
5f3655bdd2 | ||
|
|
89afc655df | ||
|
|
eb6bd473f5 | ||
|
|
e402100f3e | ||
|
|
d35544ca26 | ||
|
|
bafe7f75dc | ||
|
|
9e74387ede | ||
|
|
7ad571e8fd | ||
|
|
87120e7056 | ||
|
|
2cc705a1e0 | ||
|
|
7434e84bf0 | ||
|
|
6c1626918b | ||
|
|
1c06918873 | ||
|
|
11304b9f7c | ||
|
|
c6a0378360 | ||
|
|
79c56761c1 | ||
|
|
bc0366bb31 | ||
|
|
5ab1e334d4 | ||
|
|
c4d84c5a28 | ||
|
|
477662f2e1 | ||
|
|
e13757304d | ||
|
|
04c12d3aa9 | ||
|
|
74baa7871f | ||
|
|
c5ff84a3bd | ||
|
|
34a93bde3b | ||
|
|
55de7ce7c1 | ||
|
|
2a3f2d509d | ||
|
|
9e570838c7 | ||
|
|
778323191b | ||
|
|
d74d4f162d | ||
|
|
edfba163ee | ||
|
|
6cd2cd18db | ||
|
|
11217a4c34 | ||
|
|
b476ff5c2e | ||
|
|
ff50594655 | ||
|
|
7894a8775d | ||
|
|
40c40c270f | ||
|
|
57a5da7f6b | ||
|
|
b679fd9c80 | ||
|
|
2487212e61 | ||
|
|
1e1d532265 | ||
|
|
aca78cd130 | ||
|
|
47e7ed54b4 | ||
|
|
a0c2a7be9c | ||
|
|
a17075c49b | ||
|
|
7643226229 | ||
|
|
5f75123bd8 | ||
|
|
41b7cfea24 | ||
|
|
51412b71d1 | ||
|
|
c952ebad10 | ||
|
|
e3c210bfc2 | ||
|
|
4e2e6e34ca | ||
|
|
4eb6aa29d6 | ||
|
|
682250f431 | ||
|
|
d71956d341 | ||
|
|
4e823a88f7 | ||
|
|
81e7ce9cb7 | ||
|
|
6af87895ca | ||
|
|
be4ff7cee2 | ||
|
|
349a5a16ef | ||
|
|
c91795faf0 | ||
|
|
b0345b35b9 | ||
|
|
da13ef9852 | ||
|
|
2144f9deec | ||
|
|
0523c19b2a | ||
|
|
dca9cd9a8b | ||
|
|
f2d0290d57 | ||
|
|
a6a799e9d8 | ||
|
|
faccdd8e5c | ||
|
|
8bd599f049 | ||
|
|
3391f7ca23 | ||
|
|
fa62b06764 | ||
|
|
31f05a1be2 | ||
|
|
563ba6ceb7 | ||
|
|
0489ea3d4c | ||
|
|
ab7486f064 | ||
|
|
3af16fb691 | ||
|
|
287fd76873 | ||
|
|
ee9f8e67c5 | ||
|
|
3a329e7f8e | ||
|
|
34d740b2d9 | ||
|
|
b49f1fb0ce | ||
|
|
0c4f12f098 | ||
|
|
d12c4f4985 | ||
|
|
4273cf956d | ||
|
|
526c097e0e | ||
|
|
5082fab41c | ||
|
|
54403a7db8 | ||
|
|
b285e9109f | ||
|
|
bea392d836 | ||
|
|
ff9a9cdf75 | ||
|
|
71c734102c | ||
|
|
2414722ea1 | ||
|
|
b9293786b6 | ||
|
|
203c710199 | ||
|
|
36b65336a0 | ||
|
|
33fac98f64 | ||
|
|
4af045fbd8 | ||
|
|
0b6d567394 | ||
|
|
5256fa1176 | ||
|
|
8bbf9d5fd4 | ||
|
|
eb723fd9ac | ||
|
|
3234344be2 | ||
|
|
fbf4e161b9 | ||
|
|
30d7ffb091 | ||
|
|
8c2f86531d | ||
|
|
def2560f97 | ||
|
|
bf00a58bc7 | ||
|
|
d64c812a87 | ||
|
|
e951b4bc0e | ||
|
|
bee8b7d814 | ||
|
|
6086802001 | ||
|
|
ff85bdc8e7 | ||
|
|
3baa0f00f1 | ||
|
|
d1e0bd9857 | ||
|
|
821ae6a982 | ||
|
|
7edfa3e122 | ||
|
|
636ae9ef2f | ||
|
|
32615a44af | ||
|
|
53235bbbf3 | ||
|
|
b816899957 | ||
|
|
496e743a3d | ||
|
|
018f89df9c | ||
|
|
94a00578d3 | ||
|
|
1d4541de96 | ||
|
|
6501295c5b | ||
|
|
b8b8eeb2cd | ||
|
|
77ebd5a043 | ||
|
|
b3e2dfd6f3 | ||
|
|
c96cc6bcbb | ||
|
|
f0e9395230 | ||
|
|
5da59ce291 | ||
|
|
557a667ee6 | ||
|
|
425fd1282c | ||
|
|
e11b585014 | ||
|
|
fea808e7cb | ||
|
|
cbe2aa9c80 | ||
|
|
da746d2da7 | ||
|
|
22a2317048 | ||
|
|
d62c73c9e1 | ||
|
|
5769d80ab3 | ||
|
|
4290c95c27 | ||
|
|
3d9dd22a05 | ||
|
|
bc1e6e13d1 | ||
|
|
35b1b6f200 | ||
|
|
6e50079ae2 | ||
|
|
ec816ba282 | ||
|
|
24c7bba921 | ||
|
|
24824f1307 | ||
|
|
f0a79e5c6e | ||
|
|
f88fb2529f | ||
|
|
fa09c4b632 | ||
|
|
0b8249662c | ||
|
|
26611565b4 | ||
|
|
caffed7206 | ||
|
|
487dc6afd9 | ||
|
|
16d3febac4 | ||
|
|
62f6669134 | ||
|
|
775ba4da58 | ||
|
|
5b8f95a99d | ||
|
|
9b5e9fec02 | ||
|
|
9d2ef9019a | ||
|
|
7bcb9dc331 | ||
|
|
2f3516812e | ||
|
|
c994e95b9f | ||
|
|
cb140a234f | ||
|
|
b166073a45 | ||
|
|
f9dc31762b | ||
|
|
ffefdcc68d | ||
|
|
a560f9e3f5 | ||
|
|
18d1735c01 | ||
|
|
b65d7ecb0f | ||
|
|
fa32803776 | ||
|
|
c07291ee6b | ||
|
|
a7fd017276 | ||
|
|
64c0825311 | ||
|
|
e2708874cd | ||
|
|
c1e8742cea | ||
|
|
320355a70b | ||
|
|
307363ffe4 | ||
|
|
5a5c7dbb86 | ||
|
|
a5e82e5ec1 | ||
|
|
949eb812d9 | ||
|
|
02ec4f80a5 | ||
|
|
4196bfb32d | ||
|
|
f49718593f | ||
|
|
1e9e2a4ca8 | ||
|
|
c5671fa615 | ||
|
|
b103d44791 | ||
|
|
1c8efefd52 | ||
|
|
6aad942237 | ||
|
|
38d5c29833 | ||
|
|
0c3dbeeea1 | ||
|
|
c1adcf3cf1 | ||
|
|
697a0aff36 | ||
|
|
64305b66ef | ||
|
|
d2f42db565 | ||
|
|
ee7eb8e53a | ||
|
|
26518672e6 | ||
|
|
ccd7d6100e | ||
|
|
afda0a445d | ||
|
|
1c373b3dd6 | ||
|
|
94a6943958 | ||
|
|
5574c06a0a | ||
|
|
ac7c5b3df7 | ||
|
|
333ce12806 | ||
|
|
6363cfdc3a | ||
|
|
c3a7279da3 | ||
|
|
2a06ce7b5f | ||
|
|
4beae22bcd | ||
|
|
91a47a6265 | ||
|
|
0ccf4fa4b4 | ||
|
|
7b3eff7316 | ||
|
|
815ac3ec01 | ||
|
|
9c28496d3d | ||
|
|
1263c8210a | ||
|
|
06b650d17f | ||
|
|
df04e0bc36 | ||
|
|
0905645613 | ||
|
|
91dbf9404d | ||
|
|
501fd81228 | ||
|
|
216b68a1b2 | ||
|
|
bfc7fbc434 | ||
|
|
e28df61371 | ||
|
|
170e8a4706 | ||
|
|
70cf571af1 | ||
|
|
66a23a928f | ||
|
|
1a1b54f873 | ||
|
|
98696b56d9 | ||
|
|
411f5af4ce | ||
|
|
1ac168f85a | ||
|
|
3fbd5823f2 | ||
|
|
8603fb8741 | ||
|
|
a1ee49105f | ||
|
|
6fb64c128c | ||
|
|
20690b6e75 | ||
|
|
2a13165c3d | ||
|
|
057d521829 | ||
|
|
cfde80046f | ||
|
|
6d76411b12 | ||
|
|
87420555cf | ||
|
|
c8886a4d2f | ||
|
|
926853ebf1 | ||
|
|
6d1e4b4e8b | ||
|
|
8ee37eec08 | ||
|
|
932a6cb532 | ||
|
|
4ff67140b8 | ||
|
|
d8cbaf944b | ||
|
|
bb46538e89 | ||
|
|
d4e3c8fa2d | ||
|
|
7b6bff30b8 | ||
|
|
29c2c97308 | ||
|
|
e85b8339d2 | ||
|
|
82d76e06f7 | ||
|
|
a66f166df0 | ||
|
|
0b804ba71c | ||
|
|
f94fb7728f | ||
|
|
258fc7c750 | ||
|
|
2ed61790eb | ||
|
|
7eb93abb18 | ||
|
|
c0faacc514 | ||
|
|
7494808fb2 | ||
|
|
3125cd8693 | ||
|
|
2ca5128df5 | ||
|
|
6ef1a2b97f | ||
|
|
f7ae0a75d8 | ||
|
|
3b819996d3 | ||
|
|
03812933c5 | ||
|
|
e6394746e3 | ||
|
|
9dc11e97ae | ||
|
|
580fe8074d | ||
|
|
57afaed524 | ||
|
|
38eed39d7d | ||
|
|
00e2d6ad66 | ||
|
|
c89b77a365 | ||
|
|
67f5be4a05 | ||
|
|
bf994816d8 | ||
|
|
e4c303c9c0 | ||
|
|
2f0676d031 | ||
|
|
5cc411ba10 | ||
|
|
6181997ccc | ||
|
|
a11340c6fc | ||
|
|
55a9beabf8 | ||
|
|
a83b4e4ab2 | ||
|
|
32243574ee | ||
|
|
757b495d36 | ||
|
|
8da102c893 | ||
|
|
1b93ad92cf | ||
|
|
df4555caae | ||
|
|
fdfefb171e | ||
|
|
6d4a32f20e | ||
|
|
50d7907ed7 | ||
|
|
5c2d508630 | ||
|
|
1b2c9b4c34 | ||
|
|
3dfdc77018 | ||
|
|
1a7ee0762c | ||
|
|
d1b1d11237 | ||
|
|
53a488ee5c | ||
|
|
02de885bcc | ||
|
|
5db5ca1607 | ||
|
|
4380a1f598 | ||
|
|
7cff1a71ac | ||
|
|
5774e18b5c | ||
|
|
0b8f58ebfa | ||
|
|
5e6f6ce8d6 | ||
|
|
d1f1c4ec7e | ||
|
|
ba71cf45f3 | ||
|
|
27da5f1bf5 | ||
|
|
beb4b6c32d | ||
|
|
24396d98c7 | ||
|
|
8c76aa117b | ||
|
|
4a2926050f | ||
|
|
9d72d05a45 | ||
|
|
d15b0da9a2 | ||
|
|
a3503aff05 | ||
|
|
4834cd653b | ||
|
|
4e6a7b36ba | ||
|
|
758b6e84c4 | ||
|
|
5b01f40d64 | ||
|
|
2dab26326d | ||
|
|
c08469d795 | ||
|
|
89a54423af | ||
|
|
3f1c4d03b3 | ||
|
|
de31a4929f | ||
|
|
ece023cb15 | ||
|
|
b20205463d | ||
|
|
0311ee7e2d | ||
|
|
dca4a60547 | ||
|
|
55ff84b7cb | ||
|
|
dabd01fca4 | ||
|
|
dde3c63f38 | ||
|
|
ab4f9e976b | ||
|
|
85056348b2 | ||
|
|
bdeb53280c | ||
|
|
79a0bde0c5 | ||
|
|
2d8b118157 | ||
|
|
6859f364f8 | ||
|
|
25a5c96378 | ||
|
|
6d1af8c206 | ||
|
|
e99b41d208 | ||
|
|
f97a2cf0ba | ||
|
|
625e817bb1 | ||
|
|
cff040965f | ||
|
|
d28e173699 | ||
|
|
97122c1803 | ||
|
|
fe460340a8 | ||
|
|
1b792e7a14 | ||
|
|
d7f0e07890 | ||
|
|
45479be91f | ||
|
|
e7eb225f17 | ||
|
|
345f5dcad7 | ||
|
|
15c85cb9bb | ||
|
|
b58e7b8c2a | ||
|
|
ce1d3ec646 | ||
|
|
22bac2ba37 | ||
|
|
0bd4ed7662 | ||
|
|
a500465b54 | ||
|
|
e8f2fbbfa3 | ||
|
|
a78bfdc365 | ||
|
|
b70c2392c1 | ||
|
|
cb60dd3e54 | ||
|
|
6c6a97afa2 | ||
|
|
0f63e3ed43 | ||
|
|
c3c2f69286 | ||
|
|
3b1f4aaa72 | ||
|
|
e4a1dc658d | ||
|
|
18b07aec05 | ||
|
|
7f8eb4a19d | ||
|
|
fd77018712 | ||
|
|
db0800eecb | ||
|
|
2dae1587e0 | ||
|
|
eab71c1375 | ||
|
|
30c0b7685f | ||
|
|
27db8418f9 | ||
|
|
d6647f46e7 | ||
|
|
3c6f8b9581 | ||
|
|
abdee0b223 | ||
|
|
2c45c21bfb | ||
|
|
fe74fd7161 | ||
|
|
8db00015d6 | ||
|
|
24f275bf2b | ||
|
|
a350c34e7e | ||
|
|
c2a03494fd | ||
|
|
5b7cdeccd5 | ||
|
|
32c717de6d | ||
|
|
ce9ca5c9d3 | ||
|
|
f3250714cd | ||
|
|
34ee49b4b4 | ||
|
|
b8a65ef7af | ||
|
|
a92be6245e | ||
|
|
77d2a74c3d | ||
|
|
7843ada5a0 | ||
|
|
4f0240ccf2 | ||
|
|
f3589186a2 | ||
|
|
a04204f84f | ||
|
|
f44a90870e | ||
|
|
2499fafabb | ||
|
|
9cf82c5ba2 | ||
|
|
0bdbd8c347 | ||
|
|
a3b4878fb0 | ||
|
|
c30e526ee4 | ||
|
|
3a4a8cac47 | ||
|
|
3998477ec0 | ||
|
|
85962b1452 | ||
|
|
3b11cc968c | ||
|
|
1b523a0d86 | ||
|
|
cc1ae45b32 | ||
|
|
77ad744feb | ||
|
|
d097c5717d | ||
|
|
0f435b8a91 | ||
|
|
68774fc591 | ||
|
|
b06e4d73c0 | ||
|
|
1143377eea | ||
|
|
cb8858dc6f | ||
|
|
0082c1fc87 | ||
|
|
0591667206 | ||
|
|
7ee58a916a | ||
|
|
3c5ed1c42b | ||
|
|
c6d7b2e222 | ||
|
|
271b803861 | ||
|
|
7fad36c194 | ||
|
|
992ca91e37 | ||
|
|
8c37b06060 | ||
|
|
81af47ea9b | ||
|
|
b788d81146 | ||
|
|
3e7ca5573c | ||
|
|
a55205049d | ||
|
|
bd47083c22 | ||
|
|
e3364e2566 | ||
|
|
c3f9b0b2bd | ||
|
|
7663db4b01 | ||
|
|
fcccd66204 | ||
|
|
0d53b5acaf | ||
|
|
57b65d73e4 | ||
|
|
caf610c0c9 | ||
|
|
5dbb5fa2e1 | ||
|
|
b12065fb8c | ||
|
|
28f3c53018 | ||
|
|
0ab3d76dd7 | ||
|
|
ab31769341 | ||
|
|
6aa2903203 | ||
|
|
797870cdf7 | ||
|
|
1be1c729ed | ||
|
|
a2b387da4d | ||
|
|
2c980ae1ad | ||
|
|
fa287cf288 | ||
|
|
156c066ae7 | ||
|
|
3bfb896521 | ||
|
|
bd7c4372b7 | ||
|
|
68cbc6ac1d | ||
|
|
4fcf539a68 | ||
|
|
28ed28ab2d | ||
|
|
72c74d5e11 | ||
|
|
068f7d5404 | ||
|
|
7bda452e48 | ||
|
|
b49d438d39 | ||
|
|
d3d49ecc2d | ||
|
|
a5cb63eec7 | ||
|
|
b0accaa1d4 | ||
|
|
c116338095 | ||
|
|
7471448df8 | ||
|
|
6f79c91ba3 | ||
|
|
6bec2462fc | ||
|
|
dce976ff87 | ||
|
|
09debb5171 | ||
|
|
a4a2572973 | ||
|
|
40de55c081 | ||
|
|
75de5f6825 | ||
|
|
9c11ae07fa | ||
|
|
ad6eeee08b | ||
|
|
e69982dee9 | ||
|
|
10b3b465f5 | ||
|
|
1b36fa71c0 | ||
|
|
b9f2cebba8 | ||
|
|
62acbf479f | ||
|
|
8441a4983e | ||
|
|
e4f05b1ae5 | ||
|
|
a2ef7616df | ||
|
|
f2c98519a7 | ||
|
|
bc53f86b1b | ||
|
|
9d2fe8a91a | ||
|
|
b6fa6baa57 | ||
|
|
28ab560f80 | ||
|
|
273abf1d16 | ||
|
|
4612671f25 | ||
|
|
3f74d69e30 | ||
|
|
5cd3e0028b | ||
|
|
4ae20437ce | ||
|
|
7e9a602ceb | ||
|
|
2e317b7843 | ||
|
|
28d2f99fdc | ||
|
|
1070fc64ca | ||
|
|
54f058df8a | ||
|
|
f61c1beac2 | ||
|
|
d79aaec5aa | ||
|
|
19556e41e4 | ||
|
|
4ba845c630 | ||
|
|
af3e094316 | ||
|
|
320dfdc860 | ||
|
|
5d5faf4bda | ||
|
|
3b08df080b | ||
|
|
1a556f9051 | ||
|
|
f01bbd48b4 | ||
|
|
c30deab912 | ||
|
|
7e953aa268 | ||
|
|
7100029ba0 | ||
|
|
3bf08fd5f0 | ||
|
|
16d9a66f63 | ||
|
|
88a31f4274 | ||
|
|
74ca4b4ec0 | ||
|
|
b84e06a152 | ||
|
|
a8900a3ded | ||
|
|
d5edf65062 | ||
|
|
7433c40481 | ||
|
|
0838576342 | ||
|
|
69bf64e864 | ||
|
|
5015059fd3 | ||
|
|
bb532a62cd | ||
|
|
ed8f14d573 | ||
|
|
922ec4918b | ||
|
|
418dc64b4a | ||
|
|
c714129f3b | ||
|
|
7a495b077b | ||
|
|
b7d55c9351 | ||
|
|
472ff5676e | ||
|
|
0561088efd | ||
|
|
7047ce1ebf | ||
|
|
94d827387c | ||
|
|
f0b25efe33 | ||
|
|
a20dfcf247 | ||
|
|
dccb93d751 | ||
|
|
301829ffb5 | ||
|
|
9e9f9dba84 | ||
|
|
83e2e81936 | ||
|
|
b87bf1456a | ||
|
|
5d2c424bb7 | ||
|
|
40f8929321 | ||
|
|
6e33d434bd | ||
|
|
bb21512cc6 | ||
|
|
5326d540ce | ||
|
|
1db3b3b7d1 | ||
|
|
76bb845492 | ||
|
|
8a2bcbe454 | ||
|
|
3354d69d3f | ||
|
|
2ea1f285df | ||
|
|
42ad668156 | ||
|
|
829cbe6064 | ||
|
|
e15f138bd6 | ||
|
|
c164b1a50e | ||
|
|
17e9e8bc3e | ||
|
|
0adc690c1c | ||
|
|
aa6bba27b5 | ||
|
|
ed09cb96c8 | ||
|
|
ca507ebe1e | ||
|
|
9ebed5996c | ||
|
|
8374ae3d72 | ||
|
|
3a2adf079e | ||
|
|
f37d5b1e3e | ||
|
|
0422bb184a | ||
|
|
1deb276285 | ||
|
|
371db7a989 | ||
|
|
e6d18a1984 | ||
|
|
bdfdb526d7 | ||
|
|
393b7ecac2 | ||
|
|
cf6eed90f4 | ||
|
|
202055bba6 | ||
|
|
ade40836dc | ||
|
|
79fbfc8001 | ||
|
|
20976ec3df | ||
|
|
37ac652fa3 | ||
|
|
7a3426b2f9 | ||
|
|
20ce50d204 | ||
|
|
9a00d9560e | ||
|
|
270dff6257 | ||
|
|
7bc831ea38 | ||
|
|
170b6706e4 | ||
|
|
21d7a738ab | ||
|
|
da1212f37e | ||
|
|
8d7c2eb9c7 | ||
|
|
4fad3d7c21 | ||
|
|
9c09853636 | ||
|
|
4b29be2139 | ||
|
|
f01e27894c | ||
|
|
1718ee6cbf | ||
|
|
5b0ddc41ea | ||
|
|
bcefcf8bf3 | ||
|
|
58b07631d7 | ||
|
|
2691ea9581 | ||
|
|
c39b89b960 | ||
|
|
df33d3d93f | ||
|
|
dafcc17cbd | ||
|
|
6dc75802c5 | ||
|
|
7ff0c8a0ce | ||
|
|
6ae3ce7f10 | ||
|
|
3caf8d9fff | ||
|
|
1e73de0efe | ||
|
|
9328284ae7 | ||
|
|
6ee45224b1 | ||
|
|
86fab843a3 | ||
|
|
0a8252e854 | ||
|
|
477249aae8 | ||
|
|
70b6c8ffcb | ||
|
|
c9d10d851e | ||
|
|
ca940ac8b2 | ||
|
|
316c440ab5 | ||
|
|
f9490c8155 | ||
|
|
c5cca90081 | ||
|
|
3b7248bfa7 | ||
|
|
6707dedb71 | ||
|
|
9b51e4fe2b | ||
|
|
8d1e29ab9f | ||
|
|
173d483525 | ||
|
|
1d168cee2e | ||
|
|
ddd9e46628 | ||
|
|
f87ad6e42b | ||
|
|
f56e6f8a92 | ||
|
|
44cd795ef5 | ||
|
|
b62ec7fb74 | ||
|
|
01211758b0 | ||
|
|
95a8c31df9 | ||
|
|
f0e218d5e0 | ||
|
|
7312e2db98 | ||
|
|
bf074ff810 | ||
|
|
dbd6998182 | ||
|
|
55487fd1e1 | ||
|
|
0bad380d6f | ||
|
|
bc9e62378f | ||
|
|
45e091f37d | ||
|
|
c8f21fa37d | ||
|
|
dd59f26ef4 | ||
|
|
58373e924d | ||
|
|
c122ba27cc | ||
|
|
2365e04104 | ||
|
|
f3681a1be0 | ||
|
|
a4d0ab8e0d | ||
|
|
0ce4af3275 | ||
|
|
4d4ddb466b | ||
|
|
1865ed0e61 | ||
|
|
6b5058b2b8 | ||
|
|
a6c77b76d9 | ||
|
|
04b04b8b37 | ||
|
|
62c13efb00 | ||
|
|
95eae75585 | ||
|
|
cc3176118e | ||
|
|
d432969fb2 | ||
|
|
e8b2a3fb99 | ||
|
|
ea142198e0 | ||
|
|
bd6ff6e05d | ||
|
|
d1baae3e80 | ||
|
|
bd333234f5 | ||
|
|
d0cc7f51aa | ||
|
|
1b2da1750a | ||
|
|
935ddc03ae | ||
|
|
f159d1608c | ||
|
|
0ca44553d0 | ||
|
|
e2c84e513e | ||
|
|
1ce9c65331 | ||
|
|
dcf587778f | ||
|
|
95c53ee70b | ||
|
|
77c26f0407 | ||
|
|
c1b9104f0b | ||
|
|
100fb06c31 | ||
|
|
b8dc20d2fb | ||
|
|
67ec080ddd | ||
|
|
6b4ce7e66b | ||
|
|
80347eb892 | ||
|
|
304cb34dbe | ||
|
|
4ea1f6bdbe | ||
|
|
be3b42ffff | ||
|
|
1c4b136d67 | ||
|
|
5bcadb4f51 | ||
|
|
4ccebbfe8f | ||
|
|
53c4e61fa5 | ||
|
|
d125030a99 | ||
|
|
742ce1c01d | ||
|
|
abb1d8f29f | ||
|
|
41593844a5 | ||
|
|
c1dd73efec | ||
|
|
4e3834083e | ||
|
|
d23552ca36 | ||
|
|
3fd9945f61 | ||
|
|
3125178557 | ||
|
|
92d0a06fbd | ||
|
|
7f76f8cab1 | ||
|
|
f5486e6863 | ||
|
|
fdacf47cb3 | ||
|
|
bda18d33cb | ||
|
|
3826c74a2a | ||
|
|
ae6192ff99 | ||
|
|
ecbdf3db6b | ||
|
|
79908888e4 | ||
|
|
ea2f1fdca8 | ||
|
|
7c7478cbc6 | ||
|
|
b11bff7537 | ||
|
|
828e8babf2 | ||
|
|
fb967a3840 | ||
|
|
901e0e95e6 | ||
|
|
ab860052ca | ||
|
|
8b8864cd6a | ||
|
|
7e43cab6f1 | ||
|
|
47edbdd132 | ||
|
|
461f99dd8d | ||
|
|
5deb321539 | ||
|
|
f1d2dc0512 | ||
|
|
79e1a0ad36 | ||
|
|
3c49e96f06 | ||
|
|
7198d369c7 | ||
|
|
c4357096fc | ||
|
|
2185408fea | ||
|
|
0b2a94e0d8 | ||
|
|
9f294097d9 | ||
|
|
402ee3291e | ||
|
|
492af30e70 | ||
|
|
34a71540d8 | ||
|
|
aae051684d | ||
|
|
9b345b9ac8 | ||
|
|
38fd32413d | ||
|
|
e9dac2eae6 | ||
|
|
a33751a800 | ||
|
|
b52e72f311 | ||
|
|
2143eea117 | ||
|
|
9b8dc27ba6 | ||
|
|
0a9929d0a0 | ||
|
|
8a1c0da634 | ||
|
|
62c24a15e1 | ||
|
|
cc438acdea | ||
|
|
76a5277949 | ||
|
|
57e352a403 | ||
|
|
92d7245a58 | ||
|
|
09881ed02e | ||
|
|
87d20659c6 | ||
|
|
6e566d9d3e | ||
|
|
ce27b8e052 | ||
|
|
39063693c2 | ||
|
|
537dd44795 | ||
|
|
6f6e1396e4 | ||
|
|
c8db69a00d | ||
|
|
b485e58087 | ||
|
|
9e3615b9a0 | ||
|
|
9cceedf5c7 | ||
|
|
34ab8cfccb | ||
|
|
1b6dfbf085 | ||
|
|
afc443804b | ||
|
|
00076864e2 | ||
|
|
a2fcd4fb12 | ||
|
|
2d3b88ed0d | ||
|
|
b1352c763a | ||
|
|
38bdfd56ae | ||
|
|
fdd95b7dfe | ||
|
|
5a67d69c4d | ||
|
|
04548b98d0 | ||
|
|
26693153f2 | ||
|
|
59c0ffe55f | ||
|
|
38b6785882 | ||
|
|
dd4849cd5b | ||
|
|
b904713e10 | ||
|
|
6104326801 | ||
|
|
2d96a41c42 | ||
|
|
549591bd96 | ||
|
|
7640d066be | ||
|
|
4575f4dcbd | ||
|
|
19ba701317 | ||
|
|
10c6452ee4 | ||
|
|
3cd50c4feb | ||
|
|
4c34c7d50b | ||
|
|
5da4c6475b | ||
|
|
73d6cee438 | ||
|
|
7d784b6bde | ||
|
|
6c8f1e0bd5 | ||
|
|
fa9d7eaab0 | ||
|
|
e7688eeed9 | ||
|
|
3f59bde022 | ||
|
|
7fcdd7f43c | ||
|
|
4f2eca81b2 | ||
|
|
c8821855ff | ||
|
|
28326f2ee0 | ||
|
|
9c723d679b | ||
|
|
6bc14d9fa8 | ||
|
|
309a864951 | ||
|
|
dd8c9d431f | ||
|
|
de665a2a5d | ||
|
|
9000f6c5d9 | ||
|
|
ca940a1a40 | ||
|
|
6fcbb578d4 | ||
|
|
aaabdd7e31 | ||
|
|
b4da3bd4d8 | ||
|
|
d08bfe3f59 | ||
|
|
ecb66d5991 | ||
|
|
ed4216e607 | ||
|
|
a4fb88ee70 | ||
|
|
a750083b18 | ||
|
|
a6d449804e | ||
|
|
fb10a5ce17 | ||
|
|
fe72309074 | ||
|
|
8b07976f02 | ||
|
|
c927ee3af5 | ||
|
|
fdb42aa45b | ||
|
|
a2572821ce | ||
|
|
44c9661b02 | ||
|
|
cf9b3f4a9a | ||
|
|
45ef50e2ec | ||
|
|
e7c025a5ed | ||
|
|
8481a44cee | ||
|
|
48254a2f18 | ||
|
|
33a8ad9665 | ||
|
|
079e9588bf | ||
|
|
8de0bb90f7 | ||
|
|
ab0fdb85d9 | ||
|
|
3907721052 | ||
|
|
017ab623f8 | ||
|
|
a394dc6dad | ||
|
|
e0558ae14d | ||
|
|
cf71dd43e8 | ||
|
|
aa6e19fbb7 | ||
|
|
ae6ec886d8 | ||
|
|
87dc9e98dd | ||
|
|
65f9dbb011 | ||
|
|
77700e766b | ||
|
|
152a2666ad | ||
|
|
94aaa644e2 | ||
|
|
6a1193d573 | ||
|
|
0393a12f46 | ||
|
|
dae40b1e2b | ||
|
|
7bbac1af1c | ||
|
|
92ffff651e | ||
|
|
3261eb1ffb | ||
|
|
d9d581454c | ||
|
|
b1d83da451 | ||
|
|
dc7aa202e6 | ||
|
|
b0f981ffac | ||
|
|
aafa457718 | ||
|
|
4d49f96272 | ||
|
|
3a64a81fa4 | ||
|
|
38f952d376 | ||
|
|
1d7f8b00a1 | ||
|
|
08f4ebefab | ||
|
|
c28c419131 | ||
|
|
05a3708616 | ||
|
|
d69994e15a | ||
|
|
af98cd5452 | ||
|
|
1db58c00ec | ||
|
|
cb69fb6944 | ||
|
|
4aa7524efa | ||
|
|
ec37bb8e00 | ||
|
|
9c421e2f47 | ||
|
|
e0d4146af8 | ||
|
|
43836be5ff | ||
|
|
8ebccdf10c | ||
|
|
c2dbf9ada7 | ||
|
|
9c01a6d86b | ||
|
|
fef50c6bbd | ||
|
|
3328332957 | ||
|
|
89876f8c82 | ||
|
|
0d46974534 | ||
|
|
3b376de6b7 | ||
|
|
ebe7b48ada | ||
|
|
f65b88fc89 | ||
|
|
2f342caf5b | ||
|
|
25adc7cdb1 | ||
|
|
32aef5a795 | ||
|
|
9b017657da | ||
|
|
2db95bb764 | ||
|
|
26284797d7 | ||
|
|
62de9b50d4 | ||
|
|
37d22887cc | ||
|
|
e141a867b1 | ||
|
|
fd9b6441c8 | ||
|
|
d897077563 | ||
|
|
a24fa9415f | ||
|
|
ea1cc56059 | ||
|
|
523dda3903 | ||
|
|
aee15544e7 | ||
|
|
3355093375 | ||
|
|
c609a66bd2 | ||
|
|
5dd4fb0651 | ||
|
|
70b8b4bb22 | ||
|
|
eb82df3fff | ||
|
|
e20d2ecbdc | ||
|
|
e631edefb4 | ||
|
|
2a9eb2584e | ||
|
|
66a27914c0 | ||
|
|
4a7182404c | ||
|
|
c2123d34e1 | ||
|
|
cabac1143b | ||
|
|
ae13823a85 | ||
|
|
e01e7741b4 | ||
|
|
deff4cc011 | ||
|
|
d30b5d51fa | ||
|
|
5b46e051bc | ||
|
|
4660ac3f78 | ||
|
|
567f46e09a | ||
|
|
db90e56e0b | ||
|
|
fec165597f | ||
|
|
7d49e835de | ||
|
|
d094c80f52 | ||
|
|
9c8a741051 | ||
|
|
2b57e56d32 | ||
|
|
e5a35879c0 | ||
|
|
06117e195e | ||
|
|
580154791f | ||
|
|
3789b3995a | ||
|
|
d21a217107 | ||
|
|
135198ff18 | ||
|
|
6c9016d491 | ||
|
|
c2fab01853 | ||
|
|
a44b6f969d | ||
|
|
9d0eb4db8b | ||
|
|
0b4e8cde89 | ||
|
|
ac9dd771b3 | ||
|
|
00cbce9fff | ||
|
|
cbe43d38ec | ||
|
|
72236a8426 | ||
|
|
42a1390170 | ||
|
|
13f2133c6a | ||
|
|
ec9c8a3e21 | ||
|
|
fe69ad8d33 | ||
|
|
750ffbad0b | ||
|
|
6776d8626d | ||
|
|
a682d9f9c0 | ||
|
|
65d67d399f | ||
|
|
6a1ff68f33 | ||
|
|
5719823239 | ||
|
|
0db592aa29 | ||
|
|
6f00809ba6 | ||
|
|
6782ef07c2 | ||
|
|
e1594b8cd4 | ||
|
|
8db84da322 | ||
|
|
8d0f8080dd | ||
|
|
9a9af0e854 | ||
|
|
020c3925bc | ||
|
|
0c535a97a6 | ||
|
|
0be2e13ccc | ||
|
|
7b69c42bf2 | ||
|
|
4a4b3d8a5b | ||
|
|
8b42b66a79 | ||
|
|
382d0c26c4 | ||
|
|
cca3747346 | ||
|
|
30b9cf8525 | ||
|
|
827ec01515 | ||
|
|
5baf03d99f | ||
|
|
d43c8e90e1 | ||
|
|
3bdd4c04c6 | ||
|
|
8eca3d8554 | ||
|
|
23228b8806 | ||
|
|
a56fea33bf | ||
|
|
4aa3dfa80e | ||
|
|
1a644bae79 | ||
|
|
1973bc9172 | ||
|
|
cbbf3e2a32 | ||
|
|
618b26abd8 | ||
|
|
67a9a84512 | ||
|
|
ad1a45468d | ||
|
|
104d444513 | ||
|
|
37ce27bf05 | ||
|
|
7a0748355f | ||
|
|
b5e7cef445 | ||
|
|
0c9c86d81b | ||
|
|
a345114fbd | ||
|
|
027e190922 | ||
|
|
c640b0e8cd | ||
|
|
32a5c7af71 | ||
|
|
d57ec8eee1 | ||
|
|
eac1f1fc8e | ||
|
|
01c869ffb9 | ||
|
|
3b639147e6 | ||
|
|
21230035ca | ||
|
|
00206b4aaf | ||
|
|
2d278f1cf5 | ||
|
|
a9278068cd | ||
|
|
7a6952fdd4 | ||
|
|
d8a9fb4957 | ||
|
|
be1b45c4e3 | ||
|
|
51f74c1a6c | ||
|
|
06ab962a77 | ||
|
|
a9643c06ec | ||
|
|
00038faec0 | ||
|
|
e9e8d572ee | ||
|
|
711ee53a0f | ||
|
|
a7771a1e05 | ||
|
|
9e62b92e13 | ||
|
|
9eae6e3c91 | ||
|
|
769b332436 | ||
|
|
0f9e694cb1 | ||
|
|
f6ba50417c | ||
|
|
09ac173aab | ||
|
|
d3043c719f | ||
|
|
9986219e74 | ||
|
|
92c63672e5 | ||
|
|
5cb7131fe2 | ||
|
|
985285e2f0 | ||
|
|
9f1c78db57 | ||
|
|
f85a3c5e74 | ||
|
|
f2a1104f17 | ||
|
|
6f325b08ee | ||
|
|
e04605c251 | ||
|
|
32504cea66 | ||
|
|
9e2ba9d714 | ||
|
|
708f261d75 | ||
|
|
dd3726c3bf | ||
|
|
71dc1752a9 | ||
|
|
4cb7fda6aa | ||
|
|
b75114100c | ||
|
|
8dfa652eb5 | ||
|
|
9192f49c9a | ||
|
|
2ca256b7c9 | ||
|
|
5ef5bcc673 | ||
|
|
8d1794de76 | ||
|
|
0b513aecee | ||
|
|
8e590c55c1 | ||
|
|
74ab465150 | ||
|
|
9502ac4dc3 | ||
|
|
751a39cdbf | ||
|
|
204130c7a9 | ||
|
|
f5d838f173 | ||
|
|
41dee25781 | ||
|
|
5b0588568a | ||
|
|
2facf0b1d9 | ||
|
|
cbd5833c8e | ||
|
|
1e459ecc31 | ||
|
|
596217e6e0 | ||
|
|
45030a47b5 | ||
|
|
332a428fc7 | ||
|
|
063d859e58 | ||
|
|
85aa861fd2 | ||
|
|
d0c539b283 | ||
|
|
136faa1f68 | ||
|
|
68bea95944 | ||
|
|
28d2a87461 | ||
|
|
64dde8abf3 | ||
|
|
bff088d135 | ||
|
|
7f159adac2 | ||
|
|
2fde0d4412 | ||
|
|
3ff2afce33 | ||
|
|
53710dfada | ||
|
|
c6411d443e | ||
|
|
49e2545279 | ||
|
|
d9d663eaf5 | ||
|
|
f68d2615d5 | ||
|
|
d762d71b61 | ||
|
|
d10d1e4cd2 | ||
|
|
23669c859e | ||
|
|
999309dd8e | ||
|
|
7170249f99 | ||
|
|
6f94927f80 | ||
|
|
90caaa6d44 | ||
|
|
23551c53ee | ||
|
|
556892f941 | ||
|
|
fc1c72fb58 | ||
|
|
fb3febc4d1 | ||
|
|
db791b6458 | ||
|
|
999ab6e6b8 | ||
|
|
fd73cb2f68 | ||
|
|
9e855d1858 | ||
|
|
ea5b033d04 | ||
|
|
71289f52e3 | ||
|
|
8bbcec7768 | ||
|
|
2505cd8cae | ||
|
|
43eb92f2bf | ||
|
|
28d151b0dc | ||
|
|
4844b35ee0 | ||
|
|
8fb056d657 | ||
|
|
674dc6434e | ||
|
|
d7ae81652d | ||
|
|
4a5a01b64b | ||
|
|
a950c7c83a | ||
|
|
4ab6ec36f1 | ||
|
|
c9f1e40bc2 | ||
|
|
802d44d6a3 | ||
|
|
0a25e21c29 | ||
|
|
4d4b301e8d | ||
|
|
82920829e2 | ||
|
|
64f0cfa0f0 | ||
|
|
18cba88bad | ||
|
|
61e0654f88 | ||
|
|
caf964b6ad | ||
|
|
3e661d3f4e | ||
|
|
3a6d473458 | ||
|
|
00d76db844 | ||
|
|
ed683509d4 | ||
|
|
4728599406 | ||
|
|
f9139f675c | ||
|
|
0015b2fc22 | ||
|
|
75d0e99aa5 | ||
|
|
96d751849d | ||
|
|
4cb8f0db3a | ||
|
|
48ed268968 | ||
|
|
852deded5c | ||
|
|
753f441733 | ||
|
|
b3e8839ee3 | ||
|
|
c28165d282 | ||
|
|
e1195a123c | ||
|
|
efbfa4aa33 | ||
|
|
18762efc66 | ||
|
|
55b98fd621 | ||
|
|
0b7c4ae4e5 | ||
|
|
398fabff75 | ||
|
|
0bcfda04d7 | ||
|
|
6e7a673f5a | ||
|
|
0abff3741c | ||
|
|
d61c9ef506 | ||
|
|
98c05d4e01 | ||
|
|
9f62e1c351 | ||
|
|
06ebc7b48a | ||
|
|
2a7100f655 | ||
|
|
9ebc452cab | ||
|
|
fd7f562d30 | ||
|
|
4f086eb63f | ||
|
|
ae7fce5b06 | ||
|
|
c8cd691c75 | ||
|
|
ad6e6017b9 | ||
|
|
dbe62994d0 | ||
|
|
f9df9519ed | ||
|
|
88a97318f7 | ||
|
|
b47536d2e0 | ||
|
|
e2d12b99e5 | ||
|
|
87091bfb00 | ||
|
|
c9250a2906 | ||
|
|
08dcb99b2e | ||
|
|
bef49d8f12 | ||
|
|
faa9083c36 | ||
|
|
59945f76b6 | ||
|
|
9e6fa15d20 | ||
|
|
fa9b92397f | ||
|
|
98f7e9fe2f | ||
|
|
bcccf7e2b5 | ||
|
|
9c00b50321 | ||
|
|
cba1416533 | ||
|
|
c313bc7e11 | ||
|
|
442846a0f7 | ||
|
|
7d1cd33e7a | ||
|
|
1d4be2fed9 | ||
|
|
dff55492d3 | ||
|
|
195f266c56 | ||
|
|
02a730f82f | ||
|
|
2163f19198 | ||
|
|
0119298480 | ||
|
|
b6e14b3ed5 | ||
|
|
eaa1a233f5 | ||
|
|
d46e46f4c9 | ||
|
|
259e84b757 | ||
|
|
b151acf98f | ||
|
|
cc520c72ea | ||
|
|
b8b3a945bc | ||
|
|
6c0497f1a1 | ||
|
|
edb7da45c5 | ||
|
|
d92cf4cbbd | ||
|
|
908bda5a81 | ||
|
|
faa487c7af | ||
|
|
20ef7a2afe | ||
|
|
e4cc5b8625 | ||
|
|
0701533db7 | ||
|
|
55b8d55c81 | ||
|
|
e9d291614d | ||
|
|
0d1164f1b9 | ||
|
|
1e5926e722 | ||
|
|
be9532fbb8 | ||
|
|
2e653934b6 | ||
|
|
6ce10715f3 | ||
|
|
2fb6228fab | ||
|
|
200d5ba401 | ||
|
|
06204e9b66 | ||
|
|
a88810b1be | ||
|
|
3aa46e5e11 | ||
|
|
ddb781612d | ||
|
|
413a0e70f6 | ||
|
|
1ab8690472 | ||
|
|
0a9f97a35d | ||
|
|
13e86bf07c | ||
|
|
5e94d980ed | ||
|
|
9af5c678af | ||
|
|
16b829cc88 | ||
|
|
f51a012313 | ||
|
|
b1e59f2f8f | ||
|
|
803a82be31 | ||
|
|
1b6db379e0 | ||
|
|
ee119339c8 | ||
|
|
51b4b58fe4 | ||
|
|
862e5ddf27 | ||
|
|
f87b3980ed | ||
|
|
54972eecc0 | ||
|
|
57ebd3b4a0 | ||
|
|
afc82abd6e | ||
|
|
ba1ebf490b | ||
|
|
04fafb15ee | ||
|
|
4ff64ac46d | ||
|
|
9718a3e645 | ||
|
|
8518925dca | ||
|
|
869f824ab4 | ||
|
|
491d20b9d2 | ||
|
|
7c437e07f4 | ||
|
|
daff17ec44 | ||
|
|
9c848f6000 | ||
|
|
568c4cab34 | ||
|
|
b141546afd | ||
|
|
801fa1ea0b | ||
|
|
8c3246db89 | ||
|
|
9404d7b9f5 | ||
|
|
5141aae474 | ||
|
|
43ab5cb4e5 | ||
|
|
a439b08f8f | ||
|
|
7e242e7137 | ||
|
|
3ec893d102 | ||
|
|
46d922a296 | ||
|
|
aa7e335411 | ||
|
|
ca1332f462 | ||
|
|
e79d1306f5 | ||
|
|
91b407cd93 | ||
|
|
91abc1fc8b | ||
|
|
457d9faff0 | ||
|
|
bec71b5c1b | ||
|
|
ea4a21cf2d | ||
|
|
f612793934 | ||
|
|
7a77606886 | ||
|
|
486ac1527e | ||
|
|
99ef38d5ac | ||
|
|
ab98081e67 | ||
|
|
4a1e5cca7a | ||
|
|
4e9193f26a | ||
|
|
22122b5731 | ||
|
|
b69f99dd9a | ||
|
|
6054a03c35 | ||
|
|
64860e04e9 | ||
|
|
28f852edc5 | ||
|
|
1ebc8e4784 | ||
|
|
d9879f3567 | ||
|
|
6d56f96a70 | ||
|
|
9b9a8b45fb | ||
|
|
1e74704021 | ||
|
|
613d7dafc3 | ||
|
|
bd2674be46 | ||
|
|
87c75bda74 | ||
|
|
d14aeb9e8c | ||
|
|
1100c01404 | ||
|
|
072f67e3b1 | ||
|
|
efc715748c | ||
|
|
24f0fb8093 | ||
|
|
dfdac01bf3 | ||
|
|
e41024f5f4 | ||
|
|
eaa59ecadc | ||
|
|
a4eba3fcd9 | ||
|
|
5fa74fae8c | ||
|
|
284a01251b | ||
|
|
d19a9b933b | ||
|
|
b267837de9 | ||
|
|
6cc9fe2ea7 | ||
|
|
77a48d5c8e | ||
|
|
fbad6391cd | ||
|
|
0d0da9d564 | ||
|
|
ee621ec27f | ||
|
|
0cb373498b | ||
|
|
a94ee973c1 | ||
|
|
8aa2735ce1 | ||
|
|
1a86fda8a0 | ||
|
|
05c489f4d0 | ||
|
|
b5cf6958af | ||
|
|
3415e19843 | ||
|
|
c50351131e | ||
|
|
e3b4f7bc1c | ||
|
|
5d1005c941 | ||
|
|
5c29b5614b | ||
|
|
72f8c90332 | ||
|
|
1e7b5449d7 | ||
|
|
80a00fa7d8 | ||
|
|
383d4eb3d9 | ||
|
|
4437361550 | ||
|
|
0d4438b177 | ||
|
|
0e9964682d | ||
|
|
658924a0bb | ||
|
|
bf3e891366 | ||
|
|
fea519c0d7 | ||
|
|
be36306887 | ||
|
|
c536a6cc6a | ||
|
|
7fc2517f7a | ||
|
|
a1bc7daa61 | ||
|
|
772f35de95 | ||
|
|
35b8d59d9c | ||
|
|
d46b8938e6 | ||
|
|
8adbaf5a58 | ||
|
|
b08a6c95c2 | ||
|
|
d5f7657065 | ||
|
|
69e11dfd47 | ||
|
|
d2d3a4ab69 | ||
|
|
4d842c45b2 | ||
|
|
c14248ff30 | ||
|
|
36ee7a7926 | ||
|
|
c91a7b7b81 | ||
|
|
30cefddc4c | ||
|
|
44fe98f9b7 | ||
|
|
5c7a79a17d | ||
|
|
993742d065 | ||
|
|
c705641a71 | ||
|
|
76e51df03d | ||
|
|
4e079a2048 | ||
|
|
590c7fde37 | ||
|
|
2e8b3e330a | ||
|
|
26995c8d42 | ||
|
|
40ca990922 | ||
|
|
f373a93b6b | ||
|
|
4a1837aaf8 | ||
|
|
e18bd058e3 | ||
|
|
679f66db70 | ||
|
|
daa8f5bb89 | ||
|
|
cd6587231a | ||
|
|
adaf97f130 | ||
|
|
267a5f27b8 | ||
|
|
0370fe045a | ||
|
|
a0054f632e | ||
|
|
261b8e343f | ||
|
|
17f4b9a371 | ||
|
|
4332af9038 | ||
|
|
fd000711bd | ||
|
|
4f3af11c45 | ||
|
|
8ecd4abfce | ||
|
|
07362806c7 | ||
|
|
c52c516c87 | ||
|
|
5cb43135ea | ||
|
|
836a7c6e88 | ||
|
|
2c5d779a6f | ||
|
|
bec9d3fdee | ||
|
|
0065dead4b | ||
|
|
0773a05050 | ||
|
|
37beb1f84f | ||
|
|
dfb85bef82 | ||
|
|
84451e90f5 | ||
|
|
90a16e0040 | ||
|
|
c4efbdba00 | ||
|
|
b66d6caccd | ||
|
|
efe72242b4 | ||
|
|
e3a05d742b | ||
|
|
ae7fe700a4 | ||
|
|
dca0dfb28a | ||
|
|
0c745853cd | ||
|
|
8a081d72ff | ||
|
|
7da9be3f15 | ||
|
|
0f7cd4a027 | ||
|
|
e77004a70e | ||
|
|
7e517f4bc2 | ||
|
|
169ece4780 | ||
|
|
877092e644 | ||
|
|
e37cc50ee6 | ||
|
|
c85b59629f | ||
|
|
475998fe63 | ||
|
|
bcbdc5e56a | ||
|
|
930fbbf53c | ||
|
|
2d3ec81e03 | ||
|
|
0638375ae4 | ||
|
|
0dc2c030aa | ||
|
|
f58051d433 | ||
|
|
96499e57a8 | ||
|
|
e4b9d585b9 | ||
|
|
4170830e54 | ||
|
|
743d76c442 | ||
|
|
9579937694 | ||
|
|
a81d470eee | ||
|
|
9e78279226 | ||
|
|
ac5a90b4e1 | ||
|
|
7eb361c668 | ||
|
|
a007f91456 | ||
|
|
1bb54048df | ||
|
|
206beb6a7f | ||
|
|
3c7581a524 | ||
|
|
f72962680d | ||
|
|
1cfd615c85 | ||
|
|
4954295992 | ||
|
|
3092515cd3 | ||
|
|
0561cadf64 | ||
|
|
9574fb9556 | ||
|
|
3d07599a92 | ||
|
|
1a1eddb2d7 | ||
|
|
87c8f17c8c | ||
|
|
2c4deb144c | ||
|
|
ab0b268094 | ||
|
|
02523903c8 | ||
|
|
518763fc9c | ||
|
|
88648c5be6 | ||
|
|
cb54fe0f9c | ||
|
|
07bbcf9b74 | ||
|
|
57b0094e4c | ||
|
|
2d33d48fd9 | ||
|
|
8292aa788d | ||
|
|
a0bf06f8e9 | ||
|
|
c7e78cf6c4 | ||
|
|
62ba46ca03 | ||
|
|
15cde03d95 | ||
|
|
2639bf5677 | ||
|
|
510cdd6a4d | ||
|
|
72cb41dcc1 | ||
|
|
adfe88a37e | ||
|
|
2f651fc9fd | ||
|
|
c5fdab264e | ||
|
|
99a7e4d2ac | ||
|
|
72e724aa85 | ||
|
|
2f7768dc8b | ||
|
|
c668ec2fd3 | ||
|
|
4181765f81 | ||
|
|
02b8772a4f | ||
|
|
fd65e4406a | ||
|
|
ae18c32de2 | ||
|
|
cf68d5c7ab | ||
|
|
23d9ae136f | ||
|
|
0d408824da | ||
|
|
f58c2101c8 | ||
|
|
a9004f4c27 | ||
|
|
04e66c4776 | ||
|
|
2a709a2328 | ||
|
|
56707f279c | ||
|
|
66524d5c8d | ||
|
|
3ed25cdf04 | ||
|
|
c8b503e724 | ||
|
|
69f026a8eb | ||
|
|
a99a24f898 | ||
|
|
2a0a1c26b6 | ||
|
|
cb8fbcc007 | ||
|
|
e97e779829 | ||
|
|
428354474d | ||
|
|
9a1859f45c | ||
|
|
516c335adc | ||
|
|
e47dcf68f5 | ||
|
|
1e77d8aed1 | ||
|
|
02885cebf6 | ||
|
|
3701efc544 | ||
|
|
e12ea4be4a | ||
|
|
e21e1bb8d9 | ||
|
|
b5f871d972 | ||
|
|
be485f1085 | ||
|
|
612c8ba45a | ||
|
|
2b0e3ebe86 | ||
|
|
fbba60403e | ||
|
|
1a02c80496 | ||
|
|
709d0a7f25 | ||
|
|
ba6f1419c3 | ||
|
|
aeef06749d | ||
|
|
ce247b4098 | ||
|
|
2a9d424d63 | ||
|
|
37a7e5802b | ||
|
|
c02fb7036e | ||
|
|
83ee2fd2f3 | ||
|
|
41c0c8b7ab | ||
|
|
1593d3c0ab | ||
|
|
c25050047b | ||
|
|
41639df2a9 | ||
|
|
a07b2fd2e7 | ||
|
|
1c53aea10e | ||
|
|
9f81e0b9cb | ||
|
|
37e92d1046 | ||
|
|
0252530109 | ||
|
|
52317e4499 | ||
|
|
52aec0f9cc | ||
|
|
aba8e3e14c | ||
|
|
8744270335 | ||
|
|
fd1b61e519 | ||
|
|
1e35e72db4 | ||
|
|
dfe9822915 | ||
|
|
25d98287e9 | ||
|
|
4bbee6eb20 | ||
|
|
1e5b4038e3 | ||
|
|
1b7f6f14a8 | ||
|
|
e67c90c611 | ||
|
|
f7cc8b9f85 | ||
|
|
99d218b8ec | ||
|
|
d9e6d64bf3 | ||
|
|
2402a66a83 | ||
|
|
624251f12b | ||
|
|
f3e7b4ba23 | ||
|
|
c89e6e1cbb | ||
|
|
f5ec2ed067 | ||
|
|
3b5411ea42 | ||
|
|
7589326171 | ||
|
|
edd087934e | ||
|
|
d20984a508 | ||
|
|
8ae5c1884e | ||
|
|
12ff42cfd9 | ||
|
|
7e8cc500a6 | ||
|
|
525c3066be | ||
|
|
d5dad476f6 | ||
|
|
4cfa779d5d | ||
|
|
3c8814226b | ||
|
|
d31d1a8d23 | ||
|
|
f33248c872 | ||
|
|
15d9837880 | ||
|
|
40e4a3ff6d | ||
|
|
bc52b2f662 | ||
|
|
f6d0970408 | ||
|
|
2c7d86f407 | ||
|
|
b82e70287c | ||
|
|
329e5fc9be | ||
|
|
a16d8d29dc | ||
|
|
ec966f558c | ||
|
|
f3d6244277 | ||
|
|
220842093f | ||
|
|
bd67bb8214 | ||
|
|
6840dc00d0 | ||
|
|
85d255d5a4 | ||
|
|
5c4852e1af | ||
|
|
d5f3856985 | ||
|
|
4875712965 | ||
|
|
a27dedf764 | ||
|
|
c59d7f12d4 | ||
|
|
4423ecd3e9 | ||
|
|
76759568cc | ||
|
|
f5c6e6ce6a | ||
|
|
8722357350 | ||
|
|
03d5da9339 | ||
|
|
e2be66f597 | ||
|
|
dd4f644b5c | ||
|
|
d22e67a971 | ||
|
|
0248017183 | ||
|
|
b2ba508854 | ||
|
|
fad164ed48 | ||
|
|
fd8a362cb3 | ||
|
|
77b756b3ce | ||
|
|
a3d0075f12 | ||
|
|
6fd8fc6c66 | ||
|
|
6c264f5279 | ||
|
|
270a0526b8 | ||
|
|
18803b7240 | ||
|
|
5278bebb50 | ||
|
|
73bc2e4187 | ||
|
|
874d6f04f9 | ||
|
|
b3b4f69e5b | ||
|
|
66af44a2ce | ||
|
|
99e1413162 | ||
|
|
ba8d2b476d | ||
|
|
453f2b6f0f | ||
|
|
ade59a8be8 | ||
|
|
869eb435e9 | ||
|
|
85a381ec3e | ||
|
|
c6207cacd2 | ||
|
|
8c24f5e1a6 | ||
|
|
3c6da8d5be | ||
|
|
4203ffc462 | ||
|
|
d32a8a3105 | ||
|
|
b6449c5a8f | ||
|
|
0d1180dc25 | ||
|
|
93aeace282 | ||
|
|
d9823c40dc | ||
|
|
f42825314d | ||
|
|
4099dea1cf | ||
|
|
3b394be366 | ||
|
|
c383f588bc | ||
|
|
7e9db4eec3 | ||
|
|
89801c7f1a | ||
|
|
f5a8cabe99 | ||
|
|
eec1901372 | ||
|
|
6b5cba80e1 | ||
|
|
fa0713f079 | ||
|
|
c360cacbce | ||
|
|
c3dc2e21f1 | ||
|
|
074c65a306 | ||
|
|
058dfd4676 | ||
|
|
b14263d5c3 | ||
|
|
1166922f8e | ||
|
|
e7534a6fda | ||
|
|
96f8ffc129 | ||
|
|
c99633a0bb | ||
|
|
67e554c494 | ||
|
|
5c5adebabb | ||
|
|
d00eedc5f8 | ||
|
|
1e7d13c279 | ||
|
|
53b3dddade | ||
|
|
9c04c778e5 | ||
|
|
606723137c | ||
|
|
b165bdd001 | ||
|
|
acc1358849 | ||
|
|
cac62b1142 | ||
|
|
7dbe6ec8d1 | ||
|
|
aa963ba248 | ||
|
|
e3b1d404a5 | ||
|
|
7c94eb2887 | ||
|
|
a80a559eb1 | ||
|
|
5dee11abdc | ||
|
|
319e5e0dd9 | ||
|
|
a45fde2104 | ||
|
|
4f1728b941 | ||
|
|
5460c62711 | ||
|
|
d2d9081a19 | ||
|
|
f2657f6155 | ||
|
|
52579bfce5 | ||
|
|
37f057e010 | ||
|
|
f8aa45f318 | ||
|
|
bc3891b6ae | ||
|
|
3ad1a27168 | ||
|
|
33df54215a | ||
|
|
efd7202bf5 | ||
|
|
a0813568ae | ||
|
|
a2b4bd48b9 | ||
|
|
7d4064486d | ||
|
|
df4b098032 | ||
|
|
45d454d389 | ||
|
|
12534ac102 | ||
|
|
81c2178b7b | ||
|
|
96db4489b5 | ||
|
|
7c594167a0 | ||
|
|
a75300aef9 | ||
|
|
fac6992cd5 | ||
|
|
3d2b2e0586 | ||
|
|
c541f3f35b | ||
|
|
867ccfc2f6 | ||
|
|
00cc41ddc2 | ||
|
|
e227ded1ad | ||
|
|
782dd1f673 | ||
|
|
18390be315 | ||
|
|
b2345e456b | ||
|
|
ee746d4d1c | ||
|
|
8fd3198c46 | ||
|
|
ad40de2ffb | ||
|
|
e851361992 | ||
|
|
1d7d99a9e8 | ||
|
|
8a67f7d861 | ||
|
|
95843e59bd | ||
|
|
2f61b05af1 | ||
|
|
836ddbfcfb | ||
|
|
1eeb38367c | ||
|
|
5e8aea0022 | ||
|
|
e8a5c83b00 | ||
|
|
122bf58057 | ||
|
|
3402efe0a6 | ||
|
|
3a46d25e9c | ||
|
|
7c7bbf7639 | ||
|
|
93c08db3a3 | ||
|
|
d6df5793bb | ||
|
|
dec1c947e0 | ||
|
|
f84696ac31 | ||
|
|
631e83ca67 | ||
|
|
02068e6d4d | ||
|
|
edbfaf1249 | ||
|
|
a274fabb95 | ||
|
|
27b1ede452 | ||
|
|
3d3b7e1568 | ||
|
|
941c5ba847 | ||
|
|
28c4bee396 | ||
|
|
b3ec24e28f | ||
|
|
71d21062cf | ||
|
|
81d07d46bc | ||
|
|
c8d3529523 | ||
|
|
1950a55cf1 | ||
|
|
7bc93922d8 | ||
|
|
2df088d5fc | ||
|
|
4106e33049 | ||
|
|
72ddb4d396 | ||
|
|
bd2e7b16ae | ||
|
|
bd86a5df0e | ||
|
|
bf51aee607 | ||
|
|
31c201fcda | ||
|
|
5b52ff4d41 | ||
|
|
7752ed22cb | ||
|
|
012949dbe5 | ||
|
|
7df37e2afa | ||
|
|
9f3c762926 | ||
|
|
cf43836778 | ||
|
|
4af2729faa | ||
|
|
2abba54d59 | ||
|
|
ff2fdab80c | ||
|
|
0cd1a1a33c | ||
|
|
370bee3cd4 | ||
|
|
9efb0f4b86 | ||
|
|
3f807c6aee | ||
|
|
dfe157f54c | ||
|
|
bf97566730 | ||
|
|
1c2f683468 | ||
|
|
2ff9c52f45 | ||
|
|
6a73a4b1f2 | ||
|
|
d19bc1b38c | ||
|
|
3e720b072e | ||
|
|
46ea30b576 | ||
|
|
55720cea18 | ||
|
|
5a6c1658f9 | ||
|
|
82960592dc | ||
|
|
bab6647815 | ||
|
|
75f50c044c | ||
|
|
f298d73d1d | ||
|
|
6bfd949e34 | ||
|
|
9ef0a508a7 | ||
|
|
dd62bf8b28 | ||
|
|
eb661a0a17 | ||
|
|
410949e6e7 | ||
|
|
090ce0ed70 | ||
|
|
23f2f9151c | ||
|
|
f62c9ded6e | ||
|
|
1c699a7800 | ||
|
|
42f2bd2932 | ||
|
|
54c481751e | ||
|
|
901367677d | ||
|
|
201e4886e3 | ||
|
|
1c8211214b | ||
|
|
b8a723daaf | ||
|
|
076e94a0c3 | ||
|
|
3f4695ec3c | ||
|
|
b9c960f8da | ||
|
|
7d2e7843cd | ||
|
|
15128b05ec | ||
|
|
049a296e61 | ||
|
|
7f61710e24 | ||
|
|
86e3487e0a | ||
|
|
f145839454 | ||
|
|
bd2e6fa102 | ||
|
|
fcabbae8b2 | ||
|
|
c037f734e9 | ||
|
|
f1febf53fb | ||
|
|
6fbf9f87a4 | ||
|
|
3757f9c1c4 | ||
|
|
b7a866634c | ||
|
|
911084c513 | ||
|
|
949ba4a645 | ||
|
|
43fd389e40 | ||
|
|
6283726360 | ||
|
|
e5cfbbc91c | ||
|
|
9d919c7ea7 | ||
|
|
c896b38b43 | ||
|
|
ed2f35d649 | ||
|
|
2fa0f165de | ||
|
|
4b8e6edec9 | ||
|
|
b4d78d87f4 | ||
|
|
6e4a3af441 | ||
|
|
97cacd46ea | ||
|
|
3c83a35c37 | ||
|
|
8c194be517 | ||
|
|
412866e417 | ||
|
|
a4266e2e76 | ||
|
|
ae74946493 | ||
|
|
b96bf4f6f8 | ||
|
|
25d4318e7f | ||
|
|
c9354f3c78 | ||
|
|
c93db8b3c6 | ||
|
|
77b3b6be85 | ||
|
|
aced94adfd | ||
|
|
ead0d0f981 | ||
|
|
80cf05b1d2 | ||
|
|
66ca153a34 | ||
|
|
eff2375a4b | ||
|
|
a6401b63e2 | ||
|
|
667c880745 | ||
|
|
408945e399 | ||
|
|
e4fbb55d09 | ||
|
|
17db9f5d77 | ||
|
|
370c73c7aa | ||
|
|
d86375f536 | ||
|
|
3cf45e9102 | ||
|
|
dff4e252d3 | ||
|
|
ee7d167c53 | ||
|
|
dda61f4641 | ||
|
|
69a4623dfd | ||
|
|
c544a37434 | ||
|
|
040c462ae8 | ||
|
|
f36664718d | ||
|
|
532ba56635 | ||
|
|
d753646118 | ||
|
|
e874cc7f96 | ||
|
|
f9dc4f3d9d | ||
|
|
f2be501509 | ||
|
|
aceb8e175d | ||
|
|
12d134d8a2 | ||
|
|
cfe0fe994f | ||
|
|
677d67f8e3 | ||
|
|
f4cdf11c7f | ||
|
|
d2d3faf43d | ||
|
|
43d6f2df0b | ||
|
|
98e287b9e8 | ||
|
|
e6a6a38865 | ||
|
|
f6fb539e83 | ||
|
|
dca301ae2e | ||
|
|
840be72b2e | ||
|
|
f25346015c | ||
|
|
ef2de79613 | ||
|
|
ca6eb09a48 | ||
|
|
891d1092f5 | ||
|
|
1d221b7613 | ||
|
|
2239c06bbb | ||
|
|
fd1c34928d | ||
|
|
050988b6d1 | ||
|
|
e842044652 | ||
|
|
b4d361f28a | ||
|
|
e733f3e556 | ||
|
|
d66277866a | ||
|
|
8cdf821926 | ||
|
|
caf412f16b | ||
|
|
0c12dfe6fd | ||
|
|
8b0f271419 | ||
|
|
b5c8427011 | ||
|
|
96fd5effdc | ||
|
|
6d0947aea9 | ||
|
|
b3c82251f9 | ||
|
|
8b59296010 | ||
|
|
02c39debf2 | ||
|
|
7b2da56bd1 | ||
|
|
83e338a183 | ||
|
|
993d3c6914 | ||
|
|
bdfe6f6bb9 | ||
|
|
56a05b61be | ||
|
|
87903a484e | ||
|
|
41f77d8ffe | ||
|
|
c24fba0d07 | ||
|
|
0be383c79d | ||
|
|
e2ad561010 | ||
|
|
0986d2ae9d | ||
|
|
c89eb4f84f | ||
|
|
f91b4c1ec3 | ||
|
|
d7ce10c5e2 | ||
|
|
1849f2a6a9 | ||
|
|
a263233bbd | ||
|
|
185d4c6b80 | ||
|
|
c904b941ba | ||
|
|
ce7b6750c9 | ||
|
|
cd05e21d47 | ||
|
|
93fa6b2f72 | ||
|
|
e5a123977f | ||
|
|
d665222d9f | ||
|
|
dea2b19ad5 | ||
|
|
57133f35e1 | ||
|
|
1c3389d736 | ||
|
|
e1e54c038b | ||
|
|
e65d287907 | ||
|
|
c1dc378603 | ||
|
|
a432d52a68 | ||
|
|
6003add49a | ||
|
|
ec1434a651 | ||
|
|
30b55b6652 | ||
|
|
51eb674cd3 | ||
|
|
0aefc2dfab | ||
|
|
6c292e1d49 | ||
|
|
bc3d6db62f | ||
|
|
1d1281e1d8 | ||
|
|
dc01b51128 | ||
|
|
db81e18443 | ||
|
|
d69d20b6e4 | ||
|
|
95ae2f50e8 | ||
|
|
6fb8bf9438 | ||
|
|
9d210294ce | ||
|
|
60fd409b75 | ||
|
|
17cde3a3df | ||
|
|
3279223e75 | ||
|
|
9bf7428108 | ||
|
|
1f75b25996 | ||
|
|
0e078b2c4f |
13
.babelrc
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"presets": [
|
||||
["@babel/env", {
|
||||
"targets": {
|
||||
"ios": "9.3",
|
||||
"chrome": "50"
|
||||
},
|
||||
"useBuiltIns": "usage",
|
||||
"corejs": 3
|
||||
}]
|
||||
],
|
||||
"plugins": ["@babel/plugin-proposal-object-rest-spread"]
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
node_modules
|
||||
app
|
||||
sessions
|
||||
1
.eslintignore
Normal file
|
|
@ -0,0 +1 @@
|
|||
jquery.*.js
|
||||
|
|
@ -1,16 +1,21 @@
|
|||
{
|
||||
"parser": "babel-eslint",
|
||||
"env": {
|
||||
"es2021": true,
|
||||
"es6": true,
|
||||
"browser": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"sourceType": "module"
|
||||
"sourceType": "module",
|
||||
"ecmaFeatures": {
|
||||
"experimentalObjectRestSpread": true
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"no-prototype-builtins": "off",
|
||||
"no-console": "off",
|
||||
"no-undef": "off",
|
||||
"no-useless-escape": "off",
|
||||
"no-self-assign": "off",
|
||||
"no-empty": [
|
||||
|
|
@ -46,12 +51,14 @@
|
|||
],
|
||||
"quotes": [
|
||||
"error",
|
||||
"single",
|
||||
{ "allowTemplateLiterals": true }
|
||||
"single"
|
||||
],
|
||||
"semi": [
|
||||
"error",
|
||||
"never"
|
||||
]
|
||||
},
|
||||
"globals": {
|
||||
"module": true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
name: Build
|
||||
on: [workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
Deploy:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:act-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: 'true'
|
||||
|
||||
- name: Docker Login
|
||||
run: |
|
||||
docker login -u riksolo -p ${{secrets.CONTAINER_REGISTRY_TOKEN}} git.riksolo.com
|
||||
|
||||
- name: Build and push
|
||||
run: |
|
||||
docker build -t git.riksolo.com/riksolo/open-stage-control:latest -t git.riksolo.com/riksolo/open-stage-control:${{github.sha}} .
|
||||
docker push git.riksolo.com/riksolo/open-stage-control:latest
|
||||
docker push git.riksolo.com/riksolo/open-stage-control:${{github.sha}}
|
||||
21
.github/ISSUE_TEMPLATE/bug.md
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Report a bug in Open Stage Control
|
||||
title: '[Bug] '
|
||||
---
|
||||
|
||||
<!--
|
||||
|
||||
Please provide as much contextual informations as possible:
|
||||
|
||||
- Open Stage Control version (or commit if built from sources)
|
||||
- Operating system
|
||||
- Open Stage Control options
|
||||
- Client type (built-in or external chromium/chrome browser) and version
|
||||
- Session file (can be uploaded after adding the .txt extension)
|
||||
- Custom module
|
||||
- Server logs (from the terminal or the launcher's console)
|
||||
- Client logs (hit F12 in chromium/chrome to open the console)
|
||||
- Screenshot
|
||||
|
||||
-->
|
||||
5
.github/ISSUE_TEMPLATE/feature.md
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for Open Stage Control
|
||||
title: '[Feature] '
|
||||
---
|
||||
5
.github/SUPPORT.md
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
## How do I get help ?
|
||||
|
||||
- If you found a bug, open a bug report
|
||||
- If you have a suggestion, open a feature request
|
||||
- If you have a question or want to share your experience with other users, please use the dedicated forum at https://openstagecontrol.discourse.group/
|
||||
29
.gitignore
vendored
|
|
@ -1,17 +1,12 @@
|
|||
# npmg
|
||||
node_modules/
|
||||
|
||||
# build
|
||||
/app/
|
||||
|
||||
# python/midi build
|
||||
src/server/python/*
|
||||
!src/server/python/*.py
|
||||
|
||||
# docs build
|
||||
src/docs/widgets-reference.js
|
||||
properties-reference.md
|
||||
|
||||
# packaging
|
||||
dist/
|
||||
sessions/
|
||||
node_modules
|
||||
dist
|
||||
app/LICENSE
|
||||
app/assets/*.css*
|
||||
app/assets/*.png
|
||||
app/client/*.js*
|
||||
app/launcher/*.js*
|
||||
app/server/*
|
||||
!app/server/.keep
|
||||
app/package.json
|
||||
package-lock.json
|
||||
*.pyc
|
||||
|
|
|
|||
49
.travis.yml
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
anHsudo: required
|
||||
dist: trusty
|
||||
language: node_js
|
||||
node_js:
|
||||
- "9"
|
||||
before_install:
|
||||
- sudo dpkg --add-architecture i386
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq wine fakeroot xvfb
|
||||
install: npm install
|
||||
before_deploy:
|
||||
deploy:
|
||||
provider: releases
|
||||
api-key:
|
||||
secure: Nb4qJlmLEE2/ETHEYe8V8eGI08d4GuE5kdQef5ZnB4PrstppLlAjShv5E4DNTsyalMOMDjpw9v+9aQNzxGiGv+lCVVL5oFvqvDpcYusRuF9Qua7oJtFh+5FvjgC1DDjauk5Z7WQWMvzWwfNmqbY/lxPbA4zVy4kdYkGV/8WnzA9AL5fU0ZU8gDsFjcr9Pz81XDsDXtPH/+iMuclMsEl8V/ZuswWlZaFn1Jnb1tcGC5WUCsuNQo/+gGfSK6Qcf9AKsIrOjdzi55s4jqH1N7P/kKi4a2tWUTwmSLrOxdUmSYjXVOxMu0cAEnHSeYREv/5o6J0MbfQrDoxh2y5roPZzqE+FAuFLl+b/+bYlW0mrfYfSuP/VX9LYh5JSvrhN7rZuUfMqS1iM7c9Dx8sZadMnvYEAAJhH8IV/9SkuRa/8QoIpXf7YB9v1jERxs4gk5CPT5Aml6nY/CvMWiEQ/wJhC7iZd/QRHshgfNLfAGlbbNU2KP6ZsVAGD601fyST/8neoQqLqS9mteOr1QME3c5EFw+XaauIQNYZSl+wJr8Y1YMcKY+fbJqqR0TXkbsoxFgV9PRf/4ZCjIJYtmelQVlM7j20XavOHM/Ko6/y7a3pohFz+ql3YR9jGF5XW2foXb4+e6DwTGL91/f75hYcsvXxoKbeaBjWpaSK8532UTeVkhPM=
|
||||
file_glob: true
|
||||
file: dist/packages/*
|
||||
skip_cleanup: true
|
||||
on:
|
||||
tags: true
|
||||
before_deploy:
|
||||
- export VERSION=$(sed -nE 's/^\s*"version":\ "(.*?)",$/\1/p' package.json)
|
||||
- npm run package -- --all
|
||||
- npm run package-node
|
||||
- npm run deb32
|
||||
- npm run deb64
|
||||
- npm run debarm
|
||||
- cd dist
|
||||
- mkdir packages
|
||||
- mv open-stage-control-linux-ia32/*.deb packages/open-stage-control-${VERSION}-i386.deb
|
||||
- mv open-stage-control-linux-x64/*.deb packages/open-stage-control-${VERSION}-amd64.deb
|
||||
- mv open-stage-control-linux-armv7l/*.deb packages/open-stage-control-${VERSION}-armv7l.deb
|
||||
- mv open-stage-control-node open-stage-control-${VERSION}-node
|
||||
- mv open-stage-control-win32-ia32 open-stage-control-${VERSION}-win32-ia32
|
||||
- mv open-stage-control-win32-x64 open-stage-control-${VERSION}-win32-x64
|
||||
- mv open-stage-control-linux-ia32 open-stage-control-${VERSION}-linux-ia32
|
||||
- mv open-stage-control-linux-x64 open-stage-control-${VERSION}-linux-x64
|
||||
- mv open-stage-control-linux-armv7l open-stage-control-${VERSION}-linux-armv7l
|
||||
- mv open-stage-control-linux-arm64 open-stage-control-${VERSION}-linux-arm64
|
||||
- zip -q -r --symlinks packages/open-stage-control-${VERSION}-osx.zip open-stage-control-darwin-x64/open-stage-control.app
|
||||
- zip -q -r packages/open-stage-control-${VERSION}-node.zip open-stage-control-${VERSION}-node
|
||||
- zip -q -r packages/open-stage-control-${VERSION}-win32-ia32.zip open-stage-control-${VERSION}-win32-ia32
|
||||
- zip -q -r packages/open-stage-control-${VERSION}-win32-x64.zip open-stage-control-${VERSION}-win32-x64
|
||||
- zip -q -r packages/open-stage-control-${VERSION}-linux-ia32.zip open-stage-control-${VERSION}-linux-ia32
|
||||
- zip -q -r packages/open-stage-control-${VERSION}-linux-x64.zip open-stage-control-${VERSION}-linux-x64
|
||||
- zip -q -r packages/open-stage-control-${VERSION}-linux-armv7l.zip open-stage-control-${VERSION}-linux-armv7l
|
||||
- zip -q -r packages/open-stage-control-${VERSION}-linux-arm64.zip open-stage-control-${VERSION}-linux-arm64
|
||||
- ls packages
|
||||
- cd ..
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
Anything AI-related is strictly prohibited from this project.
|
||||
|
||||
If you think this project could benefit from a smart use of AI, think harder.
|
||||
|
||||
Think harder about the (hundreds of) millions of data workers that make your AI "smart", not to mention the monumental ecological waste it represents.
|
||||
|
||||
If you still think this way, don't tell me.
|
||||
3449
CHANGELOG.md
1843
CHANGELOG.v0.md
29
Dockerfile
|
|
@ -1,29 +0,0 @@
|
|||
FROM node:24-alpine
|
||||
|
||||
RUN apk --no-cache add git
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
RUN mkdir /sessions
|
||||
RUN touch /sessions/session.json
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENV ELECTRON_RUN_AS_NODE=1
|
||||
|
||||
ENV SEND="127.0.0.1:8080"
|
||||
ENV LOAD="/sessions/main.json"
|
||||
ENV PORT=8080
|
||||
ENV OSC_PORT=8080
|
||||
ENV READ_ONLY=false
|
||||
|
||||
RUN chmod +x entrypoint.sh
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
1
Procfile
Normal file
|
|
@ -0,0 +1 @@
|
|||
web: node app/ -n -p $PORT --remote-saving 127.0.0.1 $OPTIONS
|
||||
19
README.md
|
|
@ -1,21 +1,10 @@
|
|||
<img src="resources/images/logo.png" alt="Open Stage Control" height="50px"/>
|
||||
|
||||
Open Stage Control
|
||||
<img src="resources/images/logo_discourse_black.png" alt="Open Stage Control" height="50px"/>
|
||||
|
||||
*Libre and modular OSC / MIDI controller*
|
||||
|
||||
|
||||
- Website: https://openstagecontrol.ammd.net/
|
||||
- Forum: https://openstagecontrol.discourse.group/
|
||||
- IRC: Libera.chat #openstagecontrol
|
||||
https://openstagecontrol.ammd.net/
|
||||
|
||||
----
|
||||
|
||||
Docker additions by Rik Berkelder.
|
||||
|
||||
mount `/sessions` directory. default session file is created and loaded there.
|
||||
|
||||
---
|
||||
|
||||
Copyleft © Jean-Emmanuel Doucet 2014-2025.
|
||||
This program is a free software released under the [GNU/GPL3](https://framagit.org/jean-emmanuel/open-stage-control/-/blob/master/LICENSE) license.
|
||||
Copyleft © Jean-Emmanuel Doucet @ [AMMD](http://ammd.net) 2014-2020.
|
||||
This program is a free software released under the [GNU/GPL3](ttps://github.com/jean-emmanuel/open-stage-control/blob/master/LICENSE) license.
|
||||
|
|
|
|||
BIN
app/assets/fonts/fa-solid-900.woff
Normal file
14
app/assets/fonts/fa-solid.css
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/*!
|
||||
* Font Awesome Free 5.0.8 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
@font-face {
|
||||
font-family: FontAwesome;
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
src: url("./fa-solid-900.woff") format("woff")}
|
||||
|
||||
.fa,
|
||||
.fas {
|
||||
font-family: FontAwesome;
|
||||
font-weight: 900; }
|
||||
5
app/assets/fonts/fontawesome.min.css
vendored
Normal file
13
app/assets/fonts/roboto-medium.css
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('roboto-medium.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'RobotoMono';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('roboto-mono.woff') format('woff');
|
||||
}
|
||||
BIN
app/assets/fonts/roboto-medium.woff
Normal file
2
app/assets/themes/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
||||
30
app/client/index.html
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no"/>
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="apple-touch-icon" href="../assets/logo.png" />
|
||||
<link rel="preload" href="../assets/fonts/fa-solid-900.woff" as="font"/>
|
||||
<link rel="preload" href="../assets/fonts/roboto-medium.woff" as="font"/>
|
||||
<link rel="stylesheet" type="text/css" href="../assets/open-stage-control.css" hot-reload/>
|
||||
<link rel="stylesheet" type="text/css" href="../assets/theme.css" hot-reload/>
|
||||
<link rel="stylesheet" type="text/css" href="../assets/fonts/fontawesome.min.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../assets/fonts/fa-solid.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../assets/fonts/roboto-medium.css"/>
|
||||
<link rel="shortcut icon" href="../assets/favicon.png"/>
|
||||
<script src="../client/open-stage-control-client.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="container"></div>
|
||||
<div id="sidepanel" class="hide">
|
||||
<div id="sidepanel-wrapper"></div>
|
||||
<div id="sidepanel-handle"></div>
|
||||
</div>
|
||||
<div id="notifications"></div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
3787
app/examples/ardour.json
Normal file
959
app/examples/demo.json
Normal file
|
|
@ -0,0 +1,959 @@
|
|||
{
|
||||
"type": "root",
|
||||
"tabs": [
|
||||
{
|
||||
"type": "tab",
|
||||
"id": "tab_2",
|
||||
"label": "Open Stage Control",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/tab_2",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [
|
||||
{
|
||||
"type": "strip",
|
||||
"top": 10,
|
||||
"left": 10,
|
||||
"id": "strip_4",
|
||||
"label": "Strips",
|
||||
"width": 100,
|
||||
"height": 450,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"horizontal": false,
|
||||
"stretch": false,
|
||||
"spacing": 5,
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [
|
||||
{
|
||||
"type": "text",
|
||||
"id": "text_1",
|
||||
"label": false,
|
||||
"height": 30,
|
||||
"vertical": false,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": 1,
|
||||
"preArgs": [],
|
||||
"address": "/text_1",
|
||||
"linkId": "",
|
||||
"wrap": false,
|
||||
"align": "",
|
||||
"default": "",
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"width": "auto"
|
||||
},
|
||||
{
|
||||
"type": "strip",
|
||||
"id": "strip_5",
|
||||
"label": false,
|
||||
"height": 30,
|
||||
"color": "auto",
|
||||
"horizontal": true,
|
||||
"stretch": true,
|
||||
"spacing": 5,
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [
|
||||
{
|
||||
"type": "toggle",
|
||||
"id": "toggle_1",
|
||||
"linkId": "",
|
||||
"label": false,
|
||||
"led": false,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"on": 1,
|
||||
"off": 0,
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"width": "auto",
|
||||
"address": "/toggle_1",
|
||||
"doubleTap": false,
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"height": "auto"
|
||||
},
|
||||
{
|
||||
"type": "toggle",
|
||||
"linkId": "",
|
||||
"label": false,
|
||||
"led": false,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"on": 1,
|
||||
"off": 0,
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"width": "auto",
|
||||
"id": "toggle_2",
|
||||
"address": "/toggle_2",
|
||||
"doubleTap": false,
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"height": "auto"
|
||||
},
|
||||
{
|
||||
"type": "toggle",
|
||||
"id": "toggle_3",
|
||||
"label": false,
|
||||
"led": false,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"on": 1,
|
||||
"off": 0,
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"address": "/toggle_3",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"linkId": "",
|
||||
"width": "auto",
|
||||
"doubleTap": false,
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"height": "auto"
|
||||
}
|
||||
],
|
||||
"css": "",
|
||||
"border": true,
|
||||
"scroll": true,
|
||||
"address": "/strip_5",
|
||||
"preArgs": [],
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"target": [],
|
||||
"bypass": false,
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"width": "auto",
|
||||
"tabs": []
|
||||
},
|
||||
{
|
||||
"type": "strip",
|
||||
"id": "strip_6",
|
||||
"label": false,
|
||||
"height": 50,
|
||||
"color": "auto",
|
||||
"css": "margin-bottom:-10rem",
|
||||
"horizontal": true,
|
||||
"stretch": true,
|
||||
"spacing": 0,
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [
|
||||
{
|
||||
"type": "knob",
|
||||
"id": "knob_1",
|
||||
"linkId": "",
|
||||
"label": false,
|
||||
"unit": "",
|
||||
"width": "auto",
|
||||
"color": "auto",
|
||||
"pips": false,
|
||||
"input": false,
|
||||
"dashed": false,
|
||||
"angle": 270,
|
||||
"css": "",
|
||||
"snap": false,
|
||||
"spring": false,
|
||||
"doubleTap": false,
|
||||
"range": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"origin": "auto",
|
||||
"value": "",
|
||||
"logScale": false,
|
||||
"precision": 2,
|
||||
"touchAddress": "",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"address": "/knob_1",
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"height": "auto",
|
||||
"steps": ""
|
||||
},
|
||||
{
|
||||
"type": "knob",
|
||||
"id": "knob_2",
|
||||
"linkId": "",
|
||||
"label": false,
|
||||
"unit": "",
|
||||
"width": "auto",
|
||||
"color": "auto",
|
||||
"pips": false,
|
||||
"input": false,
|
||||
"dashed": false,
|
||||
"angle": 270,
|
||||
"css": "",
|
||||
"snap": false,
|
||||
"spring": false,
|
||||
"doubleTap": false,
|
||||
"range": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"origin": "auto",
|
||||
"value": "",
|
||||
"logScale": false,
|
||||
"precision": 2,
|
||||
"address": "/knob_2",
|
||||
"touchAddress": "",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"height": "auto",
|
||||
"steps": ""
|
||||
}
|
||||
],
|
||||
"border": false,
|
||||
"scroll": true,
|
||||
"address": "/strip_6",
|
||||
"preArgs": [],
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"target": [],
|
||||
"bypass": false,
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"width": "auto",
|
||||
"tabs": []
|
||||
},
|
||||
{
|
||||
"type": "strip",
|
||||
"id": "strip_1",
|
||||
"label": false,
|
||||
"color": "auto",
|
||||
"css": "flex:1",
|
||||
"horizontal": true,
|
||||
"stretch": false,
|
||||
"spacing": 0,
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [
|
||||
{
|
||||
"type": "meter",
|
||||
"id": "meter_1",
|
||||
"label": false,
|
||||
"unit": "",
|
||||
"alignRight": false,
|
||||
"horizontal": false,
|
||||
"pips": false,
|
||||
"dashed": true,
|
||||
"color": "auto",
|
||||
"css": "margin: 20rem 0 20rem 10rem;",
|
||||
"range": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"logScale": false,
|
||||
"origin": "auto",
|
||||
"value": "@{knob_1}",
|
||||
"address": "/meter_1",
|
||||
"preArgs": [],
|
||||
"width": 10,
|
||||
"linkId": "",
|
||||
"gradient": [],
|
||||
"default": "",
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"height": "auto",
|
||||
"compact": true,
|
||||
"input": false
|
||||
},
|
||||
{
|
||||
"type": "meter",
|
||||
"id": "meter_2",
|
||||
"label": false,
|
||||
"unit": "",
|
||||
"alignRight": false,
|
||||
"horizontal": false,
|
||||
"pips": false,
|
||||
"dashed": true,
|
||||
"color": "auto",
|
||||
"css": "margin: 20rem 0",
|
||||
"range": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"logScale": false,
|
||||
"origin": "auto",
|
||||
"value": "@{knob_2}",
|
||||
"address": "/meter_1",
|
||||
"preArgs": [],
|
||||
"width": 10,
|
||||
"linkId": "",
|
||||
"gradient": [],
|
||||
"default": "",
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"height": "auto",
|
||||
"compact": true,
|
||||
"input": false
|
||||
},
|
||||
{
|
||||
"type": "fader",
|
||||
"id": "fader_1",
|
||||
"linkId": "",
|
||||
"label": false,
|
||||
"unit": "",
|
||||
"width": "auto",
|
||||
"alignRight": false,
|
||||
"horizontal": false,
|
||||
"pips": true,
|
||||
"input": false,
|
||||
"compact": false,
|
||||
"dashed": false,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"snap": false,
|
||||
"spring": false,
|
||||
"doubleTap": false,
|
||||
"range": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"origin": "auto",
|
||||
"value": "",
|
||||
"logScale": false,
|
||||
"precision": 2,
|
||||
"meter": false,
|
||||
"address": "/fader_1",
|
||||
"touchAddress": "",
|
||||
"meterAddress": "",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"height": "auto",
|
||||
"steps": ""
|
||||
}
|
||||
],
|
||||
"height": "auto",
|
||||
"border": false,
|
||||
"scroll": true,
|
||||
"address": "/strip_1",
|
||||
"preArgs": [],
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"target": [],
|
||||
"bypass": false,
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"width": "auto",
|
||||
"tabs": []
|
||||
},
|
||||
{
|
||||
"type": "fader",
|
||||
"id": "fader_2",
|
||||
"linkId": "",
|
||||
"label": false,
|
||||
"unit": "",
|
||||
"height": 30,
|
||||
"alignRight": false,
|
||||
"horizontal": true,
|
||||
"pips": false,
|
||||
"input": false,
|
||||
"compact": true,
|
||||
"dashed": false,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"snap": false,
|
||||
"spring": false,
|
||||
"doubleTap": false,
|
||||
"range": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"origin": 0.5,
|
||||
"value": 0.5,
|
||||
"logScale": false,
|
||||
"precision": 2,
|
||||
"meter": false,
|
||||
"address": "/fader_2",
|
||||
"touchAddress": "",
|
||||
"meterAddress": "",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"width": "auto",
|
||||
"steps": ""
|
||||
},
|
||||
{
|
||||
"type": "strip",
|
||||
"id": "strip_3",
|
||||
"label": false,
|
||||
"height": 30,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"horizontal": true,
|
||||
"stretch": false,
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [
|
||||
{
|
||||
"type": "toggle",
|
||||
"id": "toggle_4",
|
||||
"linkId": "",
|
||||
"label": "M",
|
||||
"led": false,
|
||||
"color": "yellow",
|
||||
"css": "",
|
||||
"on": 1,
|
||||
"off": 0,
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"width": "auto",
|
||||
"address": "/toggle_4",
|
||||
"doubleTap": false,
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"height": "auto"
|
||||
},
|
||||
{
|
||||
"type": "toggle",
|
||||
"id": "toggle_5",
|
||||
"linkId": "",
|
||||
"label": "S",
|
||||
"led": false,
|
||||
"color": "lime",
|
||||
"css": "",
|
||||
"on": 1,
|
||||
"off": 0,
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"address": "/toggle_5",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"width": "auto",
|
||||
"doubleTap": false,
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"height": "auto"
|
||||
}
|
||||
],
|
||||
"spacing": 0,
|
||||
"border": true,
|
||||
"scroll": true,
|
||||
"address": "/strip_3",
|
||||
"preArgs": [],
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"target": [],
|
||||
"bypass": false,
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"width": "auto",
|
||||
"tabs": []
|
||||
}
|
||||
],
|
||||
"border": true,
|
||||
"scroll": true,
|
||||
"address": "/strip_4",
|
||||
"preArgs": [],
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"target": [],
|
||||
"bypass": false,
|
||||
"tabs": []
|
||||
},
|
||||
{
|
||||
"type": "panel",
|
||||
"top": 10,
|
||||
"left": 120,
|
||||
"id": "panel_1",
|
||||
"label": "Pads",
|
||||
"width": 350,
|
||||
"height": 350,
|
||||
"scroll": true,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/panel_1",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [],
|
||||
"tabs": [
|
||||
{
|
||||
"type": "tab",
|
||||
"id": "tab_3",
|
||||
"label": "Xy",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/tab_3",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [
|
||||
{
|
||||
"type": "xy",
|
||||
"top": 0,
|
||||
"left": 0,
|
||||
"id": "xy_1",
|
||||
"linkId": "",
|
||||
"label": false,
|
||||
"width": "100%",
|
||||
"height": "100%",
|
||||
"input": true,
|
||||
"pips": true,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"snap": false,
|
||||
"spring": false,
|
||||
"doubleTap": false,
|
||||
"rangeX": {
|
||||
"min": 0,
|
||||
"25%": 0.25,
|
||||
"50%": 0.5,
|
||||
"75%": 0.75,
|
||||
"max": 1
|
||||
},
|
||||
"rangeY": {
|
||||
"min": 0,
|
||||
"25%": 0.25,
|
||||
"50%": 0.5,
|
||||
"75%": 0.75,
|
||||
"max": 1
|
||||
},
|
||||
"logScaleX": false,
|
||||
"logScaleY": false,
|
||||
"value": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"precision": 2,
|
||||
"address": "/xy_1",
|
||||
"touchAddress": "",
|
||||
"preArgs": [],
|
||||
"split": false,
|
||||
"target": [],
|
||||
"pointSize": 20,
|
||||
"default": "",
|
||||
"bypass": false
|
||||
}
|
||||
],
|
||||
"tabs": [],
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"scroll": true
|
||||
},
|
||||
{
|
||||
"type": "tab",
|
||||
"id": "tab_5",
|
||||
"label": "rgb",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/tab_5",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [
|
||||
{
|
||||
"type": "rgb",
|
||||
"id": "rgb_1",
|
||||
"linkId": "",
|
||||
"label": false,
|
||||
"left": 0,
|
||||
"top": 0,
|
||||
"width": "100%",
|
||||
"height": "100%",
|
||||
"input": true,
|
||||
"css": "",
|
||||
"snap": false,
|
||||
"spring": false,
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/rgb_1",
|
||||
"preArgs": [],
|
||||
"split": false,
|
||||
"target": [],
|
||||
"range": {
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"alpha": false,
|
||||
"pointSize": 10
|
||||
}
|
||||
],
|
||||
"tabs": [],
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"scroll": true
|
||||
},
|
||||
{
|
||||
"type": "tab",
|
||||
"id": "tab_4",
|
||||
"label": "MultiXy",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/tab_4",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [
|
||||
{
|
||||
"type": "multixy",
|
||||
"id": "xy_2",
|
||||
"label": false,
|
||||
"width": "100%",
|
||||
"height": "100%",
|
||||
"pips": true,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"snap": false,
|
||||
"spring": false,
|
||||
"rangeX": {
|
||||
"min": 0,
|
||||
"25%": 0.25,
|
||||
"50%": 0.5,
|
||||
"75%": 0.75,
|
||||
"max": 1
|
||||
},
|
||||
"rangeY": {
|
||||
"min": 0,
|
||||
"25%": 0.25,
|
||||
"50%": 0.5,
|
||||
"75%": 0.75,
|
||||
"max": 1
|
||||
},
|
||||
"logScaleX": false,
|
||||
"logScaleY": false,
|
||||
"value": [
|
||||
0.25,
|
||||
0.5,
|
||||
0.75,
|
||||
0.5
|
||||
],
|
||||
"precision": 2,
|
||||
"address": "/xy_2",
|
||||
"touchAddress": "",
|
||||
"preArgs": [],
|
||||
"split": false,
|
||||
"target": [],
|
||||
"linkId": "",
|
||||
"left": "auto",
|
||||
"top": "auto",
|
||||
"points": 2,
|
||||
"pointSize": 20,
|
||||
"default": "",
|
||||
"bypass": false
|
||||
}
|
||||
],
|
||||
"tabs": [],
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"scroll": true
|
||||
}
|
||||
],
|
||||
"border": true,
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"bypass": false
|
||||
},
|
||||
{
|
||||
"type": "rgb",
|
||||
"top": 10,
|
||||
"left": 480,
|
||||
"id": "color_picker",
|
||||
"linkId": "",
|
||||
"label": "Color",
|
||||
"width": 130,
|
||||
"height": 60,
|
||||
"css": "/* Cool hack ::\nOnly display the hue slider.\nWe ensure the initial color \nby setting the default property \n*/\n.pad > :first-child{display:none;}\n.hue-wrapper{height:100%;}\n.hue-wrapper *{height:100%;}",
|
||||
"precision": 0,
|
||||
"value": "",
|
||||
"address": "/dropdown_1",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"default": [
|
||||
86,
|
||||
168,
|
||||
255
|
||||
],
|
||||
"bypass": false,
|
||||
"snap": false,
|
||||
"spring": false,
|
||||
"range": {
|
||||
"min": 0,
|
||||
"max": 255
|
||||
},
|
||||
"input": true,
|
||||
"alpha": false,
|
||||
"split": false,
|
||||
"pointSize": 10
|
||||
},
|
||||
{
|
||||
"type": "keyboard",
|
||||
"top": 370,
|
||||
"left": 120,
|
||||
"id": "keyboard",
|
||||
"keys": 36,
|
||||
"start": 60,
|
||||
"label": "auto",
|
||||
"width": 350,
|
||||
"height": 90,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"traversing": true,
|
||||
"on": 1,
|
||||
"off": 0,
|
||||
"precision": 2,
|
||||
"address": "/keyboard_1",
|
||||
"preArgs": [],
|
||||
"split": false,
|
||||
"target": [],
|
||||
"bypass": false,
|
||||
"linkId": ""
|
||||
},
|
||||
{
|
||||
"type": "matrix",
|
||||
"top": 80,
|
||||
"left": 480,
|
||||
"id": "multifader",
|
||||
"label": "auto",
|
||||
"width": 130,
|
||||
"height": 380,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"address": "/multifader_1",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"linkId": "",
|
||||
"widgetType": "fader",
|
||||
"matrix": [
|
||||
1,
|
||||
12
|
||||
],
|
||||
"start": 0,
|
||||
"spacing": 0,
|
||||
"traversing": true,
|
||||
"border": true,
|
||||
"props": {
|
||||
"compact": true,
|
||||
"horizontal": true,
|
||||
"label": false,
|
||||
"pips": false,
|
||||
"input": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "matrix",
|
||||
"top": 10,
|
||||
"left": 620,
|
||||
"id": "multipush",
|
||||
"label": "auto",
|
||||
"width": 130,
|
||||
"height": 220,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"precision": 2,
|
||||
"address": "/multipush",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"bypass": false,
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"value": "",
|
||||
"widgetType": "push",
|
||||
"matrix": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"start": 0,
|
||||
"spacing": 4,
|
||||
"traversing": true,
|
||||
"border": true,
|
||||
"props": {}
|
||||
},
|
||||
{
|
||||
"type": "matrix",
|
||||
"top": 240,
|
||||
"left": 620,
|
||||
"label": "auto",
|
||||
"width": 130,
|
||||
"height": 220,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"address": "/multitoggle",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"id": "multitoggle",
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"linkId": "",
|
||||
"widgetType": "toggle",
|
||||
"matrix": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"start": 0,
|
||||
"spacing": 4,
|
||||
"traversing": true,
|
||||
"border": true,
|
||||
"props": {}
|
||||
},
|
||||
{
|
||||
"type": "plot",
|
||||
"top": 470,
|
||||
"left": 10,
|
||||
"id": "plot_1",
|
||||
"width": 240,
|
||||
"height": 140,
|
||||
"label": "Plot (multifader)",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"rangeX": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"rangeY": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"origin": "auto",
|
||||
"logScaleX": false,
|
||||
"logScaleY": false,
|
||||
"pips": false,
|
||||
"address": "/plot_1",
|
||||
"preArgs": [],
|
||||
"smooth": true,
|
||||
"linkId": "",
|
||||
"dots": true,
|
||||
"bars": false,
|
||||
"value": "@{multifader}",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"type": "patchbay",
|
||||
"top": 470,
|
||||
"left": 480,
|
||||
"id": "patchbay_1",
|
||||
"linkId": "",
|
||||
"width": 270,
|
||||
"height": 140,
|
||||
"label": "Patchbay",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"inputs": [
|
||||
"input_1",
|
||||
"input_2"
|
||||
],
|
||||
"outputs": [
|
||||
"output_1",
|
||||
"output_2"
|
||||
],
|
||||
"default": "",
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"address": "/patchbay_1",
|
||||
"preArgs": "",
|
||||
"target": "",
|
||||
"bypass": false
|
||||
},
|
||||
{
|
||||
"type": "visualizer",
|
||||
"top": 470,
|
||||
"left": 260,
|
||||
"id": "visualizer_1",
|
||||
"linkId": "",
|
||||
"width": 210,
|
||||
"height": 140,
|
||||
"label": "Visualizer (fader)",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"origin": "auto",
|
||||
"smooth": false,
|
||||
"pips": false,
|
||||
"default": "",
|
||||
"value": "@{fader_1}",
|
||||
"address": "/plot_2",
|
||||
"preArgs": "",
|
||||
"duration": 1,
|
||||
"range": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"logScale": false
|
||||
}
|
||||
],
|
||||
"tabs": [],
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"scroll": true
|
||||
}
|
||||
],
|
||||
"color": "JS{{\nreturn 'rgb(' + @{color_picker}.join(',') + ')'\n}}",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/root",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"variables": {},
|
||||
"id": "root",
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"traversing": false,
|
||||
"scroll": true,
|
||||
"label": false
|
||||
}
|
||||
168
app/examples/keys.json
Normal file
|
|
@ -0,0 +1,168 @@
|
|||
{
|
||||
"type": "root",
|
||||
"tabs": [
|
||||
{
|
||||
"type": "tab",
|
||||
"id": "tab_1",
|
||||
"label": "auto",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/tab_1",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [
|
||||
{
|
||||
"type": "keys",
|
||||
"top": 300,
|
||||
"left": 0,
|
||||
"id": "keys_1",
|
||||
"width": "auto",
|
||||
"height": "auto",
|
||||
"label": "auto",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"binding": [
|
||||
"r",
|
||||
"f"
|
||||
],
|
||||
"keydown": "#{\nx = key == \"r\" ? 0.1 : -0.1;\n@{fader_1} + x\n}",
|
||||
"repeat": true,
|
||||
"keyup": "",
|
||||
"linkId": ">> A",
|
||||
"default": "",
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"address": "/keys_1",
|
||||
"preArgs": "",
|
||||
"target": "",
|
||||
"bypass": false
|
||||
},
|
||||
{
|
||||
"type": "fader",
|
||||
"top": 0,
|
||||
"left": 0,
|
||||
"id": "fader_1",
|
||||
"linkId": "<< A",
|
||||
"width": "auto",
|
||||
"height": "auto",
|
||||
"label": "auto",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"horizontal": false,
|
||||
"alignRight": false,
|
||||
"pips": true,
|
||||
"input": true,
|
||||
"meter": false,
|
||||
"compact": false,
|
||||
"dashed": false,
|
||||
"snap": false,
|
||||
"spring": false,
|
||||
"doubleTap": false,
|
||||
"range": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"logScale": false,
|
||||
"unit": "",
|
||||
"origin": "auto",
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"address": "/fader_1",
|
||||
"touchAddress": "",
|
||||
"meterAddress": "",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"steps": ""
|
||||
},
|
||||
{
|
||||
"type": "xy",
|
||||
"top": 50,
|
||||
"left": 170,
|
||||
"id": "xy_1",
|
||||
"linkId": "<< B",
|
||||
"width": 210,
|
||||
"height": 220,
|
||||
"label": "auto",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"input": true,
|
||||
"pips": true,
|
||||
"pointSize": 20,
|
||||
"snap": false,
|
||||
"spring": false,
|
||||
"doubleTap": false,
|
||||
"rangeX": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"rangeY": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"logScaleX": false,
|
||||
"logScaleY": false,
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"address": "/xy_1",
|
||||
"touchAddress": "",
|
||||
"preArgs": [],
|
||||
"split": false,
|
||||
"target": [],
|
||||
"default": "",
|
||||
"bypass": false
|
||||
},
|
||||
{
|
||||
"type": "keys",
|
||||
"top": 270,
|
||||
"left": 170,
|
||||
"id": "keys_2",
|
||||
"width": 210,
|
||||
"height": "auto",
|
||||
"label": "auto",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"binding": [
|
||||
"g",
|
||||
"t"
|
||||
],
|
||||
"keydown": "#{\nx = key == \"t\" ? 0.1 : -0.1;\n@{xy_1}[0] + x\n@{xy_1}[1] + x\n}",
|
||||
"keyup": "",
|
||||
"repeat": false,
|
||||
"linkId": ">> B",
|
||||
"default": "",
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"address": "/keys_2",
|
||||
"preArgs": "",
|
||||
"target": "",
|
||||
"bypass": false
|
||||
}
|
||||
],
|
||||
"tabs": [],
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"scroll": true
|
||||
}
|
||||
],
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/root",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"variables": {},
|
||||
"id": "root",
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"traversing": false,
|
||||
"scroll": true,
|
||||
"label": false
|
||||
}
|
||||
88
app/examples/svg.json
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
{
|
||||
"type": "root",
|
||||
"tabs": [
|
||||
{
|
||||
"type": "tab",
|
||||
"id": "tab_1",
|
||||
"linkId": "",
|
||||
"label": "Rgb Levels",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"default": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/tab_1",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"bypass": false,
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [
|
||||
{
|
||||
"type": "svg",
|
||||
"top": 150,
|
||||
"left": 0,
|
||||
"id": "rgb_svg",
|
||||
"linkId": "",
|
||||
"width": "100%",
|
||||
"height": 190,
|
||||
"label": "auto",
|
||||
"css": "path {\n fill:none;\n stroke-width:3rem\n}",
|
||||
"svg": "#{\n\n# build the data array\n# [ [r,g,b], [r,g,b], [r,g,b], etc ]\ndata = @{rgb_matrix};\n\n# extract channels and convert to relative y-axis coordinates\n# assuming the y-range is 0-255\n# 96 - val * 94 for padding and y-axis reversal\n# we add a small offset to make sure the 3 lines are always visible\n\nred = 96 - flatten(data[0:end,0]) / 255 * 94 + 2;\ngreen = 96 - flatten(data[0:end,1]) / 255 * 94;\nblue = 96 - flatten(data[0:end,2]) / 255 * 94 - 2;\n\n# build the x-axis relative coordinates array\n\nlength = size(red)[0]\nxaxis = (0:length) / (length-1) * 100;\n\n\n# convert coords to svg path string\nsvgCoords(color) = map(color, f(c,i)=print(\"L$0%x $1%y\", [xaxis[i], c]));\n\n# svg path first command must be \"M\", not \"L\" \nsvgString(color) = concat(\"M\", unpack(svgCoords(color))[1:end]);\n\n}\n\n\n<path stroke=\"red\" d=\"#{svgString(red)}\" />\n<path stroke=\"lime\" d=\"#{svgString(green)}\" />\n<path stroke=\"blue\" d=\"#{svgString(blue)}\" />",
|
||||
"preArgs": [],
|
||||
"address": "/rgb_svg",
|
||||
"default": "",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"type": "matrix",
|
||||
"top": 0,
|
||||
"left": 0,
|
||||
"id": "rgb_matrix",
|
||||
"width": "100.60%",
|
||||
"height": 150,
|
||||
"label": "auto",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"widgetType": "rgb",
|
||||
"matrix": [
|
||||
8,
|
||||
1
|
||||
],
|
||||
"start": 0,
|
||||
"spacing": 0,
|
||||
"traversing": false,
|
||||
"props": {
|
||||
"input": false,
|
||||
"label": false
|
||||
},
|
||||
"default": "",
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"address": "/matrix_1",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"bypass": false,
|
||||
"linkId": "",
|
||||
"border": true
|
||||
}
|
||||
],
|
||||
"tabs": [],
|
||||
"scroll": true
|
||||
}
|
||||
],
|
||||
"id": "root",
|
||||
"linkId": "",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"default": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/root",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"bypass": false,
|
||||
"variables": {},
|
||||
"traversing": false,
|
||||
"scroll": true,
|
||||
"label": false
|
||||
}
|
||||
102
app/examples/sysex.json
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
{
|
||||
"type": "root",
|
||||
"tabs": [
|
||||
{
|
||||
"type": "tab",
|
||||
"id": "tab_1",
|
||||
"label": "Sysex Example",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/tab_1",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [
|
||||
{
|
||||
"type": "push",
|
||||
"top": 10,
|
||||
"left": 20,
|
||||
"id": "push_1",
|
||||
"linkId": "",
|
||||
"width": 200,
|
||||
"height": "auto",
|
||||
"label": "Send Device Inquiry",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"on": "f0 7e 7f 06 01 f7",
|
||||
"norelease": true,
|
||||
"precision": 0,
|
||||
"address": "/sysex",
|
||||
"target": [
|
||||
"midi:osc"
|
||||
],
|
||||
"preArgs": [],
|
||||
"off": 0,
|
||||
"doubleTap": false,
|
||||
"value": "",
|
||||
"bypass": false
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"top": 80,
|
||||
"left": 20,
|
||||
"id": "text_1",
|
||||
"width": 200,
|
||||
"height": 60,
|
||||
"label": "Device Inquiry Response",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"vertical": false,
|
||||
"preArgs": [],
|
||||
"address": "/sysex",
|
||||
"value": "",
|
||||
"linkId": "",
|
||||
"wrap": false,
|
||||
"align": "",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"top": 150,
|
||||
"left": 20,
|
||||
"id": "text_2",
|
||||
"width": 200,
|
||||
"height": 240,
|
||||
"label": "^info-circle",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"preArgs": [],
|
||||
"address": "/text_2",
|
||||
"vertical": false,
|
||||
"value": "",
|
||||
"linkId": "",
|
||||
"wrap": false,
|
||||
"align": "",
|
||||
"default": ""
|
||||
}
|
||||
],
|
||||
"tabs": [],
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"scroll": true
|
||||
}
|
||||
],
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/root",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"variables": {},
|
||||
"id": "root",
|
||||
"linkId": "",
|
||||
"default": "",
|
||||
"bypass": false,
|
||||
"traversing": false,
|
||||
"scroll": true,
|
||||
"label": false
|
||||
}
|
||||
1
app/index.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
require('./server/open-stage-control-server')
|
||||
18
app/launcher/index.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html id="launcher">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no"/>
|
||||
<link rel="preload" href="../assets/fonts/roboto-medium.woff" as="font"/>
|
||||
<link rel="preload" href="../assets/fonts/fa-solid-900.woff" as="font"/>
|
||||
<link rel="stylesheet" type="text/css" href="../assets/open-stage-control.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../assets/fonts/fontawesome.min.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../assets/fonts/fa-solid.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../assets/fonts/roboto-medium.css"/>
|
||||
<script src="open-stage-control-launcher.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="loading"><div class="spinner"></div></div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
0
app/server/.keep
Normal file
|
|
@ -1,49 +0,0 @@
|
|||
{
|
||||
"createdWith": "Open Stage Control",
|
||||
"version": "1.31.2",
|
||||
"type": "session",
|
||||
"content": {
|
||||
"type": "root",
|
||||
"lock": false,
|
||||
"id": "root",
|
||||
"visible": true,
|
||||
"interaction": true,
|
||||
"comments": "",
|
||||
"width": "auto",
|
||||
"height": "auto",
|
||||
"colorText": "auto",
|
||||
"colorWidget": "auto",
|
||||
"alphaFillOn": "auto",
|
||||
"borderRadius": "auto",
|
||||
"padding": "auto",
|
||||
"html": "",
|
||||
"css": "",
|
||||
"colorBg": "auto",
|
||||
"layout": "default",
|
||||
"justify": "start",
|
||||
"gridTemplate": "",
|
||||
"contain": true,
|
||||
"scroll": true,
|
||||
"innerPadding": true,
|
||||
"tabsPosition": "top",
|
||||
"hideMenu": false,
|
||||
"variables": "@{parent.variables}",
|
||||
"traversing": false,
|
||||
"value": "",
|
||||
"default": "",
|
||||
"linkId": "",
|
||||
"address": "auto",
|
||||
"preArgs": "",
|
||||
"typeTags": "",
|
||||
"decimals": 2,
|
||||
"target": "",
|
||||
"ignoreDefaults": false,
|
||||
"bypass": false,
|
||||
"onCreate": "",
|
||||
"onValue": "",
|
||||
"onTouch": "",
|
||||
"onPreload": "",
|
||||
"widgets": [],
|
||||
"tabs": []
|
||||
}
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
services:
|
||||
app:
|
||||
build: .
|
||||
volumes:
|
||||
- ./sessions:/sessions
|
||||
ports:
|
||||
- 8080:8080
|
||||
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
test -f "$LOAD" || cp "basesession.json" "$LOAD"
|
||||
|
||||
exec node app/index.js \
|
||||
--port $PORT \
|
||||
--osc-port $OSC_PORT \
|
||||
--send $SEND \
|
||||
--load $LOAD \
|
||||
--read-only=$READ_ONLY
|
||||
9718
package-lock.json
generated
129
package.json
|
|
@ -2,7 +2,7 @@
|
|||
"name": "open-stage-control",
|
||||
"productName": "Open Stage Control",
|
||||
"description": "Libre and modular OSC / MIDI controller",
|
||||
"version": "1.31.2",
|
||||
"version": "0.49.12",
|
||||
"author": {
|
||||
"name": "Jean-Emmanuel Doucet",
|
||||
"email": "jean-emmanuel@ammd.net"
|
||||
|
|
@ -15,96 +15,89 @@
|
|||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://framagit.org/jean-emmanuel/open-stage-control"
|
||||
"url": "https://github.com/jean-emmanuel/open-stage-control"
|
||||
},
|
||||
"homepage": "http://openstagecontrol.ammd.net/",
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"@babel/core": "7.18.0",
|
||||
"@babel/preset-env": "7.18.0",
|
||||
"@electron/packager": "18.4.4",
|
||||
"@electron/remote": "2.1.3",
|
||||
"@rollup/plugin-babel": "^6.0.4",
|
||||
"@rollup/plugin-commonjs": "^28.0.6",
|
||||
"@rollup/plugin-json": "^6.1.0",
|
||||
"@rollup/plugin-node-resolve": "^16.0.1",
|
||||
"@rollup/plugin-terser": "^0.4.4",
|
||||
"ace-builds": "1.39.0",
|
||||
"ansi-html": "0.0.9",
|
||||
"@babel/compat-data": "7.8.0",
|
||||
"@babel/core": "7.8.3",
|
||||
"@babel/plugin-proposal-object-rest-spread": "7.8.3",
|
||||
"@babel/polyfill": "7.8.3",
|
||||
"@babel/preset-env": "7.8.7",
|
||||
"ansi-html": "0.0.7",
|
||||
"babel-eslint": "10.0.3",
|
||||
"babelify": "10.0.0",
|
||||
"balanced-match": "2.0.0",
|
||||
"bonjour": "git+https://framagit.org/jean-emmanuel/bonjour.git",
|
||||
"chokidar": "3.5.3",
|
||||
"chroma-js": "2.4.2",
|
||||
"core-js": "3.22.5",
|
||||
"bonjour": "github:jean-emmanuel/bonjour",
|
||||
"browserify": "16.5.0",
|
||||
"cardinal-spline-js": "2.3.10",
|
||||
"core-js": "3.6.4",
|
||||
"cpr": "3.0.1",
|
||||
"deep-extend": "0.6.0",
|
||||
"electron-localshortcut": "3.2.1",
|
||||
"electron-packager": "14.2.0",
|
||||
"electron-packager-plugin-non-proprietary-codecs-ffmpeg": "1.0.2",
|
||||
"env-paths": "2.2.1",
|
||||
"eslint": "8.16.0",
|
||||
"fastdom": "1.0.10",
|
||||
"file-saver": "2.0.5",
|
||||
"http-auth": "4.1.9",
|
||||
"json5": "2.2.1",
|
||||
"eslint": "6.8.0",
|
||||
"exorcist": "1.0.1",
|
||||
"file-saver": "2.0.2",
|
||||
"gyronorm": "2.0.6",
|
||||
"jquery": "3.4.1",
|
||||
"json5": "2.1.1",
|
||||
"jsondiffpatch": "0.4.1",
|
||||
"keyboardjs": "2.6.4",
|
||||
"minimatch": "5.1.0",
|
||||
"nanohtml": "1.10.0",
|
||||
"nanoid": "3.3.4",
|
||||
"nanomorph": "5.4.3",
|
||||
"node-forge": "1.3.1",
|
||||
"node-mouse": "0.0.2",
|
||||
"nodemon": "2.0.16",
|
||||
"nosleep.js": "0.12.0",
|
||||
"open": "8.4.0",
|
||||
"osc": "2.4.5",
|
||||
"python-shell": "3.0.1",
|
||||
"qrcode": "1.5.1",
|
||||
"replacestream": "4.0.3",
|
||||
"rollup": "4.50.1",
|
||||
"rollup-plugin-copy": "3.5.0",
|
||||
"rollup-plugin-license": "^3.6.0",
|
||||
"rollup-plugin-node-externals": "^8.1.1",
|
||||
"sass": "1.89.2",
|
||||
"keyboardjs": "github:jean-emmanuel/KeyboardJS",
|
||||
"licensify": "3.1.3",
|
||||
"loop-protect": "github:jean-emmanuel/loop-protect#v1.0.1",
|
||||
"mathjs": "5.10.0",
|
||||
"minimatch": "3.0.4",
|
||||
"nanohtml": "1.9.0",
|
||||
"nanoid": "2.1.10",
|
||||
"nanomorph": "5.4.0",
|
||||
"node-sass": "4.13.1",
|
||||
"nodemon": "2.0.2",
|
||||
"nosleep.js": "0.9.0",
|
||||
"osc": "2.4.0",
|
||||
"python-shell": "1.0.8",
|
||||
"sanitize-html": "1.20.1",
|
||||
"scope-css": "1.2.1",
|
||||
"screenfull": "5.2.0",
|
||||
"semver": "7.3.7",
|
||||
"send": "0.18.0",
|
||||
"sortablejs": "1.15.0",
|
||||
"source-map-support": "0.5.21",
|
||||
"screenfull": "5.0.1",
|
||||
"send": "0.17.1",
|
||||
"source-map-support": "0.5.16",
|
||||
"stacktrace-js": "2.0.2",
|
||||
"ua-parser-js": "2.0.7",
|
||||
"ws": "8.6.0",
|
||||
"yargs": "17.5.1"
|
||||
"through": "2.3.8",
|
||||
"uglifyify": "5.0.2",
|
||||
"webworkify": "1.5.0",
|
||||
"ws": "7.2.1",
|
||||
"yargs": "15.1.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"electron": "36.9.5",
|
||||
"electron-installer-debian": "3.1.0",
|
||||
"electron-installer-redhat": "git+https://framagit.org/jean-emmanuel/electron-installer-redhat.git"
|
||||
"electron": "7.1.11",
|
||||
"electron-installer-debian": "3.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "echo '\\033[36m=> Dependencies installed successfully. Run \"npm run build\" to build the assets.\\033[0m\n'",
|
||||
"start": "electron app/",
|
||||
"build": "npm run build-css && npm run build-js && echo '\\033[36m=> JS and CSS assets built successfully. Run \"npm run package\" to build an executable or \"npm start\" to run the app.\\033[0m\n'",
|
||||
"build": "npm run build-css && npm run build-js && node scripts/copy-assets.js && echo '\\033[36m=> JS and CSS assets built successfully. Run \"npm run package\" to build an executable or \"npm start\" to run the app.\\033[0m\n'",
|
||||
"package": "node scripts/package.js",
|
||||
"package-rpi": "node scripts/package.js --old-rpi",
|
||||
"package-node": "node scripts/package-node.js",
|
||||
"deb64": "electron-installer-debian --src dist/open-stage-control-linux-x64/ --arch amd64 --dest dist/ --icon resources/images/logo.png",
|
||||
"rpm64": "electron-installer-redhat --src dist/open-stage-control-linux-x64/ --arch x86_64 --dest dist/ --icon resources/images/logo.png",
|
||||
"deb32": "electron-installer-debian --src dist/open-stage-control-linux-ia32/ --arch i386 --dest dist/open-stage-control-linux-ia32/ --icon resources/images/logo.png",
|
||||
"deb64": "electron-installer-debian --src dist/open-stage-control-linux-x64/ --arch amd64 --dest dist/open-stage-control-linux-x64/ --icon resources/images/logo.png",
|
||||
"debarm": "electron-installer-debian --src dist/open-stage-control-linux-armv7l/ --arch armv7l --dest dist/open-stage-control-linux-armv7l/ --icon resources/images/logo.png",
|
||||
"build-css": "node scripts/build-css.js",
|
||||
"watch-css": "nodemon --watch src/scss -e scss -x \"npm run build-css -- --reload\"",
|
||||
"build-js": "npm run build-launcher-js && npm run build-client-js && npm run build-server-js",
|
||||
"build-client-js": "rollup -c scripts/client.rollup.config.js",
|
||||
"build-js": "npm run build-launcher-js && npm run build-client-js -- --prod && npm run build-server-js",
|
||||
"build-client-js": "node scripts/build-client.js",
|
||||
"build-launcher-js": "node scripts/build-launcher.js",
|
||||
"build-server-js": "node scripts/build-server.js",
|
||||
"watch-client": "npm run build-client-js -- --watch",
|
||||
"build-server-js": "rollup -c scripts/server.rollup.config.js",
|
||||
"watch-server": "npm run build-server-js -- --watch",
|
||||
"build-launcher-js": "rollup -c scripts/launcher.rollup.config.js",
|
||||
"watch-launcher": "npm run build-launcher-js -- --watch",
|
||||
"build-docs": "rollup -c scripts/docs.rollup.config.js && node src/docs/widgets-reference.js > resources/docs/docs/widgets/properties-reference.md && cd resources && python3 -m mkdocs build",
|
||||
"lint": "eslint src --ext mjs",
|
||||
"test": "npm run lint && npm run build"
|
||||
"watch-browser": "npm run build-client-js -- --watch",
|
||||
"watch-css": "nodemon --watch src/scss -e scss -x \"npm run build-css -- --reload\"",
|
||||
"build-docs": "node scripts/build-widgets-reference.js > resources/docs/docs/widgets-reference.md && cd resources && npm run build",
|
||||
"test": "eslint src && npm run build && node tests/test.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"watchify": "3.11.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
3
resources/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
theme/styles.css
|
||||
site/*
|
||||
!site/.htaccess
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
# How to build the docs
|
||||
|
||||
```bash
|
||||
# https://squidfunk.github.io/mkdocs-material/getting-started/
|
||||
$ python3 -m pip install mkdocs-material
|
||||
|
||||
$ sudo apt-get install python python-pip # python package manager
|
||||
$ sudo pip install mkdocs # docs site builder
|
||||
$ sudo pip install mkdocs-material # theme
|
||||
|
||||
$ mkdocs serve # make docs available on http://127.0.0.1:8000
|
||||
# or
|
||||
|
|
|
|||
1
resources/docs/docs.md
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
docs/getting-started.md
|
||||
101
resources/docs/docs/advanced-property-syntax.md
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
# Advanced property syntax
|
||||
|
||||
## Inheritance: `@{id.property}`
|
||||
|
||||
Widgets can use each other's properties values and update automatically when they change by using this syntax.
|
||||
|
||||
- `id`: the target widget's `id`
|
||||
- `property`: is the target widget's property name
|
||||
|
||||
|
||||
#### Value
|
||||
|
||||
The property name (and the dot) can be omitted and defaults to `value` (`@{widgetId}` => `@{widgetId.value}`). `value` always resolves to the target widget's current value, not its `value` property
|
||||
|
||||
#### `this` & `parent`
|
||||
|
||||
A widget can fetch its own properties or its direct parent's by using the keywords `this` or `parent` instead of `id`. When `this` or `parent` can be used, using the target widget's `id` instead won't work.
|
||||
|
||||
#### Dynamic properties
|
||||
|
||||
Some properties, when changed, trigger a complete widget recreation that ends any ongoing user interaction. Also, updating these properties continuously (e.g. when linked to a slider's dynamic value) can be very cpu expensive.
|
||||
|
||||
Some properties have much cheaper update routines and can be considered as `dynamic`, as in performance safe. These properties are marked in the documentation with a <i class="dynamic-prop-icon" title="dynamic"></i>.
|
||||
|
||||
|
||||
#### Circular references cases
|
||||
|
||||
- container widgets can inherit their children's properties only to define `dynamic` properties
|
||||
- widgets can inherit their own `value`<i class="dynamic-prop-icon" title="dynamic"></i> property only to define `dynamic` properties
|
||||
|
||||
#### Object properties
|
||||
|
||||
If the retreived property is an object (`{}`) or an array (`[]`), a subset can be retreived directly by appending a dot and a key (array index or object key) : `@{parent.variables.key}`
|
||||
|
||||
|
||||
#### Nesting
|
||||
|
||||
The inheritance syntax supports 1-level nesting : `@{fader_@{toggle_1}}`
|
||||
|
||||
|
||||
## OSC listeners: `OSC{address, default, usePreArgs}`
|
||||
|
||||
This syntax allows listening on an osc address to define a property.
|
||||
|
||||
- `address`: osc address to listen to; if the leading slash (`/`) is omitted, the address will be prefixed with the widget's `address` property
|
||||
- `default` (optional): default value returned before any message is received
|
||||
- `usePreArgs` (optional): by default, osc listeners inherit the widget's `preArgs` and (these must be matched for the osc messages to be processed). Set to `false` bypass them.
|
||||
|
||||
|
||||
#### Dynamic address
|
||||
|
||||
The `address` can contain `@{}` blocks
|
||||
|
||||
|
||||
|
||||
## Javascript: `JS{{ <code> }}`
|
||||
|
||||
This syntax allows writing formulas in pure javascript. The code will be compiled as a function and executed in a restricted context.
|
||||
|
||||
- if no `return` statement is found, the formula will return an empty string
|
||||
- javascript [strict mode](https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Strict_mode) is always enabled
|
||||
- `setTimeout` and `setInterval` functions are not available
|
||||
- the `global` object is shared between all javascript formulas (changing its properties *does not* trigger any synchronisation even if the value is used somewhere else)
|
||||
|
||||
In this context, `@{} / OSC{}` are seen as variables, not as the value they hold,
|
||||
|
||||
Parsing errors can be read in the DevTool console (F12).
|
||||
|
||||
## Formulas: `#{}`
|
||||
|
||||
!!! warning "Deprecated"
|
||||
This syntax is now deprecated and will be removed in the future, sessions using it will be working for a few more versions but users are strongly encouraged to migrate to the javascript syntax.
|
||||
|
||||
The following syntax allow writing mathematical formulas in widgets' properties:
|
||||
|
||||
```
|
||||
#{FORMULA}
|
||||
```
|
||||
|
||||
Where FORMULA is a valid [MathJS](http://mathjs.org/docs/expressions/syntax.html) expression:
|
||||
|
||||
- [syntax documentation](http://mathjs.org/docs/expressions/syntax.html)
|
||||
- [available functions](http://mathjs.org/docs/reference/functions.html)
|
||||
- [available constants](http://mathjs.org/docs/reference/constants.html)
|
||||
- formulas can be [multiline](http://mathjs.org/docs/expressions/syntax.html#multiline-expressions)
|
||||
- property inheritance calls (`@{...}`) are always resolved before formulas
|
||||
- arrays / matrices indexes are **zero-based** (ie `["a","b"][0]` returns `"a"`)
|
||||
- strings can be multiline when enclosed in backticks instead of double quotes (``` ` ` ```)
|
||||
|
||||
Additionnal functions:
|
||||
|
||||
- `indexOf(a, x)`: returns index of item `x` in array `a`
|
||||
- `unpack(x)`: remove an array's brackets (`unpack([1,2])` returns `"1, 2"`)
|
||||
- `pad(x, padding)`: add leading zeros if the length of the integer part of `x` is smaller than `padding` (`pad(1,2)` returns `"01"`)
|
||||
- `length(x)`: returns the length of an array or string
|
||||
- `keys(x)`: returns an array of a given object's property names (from [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys))
|
||||
- `values(x)`: returns an array of a given object's own enumerable property values (from [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values))
|
||||
- `extend(x, y)`: merges two objects into one
|
||||
|
||||
!!! tip ""
|
||||
A single widget property can contain multiple formulas. Variables and functions declared in a formula are available to subsequent formulas in the same property definition.
|
||||
|
|
@ -1 +0,0 @@
|
|||
../../../CHANGELOG.md
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
Client options can be set either with the server's `--client-options` option, or per client by adding query parameters to the server's url. One must prepend the url with a question mark (`?`) followed by `parameter=value` pairs separated with ampersands (`&`).
|
||||
|
||||
|
||||
| Option | Value | Default | Description |
|
||||
|----|----|----|----|
|
||||
| hdpi | 1 / 0 | 0 | enable high resolution canvas |
|
||||
| forceHdpi | number | 0 | force canvas scaling (ignore `hdpi`) |
|
||||
| doubleTap | number | 375 | sets the double tap/click time threshold in milliseconds |
|
||||
| zoom | number | 1 | sets the initial zoom |
|
||||
| framerate | number | 60 | limit canvas drawing framerate |
|
||||
| desyncCanvas | number | 0 | set to 1 to enable desynchronized canvas (may improve rendering performances) |
|
||||
| lang | string | *system_default* | use a different language than the default if available (available languages: en, fr, de, pl) |
|
||||
| consoleLength | number | 300 | sets the maximum number of log messages in the client's console |
|
||||
| id | string | *random_id* | client's unique id (use with caution: two clients should never have the same id) |
|
||||
| usePercents | 1 / 0 | 0 | sets the editor's "relative units" option |
|
||||
| noFocus | 1 / 0 | 0 | (built-in client only) prevent the client window from taking focus |
|
||||
| clientSync | 1 / 0 | 1 | set to 0 to prevent the client from syncing with other clients |
|
||||
| altTraversing | 1 / 0 | 0 | set to 1 to enable an alternative traversing behavior for toggle buttons (traversing gestures on toggle buttons will change their values in only one way depending on the first touched button's state) |
|
||||
| virtualKeyboard | 1 / 0 | 0 | (desktop only) set to 1 to enable the virtual keyboard by default |
|
||||
| notifications | 1 / 0 | 1 | set to 0 to hide notifications by default |
|
||||
| title | string | '' | replace window title |
|
||||
| noWarning | 1 / 0 | 0 | set to 0 to disable unsaved session warnings |
|
||||
|
||||
Example:
|
||||
|
||||
`http://server-ip:port?hdpi=1`
|
||||
|
|
@ -1,40 +1,12 @@
|
|||
## License
|
||||
|
||||
Copyleft © Jean-Emmanuel Doucet 2014-2025.
|
||||
This program is a free software released under the [GNU/GPL3](https://framagit.org/jean-emmanuel/open-stage-control/-/blob/master/LICENSE) license.
|
||||
Copyleft © Jean-Emmanuel Doucet @ [AMMD](http://ammd.net) 2014-2020.
|
||||
This program is a free software released under the [GNU/GPL3](https://github.com/jean-emmanuel/open-stage-control/blob/master/LICENSE) license.
|
||||
|
||||
## Dependencies
|
||||
|
||||
Open Stage Control relies on several other free softwares listed in [package.json](https://framagit.org/jean-emmanuel/open-stage-control/-/blob/master/package.json).
|
||||
|
||||
The default theme was based on [Nord](https://www.nordtheme.com/), some UI components were inspired by the text editor formerly known as Atom (now [Pulsar](https://pulsar-edit.dev/)).
|
||||
Open Stage Control relies on several other free softwares, including [Node.js](https://nodejs.org/), [Electron](http://electron.atom.io/), [osc.js](https://github.com/colinbdclark/osc.js), [babel](http://babeljs.io/), [browserify](http://browserify.org), [exorcist](https://github.com/thlorenz/exorcist), [express](http://expressjs.com), [node-sass](https://github.com/sass/node-sass), [jQuery](http://jquery.com/), [jQuery-UI](http://jqueryui.com/), [Font Awesome](http://fontawesome.io/), [stacktracejs](http://stacktracejs.com), [mathjs](http://mathjs.org/). A comprehensive and up-to-date list can be found [here](https://github.com/jean-emmanuel/open-stage-control/network/dependencies).
|
||||
|
||||
## Contributors
|
||||
|
||||
[Jean-Emmanuel](https://framagit.org/jean-emmanuel), [MartinHN](https://github.com/MartinHN), [Eric Theise](https://github.com/erictheise), [danielappelt](https://github.com/erictheise), [ritschwumm](https://github.com/ritschwumm), [matthijskooijman](https://github.com/matthijskooijman), [WillyKaze](https://github.com/WillyKaze), [stefanboca](https://github.com/stefanboca), [pixelnerve](https://github.com/pixelnerve), [AdamAdamsMusic](https://github.com/AdamAdamsMusic), [wicast](https://github.com/wicast), [kdallafior](https://github.com/kdallafior), [brunetton](https://github.com/brunetton), [cyberic99](https://github.com/cyberic99), [kdejaeger](https://github.com/kdejaeger), [trebmuh](https://github.com/trebmuh), [MagnusReichel](https://github.com/MagnusReichel), [jpcima](https://github.com/jpcima), [t1st3](https://github.com/t1st3")
|
||||
|
||||
## Infrastructure supports
|
||||
|
||||
----
|
||||
|
||||
<a href="https://ammd.net/" class="sp-logo">
|
||||
<img src="/img/sponsors/ammd.png" width="140px"/>
|
||||
</a>
|
||||
|
||||
AMMD hosts this website and made this project possible by funding its first 2 years of development.
|
||||
|
||||
----
|
||||
|
||||
<a href="https://discourse.org/" class="sp-logo">
|
||||
<img src="/img/sponsors/discourse.png" width="140px"/>
|
||||
</a>
|
||||
|
||||
Discourse provides the community forum.
|
||||
|
||||
----
|
||||
|
||||
<a href="https://browserstack.com/" class="sp-logo">
|
||||
<img src="/img/sponsors/browserstack.png" width="140px"/>
|
||||
</a>
|
||||
|
||||
BrowserStack provides remote browsers for debugging.
|
||||
https://github.com/jean-emmanuel/open-stage-control/graphs/contributors
|
||||
|
|
|
|||
|
|
@ -1,17 +1,11 @@
|
|||
# CSS Tips
|
||||
|
||||
## Browser inspector
|
||||
|
||||
|
||||
Hit ++f12++ to open the developers tools panel. The html/css inspector helps retrieving the class names needed to style specific parts of the widgets: hit ++ctrl+shift+c++ or click on the inspect icon () and click on a element in the interface to reveal its html code.
|
||||
|
||||
|
||||
## Inline syntax
|
||||
|
||||
For simple use cases, the `css` property can be written as a HTML inline styles (without any CSS selector). CSS rules will apply to the widget element.
|
||||
|
||||
```css
|
||||
opacity: 0.5; /* make the widget transparent */
|
||||
opacity: 0.5; /* make the widget's transparent */
|
||||
font-size: 120%; /* increase font-size */
|
||||
```
|
||||
|
||||
|
|
@ -27,17 +21,17 @@ CSS selectors can be used to apply styles to specific elements:
|
|||
*/
|
||||
}
|
||||
|
||||
label {
|
||||
/* style for the label elements */
|
||||
.label {
|
||||
/* style for the .label elements */
|
||||
}
|
||||
|
||||
> label {
|
||||
/* style for the direct child label element */
|
||||
> .label {
|
||||
/* style for the direct child .label element */
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
!!! info ""
|
||||
!!! warning ""
|
||||
Mixing Inline and Selector syntaxes doesn't work, once you use selectors, you have to use the `:host` selector to target the widget element.
|
||||
|
||||
## Extra css classes: `class`
|
||||
|
|
@ -45,16 +39,23 @@ label {
|
|||
This non-standard css property can be used to add custom css classes to the widget element: `class: my-custom-class;`
|
||||
Multiple classes can be added (one per `class` statement). Custom classes are always added to the widget's root element, css selectors are ignored.
|
||||
|
||||
!!! info ""
|
||||
!!! warning ""
|
||||
Using class names that are already used in the app can be hazardous. In order to avoid that, custom class names should be prefixed with something uncommon and preferably cool, such as `xxx-myclass` or `crispy-seitan-myclass`.
|
||||
|
||||
## Layering: `z-index`
|
||||
|
||||
Z-Axis ordering can be set using the `z-index` rule. Widgets positioned at absolute coordinates (when `top` or `left` is different from `auto`) have `z-index:10;` by default.
|
||||
Z-Axis ordering can be set using the `z-index` rule. Absolutely positionned widgets (when `top` or `left` is different from `auto`) have `z-index:10;` by default.
|
||||
|
||||
## Layering: `pointer-events`
|
||||
|
||||
To make a widget ignore interactions (ie to be able to click through it), add `pointer-events:none;`.
|
||||
|
||||
!!! note ""
|
||||
This is always ignored when the editor is enabled.
|
||||
|
||||
## Responsive sizing
|
||||
|
||||
In most cases, using `vertical`, `horizontal` or `grid` layouts as well as using percentages in `height` and `width` will do. CSS `calc()` function can help in some cases (set the corresponding property to `auto` to avoid conflicts):
|
||||
In most cases, using percentages in `height` and `width` will do. CSS `calc()` function can help in some cases (set the corresponding property to `auto` to avoid conflicts):
|
||||
|
||||
```css
|
||||
:host {
|
||||
|
|
@ -85,16 +86,22 @@ Media queries can also be used:
|
|||
- use `%` for font-size
|
||||
|
||||
|
||||
## CSS variables
|
||||
## CSS Variables
|
||||
|
||||
[CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) declared in the [default theme](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) can be overridden.
|
||||
CSS Variables declared in the [default theme](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) can be overriden. Some widgets also use specific CSS variables (mostly to define colors) documented on their respective pages.
|
||||
|
||||
Widgets also rely on CSS variables for the style properties (colors, padding, etc). These are documented in the widgets' `css` property description.
|
||||
## Other tips
|
||||
|
||||
# Loading images
|
||||
#### Use the inspector
|
||||
|
||||
Image urls are resolved in this order:
|
||||
- in the session's directory
|
||||
- in theme's directory
|
||||
- in the server's `remote-root` directory if the option is set
|
||||
- as absolute paths
|
||||
Hit `F12` to open the developers tools panel. The html/css inspector helps retreiving the class names needed to style specific parts of the widgets.
|
||||
|
||||
#### Panel's background-color
|
||||
|
||||
This works for panel, strip and tabs:
|
||||
|
||||
```css
|
||||
> .panel {
|
||||
background-color: red;
|
||||
}
|
||||
```
|
||||
126
resources/docs/docs/custom-module.md
Normal file
|
|
@ -0,0 +1,126 @@
|
|||
# Custom module
|
||||
|
||||
## Writing a custom module
|
||||
|
||||
Using the `-c / --custom-module` command-line switch, users can load a javascript file to tune the way Open Stage Control behaves regarding osc.
|
||||
|
||||
```js
|
||||
|
||||
// Do whatever you want, initialize some variables, declare some functions, ...
|
||||
|
||||
module.exports = {
|
||||
|
||||
init: function(){
|
||||
// this will be executed once when the osc server starts
|
||||
},
|
||||
|
||||
oscInFilter:function(data){
|
||||
// Filter incomming osc messages
|
||||
|
||||
var {address, args, host, port} = data
|
||||
|
||||
// do what you want
|
||||
|
||||
// address = string
|
||||
// args = array of {value, type} objects
|
||||
// host = string
|
||||
// port = integer
|
||||
|
||||
// return data if you want the message to be processed
|
||||
return {address, args, host, port}
|
||||
|
||||
},
|
||||
|
||||
oscOutFilter:function(data){
|
||||
// Filter outgoing osc messages
|
||||
|
||||
var {address, args, host, port} = data
|
||||
|
||||
// same as oscInFilter
|
||||
|
||||
// return data if you want the message to be and sent
|
||||
return {address, args, host, port}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## Available globals
|
||||
|
||||
The module is executed in a restricted context, only a few globals are available :
|
||||
|
||||
- `console`: `object`
|
||||
- `sendOsc`: `function({host, port, address, args})`
|
||||
- `receiveOsc`: `function({host, port, address, args})`
|
||||
- `send`: `function(host, port, address, arg1, arg2, ...)`
|
||||
- `receive`: `function(host, port, address, arg1, arg2, ...)`
|
||||
- `receive`: `function(address, arg1, arg2, ...)`
|
||||
- `setTimeout`: `function(function, delay)`
|
||||
- `clearTimeout`: `function(timeout)`
|
||||
- `setInterval`: `function(function, delay)`
|
||||
- `clearInterval`: `function(interval)`
|
||||
- `settings.read`: `function(name)`, see [settings.js](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/server/settings.js#L55-L103) for available options
|
||||
- `app`: an [event emitter](https://nodejs.org/api/events.html#events_class_eventemitter) for monitoring the events sent by the different clients. Event names can be found in [callbacks.js](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/server/callbacks.js), callbacks are called with 2 arguments: `data` (object) and `client` (object: `{address, id}`)
|
||||
- `options`: `array` containing the extra options passed to `--custom-module` after the filename
|
||||
- `loadJSON`: `function(path)` loads a json file (path is relative to the custom module location)
|
||||
- `saveJSON`: `function(path, object)` save an object/array to a json file (path is relative to the custom module location)
|
||||
|
||||
|
||||
`sendOsc` and `receiveOsc` expect arguments formatted as follow:
|
||||
|
||||
- `address`: `string`
|
||||
- `args`: `array` of `{type: "OSC_TYPE_LETTER", value: VALUE}` `objects`
|
||||
- `host`: `string` ip address, valid hostname or `midi`
|
||||
- `port`: `integer` port number or `string` midi device name
|
||||
|
||||
`send` and `receive` are shorthands for `sendOsc` and `receiveOsc` that don't require args to be formatted as objects (numbers are casted to floats by default):
|
||||
|
||||
```js
|
||||
// calling
|
||||
send('127.0.0.1', 5555, '/test' 1, 2, {type: 'i', value: 3})
|
||||
|
||||
// equals
|
||||
sendOsc({
|
||||
host: '127.0.0.1',
|
||||
port: 5555,
|
||||
address: '/test',
|
||||
args: [
|
||||
{type: 'f', value: 1},
|
||||
{type: 'f', value: 2},
|
||||
{type: 'i', value: 3},
|
||||
]
|
||||
})
|
||||
```
|
||||
|
||||
## Managing big modules
|
||||
|
||||
Custom modules don't let you use node's `require` function at runtime, but you can manage your sources in multiple files and bundle them into a single file before loading it in Open Stage Control.
|
||||
|
||||
The common pattern for this is using the [browserify](http://browserify.org/) library:
|
||||
|
||||
**1**. define some variable in `number.js`
|
||||
|
||||
```javascript
|
||||
module.exports = 42
|
||||
```
|
||||
|
||||
**2**. retreive it in your main module file (`main.js`):
|
||||
|
||||
```javascript
|
||||
var num = require('./number.js')
|
||||
|
||||
module.exports = {
|
||||
init: function(){
|
||||
console.log(num) // 42
|
||||
},
|
||||
oscInFilter: function(data){
|
||||
// etc
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
**3**. bundle your sources into `custom-module.js`:
|
||||
|
||||
`browserify main.js -o custom-module.js --standalone module.exports`
|
||||
|
|
@ -1,220 +0,0 @@
|
|||
# Custom module
|
||||
|
||||
Using the server's `custom-module` option, users can load a custom javascript module that filters incoming and outgoing OSC / MIDI messages.
|
||||
|
||||
## Writing a custom module
|
||||
|
||||
|
||||
```js
|
||||
|
||||
// Do whatever you want
|
||||
// initialize variables
|
||||
// declare functions
|
||||
// listen to app events
|
||||
// load modules
|
||||
// etc
|
||||
|
||||
module.exports = {
|
||||
|
||||
init: function(){
|
||||
// this will be executed once when the osc server starts after
|
||||
// connections are set up
|
||||
// it is called for the main module only
|
||||
},
|
||||
|
||||
stop: function(){
|
||||
// this will be executed once when the osc server stops
|
||||
// it is called for the main module only
|
||||
},
|
||||
|
||||
reload: function(){
|
||||
// this will be executed after the custom module is reloaded
|
||||
// it is called for the main module only
|
||||
},
|
||||
|
||||
oscInFilter:function(data){
|
||||
// Filter incoming osc messages
|
||||
|
||||
var {address, args, host, port} = data
|
||||
|
||||
// do what you want
|
||||
|
||||
// address = string
|
||||
// args = array of {value, type} objects
|
||||
// host = string
|
||||
// port = integer
|
||||
|
||||
// return data if you want the message to be processed
|
||||
return {address, args, host, port}
|
||||
|
||||
},
|
||||
|
||||
oscOutFilter:function(data){
|
||||
// Filter outgoing osc messages
|
||||
|
||||
var {address, args, host, port, clientId} = data
|
||||
|
||||
// same as oscInFilter
|
||||
|
||||
// return data if you want the message to be and sent
|
||||
return {address, args, host, port}
|
||||
},
|
||||
|
||||
unload: function(){
|
||||
// this will be executed before the custom module is reloaded
|
||||
// it is called for all modules, including other loaded modules
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## Available globals
|
||||
|
||||
The module is executed in a restricted context, only a few globals are available :
|
||||
|
||||
----
|
||||
|
||||
#### `app`
|
||||
[`Event Emitter`](https://nodejs.org/api/events.html#events_class_eventemitter), useful for monitoring the events sent by the different clients. Event names can be found in [callbacks.js](https://framagit.org/jean-emmanuel/open-stage-control/-/blob/master/src/server/node/ipc/callbacks.mjs), callbacks are called with 2 arguments: `data` (object) and `client` (object: `{address, id}`)
|
||||
|
||||
----
|
||||
|
||||
#### `receive(host, port, address, ...args, options)`
|
||||
|
||||
Send osc/midi message to connected clients. `host` and `port` can be specified to simulate a specific origin for the message.
|
||||
|
||||
- `host` (optional): `string` ip address, valid hostname or `"midi"`
|
||||
- `port` (optional): `integer` port number or `string` midi device name
|
||||
- `address`: osc address
|
||||
- `args`: value or `{type: "OSC_TYPE_LETTER", value: VALUE}` `object` (objects that don't match this format will simply be turned to a JSON string).
|
||||
- `options` (optional): set to `{clientId: id}` to define which client receives the message (where `id` is the client's id as retrieved from `app` events or `oscOutFilter`)
|
||||
|
||||
For convenience, `host` and `port` can be provided both as single string argument joined with a colon.
|
||||
|
||||
----
|
||||
|
||||
#### `send(host, port, address, ...args)`
|
||||
|
||||
Send osc/midi to a target (see `receive()`).
|
||||
|
||||
----
|
||||
|
||||
#### `settings.read(name)`
|
||||
|
||||
Returns specified server option. `name` must be the option's long name without the leading dashes (ie: `"send"`, not `"s"`)
|
||||
|
||||
----
|
||||
|
||||
#### `settings.appAddresses()`
|
||||
|
||||
Returns the server's http addresses.
|
||||
|
||||
----
|
||||
|
||||
#### `loadJSON(path, errorCallback)`
|
||||
|
||||
Loads a json file (path is relative to the custom module location)
|
||||
|
||||
- `path`: `string`, path to file (any extension allowed, but the content must be valid JSON)
|
||||
- `errorCallback` (optional): `function`, called with the error as argument if the file can't be loaded
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `saveJSON(path, data, errorCallback)`
|
||||
|
||||
Saves an object/array to a json file (path is relative to the custom module location)
|
||||
|
||||
- `path`: `string`, path to file (any extension allowed)
|
||||
- `data`: `object`, `array` or any value that can be encoded to JSON
|
||||
- `errorCallback` (optional): `function`, called with the error as argument if the file can't be loaded
|
||||
|
||||
----
|
||||
|
||||
#### `require(path)`
|
||||
|
||||
Load another javascript module. Returns the value of `module.exports` defined in this module. If `path` is a relative path, it will be resolved against its parent module's path. See [Managing Big Modules](../managing-big-modules).
|
||||
|
||||
This function is different from node's native `require` function, it's merely a way to split a custom module into separate files.
|
||||
|
||||
----
|
||||
|
||||
#### `nativeRequire(moduleName)`
|
||||
|
||||
This function can be used to load native node modules or locally installed modules (e.g. with npm) if a `node_modules` folder is found in the custom module's location.
|
||||
|
||||
??? "Installing node modules: resources"
|
||||
- https://nodejs.dev/
|
||||
- https://nodejs.dev/learn/an-introduction-to-the-npm-package-manager
|
||||
- https://nodejs.dev/learn/the-package-json-guide
|
||||
|
||||
----
|
||||
|
||||
#### `tcpServer`
|
||||
|
||||
Raw access to the server's [TCP backend](https://framagit.org/jean-emmanuel/open-stage-control/-/blob/master/src/server/node/osc/tcp.mjs). Can be used to monitor the state of TCP connections:
|
||||
|
||||
```js
|
||||
for (var ip in tcpServer.clients) {
|
||||
tcpServer.clients[ip].port.on('ready', ()=>{
|
||||
console.log(`TCP connection established with ${ip}:${tcpServer.clients[ip].remotePort}`)
|
||||
})
|
||||
tcpServer.clients[ip].port.on('close', ()=>{
|
||||
console.log(`TCP connection lost with ${ip}:${tcpServer.clients[ip].remotePort}`)
|
||||
})
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
#### `restartMidiBackend()`
|
||||
|
||||
This function can be used to restart the midi backend (if already running) without restarting the server
|
||||
|
||||
#### Other javascript globals
|
||||
|
||||
- `console`
|
||||
- `setTimeout`
|
||||
- `clearTimeout`
|
||||
- `setInterval`
|
||||
- `clearInterval`
|
||||
- `__dirname`
|
||||
- `__filename`
|
||||
- `process`
|
||||
- `global`
|
||||
|
||||
----
|
||||
|
||||
|
||||
## Autoreload
|
||||
|
||||
Custom modules (including submodules loaded with `require()`) are reloaded automatically when they are modified. Upon reload, timers (`setTimeout` and `setInterval`) and event listeners (added to the `app` object) are reset. After each reload the `module.exports.reload()` function (if any) is called.
|
||||
|
||||
The `global` object persists accross reloads.
|
||||
|
||||
??? "Reloading native modules"
|
||||
|
||||
When using modules loaded with `nativeRequire()`, you may need to tell the custom module how to unload some components to allow reloading using the `module.exports.unload` definition. For example, if a port is bound using the `http` module, you'll need to unbind it otherwise the custom module will fail to bind it again when reloading:
|
||||
|
||||
```js
|
||||
|
||||
var http = nativeRequire('http'),
|
||||
server = http.createServer((req, res)=>{
|
||||
res.writeHead(200)
|
||||
res.end('Hello world')
|
||||
})
|
||||
|
||||
server.listen(5555, 'localhost')
|
||||
|
||||
|
||||
module.exports = {
|
||||
|
||||
unload: function() {
|
||||
|
||||
server.close()
|
||||
// otherwise you'd get "Error: listen EADDRINUSE: address already in use 127.0.0.1:5555"
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
|
@ -1,471 +0,0 @@
|
|||
## Basic address routing
|
||||
|
||||
```js
|
||||
module.exports = {
|
||||
|
||||
oscInFilter:function(data){
|
||||
|
||||
var {address, args, host, port} = data
|
||||
|
||||
if (address === '/some_address') {
|
||||
address = '/fader_1'
|
||||
}
|
||||
|
||||
return {address, args, host, port}
|
||||
|
||||
},
|
||||
|
||||
oscOutFilter:function(data){
|
||||
|
||||
var {address, args, host, port, clientId} = data
|
||||
|
||||
if (address === '/fader_1') {
|
||||
address = '/some_address'
|
||||
}
|
||||
|
||||
return {address, args, host, port}
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
## Value conversion
|
||||
|
||||
```js
|
||||
module.exports = {
|
||||
|
||||
oscInFilter:function(data){
|
||||
|
||||
var {address, args, host, port} = data
|
||||
|
||||
if (address === '/some_address') {
|
||||
|
||||
args[0].value = args[0].value * 10
|
||||
|
||||
}
|
||||
|
||||
return {address, args, host, port}
|
||||
|
||||
},
|
||||
|
||||
oscOutFilter:function(data){
|
||||
|
||||
var {address, args, host, port, clientId} = data
|
||||
|
||||
if (address === '/some_address') {
|
||||
|
||||
args[0].value = args[0].value / 10
|
||||
|
||||
}
|
||||
|
||||
return {address, args, host, port}
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
## Arguments split / merge
|
||||
|
||||
```js
|
||||
|
||||
var xyValue = [0, 0]
|
||||
|
||||
module.exports = {
|
||||
|
||||
oscInFilter:function(data){
|
||||
|
||||
var {address, args, host, port} = data
|
||||
|
||||
// split
|
||||
if (address === '/some_xy_address') {
|
||||
var arg1 = args[0].value,
|
||||
arg2 = args[1].value
|
||||
|
||||
receive('/fader_1', arg1)
|
||||
receive('/fader_2', arg2)
|
||||
|
||||
return // bypass original message
|
||||
}
|
||||
|
||||
return {address, args, host, port}
|
||||
|
||||
},
|
||||
|
||||
oscOutFilter:function(data){
|
||||
|
||||
var {address, args, host, port, clientId} = data
|
||||
|
||||
// merge
|
||||
if (address === '/fader_1') {
|
||||
|
||||
xyValue[0] = args[0].value
|
||||
send(host, port, '/some_xy_address', ...xyValue)
|
||||
return // bypass original message
|
||||
|
||||
} else if (address === '/fader_2') {
|
||||
|
||||
xyValue[1] = args[1].value
|
||||
send(host, port, '/some_xy_address', ...xyValue)
|
||||
return // bypass original message
|
||||
|
||||
}
|
||||
|
||||
return {address, args, host, port}
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
## Reply
|
||||
|
||||
```js
|
||||
|
||||
module.exports = {
|
||||
|
||||
oscInFilter:function(data){
|
||||
|
||||
var {address, args, host, port} = data
|
||||
|
||||
if (address === '/knock_knock') {
|
||||
|
||||
send(host, port, '/who_is_there')
|
||||
|
||||
return // bypass original message
|
||||
}
|
||||
|
||||
return {address, args, host, port}
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
## Simulate user input on a single client
|
||||
|
||||
```js
|
||||
|
||||
// keep track of connected clients
|
||||
|
||||
var clients = []
|
||||
|
||||
app.on('open', (data, client)=>{
|
||||
if (!clients.includes(client.id)) clients.push(client.id)
|
||||
})
|
||||
|
||||
app.on('close', (data, client)=>{
|
||||
if (clients.includes(client.id)) clients.splice(clients.indexOf(client.id))
|
||||
})
|
||||
|
||||
module.exports = {
|
||||
|
||||
oscInFilter:function(data){
|
||||
|
||||
var {address, args, host, port} = data
|
||||
|
||||
if (address === '/some_osc_address') {
|
||||
|
||||
// simulate user input on the first client in the array
|
||||
|
||||
receive('/SET', 'widget_id', 1, {clientId: clients[0]})
|
||||
|
||||
return // bypass original message
|
||||
}
|
||||
|
||||
return {address, args, host, port}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
```
|
||||
|
||||
## Auto-save client state
|
||||
|
||||
```js
|
||||
// store state in a variable
|
||||
var state = {}
|
||||
|
||||
// keep track of connected clients
|
||||
var clients = []
|
||||
|
||||
app.on('sessionOpened', (data, client)=>{
|
||||
|
||||
// client connected (and in a session)
|
||||
if (!clients.includes(client.id)) clients.push(client.id)
|
||||
|
||||
// when a client opens a session, send the state
|
||||
// but only if it's the only connected client (otherwise, let the regular sync happen)
|
||||
if (clients.length === 1) {
|
||||
receive('/STATE/SET', state, {clientId: clients[0]})
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
app.on('close', (data, client)=>{
|
||||
|
||||
// client disconnected
|
||||
if (clients.includes(client.id)) clients.splice(clients.indexOf(client.id))
|
||||
|
||||
})
|
||||
|
||||
// request 1st client's state every 10 seconds
|
||||
setInterval(()=>{
|
||||
|
||||
if (clients.length > 0) {
|
||||
receive('/STATE/GET', '127.0.0.1:8888', {clientId: clients[0]})
|
||||
}
|
||||
|
||||
}, 10000)
|
||||
|
||||
|
||||
module.exports = {
|
||||
|
||||
oscOutFilter: function(data) {
|
||||
|
||||
if (data.address === '/STATE/GET') {
|
||||
// update state variable when the client responds
|
||||
state = data.args[0].value
|
||||
|
||||
// bypass the osc message
|
||||
return
|
||||
}
|
||||
|
||||
return data
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## MIDI routing
|
||||
|
||||
```js
|
||||
var routing = {
|
||||
// midi cc vs widget id
|
||||
60: 'fader_1',
|
||||
61: 'fader_2',
|
||||
// etc
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
oscInFilter:function(data){
|
||||
// Filter incoming osc messages
|
||||
|
||||
var {address, args, host, port} = data
|
||||
|
||||
if (host === 'midi') {
|
||||
|
||||
// MIDI routing !
|
||||
if (address === '/control') {
|
||||
|
||||
// assign args to variables
|
||||
var [channel, ctrl, value] = args.map(arg=>arg.value)
|
||||
|
||||
// simple conditions
|
||||
if (ctrl === 80) receive('/SET', 'widget_id', value / 127)
|
||||
|
||||
// simple routing table (midi cc vs widget id)
|
||||
if (routing[ctrl]) receive('/SET', routing[ctrl], value / 127)
|
||||
|
||||
// note: /SET simulates a user interaction and makes the widget send its osc message
|
||||
// but it adds some delay (we wait for the UI to respond)
|
||||
// AND it may trigger multiple replies if more than one client are connected.
|
||||
// Alternatively, we could do this:
|
||||
// send('/osc_address', value / 127)
|
||||
// receive('/osc_address', value / 127)
|
||||
// Or, to send /SET to a single client:
|
||||
// receive('/SET', '/osc_address', value / 127, {clientId: ID})
|
||||
|
||||
|
||||
}
|
||||
|
||||
return // bypass original message
|
||||
|
||||
}
|
||||
|
||||
|
||||
// return data if you want the message to be processed
|
||||
return {address, args, host, port}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Read file
|
||||
|
||||
```js
|
||||
|
||||
var fs = nativeRequire('fs')
|
||||
|
||||
module.exports = {
|
||||
|
||||
oscOutFilter:function(data){
|
||||
// Filter outgoing osc messages
|
||||
|
||||
var {address, args, host, port} = data
|
||||
|
||||
if (address === '/file') {
|
||||
|
||||
fs.readFile(args[0].value, 'utf8' , (err, data) => {
|
||||
if (err) {
|
||||
console.error(err)
|
||||
return
|
||||
}
|
||||
receive('/html', data)
|
||||
})
|
||||
|
||||
return // bypass original message
|
||||
|
||||
}
|
||||
|
||||
|
||||
// return data if you want the message to be processed
|
||||
return {address, args, host, port}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
## Display RTSP Stream
|
||||
|
||||
```js
|
||||
// requires ffmpeg installed on the system
|
||||
// and rtsp-ffmpeg installed in the custom module's folder (by running npm install rtsp-ffmpeg)
|
||||
// see https://github.com/agsh/rtsp-ffmpeg#ffmpeg for available options
|
||||
|
||||
var rtsp = nativeRequire('rtsp-ffmpeg')
|
||||
|
||||
var stream = new rtsp.FFMpeg({
|
||||
input: 'rtsp://freja.hiof.no:1935/rtplive/_definst_/hessdalen03.stream',
|
||||
})
|
||||
|
||||
stream.on('data', (data)=>{
|
||||
|
||||
// send frame to image widget with address set to "/stream"
|
||||
receive('/stream', 'data:image/jpeg;base64,' + data.toString('base64'))
|
||||
|
||||
})
|
||||
|
||||
module.exports = {
|
||||
|
||||
unload: ()=>{
|
||||
stream.stop()
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
## Custom module merger
|
||||
```js
|
||||
var submodules = [
|
||||
require('./custom_modA.js'),
|
||||
require('./custom_modB.js'),
|
||||
// etc
|
||||
]
|
||||
|
||||
|
||||
module.exports = {
|
||||
init: function(){
|
||||
for (var m of submodules) {
|
||||
if (m.init) m.init()
|
||||
}
|
||||
},
|
||||
reload: function(){
|
||||
for (var m of submodules) {
|
||||
if (m.reload) m.reload()
|
||||
}
|
||||
},
|
||||
oscInFilter: function(data){
|
||||
|
||||
for (var m of submodules) {
|
||||
if (m.oscInFilter) data = m.oscInFilter(data)
|
||||
if (!data) return
|
||||
}
|
||||
|
||||
return data
|
||||
|
||||
},
|
||||
oscOutFilter: function(data){
|
||||
|
||||
for (var m of submodules) {
|
||||
if (m.oscOutFilter) data = m.oscOutFilter(data)
|
||||
if (!data) return
|
||||
}
|
||||
|
||||
return data
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Dynamic widget creation
|
||||
```js
|
||||
function create_widgets() {
|
||||
receive('', '', '/EDIT', 'root', {
|
||||
widgets: [{
|
||||
type: 'panel',
|
||||
id: 'my_panel',
|
||||
layout: 'vertical',
|
||||
width: '100%',
|
||||
height: '200%',
|
||||
widgets: [
|
||||
{
|
||||
type: 'text',
|
||||
id: 'notice',
|
||||
value: 'Hello, world!',
|
||||
width: '100%',
|
||||
},
|
||||
{
|
||||
type: 'button',
|
||||
id: 'button',
|
||||
address: '/foo',
|
||||
preArgs: [1],
|
||||
},
|
||||
]
|
||||
}]
|
||||
})
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
reload: function(){
|
||||
// Create widgets whenever the custom modules is edited
|
||||
create_widgets()
|
||||
},
|
||||
}
|
||||
|
||||
// Create widgets whenever an existing session is loaded
|
||||
app.on('sessionOpened', ()=>{
|
||||
create_widgets()
|
||||
})
|
||||
|
||||
// And when a new session is created
|
||||
app.on('sessionSetPath', (e)=>{
|
||||
if (e.path === '') {
|
||||
create_widgets()
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
## Simple bridge
|
||||
|
||||
```js
|
||||
module.exports = {
|
||||
|
||||
oscInFilter: function(data) {
|
||||
|
||||
// pass through incoming messages directly to another application
|
||||
send('127.0.0.1', 12345, data.address, ...args)
|
||||
|
||||
return data // let original message reach clients / widgets
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
Starting with `v1.6.0`, custom modules can load submodules with the `require()` function.
|
||||
|
||||
**1**. define some variable in `number.js`
|
||||
|
||||
```javascript
|
||||
module.exports = 42
|
||||
```
|
||||
|
||||
**2**. retrieve it in your main module file (`main.js`):
|
||||
|
||||
```javascript
|
||||
var num = require('./number.js')
|
||||
|
||||
module.exports = {
|
||||
init: function(){
|
||||
console.log(num) // 42
|
||||
},
|
||||
oscInFilter: function(data){
|
||||
// etc
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
## Built-in themes
|
||||
|
||||
Themes can be loaded with the `--theme` option. Multiple themes can be combined. Built-in themes can be loaded using their name, custom theme files can be loaded using their path.
|
||||
|
||||
Available themes (full color scheme):
|
||||
|
||||
- `nord`: arctic color palette (https://www.nordtheme.com/)
|
||||
- `orange`: grey and orange theme
|
||||
|
||||
## Creating a custom theme
|
||||
|
||||
Creating a custom theme is as simple as writing a tiny css file that will override the default css variables defined in [default.scss](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) :
|
||||
|
||||
```css
|
||||
:root {
|
||||
--color-accent: red;
|
||||
}
|
||||
```
|
||||
|
||||
This will change the default accent color to red. Variables can also be overridden for a specific subset of elements, for example :
|
||||
|
||||
```css
|
||||
.panel-container {
|
||||
--color-accent: blue;
|
||||
}
|
||||
```
|
||||
|
||||
This will change the default accent color to blue for all elements in panel widgets.
|
||||
|
||||
## Autoreload
|
||||
|
||||
Theme files are reloaded automatically when they are modified.
|
||||
|
||||
## SCSS
|
||||
|
||||
If you want to use the [SCSS](https://sass-lang.com/documentation/syntax) syntax to write your theme, follow the [Running from sources](../../getting-started/running-from-sources) instructions, create a `.scss` file in `src/scss/themes/` and run `npm run watch-css`. The theme will be watched and compiled automatically to a css file located in `app/assets/themes/` (css files in this directory can be selected from the theme option by their name, without .css suffix).
|
||||
99
resources/docs/docs/editing-sessions.md
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
# Editing sessions
|
||||
|
||||
The session editor can be enabled from the sidepanel. Once enabled, clicking on a widget will make it the *selected widget*.
|
||||
|
||||
## Root panel
|
||||
|
||||
The root panel can be selected by clicking on the "Root" button in the sidepanel.
|
||||
|
||||
## Context menu
|
||||
|
||||
Right clicking / long touch on a widget or on a tab will also display a context menu providing useful utilities :
|
||||
|
||||
- `Edit parent`: select widget's parent for edition
|
||||
- `Copy`: copy widget's data
|
||||
- `Cut`: copy widget's data and delete selected widget
|
||||
- `Wrap in`: wrap the widget in a new container
|
||||
- `Paste`: paste copied widget in selected container
|
||||
- `Paste`: paste the widget as is
|
||||
- `ID + 1` : increments the id of the copied widget (and all its children) before pasting
|
||||
- `Clone` : create a clone widget targetting the copied widget
|
||||
- `Add widget`: create a new widget in selected container
|
||||
- `Add tab`: create a new tab in selected container
|
||||
- `Delete`: delete selected tab or widget
|
||||
|
||||
## Open / Save
|
||||
|
||||
By default, sessions are saved and opened on the server's filesystem. When saving a session opened by mutliple clients, these will reload the session file automatically.
|
||||
|
||||
!!! note
|
||||
It is possible to limit this feature to specific client addresses by using the server's `--remote-saving` option. For example:
|
||||
`open-stage-control --remote-saving 127.0.0.1|192.168.0.10`
|
||||
|
||||
Will disable remote saving except for the clients with ip addresses `127.0.0.1` (the server's local address) and `192.168.0.10`.
|
||||
|
||||
|
||||
|
||||
## Import / Export
|
||||
|
||||
Sessions can be exported/imported on the device's filesystem, doing so has a few limitations:
|
||||
- the session's name won't appear in the window's title
|
||||
- the session won't be added to the session history
|
||||
|
||||
## Grid
|
||||
|
||||
By default, widget resizing / dragging snaps to a 10 pixel wide grid. Its width can be customized in the editor (when it's enabled). Setting its width to 1 will disable it. Note that the grid doesn't affect manual setting of a widget's size / position.
|
||||
|
||||
## Properties
|
||||
|
||||
Selected widget's properties are displayed and can be modified in the sidepanel. The [widgets reference](/docs/widgets-reference) section lists the available properties for each widget type. Property fields are all multiline (press `shift + enter` for new line).
|
||||
|
||||
Properties are written in JSON, with some flexibility brought by the [JSON5](https://github.com/json5/json5) format. For example, doubles quotes around object keys are not mandatory. All input will be converted to standard JSON.
|
||||
|
||||
|
||||
## Widget resizing / dragging
|
||||
|
||||
Selected widget can be resized using its south, south-east and east handles. It can be dragged with its north-west handle. Using this feature will convert position and size values to plain number values, thus breaking previously set percent or inherited values.
|
||||
|
||||
## Keyboard shortcuts
|
||||
|
||||
The following shortcuts are always available:
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| `mod + e` | enable/disable editor |
|
||||
| `mod + s` | save session |
|
||||
| `mod + shift s` | export session as... |
|
||||
| `mod + o` | open a session file |
|
||||
|
||||
The following shortcuts are available only when the editor is enabled:
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| `mod + click`* | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.|
|
||||
| `shift + click + drag`* | Draw a selection rectangle and attempt to select widgets in it (starts by selecting the widget under the cursor). If `mod` is pressed too, current selection is kept and will be merged with the new one if possible. |
|
||||
| `f2` | Edit selected widget's label |
|
||||
| `mod + z` | Undo |
|
||||
| `mod + y / mod + shift + z` | Redo |
|
||||
| `delete` (`backspace` on Mac) | Delete selected widgets |
|
||||
| `mod + c` | Copy selected widgets |
|
||||
| `mod + x` | Cut selected widgets |
|
||||
| `mod + v` | Paste clipboard in selected widget |
|
||||
| `mod + shift + v` | Paste and increment id |
|
||||
| `up, down, left, right` | Move selected widgets (1 grid unit, hold `shift` for 5 grid units) |
|
||||
| `alt + [up, down, left, right]` | Resize selected widgets (1 grid unit, hold `shift` for 5 grid units) |
|
||||
| `mod + a` | Select current widget's siblings and itself |
|
||||
| `mod + shift + a` | Cancel current widget selection |
|
||||
| `mod + up` | Select current widget's parent |
|
||||
| `mod + down` | Select current widget's first child |
|
||||
| `mod + right` | Select current widget's next sibling |
|
||||
| `mod + left` | Select current widget's previous sibling |
|
||||
|
||||
|
||||
Where `mod` is `ctrl` except on MacOs (`command`)
|
||||
|
||||
|
||||
!!! note "* Multi-widgets editing"
|
||||
- selection can only contain sibling widgets (same direct parent)
|
||||
- context-menu actions and properties changes apply to all selected widgets
|
||||
- resizing / dragging will affect all selected widgets, relatively to the first selected widget
|
||||
46
resources/docs/docs/examples.md
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Community examples
|
||||
|
||||
Feel free to submit your own by [opening an issue](https://github.com/jean-emmanuel/open-stage-control/issues/new?title=[example]) on github.
|
||||
|
||||
## Ardour
|
||||
|
||||
[Ardour Control](https://github.com/jean-emmanuel/ardour-control)
|
||||
|
||||

|
||||
|
||||
## Reaper
|
||||
|
||||
[Reaper OSC Panels](https://github.com/ThrashJazzAssassin/REAPER-OSC-panels)
|
||||
|
||||

|
||||
|
||||
## QLab
|
||||
|
||||
[QLab Cook Book / Open Stage Control](https://qlabcookbook.com/tag/open-stage-control/)
|
||||
|
||||

|
||||
|
||||
## Bitwig
|
||||
|
||||
[Open Stage Control Bitwig](https://github.com/kdejaeger/open-stage-control-bitwig)
|
||||
|
||||

|
||||
|
||||
|
||||
[OpenStageControl4Bitwig](http://www.mossgrabers.de/Software/Bitwig/Bitwig.html)
|
||||
|
||||
- https://www.youtube.com/watch?v=u-fgArpsHQQ
|
||||
- https://www.youtube.com/watch?v=RvEMlo72ynQ
|
||||
|
||||
|
||||
## Cubase
|
||||
|
||||
[Manaberry's UI](https://vi-control.net/community/threads/open-stage-control-tutorial-an-alternative-to-lemur-and-touchosc.72643/)
|
||||
|
||||

|
||||
|
||||
# Ableton
|
||||
|
||||
[Hiram's AaMakro5oul](https://github.com/hiramegl/AaMakro5oul) (v0.23.0 only)
|
||||
|
||||

|
||||
206
resources/docs/docs/getting-started.md
Normal file
|
|
@ -0,0 +1,206 @@
|
|||
# Getting started
|
||||
|
||||
!!! tip ""
|
||||
Prebuilt binaries for Linux, Windows and OS X can be found on the [release](https://github.com/jean-emmanuel/open-stage-control/releases) page.
|
||||
|
||||
## Supported platforms
|
||||
|
||||
Open Stage Control is a *desktop* server application. It runs on all [platforms supported by Electron](https://electron.atom.io/docs/tutorial/supported-platforms/) or [Node](https://nodejs.org/en/) (in headless mode only, see [Running without Electron](#running-without-electron)). Any device running a compatible browser can connect to the server :
|
||||
|
||||
- Chrome/Chromium version `50` or later (Linux, MacOS, Windows, Android, etc)
|
||||
- iOS version `9.3` or later
|
||||
|
||||
!!! tip "Android / iOS native app ?"
|
||||
There is no native mobile application. The server's url can be added to the home screen to launch the interface in fullscreen.
|
||||
|
||||
|
||||
## Options
|
||||
|
||||
Below are the available command-line options. Note that when running without any command-line switch (ie from a file browser), a launcher window will spawn to help setting them.
|
||||
|
||||
!!! tip ""
|
||||
Preferences are stored in the user's home folder in a file named `.open-stage-control` (hidden under Linux / macOS)
|
||||
|
||||
|| Option | Description |
|
||||
|---||---|
|
||||
| `-s` | `--send` | default targets for all widgets (ip:port / domain:port / midi:port_name pairs) |
|
||||
| `-l` | `--load` | session file to load |
|
||||
| | `--state` | state file to load (osc messages will be sent, unless there are other clients connected) |
|
||||
| `-b` | `--blank` | load a blank session and start the editor |
|
||||
| `-c` | `--custom-module` | custom module file to load (custom options can be passed after the filename) |
|
||||
| `-p` | `--port` | http port of the server (default to 8080) |
|
||||
| `-o` | `--osc-port` | osc input port (default to --port) |
|
||||
| | `--tcp-port` | tcp server input port |
|
||||
| | `--tcp-targets` | tcp servers to connect to (ip:port pairs), does not susbtitute for --send |
|
||||
| `-m` | `--midi` | midi router settings |
|
||||
| `-d` | `--debug` | log received osc messages in the console |
|
||||
| `-n` | `--no-gui` | disable default gui |
|
||||
| `-g` | `--gui-only` | app server's url. If true, local port (--port) is used |
|
||||
| `-t` | `--theme` | theme name or path (mutliple values allowed) see [theming](/docs/theming/) |
|
||||
| `-e` | `--examples` | list examples instead of recent sessions |
|
||||
| | `--url-options` | [url options](/docs/url-options) (opt=value pairs) |
|
||||
| |`--disable-vsync` | disable gui's vertical synchronization |
|
||||
| |`--disable-gpu` | disable hardware acceleration |
|
||||
| |`--force-gpu` | ignore chrome's gpu blacklist |
|
||||
| |`--read-only` | disable session editing and session history changes |
|
||||
| |`--remote-saving` | disable remote session saving for hosts that don\'t match the regular expresion |
|
||||
| |`--remote-root` | set remote file browsing root folder |
|
||||
| |`--instance-name` | used to differenciate multiple instances in a zeroconf network |
|
||||
| |`--fullscreen` | launch in fullscreen mode (only affects the default gui, F11 to exit) |
|
||||
|
||||
Command-line only :
|
||||
|
||||
|| Option | Description |
|
||||
|---||---|
|
||||
| `-h` | `--help` | print available options |
|
||||
| `-v` | `--version` | print version number |
|
||||
| | `--inspect` | enable node/electron inspector (visit chrome://inspect with chromium to access DevTools) |
|
||||
|
||||
**Examples**
|
||||
|
||||
```bash
|
||||
open-stage-control --send 127.0.0.1:5555 127.0.0.1:6666 --port 7777
|
||||
```
|
||||
|
||||
This will create an app listening on port 7777 for synchronization messages, and sending its widgets state changes to ports 5555 and 6666.
|
||||
|
||||
```bash
|
||||
open-stage-control --no-gui --load path/to/session.js --port 9999
|
||||
```
|
||||
|
||||
This will create a headless app available through http on port 9999 with session.js loaded automatically.
|
||||
|
||||
!!! tip "What about HTTPS ?"
|
||||
Security is out of the app's scope. If you are concerned about safety, using a private - protected - network should be enough.
|
||||
|
||||
|
||||
## Run from sources
|
||||
|
||||
Running the app from the sources slightly differs from using built binaries : we'll build and launch the app with npm (node package manager).
|
||||
|
||||
**1. Requirements**
|
||||
|
||||
- [Node.js >= 4.8](https://nodejs.org/en/#download)
|
||||
- [git](https://git-scm.com/downloads)
|
||||
|
||||
**2. Download sources**
|
||||
|
||||
```bash
|
||||
git clone https://github.com/jean-emmanuel/open-stage-control
|
||||
cd open-stage-control/
|
||||
# uncomment next line if you want the latest release
|
||||
# instead of the current development version
|
||||
# git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
|
||||
npm install
|
||||
npm run build
|
||||
```
|
||||
|
||||
!!! note "Updating from sources"
|
||||
```bash
|
||||
git pull
|
||||
npm install
|
||||
npm run build
|
||||
```
|
||||
|
||||
**3. Run !**
|
||||
|
||||
```bash
|
||||
npm start [ -- options]
|
||||
```
|
||||
|
||||
!!! note ""
|
||||
A double hyphen (`--`) is used here to tell npm that the options are to be passed to the app.
|
||||
|
||||
|
||||
## Build from sources
|
||||
|
||||
**1. Requirements**
|
||||
|
||||
- [Node.js >= 4.8](https://nodejs.org/en/#download)
|
||||
- [git](https://git-scm.com/downloads)
|
||||
|
||||
**2. Download sources & build package**
|
||||
|
||||
```bash
|
||||
git clone https://github.com/jean-emmanuel/open-stage-control
|
||||
cd open-stage-control/
|
||||
# uncomment next line if you want the latest release
|
||||
# instead of the current development version
|
||||
# git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
|
||||
|
||||
# TARGET_PLATFORM can be linux, win32 (windows) or darwin (os x)
|
||||
export PLATFORM=TARGET_PLATFORM
|
||||
# TARGET_ARCH can be ia32, x64, armv7l or arm64
|
||||
export ARCH=TARGET_ARCH
|
||||
|
||||
|
||||
npm install
|
||||
|
||||
# run this instead if ARCH is armv7l
|
||||
# npm install --arch=armv7l
|
||||
|
||||
|
||||
npm run build
|
||||
|
||||
npm run package
|
||||
|
||||
# Do one of the following if you want a deb package for debian/ubuntu
|
||||
npm run deb32
|
||||
npm run deb64
|
||||
npm run debarm
|
||||
```
|
||||
|
||||
This will build the app in `dist/open-stage-control-PLATFORM-ARCH`.
|
||||
|
||||
!!! note ""
|
||||
Building the app for windows from a linux system requires wine to be installed.*
|
||||
|
||||
## Running in a headless context
|
||||
|
||||
Electron, Open Stage Control's engine, is based on chromium and can't run out of the box without a display server. However, using a virtual framebuffer does the trick. Detailed instructions can be found in Electron's [documentation](http://electron.atom.io/docs/tutorial/testing-on-headless-ci/).
|
||||
|
||||
In short: install [xvfb](https://en.wikipedia.org/wiki/Xvfb) and prepend your command with `xvfb-run`:
|
||||
|
||||
```bash
|
||||
xvfb-run open-stage-control -n
|
||||
```
|
||||
|
||||
## Running without Electron
|
||||
|
||||
It is possible to run the server in headless mode without Electron using [node](https://nodejs.org/en/download/package-manager/) (v6 or higher) :
|
||||
|
||||
```bash
|
||||
node /path/to/packaged/open-stage-control/resources/app/ -n
|
||||
node /path/to/sources/open-stage-control/app/ -n
|
||||
```
|
||||
|
||||
Or using the precompilled binaries for node:
|
||||
|
||||
```bash
|
||||
node /path/to/packaged/open-stage-control-node/ -n
|
||||
```
|
||||
|
||||
To build the app for node only from sources:
|
||||
|
||||
```bash
|
||||
|
||||
# git clone, etc...
|
||||
|
||||
npm install
|
||||
|
||||
npm run build
|
||||
|
||||
npm run package-node
|
||||
|
||||
```
|
||||
|
||||
## Running in a terminal on Windows
|
||||
|
||||
Windows users launching the app from a terminal need to add a double dash (`--`) before their options:
|
||||
|
||||
```bash
|
||||
open-stage-control.exe -- --port 5555 [...]
|
||||
|
||||
# when running from sources
|
||||
npm start -- -- [options]
|
||||
```
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
Welcome to Open Stage Control documentation. Along these pages you'll learn how to setup OSC on your system and everything you need to start building your own control interface.
|
||||
|
||||
## Overview
|
||||
|
||||
Open Stage Control consists of 3 modules: the server, the launcher and the client.
|
||||
|
||||
The **server** is the core of the software, it is responsible for sending and receiving all osc/midi messages, and act as a web server that serves the clients web application. It is written in Javascript and runs with Electron, a cross-platform framework based on Chromium. By default, the server always opens a client window when it starts but it can be run in *headless* mode, without any window.
|
||||
|
||||
The **launcher** provides a simple way to configure and start the server. It appears whenever the server is not launched from a terminal or without being configured.
|
||||
|
||||
The **client** is the web application made available by the server when it starts. Any compatible browser that connects to the server by browsing to its address will create a new client instance and be able to open and modify sessions.
|
||||
|
||||
|
||||
## Requirements
|
||||
|
||||
The **server** can run on all [platforms supported by Electron](https://www.electronjs.org/docs/tutorial/support#supported-platforms). Systems that can run [Node.js](https://nodejs.org/en/) may also be able to run it in headless mode (see [Running with Node](./running-with-node.md)).
|
||||
|
||||
The **client** is compatible with the following browsers:
|
||||
|
||||
- Firefox: version `75` and higher
|
||||
- Chromium / Chrome: version `75` and higher
|
||||
|
||||
iOS devices must be of version `11` or higher.
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
=== "Linux 64bit"
|
||||
|
||||
**Ubuntu / Debian**
|
||||
|
||||
- [Download](/download) `open-stage-control-VERSION-amd64.deb`
|
||||
- Install it by running this as root in a terminal:
|
||||
```bash
|
||||
dpkg -i path/to/open-stage-control-VERSION-ARCH.deb
|
||||
```
|
||||
|
||||
**Other linux distributions**
|
||||
|
||||
- [Download](/download) `open-stage-control-VERSION-linux-x64.zip`
|
||||
- Extract it in the location of your choice
|
||||
- The file inside it named `open-stage-control` is the app's main executable
|
||||
|
||||
=== "Mac 64bit"
|
||||
|
||||
- [Download](/download) `open-stage-control-VERSION-osx-x64.zip`
|
||||
- Extract it in the location of your choice
|
||||
- Drag `open-stage-control.app` in your `Application` folder
|
||||
|
||||
|
||||
=== "Mac Silicon (arm)"
|
||||
|
||||
- [Download](/download) `open-stage-control-VERSION-osx-arm.zip`
|
||||
- Extract it in the location of your choice
|
||||
- Drag `open-stage-control.app` in your `Application` folder
|
||||
|
||||
See [https://disable-gatekeeper.github.io/](https://disable-gatekeeper.github.io/) to workaround the "damaged and can't be opened" error.
|
||||
|
||||
=== "Windows 64bit"
|
||||
|
||||
- [Download](/download) `open-stage-control-VERSION-win32-x64.zip`
|
||||
- Extract it in the location of your choice
|
||||
- The file inside it named `open-stage-control.exe` is the app's main executable
|
||||
|
||||
=== "Other systems"
|
||||
|
||||
- Install [Node.js](https://nodejs.org/en/download/package-manager/)
|
||||
- Download `open-stage-control-VERSION-node.zip`
|
||||
- Extract it in the location of your choice
|
||||
- In a terminal, run `node /path/to/open-stage-control-VERSION-node --help`
|
||||
|
|
@ -1,109 +0,0 @@
|
|||
Running the app from the sources slightly differs from using prebuilt binaries: we'll build and launch the app with npm (node package manager).
|
||||
|
||||
## Requirements
|
||||
|
||||
- [Node.js](https://nodejs.org/en/#download)
|
||||
- [git](https://git-scm.com/downloads)
|
||||
|
||||
|
||||
## Run from sources
|
||||
|
||||
|
||||
**Download**
|
||||
|
||||
```bash
|
||||
git clone https://framagit.org/jean-emmanuel/open-stage-control.git
|
||||
cd open-stage-control/
|
||||
# uncomment next line if you want the latest release
|
||||
# instead of the current development version
|
||||
# git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
|
||||
npm install
|
||||
npm run build
|
||||
```
|
||||
|
||||
!!! tip "Raspberry systems"
|
||||
Run one of these instead of `npm install` (you can get the system's `arch` by running `uname -m` in a terminal)
|
||||
```
|
||||
npm install --arch=arm64
|
||||
npm install --arch=armv7l
|
||||
```
|
||||
|
||||
|
||||
!!! info "Updating from sources"
|
||||
```bash
|
||||
git pull
|
||||
npm install
|
||||
npm run build
|
||||
```
|
||||
|
||||
**Run**
|
||||
|
||||
```bash
|
||||
npm start [ -- options]
|
||||
```
|
||||
|
||||
!!! info ""
|
||||
A double hyphen (`--`) is used here to tell npm that the options are to be passed to the app.
|
||||
|
||||
|
||||
!!! warning "MIDI support"
|
||||
When running from sources, MIDI support won't be enabled unless the [MIDI configuration procedure](../../midi/midi-configuration/) for "other systems" is followed.
|
||||
|
||||
## Build documentation
|
||||
|
||||
In order to make the local documentation available through the server's `--docs` option and the launcher's `Documentation` menu action, an extra step is needed.
|
||||
|
||||
|
||||
```bash
|
||||
# install docs website theme
|
||||
python3 -m pip install mkdocs-material
|
||||
# build docs website
|
||||
npm run build-docs
|
||||
```
|
||||
|
||||
## Package from sources
|
||||
|
||||
Follow the "Run from sources" instructions, then:
|
||||
|
||||
```bash
|
||||
|
||||
# TARGET_PLATFORM can be linux, win32 (windows) or darwin (os x)
|
||||
export PLATFORM=TARGET_PLATFORM
|
||||
# TARGET_ARCH can be ia32, x64, armv7l or arm64
|
||||
export ARCH=TARGET_ARCH
|
||||
|
||||
|
||||
npm run package
|
||||
|
||||
|
||||
# The node-only package can be built with
|
||||
npm run package-node
|
||||
|
||||
```
|
||||
|
||||
This will build the app in `dist/open-stage-control-PLATFORM-ARCH`.
|
||||
|
||||
!!! info ""
|
||||
Building the app for windows from a linux system requires wine to be installed.
|
||||
|
||||
|
||||
## Debian / Ubuntu and RPM installers
|
||||
|
||||
=== "Debian / Ubuntu"
|
||||
|
||||
```
|
||||
npm run deb64
|
||||
```
|
||||
|
||||
=== "RPM"
|
||||
|
||||
```
|
||||
npm run rpm
|
||||
```
|
||||
|
||||
|
||||
## Build script on Mac Silicon
|
||||
|
||||
This user-contributed script can be used to build open stage control on recent Macs:
|
||||
|
||||
https://github.com/rewgs/osc-as
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
## Lite headless mode
|
||||
|
||||
It's possible to run the server in headless mode with the nodejs engine embedded in Electron, this reduces memory / cpu usage significantly.
|
||||
|
||||
```
|
||||
ELECTRON_RUN_AS_NODE=1 open-stage-control path/to/open-stage-control/resources/app/ [options]
|
||||
```
|
||||
|
||||
|
||||
## Running with node
|
||||
|
||||
If Electron does not run on your platform, it is possible to run the server in headless mode using [Node.js](https://nodejs.org/en/download/package-manager/).
|
||||
|
||||
|
||||
1. Install [Node.js](https://nodejs.org/en/download/package-manager/)
|
||||
2. Download `open-stage-control-[version]-node.zip` package and extract it
|
||||
3. Run `node /path/to/open-stage-control [options]`
|
||||
|
||||
|
||||
!!! info
|
||||
When running from sources or with regular binaries (packaged with electron), the command slightly differs:
|
||||
|
||||
- electron package: `node /path/to/open-stage-control/resources/app [options]`
|
||||
- from sources: `node /path/to/open-stage-control/app [options]`
|
||||
|
|
@ -1,230 +0,0 @@
|
|||
The **server** can be configured with many options, either from a terminal or with the help of the **launcher**.
|
||||
|
||||
## Options
|
||||
|
||||
!!! quote ""
|
||||
#### `send`
|
||||
|
||||
Defines the default osc/midi targets. These will be added to the widget's individual targets. Targets must be separated by a space and formatted as follows:
|
||||
|
||||
- `ip_address:port`
|
||||
- `host_name:port`
|
||||
- `midi:device_name`
|
||||
|
||||
!!! quote ""
|
||||
#### `load`
|
||||
|
||||
Path to a session file (.json). All clients connecting the server will load it.
|
||||
|
||||
!!! quote ""
|
||||
#### `state`
|
||||
|
||||
Path to a state file (.state). All clients connecting the server will load it.
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `custom-module`
|
||||
|
||||
Path to a custom module file (.js).
|
||||
|
||||
**WARNING:** custom module can access the file system, use at your own risk.
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `port`
|
||||
|
||||
HTTP port for the server (default: `8080`).
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `osc-port`
|
||||
|
||||
OSC (UDP) input port (default: `port`).
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `tcp-port`
|
||||
|
||||
OSC (TCP) input port.
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `tcp-targets`
|
||||
|
||||
TCP servers to connect to. When sending osc messages, if the target matches one of these, TCP protocol will be used instead of UDP. Targets must be separated by a space and formatted as follows:
|
||||
|
||||
- `ip_address:port`
|
||||
- `host_name:port`
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `midi`
|
||||
|
||||
MIDI options separated by spaces, MIDI support must be enabled, see [MIDI configuration](../midi/midi-configuration.md).
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `debug`
|
||||
|
||||
Print sent and received messages in the console. This may impact performance and should not be enabled in production.
|
||||
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `no-gui`
|
||||
|
||||
Disable built-in client window.
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `fullscreen`
|
||||
|
||||
Start the built-in client window in fullscreen.
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `theme`
|
||||
|
||||
Theme names or paths. See [Themes](../customization/themes.md).
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `client-options`
|
||||
|
||||
Default [client options](../client-options.md), separated by spaces.
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `disable-vsync`
|
||||
|
||||
Disable built-in client window's vertical synchronization.
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `force-gpu`
|
||||
|
||||
Disable built-in client window's gpu blacklist (may improve rendering performance in some cases).
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `read-only`
|
||||
|
||||
Disable session editing, and file saving.
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `remote-saving`
|
||||
|
||||
Disable file saving for hosts that don't match the regular expression.
|
||||
|
||||
Sessions are saved and opened on the server's filesystem. It is possible to limit this feature to specific client with a regular expression. For example, `"127.0.0.1|192.168.0.10"` disables remote saving except for clients with ip addresses `127.0.0.1` (the server's local address) and `192.168.0.10`.
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `remote-root`
|
||||
|
||||
Set file browsing root folder. Prevent writing files outside of this folder.
|
||||
|
||||
!!! quote ""
|
||||
#### `authentication`
|
||||
|
||||
Restrict access to `user:password` (remote clients will be prompted for these credentials).
|
||||
|
||||
!!! quote ""
|
||||
#### `instance-name`
|
||||
|
||||
Server's name on zeroconf/bonjour network. Incremented automatically if not available.
|
||||
|
||||
!!! quote ""
|
||||
#### `use-ssl`
|
||||
|
||||
Use HTTPS protocol instead of HTTP (a self-signed certificate will be created)
|
||||
|
||||
|
||||
|
||||
## Command-line options
|
||||
|
||||
The following options can only be set from a terminal.
|
||||
|
||||
!!! quote ""
|
||||
#### `disable-gpu`
|
||||
|
||||
Disable hardware acceleration for the launcher window and the built-in client window.
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `inspect`
|
||||
|
||||
Enable node inspector.
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `cache-dir`
|
||||
|
||||
Override default cache directory (contains browser cache and localStorage data).
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `config-file`
|
||||
|
||||
Override default config file location (contains session history and launcher config). Defaults to `cache-dir/config.json`.
|
||||
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `client-position`
|
||||
|
||||
Define the built-in client window position, must be a pair of integers separated by a comma (`x,y`).
|
||||
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `client-size`
|
||||
|
||||
Define the built-in client window size, must be a pair of integers separated by a comma (`width,height`).
|
||||
|
||||
!!! quote ""
|
||||
#### `no-qrcode`
|
||||
|
||||
Disable qrcode when the server starts.
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `help`
|
||||
|
||||
Show help.
|
||||
|
||||
!!! quote ""
|
||||
#### `docs`
|
||||
|
||||
Serve documentation website locally and open it with the system's default browser
|
||||
|
||||
|
||||
!!! quote ""
|
||||
#### `version`
|
||||
|
||||
Show version number.
|
||||
|
||||
|
||||
## Running in a terminal
|
||||
|
||||
Options name must be prepended with a double dash (`--`) in a terminal.
|
||||
|
||||
!!! example "Example"
|
||||
```
|
||||
open-stage-control --no-gui --load path/to/your/session.json --theme path/to/your/theme.css
|
||||
```
|
||||
|
||||
Launches the server in headless mode, and makes all clients load provided session and theme automatically.
|
||||
|
||||
|
||||
## Running in a terminal on Windows
|
||||
|
||||
Windows users launching the app from a terminal need to add a double dash (`--`) and a space before their options:
|
||||
|
||||
```bash
|
||||
open-stage-control.exe -- --port 5555 [...]
|
||||
|
||||
# when running from sources
|
||||
npm start -- -- [options]
|
||||
```
|
||||
45
resources/docs/docs/interface.md
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# User interface
|
||||
|
||||
The interface is made of two main components: the widgets and the sidepanel.
|
||||
|
||||
## Widgets
|
||||
|
||||
All widgets are contained in the `root` widget, a special `panel` widget that can only contain tabs.
|
||||
|
||||
### Interacting with widgets
|
||||
|
||||
| Mouse | Touch | Description |
|
||||
|---|---|---|
|
||||
| Click | Tap | Handled at pressing time, not releasing. |
|
||||
| Double Click | Double Tap | Some widgets handle double click / tap events. |
|
||||
| Drag | Drag | The widgets respond to mouse and touch drag gestures with a 1:1 precision ratio. |
|
||||
| `Ctrl` + Drag | | Holding the `Ctrl` key while dragging with the mouse increases the gesture's precision by 10.|
|
||||
| | Two-fingers drag (single target) | Using two fingers on a single-touch target increases the gesture's precision by 10. |
|
||||
|
||||
|
||||
## Sidepanel
|
||||
|
||||
The sidepanel can be opened by clicking the navigation icon in the upper right corner or by pressing `F10`.
|
||||
|
||||
### State management
|
||||
|
||||
- Store: save the state of all widgets in the temporary slot
|
||||
- Recall: reload saved state from the temporary slot
|
||||
- Send All: make all widgets send their current value
|
||||
- Save / Save As: save the state of all widgets to a `.state` file on the server
|
||||
- Load: load a state from a `.state` file on the server
|
||||
- Export: save to local filesystem
|
||||
- Import: load from local filesystem
|
||||
|
||||
### Traversing gestures
|
||||
|
||||
By default, a dragging gesture can only affect the widget it started on. Enabling traversing gesture does two things:
|
||||
|
||||
- make gestures affect every widgets no matter where they started
|
||||
- make sliders-like widgets respond as if their `snap` option is enabled
|
||||
|
||||
When traversing gestures are set to `auto`, these will only affect widgets that have the same type as the first touched widget.
|
||||
|
||||
### Editor
|
||||
|
||||
See [Editing sessions](/docs/editing-sessions.md).
|
||||
107
resources/docs/docs/midi.md
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
## Requirements
|
||||
|
||||
MIDI support requires additional software to be installed on the server's system:
|
||||
|
||||
- python (2 or 3)
|
||||
- python package [python-rtmidi](https://spotlightkid.github.io/python-rtmidi/installation.html)
|
||||
|
||||
To install `python-rtmidi`, run `pip install python-rtmidi` (python 2) in a terminal or `pip3 install python-rtmidi` (python 3).
|
||||
|
||||
!!! note "Why an additionnal dependency ?"
|
||||
Providing cross-platform MIDI support is not trivial, as it requires OS-specific compilation that cannot be automated within Open Stage Control's current packaging workflow. Using a python addon seems to be the best compromise so far : the core app remains easy to build, and the extra dependency is easy to install.
|
||||
|
||||
## Setup
|
||||
|
||||
When running the app, the `-m / --midi` switch must be set; it accepts the following options (separated by spaces):
|
||||
|
||||
- `list`: prints the available MIDI ports to the console; numbers in the first column may be used for `input`/`output` definition below
|
||||
- `device_name:input,output`: connect to midi ports `input` and `output`; osc messages sent to target `midi:device_name` will be processed as midi events; Multiple devices can be declared. If the `device_name` contains white spaces, the declaration must be enquoted (ie `"spaced name:input,output"`). `device_name` doesn't need to match the actual midi device name, it is just an identifier (see [Widget settings](#widget-settings)).
|
||||
- `sysex`: parse incomming system exclusive messages (disabled by default)
|
||||
- `pc_offset`: send program changes with a `-1` offset to match some software/hardware implementations
|
||||
- `path=/path/to/python`: indicates where to find python or python3 binary in case open stage control doesn't (`Error: spawn python3 ENOENT`)
|
||||
|
||||
*Linux only:*
|
||||
|
||||
- `device_name:virtual`: creates a virtual midi device with one input port and one output port
|
||||
- `jack`: use JACK MIDI instead of ALSA (add as extra parameter). `rtmidi` must be compiled with `--jack-midi` flag for this to work.
|
||||
|
||||
!!! tip
|
||||
When using the launcher window, midi devices can be listed by right-clicking and choosing `Midi > List Devices`
|
||||
|
||||
## Widget settings
|
||||
|
||||
In order to send MIDI messages, a widget must have at least one `target` formatted as follows:
|
||||
|
||||
`midi:device_name` (where `device_name` is one of the declared midi devices)
|
||||
|
||||
!!! warning
|
||||
Messages received from a MIDI port only affect widgets that send to this port.
|
||||
|
||||
|
||||
## Supported MIDI messages
|
||||
|
||||
!!! warning ""
|
||||
Define static argument values using the [`preArgs`](/docs/widgets-reference/#preArgs) option in order to complete the respective MIDI message.
|
||||
|
||||
|
||||
|
||||
#### `/note channel note velocity`
|
||||
|
||||
NoteOn event or noteOff if velocity equals `0`.
|
||||
|
||||
- `channel`: integer between 1 and 16
|
||||
- `note`: integer between 0 and 127
|
||||
- `velocity`: integer between 0 and 127
|
||||
|
||||
Example:
|
||||
|
||||
A push button might be configured as follows in order to send a MIDI note whose velocity is defined by the button's on/off value:
|
||||
|
||||
- `address`: /note
|
||||
- `preArgs`: [1, 60] (for MIDI channel 1, and note 60 / C4)
|
||||
- `on`: 100 (for noteOn velocity of 100 on button push)
|
||||
- `off`: 0 (to send a noteOff on button release)
|
||||
- `target`: ["midi:device_name"] (where device_name is one of the declared midi devices defined during [setup](#setup))
|
||||
|
||||
#### `/control channel cc value`
|
||||
|
||||
Control change event.
|
||||
|
||||
- `channel`: integer between 1 and 16
|
||||
- `cc`: integer between 0 and 127
|
||||
- `value`: integer between 0 and 127
|
||||
|
||||
Example:
|
||||
|
||||
A fader might be configured as follows in order to send a MIDI control message (a volume control in this example):
|
||||
|
||||
- `address`: /control
|
||||
- `pre-args`: [1, 7] (MIDI channel 1, control number 7 generally used as volume control)
|
||||
- `range`: {"min": 0, "max": 127} (MIDI values are encoded in this range)
|
||||
- `target`: ["midi:device_name"]
|
||||
|
||||
#### `/program channel program`
|
||||
|
||||
Program change event.
|
||||
|
||||
- `channel`: integer between 1 and 16
|
||||
- `program`: integer between 0 and 127*
|
||||
|
||||
!!! note
|
||||
\* Some devices / softwares display the `program` value between 1 and 128, thus interpreting `program change 0` as `program change 1` and so on. Enable the `pc_offset` option to make Open Stage Control behave this way.
|
||||
|
||||
#### `/pitch channel pitch`
|
||||
|
||||
PitchWheel event.
|
||||
|
||||
- `channel`: integer between 1 and 16
|
||||
- `pitch`: integer between 0 and 16383
|
||||
|
||||
#### `/sysex msg v1 .. vN`
|
||||
|
||||
System exclusive message.
|
||||
|
||||
- `msg`: hexadecimal sysex data string of the form `f0 ... f7`. You may include placeholders of the form `nn` which will be replaced by `v1, .., vN` respectively.
|
||||
- `v1, .., vN`: values encoded as hexadecimal data strings to include in `msg`. Most probably, you will need to sepcify a [custom module](/docs/custom-module/) in order to convert numeric widget values into the required hexadecimal format. In general, this conversion will be different for each manufacturer / device.
|
||||
|
||||
For a very simple example, refer to session 'sysex.json' found in the application's sub folder 'resources/app/examples/'. Please remember to adjust the button's `target` to the `device_name` used in your MIDI setup.
|
||||
|
|
@ -1,144 +0,0 @@
|
|||
## Installation
|
||||
|
||||
|
||||
=== "Linux / Windows / OSX"
|
||||
|
||||
Open Stage Control comes bundled with built-in MIDI support if you're using the official package for Linux, OSX or Windows.
|
||||
|
||||
|
||||
=== "Other systems / Node"
|
||||
|
||||
Enabling MIDI support on other systems or when building Open Stage Control from sources requires additional softwares to be installed on the server's system:
|
||||
|
||||
- [python 3](https://www.python.org/downloads/)
|
||||
- python package [python-rtmidi](https://spotlightkid.github.io/python-rtmidi/installation.html#from-pypi)
|
||||
|
||||
|
||||
??? example "Linux"
|
||||
|
||||
Install `python3-rtmidi` from your distribution's package repository, or if it's not available:
|
||||
|
||||
- Install `python3` and `python3-pip` from your distribution's package repository
|
||||
- Run this command in a terminal
|
||||
```bash
|
||||
python3 -m pip install python-rtmidi --upgrade
|
||||
```
|
||||
|
||||
??? example "Mac"
|
||||
|
||||
- Download and install [Python 3 for Mac OS](https://www.python.org/downloads/mac-osx/)
|
||||
- Open a terminal
|
||||
- Install `pip` (package installer for python) by executing these commands
|
||||
```
|
||||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||
python get-pip.py
|
||||
```
|
||||
- Install `python-rtmidi` by executing this command
|
||||
```bash
|
||||
python -m pip install python-rtmidi --upgrade
|
||||
```
|
||||
|
||||
??? example "Windows"
|
||||
|
||||
- Download and install [Python 3 for Windows](https://www.python.org/downloads/windows/)
|
||||
- **make sure to check the option** "Add Python 3.x to PATH"
|
||||
- Open a terminal (++win+r++)
|
||||
- Install `pip` (package installer for python) by executing these commands
|
||||
```
|
||||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||
python get-pip.py
|
||||
```
|
||||
- Install `python-rtmidi` by executing this command
|
||||
```bash
|
||||
python -m pip install python-rtmidi --upgrade
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
The server's `midi` option accepts the following parameters, separated by spaces.
|
||||
|
||||
!!! warning ""
|
||||
If an option contains space characters, it must be quoted.
|
||||
|
||||
**`list`**
|
||||
|
||||
Print the available MIDI ports to the console when the server starts. This action is also available in the launcher's menu.
|
||||
|
||||
**`device_name:input,output`**
|
||||
|
||||
Create a virtual MIDI device that will translate OSC messages to MIDI messages
|
||||
|
||||
- `device_name` is an arbitrary identifier that can be used as a target by widgets (see [Widget setup](#widget-setup)). It doesn't have to match any device's real name.
|
||||
- `input` / `output` can be port numbers or strings (as reported by the `list` action). If a string is specified, the first port whose name contains the string will be used (comparison is case-insensitive).
|
||||
|
||||
**`sysex`**
|
||||
|
||||
Enable parsing of system exclusive messages (disabled by default).
|
||||
|
||||
**`mtc`**
|
||||
|
||||
Enable parsing of midi time code messages (disabled by default).
|
||||
|
||||
**`rpn`**
|
||||
|
||||
Enable sending and receiving [RPN/NRPN](https://en.wikipedia.org/wiki/NRPN) controls on as single `/rpn` / `/nrpn` messages instead of 3 or 4 control changes that constitute them.
|
||||
|
||||
|
||||
**`active_sensing`**
|
||||
|
||||
Enable parsing of midi active sensing messages (disabled by default). Active sensing messages will be received as sysex.
|
||||
|
||||
**`pc_offset`**
|
||||
|
||||
Send program changes with a `-1` offset to match some software/hardware implementations
|
||||
|
||||
**`note_off_velocity`**
|
||||
|
||||
Use `/note_on` for noteOn messages and `/note_off` for noteOff messages instead of the defaut `/note` and velocity 0 for note off.
|
||||
|
||||
**`auto_note_off`**
|
||||
|
||||
Prevent converting outgoing noteOn messages with velocity 0 to noteOff messages.
|
||||
|
||||
|
||||
**`device_name:virtual`** (*Linux / Mac only*): creates a virtual midi device with one input port and one output port
|
||||
|
||||
|
||||
**`jack`** (*Linux only*): use JACK MIDI instead of ALSA. `python-rtmidi` must be compiled with [jack support](https://spotlightkid.github.io/python-rtmidi/installation.html#linux) for this to work.
|
||||
|
||||
|
||||
**`path=/path/to/python`**
|
||||
|
||||
*Only use this if you know what you are doing. This option should not be set when using the official Linux / Windows / OSX packages.*
|
||||
|
||||
Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`).
|
||||
|
||||
|
||||
## Widget setup
|
||||
|
||||
In order to send MIDI messages, a widget must have at least one `target` formatted as follows:
|
||||
|
||||
`midi:device_name` (where `device_name` is one of the declared midi devices)
|
||||
|
||||
Its `address` and `preArgs` properties must be set according to Open Stage Control's [midi messages](../midi-messages) specification.
|
||||
|
||||
!!! warning
|
||||
Messages received from a MIDI port only affect widgets that send to this port.
|
||||
|
||||
## Debug
|
||||
|
||||
Enabling the server's `debug` options will print some extra information (sent/received midi messages, midi setup information, etc)
|
||||
|
||||
## Example configuration
|
||||
|
||||
Setting the server's `midi` option as follows:
|
||||
|
||||
```
|
||||
sysex synth:1,2 daw:3,3
|
||||
```
|
||||
|
||||
- enables sysex support (sysex messages will not be ignored)
|
||||
- creates a midi device "synth" connected with input 1 and output 2
|
||||
- creates a midi device "daw" connected with input 3 and output 3
|
||||
|
||||
If a widget has its `target` set to `midi:synth`, it will receive MIDI from port 1 and send MIDI to port 2.
|
||||
|
|
@ -1,130 +0,0 @@
|
|||
!!! info ""
|
||||
Define static argument values using the [`preArgs`](/docs/widgets/properties-reference/#preArgs) option in order to complete the respective MIDI message.
|
||||
|
||||
----
|
||||
|
||||
#### `/note channel note velocity`
|
||||
|
||||
NoteOn event or noteOff if velocity equals `0`. Incoming noteOff events will be received as `/note` with velocity 0 if `note_off_velocity` is not set during [setup](../midi-configuration).
|
||||
|
||||
- `channel`: integer between 1 and 16
|
||||
- `note`: integer between 0 and 127
|
||||
- `velocity`: integer between 0 and 127
|
||||
|
||||
!!! example "Example"
|
||||
|
||||
A push button might be configured as follows in order to send a MIDI note whose velocity is defined by the button's on/off value:
|
||||
|
||||
- `address`: `/note`
|
||||
- `preArgs`: `[1, 60]` (for MIDI channel 1, and note 60 / C4)
|
||||
- `on`: `100` (for noteOn velocity of 100 on button push)
|
||||
- `off`: `0` (to send a noteOff on button release)
|
||||
- `target`: `midi:device_name` (where device_name is one of the declared midi devices defined during [setup](../midi-configuration))
|
||||
|
||||
----
|
||||
|
||||
#### `/note_off channel note velocity`
|
||||
|
||||
NoteOff event with any velocity. Incoming noteOff events will be received as `/note_off` if `note_off_velocity` is set during [setup](../midi-configuration).
|
||||
|
||||
----
|
||||
|
||||
#### `/control channel cc value`
|
||||
|
||||
Control change event.
|
||||
|
||||
- `channel`: integer between 1 and 16
|
||||
- `cc`: integer between 0 and 127
|
||||
- `value`: integer between 0 and 127
|
||||
|
||||
!!! example "Example"
|
||||
|
||||
A fader might be configured as follows in order to send a MIDI control message (a volume control in this example):
|
||||
|
||||
- `address`: `/control`
|
||||
- `pre-args`: `[1, 7]` (MIDI channel 1, control number 7 generally used as volume control)
|
||||
- `range`: `{"min": 0, "max": 127}` (MIDI values are encoded in this range)
|
||||
- `target`: `midi:device_name`
|
||||
|
||||
----
|
||||
|
||||
#### `/program channel program`
|
||||
|
||||
Program change event.
|
||||
|
||||
- `channel`: integer between 1 and 16
|
||||
- `program`: integer between 0 and 127*
|
||||
|
||||
!!! info
|
||||
\* Some devices / softwares display the `program` value between 1 and 128, thus interpreting `program change 0` as `program change 1` and so on. Add the `pc_offset` parameter to the server's `midi` option to make Open Stage Control behave this way.
|
||||
|
||||
----
|
||||
|
||||
#### `/pitch channel pitch`
|
||||
|
||||
PitchWheel event.
|
||||
|
||||
- `channel`: integer between 1 and 16
|
||||
- `pitch`: integer between 0 and 16383
|
||||
|
||||
----
|
||||
|
||||
#### `/sysex msg`
|
||||
|
||||
System exclusive message.
|
||||
|
||||
- `msg`: hexadecimal sysex data string of the form `f0 ... f7`.
|
||||
|
||||
Instead of a single hexadecimal string, arguments can be separated and defined either as hexadecimal bytes or as integers. When received, system messages are always formatted as a single hexadecimal string.
|
||||
|
||||
----
|
||||
|
||||
#### `/mtc timecode`
|
||||
|
||||
MIDI time code message.
|
||||
|
||||
- `timecode`: `hh:mm:ss:ff` string.
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/channel_pressure channel pressure`
|
||||
|
||||
Channel pressure event.
|
||||
|
||||
- `channel`: integer between 1 and 16
|
||||
- `pressure`: integer between 0 and 127
|
||||
|
||||
----
|
||||
|
||||
|
||||
#### `/key_pressure channel note pressure`
|
||||
|
||||
Polyphonic key pressure event.
|
||||
|
||||
- `channel`: integer between 1 and 16
|
||||
- `note`: integer between 0 and 127
|
||||
- `pressure`: integer between 0 and 127
|
||||
|
||||
----
|
||||
|
||||
|
||||
#### `/rpn channel rpn value`
|
||||
|
||||
Registered Parameter Number event.
|
||||
|
||||
- `channel`: integer between 1 and 16
|
||||
- `rpn`: integer between 0 and 16383
|
||||
- `value`: integer between 0 and 16383
|
||||
|
||||
----
|
||||
|
||||
#### `/nrpn channel nrpn value`
|
||||
|
||||
Non-Registered Parameter Number event.
|
||||
|
||||
- `channel`: integer between 1 and 16
|
||||
- `nrpn`: integer between 0 and 16383
|
||||
- `value`: integer between 0 and 16383
|
||||
|
||||
----
|
||||
|
|
@ -1,47 +1,42 @@
|
|||
# Remote control
|
||||
|
||||
When osc messages are received, the default behavior is to update the value of all widgets that match the address and preArgs. Additionally, Open Stage Control clients respond to some general osc commands.
|
||||
|
||||
!!! note "Multi-client setup"
|
||||
These commands are interpreted by each client connected to the server so there might be more than one reply. Using a custom module is the only way to send a message to a single client.
|
||||
All widgets that send osc messages respond to the same messages. Additionnaly, Open Stage Control responds to some general osc commands.
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/EDIT id properties options`
|
||||
## `/EDIT id options`
|
||||
|
||||
|
||||
Apply a set of options to an existing widget by replacing the old ones with the new ones. This ignores the widget's `lock` property. If sent by a custom module using `receive()`, this command will not be prevented by the server's `read-only` option.
|
||||
Apply a set of options to an existing widget by replacing the old ones with the new ones.
|
||||
|
||||
|
||||
- `id`: `string`, widget's `id`
|
||||
- `properties`: `string`, [JSON5](https://github.com/json5/json5) stringified object defining the new properties to merge
|
||||
- `options`: `string`, [JSON5](https://github.com/json5/json5) stringified object defining the new properties to merge
|
||||
- example: `{"label":"New Label", "color":"red"}`
|
||||
- `options` (optional): `string`, [JSON5](https://github.com/json5/json5) stringified object defining extra option flags:
|
||||
- `noWarning`: set to `true` to prevent further warning when exiting.
|
||||
|
||||
----
|
||||
!!! warning ""
|
||||
Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea
|
||||
|
||||
#### `/EDIT/MERGE id properties options`
|
||||
## `/EDIT/MERGE id options`
|
||||
|
||||
Apply a set of options to an existing widget by merging them to the widget's options.
|
||||
|
||||
----
|
||||
|
||||
#### `/EDIT/UNDO`
|
||||
- `id`: `string`, widget's `id`
|
||||
- `options`: `string`, [JSON5](https://github.com/json5/json5) stringified object defining the new properties to merge
|
||||
- example: `{"label":"New Label", "color":"red"}`
|
||||
|
||||
!!! warning ""
|
||||
Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea
|
||||
|
||||
## `/EDIT/UNDO`
|
||||
|
||||
Undo editing action
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/EDIT/REDO`
|
||||
## `/EDIT/REDO`
|
||||
|
||||
Redo editing action
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/EDIT/GET target id`
|
||||
## `/EDIT/GET target id`
|
||||
|
||||
Sends back a widget's data (JSON stringified object), including its children, to specified target.
|
||||
|
||||
|
|
@ -53,10 +48,7 @@ Replies `/EDIT/GET id data`
|
|||
- `id`: `string`
|
||||
- `data`: `string`
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/EDIT/GET target address preArg1 preArg2 ...`
|
||||
## `/EDIT/GET target address preArg1 preArg2 ...`
|
||||
|
||||
Sends back a widget's data (JSON stringified object), including its children, to specified target.
|
||||
|
||||
|
|
@ -71,10 +63,7 @@ Replies `/EDIT/GET address preArg1 preArg2 ... data`
|
|||
- `data`: `string`
|
||||
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/GET target id`
|
||||
## `/GET target id`
|
||||
|
||||
Sends back a widget's value to specified target.
|
||||
|
||||
|
|
@ -86,10 +75,7 @@ Replies `/GET id value`
|
|||
- `id`: `string`
|
||||
- `value`: `*`
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/GET target address preArg1 preArg2 ...`
|
||||
## `/GET target address preArg1 preArg2 ...`
|
||||
|
||||
Sends back a widget's value to specified target.
|
||||
|
||||
|
|
@ -103,42 +89,18 @@ Replies `/GET address preArg1 preArg2 ... value`
|
|||
- `preArg[1...]`: `*`, widget's `preArgs`
|
||||
- `value`: `*`
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/GET/#`
|
||||
## `/GET/#`
|
||||
|
||||
Same as `/GET` but uses the widget's address instead of `/GET` to reply.
|
||||
|
||||
----
|
||||
|
||||
#### `/NOTIFY icon message`
|
||||
|
||||
Sends a notification message to the client.
|
||||
|
||||
- `icon`: icon for the notification, for example : `^play`, `^pause`, etc (see https://fontawesome.com/icons?d=gallery&s=solid&m=free)
|
||||
- `message`: message content
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/LOG message`
|
||||
|
||||
Print message in the client's console.
|
||||
|
||||
----
|
||||
|
||||
#### `/SET id value`
|
||||
## `/SET target id value`
|
||||
|
||||
Set a widget's value as if it was interacted with from the interface. This is likely to make it send its value.
|
||||
|
||||
- `id`: `string`, widget's `id`
|
||||
- `value`: `*`, widget's new value
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/SET address preArg1 preArg2 ... value`
|
||||
## `/SET address preArg1 preArg2 ... value`
|
||||
|
||||
Set a widget's value as if it was interacted with from the interface. This is likely to make it send its value.
|
||||
|
||||
|
|
@ -147,91 +109,28 @@ Set a widget's value as if it was interacted with from the interface. This is li
|
|||
- `value`: `*`, widget's new value
|
||||
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/STATE/GET target`
|
||||
## `/STATE/GET target`
|
||||
|
||||
Sends back the app's state to specified target
|
||||
|
||||
- `target`: `string`, `ip:port` pair
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/STATE/SET state send`
|
||||
## `/STATE/SET state`
|
||||
|
||||
Set widgets' state
|
||||
|
||||
- `state`: `string`, json stringified object (`"widget_id": value` pairs)
|
||||
- `send` (optional): `boolean`, set to `false` to prevent widgets from sending their values when the state is applied
|
||||
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/STATE/STORE`
|
||||
## `/STATE/STORE`
|
||||
|
||||
Save the state of all widgets in the temporary slot.
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/STATE/RECALL`
|
||||
## `/STATE/RECALL`
|
||||
|
||||
Reload saved state from the temporary slot.
|
||||
|
||||
|
||||
----
|
||||
## `/TABS id id etc`
|
||||
|
||||
#### `/STATE/SEND`
|
||||
|
||||
Make all widgets send their current value.
|
||||
|
||||
----
|
||||
|
||||
#### `/STATE/OPEN path.state`
|
||||
|
||||
Open state file `path.state`.
|
||||
|
||||
----
|
||||
|
||||
#### `/STATE/SAVE path.state`
|
||||
|
||||
Save state session to `path.state`.
|
||||
|
||||
----
|
||||
|
||||
#### `/SESSION/CREATE`
|
||||
|
||||
Create a new empty session. Unsaved changes will be lost.
|
||||
|
||||
----
|
||||
#### `/SESSION/OPEN path.json`
|
||||
|
||||
Open session file `path.json`.
|
||||
|
||||
----
|
||||
|
||||
#### `/SESSION/SAVE path.json`
|
||||
|
||||
Save current session to `path.json`. If `path.json` is omitted, current session's path is used.
|
||||
|
||||
----
|
||||
|
||||
#### `/TABS tab_id1 tab_id2 ...`
|
||||
|
||||
Open the tabs designated by the id parameters.
|
||||
|
||||
----
|
||||
|
||||
#### `/SCRIPT code`
|
||||
|
||||
Run code as if it where executed by a script widget.
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/RELOAD`
|
||||
|
||||
Reload page in the browser.
|
||||
Open the tabs designated by the `id` parameters.
|
||||
|
|
|
|||
44
resources/docs/docs/theming.md
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
## Built-in themes
|
||||
|
||||
Themes can be loaded with the `--theme` option. Multiple themes can be combined. Built-in themes can be loaded using their name, custom theme files can be loaded using their path.
|
||||
|
||||
Available themes (full color scheme):
|
||||
|
||||
- `orange`: grey and orange theme
|
||||
- `light`: light and blue
|
||||
- `dark`: blue night theme
|
||||
|
||||
Available extensions (alternative visual settings)
|
||||
|
||||
- `flat`: remove 3d effects
|
||||
- `alt-buttons`: colorful active buttons
|
||||
- `responsive-fonts`: bigger texts for bigger screens
|
||||
|
||||
## Creating a custom theme
|
||||
|
||||
Creating a custom theme is as simple as writing a tiny css file that will override the default css variables defined in [default.scss](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) :
|
||||
|
||||
```css
|
||||
:root {
|
||||
--color-accent:red;
|
||||
}
|
||||
```
|
||||
|
||||
This will change the default accent color to red. Variables can also be overridden for a specific subset of elements, for example :
|
||||
|
||||
```css
|
||||
.panel-container {
|
||||
--color-text:blue;
|
||||
}
|
||||
```
|
||||
|
||||
This will change the default text color to blue for all elements in panel widgets.
|
||||
|
||||
## Scss / autoreload
|
||||
|
||||
When running the app [from sources](/docs/getting-started), custom themes can be written in scss:
|
||||
|
||||
- the scss file must be located in `src/browser/scss/themes/`
|
||||
- run `npm run watch-css`
|
||||
|
||||
The theme will be watched and compiled automatically to a css file located in app/browser/themes/ (css files in this directory can be selected from the theme option by their name, without .css suffix). If the app is running on default http port, clients will reload the theme automatically.
|
||||
|
|
@ -1,149 +0,0 @@
|
|||
# Change a widget property with an osc message
|
||||
|
||||
By default, widgets only expose their value to incoming messages, but there are multiple ways to allow changing any widget property using osc messages as well. In this tutorial we'll explore the different possibilities for exposing the `visible` property of a widget to incoming messages, but it applies to any other property.
|
||||
|
||||
## 1. Using a variable widget
|
||||
|
||||
Create a variable widget and set up its `address` (and `preArgs` if needed) so that it receives the messages you want to use, and then in your other widget's `visible` property, use the [inheritance syntax](../widgets/advanced-syntaxes.md#inheritance-idproperty) to retrieve the variable's value:
|
||||
|
||||
|
||||
=== "Inheritance syntax"
|
||||
```
|
||||
@{variable_id}
|
||||
```
|
||||
=== "Inheritance syntax + Javascript"
|
||||
```js
|
||||
JS{
|
||||
// bonus, in case you don't want to use the variable's value as-is
|
||||
if (@{variable_id} > 0.5) {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Now the variable's value will determine the visibility of the widget. The `visible` property expects a boolean value (`true` for visible, `false` for invisible) but any [truthy](https://developer.mozilla.org/en-US/docs/Glossary/truthy) / [falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) will do (e.g. `1` for visible, `0` for invisible is a sensible choice).
|
||||
|
||||
## 2. Using the OSC listener syntax
|
||||
|
||||
The [OSC listener syntax](../widgets/advanced-syntaxes.md#osc-listeners-oscaddress-default-usepreargs) might be a more straightforward solution for simple use cases. Writing this in a widget's `visible` property:
|
||||
|
||||
|
||||
=== "Relative address"
|
||||
```
|
||||
OSC{show}
|
||||
```
|
||||
|
||||
will listen for messages on address `/widget_address/show` and return the last received value.
|
||||
|
||||
|
||||
If we write this instead:
|
||||
|
||||
=== "Absolute address"
|
||||
```
|
||||
OSC{/show}
|
||||
```
|
||||
|
||||
the address will be `/show` and won't be prefixed with the widget's address as before.
|
||||
|
||||
|
||||
It is often needed to specify the initial state of the listener (before it receives any message), this is done via the second argument of the listener syntax:
|
||||
|
||||
|
||||
=== "Default value (true)"
|
||||
```
|
||||
OSC{show, true}
|
||||
```
|
||||
=== "Default value (truthy)"
|
||||
```
|
||||
OSC{show, 1}
|
||||
```
|
||||
=== "Default value (false)"
|
||||
```
|
||||
OSC{show, false}
|
||||
```
|
||||
=== "Default value (falsy)"
|
||||
```
|
||||
OSC{show, 0}
|
||||
```
|
||||
|
||||
If the widget has any preArgs set, the osc listener will inherit them by default, this means that for a message to change the listener's value it will not only have to match its address but also the widget's `preArgs`, this can be prevented using the third argument of the listener syntax:
|
||||
|
||||
=== "Ignore preArgs"
|
||||
```
|
||||
OSC{show, 1, false}
|
||||
```
|
||||
|
||||
|
||||
## 3. Using custom variables
|
||||
|
||||
The [custom variable syntax](../widgets/advanced-syntaxes.md#custom-variables-varvariablename-default) connects regular properties and scripting properties (`onCreate`, `onValue`, etc), writing this in the `visible` property:
|
||||
|
||||
```
|
||||
VAR{show}
|
||||
```
|
||||
|
||||
will create a custom variable named `show` scoped to the widget (custom variables do not use a global namespace and multiple widgets may use the same names for their custom variables without conflict). This custom variable can be read and set from any widget scripting property using the [`getVar()` / `setVar()`](../widgets/scripting.md#getvarid-name) functions.
|
||||
|
||||
For instance, we could use a variable widget as osc receiver like in the first example of this tutorial and use it's `onValue` script to change the custom variable's value (instead of using the inheritance syntax):
|
||||
|
||||
```js
|
||||
// variable widget onValue
|
||||
// simply pass received value to the custom variable
|
||||
setVar('widget_id', 'show', value)
|
||||
```
|
||||
|
||||
|
||||
The custom variable's initial state can be specified:
|
||||
|
||||
```
|
||||
VAR{show, 1}
|
||||
```
|
||||
|
||||
## 4. Using /EDIT commands
|
||||
|
||||
The [`/EDIT`](../remote-control.md) remote control command can be used to modify any widget property in the session, for instance:
|
||||
|
||||
```
|
||||
/EDIT widget_id '{visible: false}'
|
||||
```
|
||||
|
||||
Will hide the widget with id `widget_id`. Note that this is different from the 3 techniques described above in that it actually modifies the session and changes the property value in a destructive way (the property is rewritten, not just its state). When quitting the session after using it a warning indicating the session has unsaved changes will be shown, this can be prevented by appending a extra argument to the message:
|
||||
|
||||
```
|
||||
/EDIT widget_id '{visible: false}' '{noWarning: true}'
|
||||
```
|
||||
|
||||
Note that the arguments after `widget_id` are sent as strings ([JSON5](https://github.com/json5/json5)-encoded objects), this is because sending plain javascript object over osc is not possible.
|
||||
|
||||
## Bonus: custom module
|
||||
|
||||
Any of these techniques can be used in conjunction with a [custom module](../custom-module/custom-module.md). Using the `receive()` function allows simulating incoming osc messages and can be used to trigger property changes:
|
||||
|
||||
=== "Variable widget"
|
||||
```js
|
||||
var visible = true
|
||||
receive('/variable_id', visible)
|
||||
// or if variable widgets has preArgs
|
||||
receive('/variable_id', preArg1, preArg2, visible)
|
||||
```
|
||||
=== "OSC listener"
|
||||
```js
|
||||
var visible = true
|
||||
receive('/widget_address/show', visible)
|
||||
// or if listener has preArgs
|
||||
receive('/widget_address/show', preArg1, preArg2, visible)
|
||||
```
|
||||
=== "Custom variable"
|
||||
```js
|
||||
var visible = true
|
||||
receive('/SCRIPT', `setVar('widget_id', 'show', ${visible})`)
|
||||
```
|
||||
=== "/EDIT command"
|
||||
```js
|
||||
var visible = true
|
||||
// what's really cool here is that you don't need to stringify objects arguments
|
||||
// receive() will take care of that for you
|
||||
receive('/EDIT', 'widget_id', {visible: visible}}, {noWarning: true})
|
||||
```
|
||||
|
|
@ -1,252 +0,0 @@
|
|||
# First Steps with Open Stage Control
|
||||
|
||||
*Contributed by H. James Harkins, Feb. 2023*
|
||||
|
||||
Let's walk through the basic steps to build a simple interface in Open Stage Control, send information to another app, and deploy the interface to remote (even mobile) devices.
|
||||
|
||||
Before beginning, you should already have installed Open Stage Control -- see the [Introduction](../getting-started/introduction.md).
|
||||
|
||||
Also: This document provides sample patches for SuperCollider, Pure Data and Max/MSP, to receive control data from the Open Stage Control interface. If you do not have any of these tools, I suggest to install [Pure Data](https://puredata.info/downloads/pure-data) because it has the smallest footprint.
|
||||
|
||||
## The Launcher
|
||||
|
||||
Use your system's application launcher, open the Open Stage Control app. Here, you can configure options for the interface server.
|
||||
|
||||
For now, go to the first box ("send") and type in `127.0.0.1:57120`. This will tell the server to send Open Sound Control messages to the same machine where the server is running, on port 57120.
|
||||
|
||||
NOTE: For your own applications, you can use any port that is not in use. For this example, I chose 57120 because it is SuperCollider's default UDP port (and I set the Pure Data and Max patches to use the same port, to simplify.)
|
||||
|
||||
You don't need to set any other options at this time.
|
||||
|
||||
### Addresses and ports
|
||||
|
||||
Many users approaching Open Sound Control for the first time get confused about ports. You need to be aware of the FROM and TO addresses. The "send" field in the Launcher should reference the address TO which messages should be sent. In this demo, we are assuming that Open Stage Control and the target app are running on the same machine. So the TO address is localhost: `127.0.0.1`. The "send" box should use the port *on which the target app is receiving messages*. This is typically under control of the target app: 1/ SuperCollider opens 57120 by default; 2/ Pd's [netreceive] object, and Max's [udpreceive], both require the TO port as an argument. So the TO port is your choice, as long as they match.
|
||||
|
||||
Open Stage Control sends messages FROM the IP address of the machine where Open Stage Control is running, and from port 8080 (or localhost = `127.0.0.1` if on the same machine). Thus, if the receiving app will filter incoming messages based on address, the filtering address should be the FROM address, port 8080. The target app can also update Open Stage Control's display by sending messages back to exactly this address. So you will see later, in the demo patches, that messages are sent to `127.0.0.1:8080` so that the user's interaction with the target app appears in Open Stage Control as well.
|
||||
|
||||
## Starting the server
|
||||
|
||||
Click the "play" button near the top left of the window. You should see status messages in the launcher window such as:
|
||||
|
||||
```
|
||||
(INFO) Server started, app available at
|
||||
http://127.0.0.1:8080
|
||||
http://your.ip.ad.dress:8080
|
||||
```
|
||||
|
||||
And a new, mostly empty, window will open. This new, larger window is the *client*.
|
||||
|
||||
## The client
|
||||
|
||||
The client allows you to edit and perform your interface.
|
||||
|
||||
The interface design is called a *session*. To create a new session, go to the "three-dots" menu at the top left, and choose Session > New session.
|
||||
|
||||
Two new panels are displayed: a project browser, and an object inspector (to set properties). The empty space in the middle is the editor, where you will build the interface.
|
||||
|
||||
Let's start with a toggle button. Right-click in the empty editor panel in the middle, and navigate to Add widget > Basics > button. For this demo, we don't need to change anything else: the button defaults to toggle behavior, and the display text is not important for now (although you can change it in the inspector, if you want).
|
||||
|
||||
And let's add one more control, to the right of this: Right-click, Add widget > Sliders > fader.
|
||||
|
||||

|
||||
|
||||
When a widget is selected, you can move it by dragging the top-left handle, and resize it by dragging the bottom-right handle. Let's use these handles to position the fader to the right of the button, and stretch it to be horizontal instead of vertical.
|
||||
|
||||

|
||||
|
||||
Notice, however, that the fader's value handle is still vertical. To fix this, look in the Inspector at the right, expand "Fader style," and check the "horizontal" checkbox.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
By the way: I suggest to keep the widgets closer to the top left, so that they are still visible on a phone screen (later).
|
||||
|
||||
When designing an interface for production, you would change other object properties as well. In particular, the Open Sound Control addresses `/button_1` and `/fader_1` are not very descriptive. You would probably want to assign different command paths, in the "osc" tab. As this is just an introduction, we won't do that now.
|
||||
|
||||
## Receiving the data
|
||||
|
||||
At this time, the interface can already be used: three-dots menu > Editor > "Enabled" (click to disable the editor). (The controls will respond also when the editor is enabled, but you have to click an extra time to select the widget before changing its value.)
|
||||
|
||||
To see the effect, launch one of the following apps and open the given patch. The Open Stage Control button should open and close the envelope, and the fader should control frequency. The patches also send control data from their own GUIs back to Open Stage Control, so all of the controls should be synced in both directions.
|
||||
|
||||
NOTE: In Pure Data and Max, the default slider/fader range is 0-127, integers. Open Stage Control uses the range 0.0 - 1.0 by default. If you just create a slider and connect it, you won't see much action. In the example patches, the slider's properties have been modified to take a 0.0 - 1.0 floating-point range, matching the data from Open Stage Control.
|
||||
|
||||
NOTE: Because all of the patches bind to the same UDP port, you can open only one at a time. You could, if you like, change the port number in one patch, and add that port by specifying multiple "send" targets in the Launcher, e.g. `127.0.0.1:57120 127.0.0.1:7374`.
|
||||
|
||||
NOTE: These patches are provided as a courtesy to get you started more quickly. Maintaining, extending or developing them is outside the scope of the Open Stage Control community.
|
||||
|
||||
!!! Example "Choose your app"
|
||||
|
||||
=== "Pure Data"
|
||||
|
||||
Copy the code below, and save it into a text file `osc-first-steps.pd`. Then open it in Pure Data.
|
||||
|
||||
```
|
||||
#N canvas 436 127 562 502 12;
|
||||
#X obj 86 51 loadbang;
|
||||
#X msg 86 76 \; pd dsp 1;
|
||||
#X obj 253 51 netreceive -u -b 57120;
|
||||
#X obj 253 76 oscparse;
|
||||
#X obj 253 101 list trim;
|
||||
#X obj 253 126 route fader_1 button_1;
|
||||
#X msg 253 190 4 \$1;
|
||||
#X obj 253 215 pow;
|
||||
#X obj 253 240 * 200;
|
||||
#X obj 253 265 lop~ 3;
|
||||
#X msg 328 265 \$1 100;
|
||||
#X obj 328 304 line~;
|
||||
#X obj 279 356 *~;
|
||||
#X obj 279 381 *~ 0.1;
|
||||
#X obj 266 424 dac~;
|
||||
#X text 38 139 Open Stage Control \; "First Steps" tutorial \; hjh
|
||||
2023;
|
||||
#X obj 253 304 osc~ 200;
|
||||
#X obj 328 159 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000
|
||||
#000000 0 1;
|
||||
#X obj 256 159 hsl 60 15 0 1 0 0 empty empty empty -2 -8 0 10 #fcfcfc
|
||||
#000000 #000000 0 1;
|
||||
#X obj 70 251 unpack f s;
|
||||
#X obj 70 325 oscformat;
|
||||
#X msg 137 283 set \$1;
|
||||
#X obj 70 424 netsend -u -b;
|
||||
#X obj 93 356 loadbang;
|
||||
#X msg 93 381 connect 127.0.0.1 8080;
|
||||
#X obj 70 226 r sendback;
|
||||
#X msg 379 200 \; sendback \$1 button_1;
|
||||
#X msg 379 233 \; sendback \$1 fader_1;
|
||||
#X connect 0 0 1 0;
|
||||
#X connect 2 0 3 0;
|
||||
#X connect 3 0 4 0;
|
||||
#X connect 4 0 5 0;
|
||||
#X connect 5 0 18 0;
|
||||
#X connect 5 1 17 0;
|
||||
#X connect 6 0 7 0;
|
||||
#X connect 7 0 8 0;
|
||||
#X connect 8 0 9 0;
|
||||
#X connect 9 0 16 0;
|
||||
#X connect 10 0 11 0;
|
||||
#X connect 11 0 12 1;
|
||||
#X connect 12 0 13 0;
|
||||
#X connect 13 0 14 0;
|
||||
#X connect 13 0 14 1;
|
||||
#X connect 16 0 12 0;
|
||||
#X connect 17 0 10 0;
|
||||
#X connect 17 0 26 0;
|
||||
#X connect 18 0 6 0;
|
||||
#X connect 18 0 27 0;
|
||||
#X connect 19 0 20 0;
|
||||
#X connect 19 1 21 0;
|
||||
#X connect 20 0 22 0;
|
||||
#X connect 21 0 20 0;
|
||||
#X connect 23 0 24 0;
|
||||
#X connect 24 0 22 0;
|
||||
#X connect 25 0 19 0;
|
||||
```
|
||||
|
||||
=== "Max/MSP"
|
||||
|
||||
Copy the text below. In Max, choose File > New from clipboard.
|
||||
|
||||
```
|
||||
----------begin_max5_patcher----------
|
||||
949.3oc0XkraaCCD8rCP9GHDxo.GWRJpEWzaEnW6gdrInfVlwgoxjBRTYEMe
|
||||
6khTx0HgVlwP1MFAwBZnjl2algyBe9zSFELS9.qJ.7YvOAiF8rVxHirFIi5D
|
||||
LJXI8grbZk4ACVxppnKXAiaWTwdPYV3SWSmyJ+EBbFZ0h74lkjyt8BDdkzBp
|
||||
J6FtXwuJYYJq1wwjIvw.LJt4RRh4F7DH3ptWRTujKxYJCJvqIUVq5Di5Dako
|
||||
drfY+7AAfqLK8mSOo4p9x3AfwypUJoXiTNtWFSBaHIJB1bIM5iDiEr603+sD
|
||||
tddQESLGfvZGj9ODHElBc5s8f5gnTqEHdKbG4l6vcleYxkKYB0aI32KXBvOT
|
||||
ZuM3qRgpTlCtL3a7xJkVJqn5x.fpVIK4zbvEfat8F.FhCW8cx4BVlrVX9XgN
|
||||
LK3DerKv0BLHoGNyRUNWuC1k6DG0GtsHEAM9wXCGvvsC6qykTkF3E0pdnC5e
|
||||
JtjtjozoXXB5rbSbNruv+t0p3OYjhlr6lFkbwhblSSCoOSCBkLIZksAS5988
|
||||
4R2Qa.uIP7pgeWxWt3BPVNO62.kDXABfVOmKcZe5MuOJzj3iDEYLSsUAfGtX
|
||||
d1SyoYu3D3vdi4mNIQiXhcKKIp622W5a3fmh97W.57xNSIOsO9jfab.gSmZH
|
||||
xfW+shuPPy2G0jN2oyCk5AYiwFZNs4liCx1TfwMeS7HKTaAWBb27t3sQ3wff
|
||||
YTwh8RuVmgzIQc2pQrGTGaqQEAOFZyJ6wr7M3lIauNbqWd3o5+ivZz14KNM7
|
||||
XNpNxcPMzCh21gX3wPL845p5vItnZpGL0NVHYvGRxzB5dwyR1vLgIdzHc693
|
||||
ihQBKj26hl9LufceaX3GNm5l3ZoVULvpy4X03+tL.djn11rKJhrECPnaCP3l
|
||||
8yia+e+bD.Zdv32w.QIHryjWgdTjxFBfR1sQ+eOw31uroFyqOpKC7ZV3UVhJ
|
||||
YcYV2Wr6vq.qgw4rJEWPUboX8mx9Pa1l6s9Zl21C88JTIKaFeu+wJ7GBDefP
|
||||
7dDAwGVadpWpCNX5KwG8EMXpyqHpzAScdE8fiFT8g1p9HCl9B8gejCbBgjMr
|
||||
aDcvxGfh2iPn4DL7HnB9w.Bn8TZQjeIplNXwdHuxTYfEZXTneY9SFNFR7lgC
|
||||
jBQdovgK+AB5kBcWMssCJZQwcrxp1WwpKcSi2JMg1ois2yE16ssnETxti28J
|
||||
1SpNfVp6IToaHrtz.wfGha6VNXoTuQQTy61t1v1FUa5KUP0SaUPs7xz+5omn
|
||||
ef+B9C+QQC
|
||||
-----------end_max5_patcher-----------
|
||||
```
|
||||
|
||||
=== "SuperCollider"
|
||||
|
||||
Copy/paste the code below into a new code document. Run the entire block to start. It will clean up when you close the GUI window.
|
||||
|
||||
```
|
||||
// OSC response part
|
||||
(
|
||||
var addr = NetAddr("127.0.0.1", 8080); // FROM address
|
||||
var freqRange = ControlSpec(200.0, 800.0, \exp);
|
||||
var button, slider;
|
||||
|
||||
OSCdef(\button, { |msg|
|
||||
defer { button.value = msg[1] };
|
||||
if(x.notNil) { x.set(\gate, msg[1]) };
|
||||
}, '/button_1', addr);
|
||||
|
||||
OSCdef(\slider, { |msg|
|
||||
defer { slider.value = msg[1] };
|
||||
if(x.notNil) { x.set(\freq, freqRange.map(msg[1])) };
|
||||
}, '/fader_1', addr);
|
||||
|
||||
w = Window("Open Stage Control", Rect(800, 200, 400, 100)).front;
|
||||
w.layout = HLayout(
|
||||
button = Button(),
|
||||
slider = Slider().orientation_(\horizontal)
|
||||
);
|
||||
w.alwaysOnTop = true; // may not take effect in all window managers
|
||||
|
||||
button.states = [["off"], ["playing", Color.black, Color(0.7, 1, 0.7)]];
|
||||
button.action = { |view|
|
||||
if(x.notNil) { x.set(\gate, view.value) };
|
||||
addr.sendMsg('/button_1', view.value);
|
||||
};
|
||||
|
||||
slider.action = { |view|
|
||||
if(x.notNil) { x.set(\freq, freqRange.map(view.value)) };
|
||||
addr.sendMsg('/fader_1', view.value);
|
||||
};
|
||||
|
||||
w.onClose = {
|
||||
if(x.notNil) { x.free };
|
||||
OSCdef(\button).free;
|
||||
OSCdef(\slider).free;
|
||||
};
|
||||
|
||||
// audio part
|
||||
// if this fails (if you have an issue with audio devices),
|
||||
// you won't hear anything but the onscreen GUIs
|
||||
// will reflect changes from Open Stage Control
|
||||
s.waitForBoot {
|
||||
x = { |freq = 200, amp = 0.1, gate = 0|
|
||||
var eg = EnvGen.kr(Env.asr(0.1, 1, 0.1), gate);
|
||||
(SinOsc.ar(Lag.kr(freq, 0.1)) * amp * eg).dup
|
||||
}.play;
|
||||
};
|
||||
)
|
||||
```
|
||||
|
||||
## Deploying the interface
|
||||
|
||||
The whole point of Open Stage Control is to make the interface available on other devices, especially mobile devices.
|
||||
|
||||
The interface will not be visible to other clients, however, until you save it to disk: three-dots menu > Session > Save, and give the file a name such as `open-stage-demo` (you don't need to type the `.json` extension).
|
||||
|
||||
Now -- remember those status messages in the launcher window? On another device (computer, phone or tablet), go to the `http://192.168.xxx.yyy:8080` address. The device should be on the same (W)LAN. (If there is another remote address, it may or may not work, depending on your network.) Supported browsers are Firefox v. 75 and higher, or Chromium/Chrome v. 60 and higher.
|
||||
|
||||
This should open an empty client window, similar to the one you saw before.
|
||||
|
||||
From here, you can open the session that you just saved: three-dots menu *in the webpage* > Session > Open Recent (yes, this is synced from the server!). This should display the controls created in that session, and the controls should function the same as in the other client window.
|
||||
|
||||
And that is... it! Basic usage is as simple as that.
|
||||
|
||||
For convenience, if there is a session you know that you will use often, and you don't want to load it in the webpage by hand every time, you can choose the file under "load" in the initial Launcher window. This is also useful for public deployments with audience participation, where you don't want audience members to have to load manually.
|
||||
|
||||
When not using Open Stage Control, you can also stop the server from the launcher window (stop button, top-left).
|
||||
|
Before Width: | Height: | Size: 6 KiB |
|
Before Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 7.1 KiB |
23
resources/docs/docs/url-options.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# URL Options
|
||||
|
||||
Client specific options can be set by adding query parameters to the server's url. One must prepend the url with a question mark (`?`) followed by `parameter=value` pairs separated with ampersands (`&`).
|
||||
|
||||
|
||||
| Option | Value | Default | Description |
|
||||
|----|----|----|----|
|
||||
| hdpi | 1 / 0 | 0 | enable high resolution canvas |
|
||||
| forceHdpi | number | 0 | force canvas scaling (ignore `hdpi`) |
|
||||
| doubletab | number | 375 | sets the double tap/click time thershold in milliseconds |
|
||||
| zoom | number | 1 | sets the initial zoom |
|
||||
| framerate | number | 60 | limit canvas drawing framerate |
|
||||
| lang | string | *system_default* | use a different language than the default if available (available languages: en, fr, ru) |
|
||||
|
||||
Example:
|
||||
|
||||
`http://server-ip:port?hdpi=1`
|
||||
|
||||
|
||||
!!! note ""
|
||||
When using the built-in client, url options can be set through the `--url-options` switch.
|
||||
|
||||
Example: `open-stage-control --url-options zoom=2 doubletap=200`
|
||||
|
|
@ -1,96 +0,0 @@
|
|||

|
||||
|
||||
## 1. Menu
|
||||
|
||||
- Session
|
||||
- New session: create a new empty session and enable the editor
|
||||
- Open: browse session files on the server
|
||||
- Open recent: open a recent session on the server
|
||||
- Save / Save as: save session file on the server
|
||||
- Fragment mode: when enabled, the session will be saved as a fragment file (only the root's first child will be saved)
|
||||
- Save backup: save a copy of current session with a incremented suffix appended to the file name
|
||||
- Import: import a session file from the client's filesystem
|
||||
- Export: export a session file to the client's filesystem
|
||||
- State
|
||||
- Store: save all widgets' state to a persistent slot (stored in the client's cache)
|
||||
- Recall: apply state storer in the persistent slot (updated widgets may send messages)
|
||||
- Send All: make all widgets send their current value
|
||||
- Open: browse state files on the server
|
||||
- Save / Save as: save state file on the server
|
||||
- Import: import a state file from the client's filesystem
|
||||
- Export: export a state file to the client's filesystem
|
||||
- Editor
|
||||
- Enable: toggle editor's state
|
||||
- Grid: toggle grid
|
||||
- Project tree: toggle project tree's visibility
|
||||
- Inspector: toggle inspector's visibility
|
||||
- Relative units (%): when enabled, newly created widgets will have their position and size set in percents.
|
||||
- Console
|
||||
- Enable: toggle console's state
|
||||
- Clear console: remove logged messages from the console
|
||||
- Virtual keyboard: (desktop only) toggle virtual keyboard (displayed only when a text input is in focus, except for code editors in the inspector)
|
||||
- Fullscreen: toggle fullscreen
|
||||
- Notifications: toggle visibility of notifications
|
||||
- Prevent sleep (mobile only): attempt to prevent device from going to sleep when idle
|
||||
|
||||
## 2. Sidepanels
|
||||
|
||||
The sidepanels are only visible when the editor is active, they can be resized and/or hidden. Both are described in the [editor](./editor.md) section.
|
||||
|
||||
## 3. Session
|
||||
|
||||
It is the main component, it contains all the widgets and takes all the available space when the sidepanels are closed.
|
||||
|
||||
## 4. Notifications
|
||||
|
||||
Notifications appear in the lower right corner, they are usually used to convey server status information and can be dismissed with a single click.
|
||||
|
||||
## 5. Modals
|
||||
|
||||

|
||||
|
||||
Modals are virtual popup windows that may contain various content: file browser, color picker, error, widgets...
|
||||
|
||||
## Keyboard shortcuts
|
||||
|
||||
=== "Linux"
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| ++ctrl+"Mousewheel"++ | change global zoom (pixel scaling) |
|
||||
| ++ctrl+0++ | reset global zoom |
|
||||
| ++ctrl+e++ | enable/disable editor |
|
||||
| ++ctrl+k++ | show/hide console |
|
||||
| ++ctrl+l++ | clear console |
|
||||
| ++ctrl+s++ | save session |
|
||||
| ++ctrl+shift+s++ | save session as... |
|
||||
| ++ctrl+o++ | open a session file |
|
||||
| ++ctrl+w++ | close client |
|
||||
|
||||
=== "Windows"
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| ++ctrl+"Mousewheel"++ | change global zoom (pixel scaling) |
|
||||
| ++ctrl+0++ | reset global zoom |
|
||||
| ++ctrl+e++ | enable/disable editor |
|
||||
| ++ctrl+k++ | show/hide console |
|
||||
| ++ctrl+l++ | clear console |
|
||||
| ++ctrl+s++ | save session |
|
||||
| ++ctrl+shift+s++ | save session as... |
|
||||
| ++ctrl+o++ | open a session file |
|
||||
| ++alt+f4++ | close client |
|
||||
|
||||
=== "Mac"
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| ++cmd+"Mousewheel"++ | change global zoom (pixel scaling) |
|
||||
| ++cmd+0++ | reset zoom |
|
||||
| ++cmd+e++ | enable/disable editor |
|
||||
| ++cmd+k++ | show/hide console |
|
||||
| ++cmd+l++ | clear console |
|
||||
| ++cmd+s++ | save session |
|
||||
| ++cmd+shift+s++ | save session as... |
|
||||
| ++cmd+o++ | open a session file |
|
||||
| ++cmd+w++ | close client |
|
||||
|
|
@ -1,156 +0,0 @@
|
|||
## Widget selection
|
||||
|
||||
Clicking on a widget, on a tab label or on an item in the project tree selects the widgets for editing:
|
||||
|
||||
- All its editable properties are shown in the inspector panel
|
||||
- The corresponding item in the project tree is highlighted
|
||||
- A selection outline is drawn around the widget
|
||||
- Dragging / Resizing handles are added to the widget
|
||||
|
||||

|
||||
|
||||
To interact with a widget directly without selecting it, either use the middle mouse button or hold ++shift+win++ (++shift+cmd++ on Mac).
|
||||
|
||||
## Menu
|
||||
|
||||
Right clicking on a widget displays a menu with the following actions
|
||||
|
||||
- `Show in tree`: show widget in project tree (hidden when clicking in the project tree)
|
||||
- `Position`:
|
||||
- `Send to back`: Send selected widget to back (first of siblings)
|
||||
- `Send farther`: Send selected widget farther
|
||||
- `Bring closer`: Bring selected widget closer
|
||||
- `Bring to front`: Bring selected widget to front (last of siblings)
|
||||
- `Copy`: copy widget's data
|
||||
- `Cut`: copy widget's data and delete selected widget
|
||||
- `Paste`: paste copied widget in selected container
|
||||
- `Paste`: paste the widget as is
|
||||
- `ID + 1` : increments the id of the copied widget (and all its children) before pasting
|
||||
- `Clone` : create a clone widget targetting the copied widget
|
||||
- `Add widget`: create a new widget in selected container
|
||||
- `Add tab`: create a new tab in selected container
|
||||
- `Export`: export as fragment file
|
||||
- `Delete`: delete selected tab or widget
|
||||
|
||||
|
||||
## Inspector
|
||||
|
||||
Selected widget's properties are displayed and can be modified in the inspector. The [properties reference](../widgets/properties-reference.md) lists the available properties for each widget type.
|
||||
|
||||
- Property fields are all multiline (press `shift + enter` for new line).
|
||||
- Properties are written in JSON, with some flexibility brought by the [JSON5](https://github.com/json5/json5) format. For example, double quotes around object keys are not mandatory.
|
||||
- Clicking on a property name spawns a help modal window
|
||||
- Properties are divided into multiple categories that can be toggled with a click. ++alt+"Click"++ on a category closes the other categories before toggling selected category.
|
||||
|
||||
Some properties (for example `onValue`) have a special code editor with syntax highlighting and many keyboard shortcuts (available by clicking on the "Help" button). In these properties, pressing `enter` will not submit pending changes but instead insert a new line at the cursor position (as you would expect in a regular editor). To submit pending changes, press ++ctrl+enter++ (or ++cmd+enter== on Mac) or click outside the editor.
|
||||
|
||||
Widgets can be locked for edition by enabling their `lock` property. When locked, a widget can't be modified by the editor but it remains possible to delete it or to move it from a container to another in the project tree.
|
||||
|
||||
## Project tree
|
||||
|
||||
The project tree displays the whole widget structure of the session. Widgets can be reordered or moved to another container with drag-and-drop.
|
||||
|
||||
The "Filter" input allows filtering displayed widgets by their `id`. It's also possible to only display a single type of widget by typing `type:fader` for example.
|
||||
|
||||
Invisible widgets are displayed with a lower opacity and their name in italic. Locked widgets are displayed with a lock icon after their name.
|
||||
|
||||
## Widget resizing / dragging
|
||||
|
||||
Selected widget can be resized using its south, south-east and east handles. It can be dragged with its north-west handle (holding ++alt++ extends this handle to the widget's size to ease dragging). If the widget's position/size was written in percents, the editor will try to keep using percents.
|
||||
|
||||
When the grid is enabled, widget resizing / dragging snaps to a 10 pixel wide grid.
|
||||
|
||||
## Multi-widgets editing
|
||||
|
||||
Multiple widgets can be edited at once.
|
||||
|
||||
- The inspector will only display properties that are shared by all selected widgets
|
||||
- Selection can only contain sibling widgets (same direct parent)
|
||||
- Context-menu actions and properties changes apply to all selected widgets
|
||||
- Resizing / Dragging will affect all selected widgets, relatively the selection's size and position
|
||||
|
||||
|
||||
## Keyboard shortcuts
|
||||
|
||||
=== "Linux / Windows"
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| ++ctrl+g++ | Toggle grid. |
|
||||
| ++ctrl+t++ | Toggle session tree. |
|
||||
| ++ctrl+i++ | Toggle inspector. |
|
||||
| ++"Click"++ | Widget selection. |
|
||||
| ++ctrl+"Click"++ | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.|
|
||||
| ++shift+"Click"+"Drag"++ | Draw a selection rectangle and attempt to select widgets in it. If ++ctrl++ is pressed too, current selection is kept and will be merged with the new one if possible. |
|
||||
| ++ctrl+z++ | Undo |
|
||||
| ++ctrl+y++ <br/>++ctrl+shift+z++ | Redo |
|
||||
| ++delete++ | Delete selected widgets |
|
||||
| ++ctrl+c++ | Copy selected widgets |
|
||||
| ++ctrl+x++ | Cut selected widgets |
|
||||
| ++ctrl+v++ | Paste clipboard in selected widget |
|
||||
| ++ctrl+shift+v++ | Paste and increment id |
|
||||
| ++ctrl+d++ | Duplicate selected widget |
|
||||
| ++ctrl+shift+d++ | Duplicate selected widget and increment id |
|
||||
| ++alt+c+"Drag"++ | Paste selection to position |
|
||||
| ++alt+c+shift+"Drag"++ | Paste selection to dragged position and increment id |
|
||||
| ++ctrl+up++ <br/>++ctrl+down++ <br/>++ctrl+left++ <br/>++ctrl+right++ | Move selected widgets (1 grid unit, hold ++shift++ for 5 grid units) |
|
||||
| ++alt+up++ <br/>++alt+down++ <br/>++alt+left++ <br/>++alt+right++ | Resize selected widgets (1 grid unit, hold ++shift++ for 5 grid units) |
|
||||
| ++ctrl+a++ | Select current widget's siblings and itself |
|
||||
| ++ctrl+shift+a++ | Cancel current widget selection |
|
||||
| ++up++ | Select current widget's previous sibling |
|
||||
| ++down++ | Select current widget's next sibling |
|
||||
| ++left++ | Select current widget's parent |
|
||||
| ++right++ | Select current widget's first child |
|
||||
| ++t++ | Show selected widget(s) in the project tree |
|
||||
| ++y++ | Show selected widget(s) in the session |
|
||||
| ++ctrl+f++ | Focus search input in project tree |
|
||||
| ++"Home"++ | Send selected widget to back |
|
||||
| ++"Page Up"++ | Send selected widget farther |
|
||||
| ++"Page Down"++ | Bring selected widget closer |
|
||||
| ++"End"++ | Bring selected widget to front |
|
||||
| ++"F2"++ | Bring "label" property input into view if selected widget has one |
|
||||
| ++h++ | Hide selection area and widget resize / drag handles while pressed |
|
||||
| ++alt+"Mousewheel"++ | change editor zoom |
|
||||
| ++ctrl+0++ | reset zoom |
|
||||
|
||||
|
||||
=== "Mac"
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| ++cmd+g++ | Toggle grid. |
|
||||
| ++cmd+t++ | Toggle session tree. |
|
||||
| ++cmd+i++ | Toggle inspector. |
|
||||
| ++"Click"++ | Widget selection. |
|
||||
| ++cmd+"Click"++ | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.|
|
||||
| ++shift+"Click"+"Drag"++ | Draw a selection rectangle and attempt to select widgets in it. If ++cmd++ is pressed too, current selection is kept and will be merged with the new one if possible. |
|
||||
| ++cmd+z++ | Undo |
|
||||
| ++cmd+y++ <br/>++cmd+shift+z++ | Redo |
|
||||
| ++backspace++ | Delete selected widgets |
|
||||
| ++cmd+c++ | Copy selected widgets |
|
||||
| ++cmd+x++ | Cut selected widgets |
|
||||
| ++cmd+v++ | Paste clipboard in selected widget |
|
||||
| ++cmd+shift+v++ | Paste and increment id |
|
||||
| ++cmd+d++ | Duplicate selected widget |
|
||||
| ++cmd+shift+d++ | Duplicate selected widget and increment id |
|
||||
| ++alt+c+"Drag"++ | Paste selection to position |
|
||||
| ++alt+c+shift+"Drag"++ | Paste selection to dragged position and increment id |
|
||||
| ++cmd+up++ <br/>++cmd+down++ <br/>++cmd+left++ <br/>++cmd+right++ | Move selected widgets (1 grid unit, hold ++shift++ for 5 grid units) |
|
||||
| ++alt+up++ <br/>++alt+down++ <br/>++alt+left++ <br/>++alt+right++ | Resize selected widgets (1 grid unit, hold ++shift++ for 5 grid units) |
|
||||
| ++cmd+a++ | Select current widget's siblings and itself |
|
||||
| ++cmd+shift+a++ | Cancel current widget selection |
|
||||
| ++up++ | Select current widget's previous sibling |
|
||||
| ++down++ | Select current widget's next sibling |
|
||||
| ++left++ | Select current widget's parent |
|
||||
| ++right++ | Select current widget's first child |
|
||||
| ++t++ | Show selected widget in the project tree |
|
||||
| ++y++ | Show selected widget(s) in the session |
|
||||
| ++cmd+f++ | Focus search input in project tree |
|
||||
| ++"Home"++ | Send selected widget to back |
|
||||
| ++"Page Up"++ | Send selected widget farther |
|
||||
| ++"Page Down"++ | Bring selected widget closer |
|
||||
| ++"End"++ | Bring selected widget to front |
|
||||
| ++"F2"++ | Bring "label" property input into view if selected widget has one |
|
||||
| ++h++ | Hide selection area and widget resize / drag handles while pressed |
|
||||
| ++alt+"Mousewheel"++ | change editor zoom |
|
||||
| ++cmd+0++ | reset zoom |
|
||||
|
|
@ -1,81 +0,0 @@
|
|||

|
||||
|
||||
## 1. Menu
|
||||
|
||||
- Start: start the server (hidden when started)
|
||||
- Stop: stop the server (hidden when stopped)
|
||||
- New window: open a new client window (hidden when stopped)
|
||||
- Load: load server configuration from file
|
||||
- Save / Save as: save server configuration to file
|
||||
- MIDI
|
||||
- List devices: list available MIDI devices in the console
|
||||
- Restart backend: restart midi backend without restarting the server
|
||||
- Console:
|
||||
- Clear: clear console
|
||||
- Autoscroll: enable/disable console autoscroll
|
||||
- Check for update at startup: enable/disable this feature
|
||||
- Launcher
|
||||
- Autostart: start the server automatically when launcher is started
|
||||
- Always on top: pin the launcher window above other the windows
|
||||
- Use tray: enable tray icon and menu
|
||||
- Start minimized: starts the launcher minimized (or hidden in tray)
|
||||
|
||||
The "play/stop" icon can be used to start and stop the server without opening the menu.
|
||||
|
||||
## 2. Configuration form
|
||||
|
||||
Each server option is displayed here. When clicking on an option's label, a short help will be printed in the console. When an option is not correctly set, its label will turn to orange and an error message will be printed in the console.
|
||||
|
||||
## 3. Console
|
||||
|
||||
The console displays various information, runtime errors and server debug messages.
|
||||
|
||||
## Tray icon
|
||||
|
||||
If `Use tray` is set, the launcher comes with a system tray icon that keeps the launcher alive when closed if there is at least one client window opened or if the server is running. Its context menu can be used to toggle the launcher's visibility and access some of the launcher's menu actions.
|
||||
|
||||
## Keyboard shortcuts
|
||||
|
||||
=== "Linux"
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| ++f5++ | start server |
|
||||
| ++f6++ | stop server |
|
||||
| ++ctrl+n++ | open new client window |
|
||||
| ++ctrl+o++ | load settings |
|
||||
| ++ctrl+s++ | save settings |
|
||||
| ++ctrl+shift+s++ | save settings as... |
|
||||
| ++ctrl+m++ | list midi devices |
|
||||
| ++ctrl+l++ | clear console |
|
||||
| ++ctrl+w++ | close window |
|
||||
|
||||
|
||||
=== "Windows"
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| ++f5++ | start server |
|
||||
| ++f6++ | stop server |
|
||||
| ++ctrl+n++ | open new client window |
|
||||
| ++ctrl+o++ | load settings |
|
||||
| ++ctrl+s++ | save settings |
|
||||
| ++ctrl+shift+s++ | save settings as... |
|
||||
| ++ctrl+m++ | list midi devices |
|
||||
| ++ctrl+l++ | clear console |
|
||||
| ++alt+f4++ | close window |
|
||||
|
||||
=== "Mac"
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| ++f5++ | start server |
|
||||
| ++f6++ | stop server |
|
||||
| ++cmd+n++ | open new client window |
|
||||
| ++cmd+o++ | load settings |
|
||||
| ++cmd+s++ | save settings |
|
||||
| ++cmd+shift+s++ | save settings as... |
|
||||
| ++cmd+m++ | list midi devices |
|
||||
| ++cmd+l++ | clear console |
|
||||
| ++cmd+w++ | close window |
|
||||
| ++cmd+q++ | quit app |
|
||||
832
resources/docs/docs/widgets-reference.md
Normal file
|
|
@ -0,0 +1,832 @@
|
|||
|
||||
|
||||
# Widget reference
|
||||
|
||||
<div class="accordion" data-category="generic" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="generic_properties"><a class="headerlink" href="#generic_properties">Generic properties</a></h3>
|
||||
<div class="accordion-description">Properties shared by all widgets</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 id="type">type<a class="headerlink" href="#type" title="Permanent link">#</a></h4> | `string` | <code>"auto"</code> | |
|
||||
| <h4 id="id">id<a class="headerlink" href="#id" title="Permanent link">#</a></h4> | `string` | <code>"auto"</code> | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. |
|
||||
| <h4 id="linkId">linkId<a class="headerlink" href="#linkId" title="Permanent link">#</a></h4> | `string`|<br/>`array` | <code>""</code> | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages.<br/><br/>When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)<br/><br/>When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending) |
|
||||
| <h4 class="thead2" id="geometry">geometry<a class="headerlink" href="#geometry" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="left">left<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#left" title="Permanent link">#</a></h4> | `number`|<br/>`string` | <code>"auto"</code> | When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation).<br/><br/>Otherwise, the widget will be absolutely positioned |
|
||||
| <h4 id="top">top<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#top" title="Permanent link">#</a></h4> | `number`|<br/>`percentage` | <code>"auto"</code> | When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation).<br/><br/>Otherwise, the widget will be absolutely positioned |
|
||||
| <h4 id="width">width<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#width" title="Permanent link">#</a></h4> | `number`|<br/>`percentage` | <code>"auto"</code> | |
|
||||
| <h4 id="height">height<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#height" title="Permanent link">#</a></h4> | `number`|<br/>`percentage` | <code>"auto"</code> | |
|
||||
| <h4 class="thead2" id="style">style<a class="headerlink" href="#style" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="label">label<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#label" title="Permanent link">#</a></h4> | `string`|<br/>`boolean` | <code>"auto"</code> | Set to `false` to hide completely<br/><br/>Insert icons using the prefix ^ followed by the icon's name : ^play, ^pause, etc (see https://fontawesome.com/icons?d=gallery&s=solid&m=free) |
|
||||
| <h4 id="color">color<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#color" title="Permanent link">#</a></h4> | `string` | <code>"auto"</code> | Defines the widget's accent color (css variable `--custom-color`). Must be a valid CSS color. Set to "auto" to inherit from parent widget. |
|
||||
| <h4 id="css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | CSS rules. See <a href="https://openstagecontrol.ammd.net/docs/css-tips/">documentation</a>. |
|
||||
| <h4 class="thead2" id="value">value<a class="headerlink" href="#value" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="default">default<a class="headerlink" href="#default" title="Permanent link">#</a></h4> | `*` | <code>""</code> | If set, the widget will be initialized with this value when the session is loaded. |
|
||||
| <h4 id="value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#value" title="Permanent link">#</a></h4> | `*` | <code>""</code> | Define the widget's value depending on other widget's values / properties using property inheritance and property maths |
|
||||
| <h4 class="thead2" id="osc">osc<a class="headerlink" href="#osc" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="precision">precision<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#precision" title="Permanent link">#</a></h4> | `integer`|<br/>`string` | <code>2</code> | Defines the number of decimals to display and to send.<br/><br/>Set to `0` to send integers only.<br/><br/>Data type can be specified by appending a valid osc type tag to the precision value, for example : `3d` will make the widget send double precision numbers rounded to three decimals |
|
||||
| <h4 id="address">address<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#address" title="Permanent link">#</a></h4> | `string` | <code>"auto"</code> | OSC address for sending messages, it must start with a / |
|
||||
| <h4 id="preArgs">preArgs<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#preArgs" title="Permanent link">#</a></h4> | `*`|<br/>`array` | <code>""</code> | A value or array of values that will be prepended to the OSC messages.<br/><br/>Values can be defined as objects if the osc type tag needs to be specified: `{type: "i", value: 1}` |
|
||||
| <h4 id="target">target<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#target" title="Permanent link">#</a></h4> | `string`|<br/>`array`|<br/>`null` | <code>""</code> | This defines the targets of the widget's OSC messages<br/>- A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`<br/>- If midi is enabled, targets can be `midi:device_name`<br/>- The special item `"self"` can be used to refer to the emitting client directly.<br/>- If no target is set, messages can still be sent if the server has default targets<br/>- The server's default targets can be bypassed by setting one of the items to `null` |
|
||||
| <h4 id="bypass">bypass<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#bypass" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to prevent the widget from sending any osc message |</div>
|
||||
|
||||
## Sliders
|
||||
|
||||
|
||||
<div class="accordion" data-category="Sliders" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="fader"><a class="headerlink" href="#fader">fader</a></h3>
|
||||
<div class="accordion-description">Vertical / horizontal slider.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="fader_style">style<a class="headerlink" href="#fader_style" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="fader_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#fader_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-gauge: color;`<br/>- `--color-knob: color;`<br/>- `--color-pips: color;`<br/>- `--gauge-opacity: number;`<br/>- `--gauge-width: number;` (2-16, requires a manual resize to take effect) |
|
||||
| <h4 class="thead2" id="fader_fader">fader<a class="headerlink" href="#fader_fader" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="fader_horizontal">horizontal<a class="headerlink" href="#fader_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the fader horizontally |
|
||||
| <h4 id="fader_alignRight">alignRight<a class="headerlink" href="#fader_alignRight" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to invert the pip's and fader's position |
|
||||
| <h4 id="fader_pips">pips<a class="headerlink" href="#fader_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
| <h4 id="fader_input">input<a class="headerlink" href="#fader_input" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the built-in input |
|
||||
| <h4 id="fader_meter">meter<a class="headerlink" href="#fader_meter" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to true to display a vu-meter next in the fader<br/>- the meter's `id` will be the same as the widget's with `/meter` appended to it<br/>- the meter's `address` will be the same as the widget's with `/meter` appended to it |
|
||||
| <h4 id="fader_compact">compact<a class="headerlink" href="#fader_compact" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a compact alternative for the widget. If `input` is `true`, the input can be focused with a right-click (mouse only). Disables `pips` when enabled. |
|
||||
| <h4 id="fader_dashed">dashed<a class="headerlink" href="#fader_dashed" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a dashed gauge |
|
||||
| <h4 id="fader_snap">snap<a class="headerlink" href="#fader_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
|
||||
| <h4 id="fader_spring">spring<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#fader_spring" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its `default` value when released |
|
||||
| <h4 id="fader_doubleTap">doubleTap<a class="headerlink" href="#fader_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the fader reset to its `default` value when receiving a double tap.<br/><br/>Can also be an osc address, in which case the widget will just send an osc message (`/<doubleTap> <preArgs>`) |
|
||||
| <h4 id="fader_range">range<a class="headerlink" href="#fader_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the breakpoints of the fader's scale:<br/>- keys can be percentages and/or `min` / `max`<br/>- values can be `number` or `object` if a custom label is needed<br/><br/>Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) |
|
||||
| <h4 id="fader_logScale">logScale<a class="headerlink" href="#fader_logScale" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale (base 10). Set to a `number` to define the logarithm's base. |
|
||||
| <h4 id="fader_sensitivity">sensitivity<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#fader_sensitivity" title="Permanent link">#</a></h4> | `number` | <code>1</code> | Defines the fader's sensitivity when `snap` is `false` |
|
||||
| <h4 id="fader_steps">steps<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#fader_steps" title="Permanent link">#</a></h4> | `string`|<br/>`number`|<br/>`array` | <code>""</code> | Restricts the widget's value:<br/>- `auto`: use values defined in `range`<br/>- `number`: define a number of evenly spaced steps<br/>- `array`: use arbitrary values |
|
||||
| <h4 id="fader_unit">unit<a class="headerlink" href="#fader_unit" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
|
||||
| <h4 id="fader_origin">origin<a class="headerlink" href="#fader_origin" title="Permanent link">#</a></h4> | `number` | <code>"auto"</code> | Defines the starting point's value of the fader's gauge |
|
||||
| <h4 class="thead2" id="fader_osc">osc<a class="headerlink" href="#fader_osc" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="fader_touchAddress">touchAddress<a class="headerlink" href="#fader_touchAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
|
||||
| <h4 id="fader_meterAddress">meterAddress<a class="headerlink" href="#fader_meterAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | OSC address for the built-in meter |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Sliders" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="knob"><a class="headerlink" href="#knob">knob</a></h3>
|
||||
<div class="accordion-description">Rotative knob slider.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="knob_style">style<a class="headerlink" href="#knob_style" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="knob_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#knob_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-gauge: color;`<br/>- `--color-knob: color;`<br/>- `--color-pips: color;` |
|
||||
| <h4 class="thead2" id="knob_knob">knob<a class="headerlink" href="#knob_knob" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="knob_pips">pips<a class="headerlink" href="#knob_pips" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to show the scale's breakpoints |
|
||||
| <h4 id="knob_input">input<a class="headerlink" href="#knob_input" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the built-in input |
|
||||
| <h4 id="knob_compact">compact<a class="headerlink" href="#knob_compact" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a compact alternative for the widget. If `input` is `true`, the input can be focused with a right-click (mouse only). Disables `pips` when enabled. |
|
||||
| <h4 id="knob_dashed">dashed<a class="headerlink" href="#knob_dashed" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a dashed gauge |
|
||||
| <h4 id="knob_angle">angle<a class="headerlink" href="#knob_angle" title="Permanent link">#</a></h4> | `number` | <code>270</code> | Defines the angle's width of the knob, in degrees |
|
||||
| <h4 id="knob_snap">snap<a class="headerlink" href="#knob_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
|
||||
| <h4 id="knob_spring">spring<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#knob_spring" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its `default` value when released |
|
||||
| <h4 id="knob_doubleTap">doubleTap<a class="headerlink" href="#knob_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the knob reset to its `default` value when receiving a double tap.<br/><br/>Can also be an osc address, in which case the widget will just send an osc message (`/<doubleTap> <preArgs>`) |
|
||||
| <h4 id="knob_range">range<a class="headerlink" href="#knob_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the breakpoints of the fader's scale:<br/>- keys can be percentages and/or `min` / `max`<br/>- values can be `number` or `object` if a custom label is needed<br/><br/>Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) |
|
||||
| <h4 id="knob_logScale">logScale<a class="headerlink" href="#knob_logScale" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale (base 10). Set to a `number` to define the logarithm's base. |
|
||||
| <h4 id="knob_sensitivity">sensitivity<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#knob_sensitivity" title="Permanent link">#</a></h4> | `number` | <code>1</code> | Defines the knob's sensitivity when `snap` is `false` |
|
||||
| <h4 id="knob_steps">steps<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#knob_steps" title="Permanent link">#</a></h4> | `string`|<br/>`number`|<br/>`array` | <code>""</code> | Restricts the widget's value:<br/>- `auto`: use values defined in `range`<br/>- `number`: define a number of evenly spaced steps<br/>- `array`: use arbitrary values |
|
||||
| <h4 id="knob_unit">unit<a class="headerlink" href="#knob_unit" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
|
||||
| <h4 id="knob_origin">origin<a class="headerlink" href="#knob_origin" title="Permanent link">#</a></h4> | `number` | <code>"auto"</code> | Defines the starting point's value of the knob's gauge |
|
||||
| <h4 class="thead2" id="knob_osc">osc<a class="headerlink" href="#knob_osc" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="knob_touchAddress">touchAddress<a class="headerlink" href="#knob_touchAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Sliders" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="encoder"><a class="headerlink" href="#encoder">encoder</a></h3>
|
||||
<div class="accordion-description">A knob that sends a relative direction infomation instead of an absolute value.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="encoder_encoder">encoder<a class="headerlink" href="#encoder_encoder" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="encoder_compact">compact<a class="headerlink" href="#encoder_compact" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a compact alternative for the widget. |
|
||||
| <h4 id="encoder_ticks">ticks<a class="headerlink" href="#encoder_ticks" title="Permanent link">#</a></h4> | `number` | <code>360</code> | defines the granularity / verbosity of the encoder (number of step for a 360° arc) |
|
||||
| <h4 id="encoder_back">back<a class="headerlink" href="#encoder_back" title="Permanent link">#</a></h4> | `*` | <code>-1</code> | Defines which value is sent when rotating the encoder anticlockwise |
|
||||
| <h4 id="encoder_forth">forth<a class="headerlink" href="#encoder_forth" title="Permanent link">#</a></h4> | `*` | <code>1</code> | Defines which value is sent when rotating the encoder clockwise |
|
||||
| <h4 id="encoder_release">release<a class="headerlink" href="#encoder_release" title="Permanent link">#</a></h4> | `number` | <code>""</code> | Defines which value is sent when releasing the encoder:<br/>- Set to `null` to send send no argument in the osc message<br/>- Can be an `object` if the type needs to be specified |
|
||||
| <h4 id="encoder_snap">snap<a class="headerlink" href="#encoder_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
|
||||
| <h4 id="encoder_doubleTap">doubleTap<a class="headerlink" href="#encoder_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the fader reset to its `default` value when receiving a double tap.<br/><br/>Can also be an osc address, in which case the widget will just send an osc message (`/<doubleTap> <preArgs>`) |
|
||||
| <h4 class="thead2" id="encoder_osc">osc<a class="headerlink" href="#encoder_osc" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="encoder_touchAddress">touchAddress<a class="headerlink" href="#encoder_touchAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Sliders" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="range"><a class="headerlink" href="#range">range</a></h3>
|
||||
<div class="accordion-description">A fader with two heads for setting a range.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="range_style">style<a class="headerlink" href="#range_style" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="range_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#range_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-gauge: color;`<br/>- `--color-knob: color;`<br/>- `--color-pips: color;`<br/>- `--gauge-opacity: number;` |
|
||||
| <h4 class="thead2" id="range_range">range<a class="headerlink" href="#range_range" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="range_range">range<a class="headerlink" href="#range_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | See fader's `range` |
|
||||
| <h4 id="range_horizontal">horizontal<a class="headerlink" href="#range_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `horizontal` |
|
||||
| <h4 id="range_alignRight">alignRight<a class="headerlink" href="#range_alignRight" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `alignRight` |
|
||||
| <h4 id="range_input">input<a class="headerlink" href="#range_input" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | See fader's `input` |
|
||||
| <h4 id="range_compact">compact<a class="headerlink" href="#range_compact" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `compact` |
|
||||
| <h4 id="range_pips">pips<a class="headerlink" href="#range_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | See fader's `pips` |
|
||||
| <h4 id="range_snap">snap<a class="headerlink" href="#range_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `snap` |
|
||||
| <h4 id="range_spring">spring<a class="headerlink" href="#range_spring" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `spring` |
|
||||
| <h4 id="range_logScale">logScale<a class="headerlink" href="#range_logScale" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `logScale` |
|
||||
| <h4 id="range_sensitivity">sensitivity<a class="headerlink" href="#range_sensitivity" title="Permanent link">#</a></h4> | `number` | <code>1</code> | See fader's `sensitivity` |
|
||||
| <h4 class="thead2" id="range_osc">osc<a class="headerlink" href="#range_osc" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="range_touchAddress">touchAddress<a class="headerlink" href="#range_touchAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | See fader's `touchAddress` |
|
||||
| <h4 id="range_split">split<a class="headerlink" href="#range_split" title="Permanent link">#</a></h4> | `boolean`|<br/>`object` | <code>false</code> | Set to `true` to send separate osc messages for `low` and `high` handles. The `address` will be the same as the widget's with `/low` or `/high` appended to it<br/><br/>Can be set as an object to specify a different `address` : `['/osc_address_low', '/osc_address_high']`<br/><br/>Note: the widget will only respond to its original osc address, not to the splitted version |</div>
|
||||
|
||||
|
||||
|
||||
## Buttons
|
||||
|
||||
|
||||
<div class="accordion" data-category="Buttons" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="toggle"><a class="headerlink" href="#toggle">toggle</a></h3>
|
||||
<div class="accordion-description">On / off button.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="toggle_toggle">toggle<a class="headerlink" href="#toggle_toggle" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="toggle_doubleTap">doubleTap<a class="headerlink" href="#toggle_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the button require a double tap to be toggled instead of a single tap |
|
||||
| <h4 id="toggle_led">led<a class="headerlink" href="#toggle_led" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the toggle's state with a led |
|
||||
| <h4 id="toggle_on">on<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#toggle_on" title="Permanent link">#</a></h4> | `*` | <code>1</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
| <h4 id="toggle_off">off<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#toggle_off" title="Permanent link">#</a></h4> | `*` | <code>0</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Buttons" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="push"><a class="headerlink" href="#push">push</a></h3>
|
||||
<div class="accordion-description">On / off button that turns off when released.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="push_push">push<a class="headerlink" href="#push_push" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="push_doubleTap">doubleTap<a class="headerlink" href="#push_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the button require a double tap to be pushed instead of a single tap |
|
||||
| <h4 id="push_on">on<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#push_on" title="Permanent link">#</a></h4> | `*` | <code>1</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
| <h4 id="push_off">off<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#push_off" title="Permanent link">#</a></h4> | `*` | <code>0</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
| <h4 id="push_norelease">norelease<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#push_norelease" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to prevent sending any osc message when releasing the button |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Buttons" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="switch"><a class="headerlink" href="#switch">switch</a></h3>
|
||||
<div class="accordion-description">Value selector button.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="switch_switch">switch<a class="headerlink" href="#switch_switch" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="switch_horizontal">horizontal<a class="headerlink" href="#switch_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display values horizontally |
|
||||
| <h4 id="switch_showValues">showValues<a class="headerlink" href="#switch_showValues" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | If values is an object, set to `true` to display both values and labels instead of labels only |
|
||||
| <h4 id="switch_values">values<a class="headerlink" href="#switch_values" title="Permanent link">#</a></h4> | `array`|<br/>`object` | <code>\{<br/> "Value 1": 1,<br/> "Value 2": 2<br/>}</code> | `Array` of possible values to switch between : `[1,2,3]`<br/><br/>`Object` of `"label":value` pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept |
|
||||
| <h4 id="switch_traversing">traversing<a class="headerlink" href="#switch_traversing" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable traversing gestures |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Buttons" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="dropdown"><a class="headerlink" href="#dropdown">dropdown</a></h3>
|
||||
<div class="accordion-description">Native dropdown menu.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="dropdown_dropdown">dropdown<a class="headerlink" href="#dropdown_dropdown" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="dropdown_values">values<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#dropdown_values" title="Permanent link">#</a></h4> | `array`|<br/>`object` | <code>\{<br/> "Value 1": 1,<br/> "Value 2": 2<br/>}</code> | `Array` of possible values to switch between : `[1,2,3]`<br/><br/>`Object` of label:value pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept<br/><br/>An empty option will always be prepended to values (sends an osc message without any value); it can be hidden by adding `option:first-child{display:none}` to the widget's `css` |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Buttons" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="menu"><a class="headerlink" href="#menu">menu</a></h3>
|
||||
<div class="accordion-description">Drag and drop menu with a circular or grid layout.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="menu_menu">menu<a class="headerlink" href="#menu_menu" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="menu_size">size<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#menu_size" title="Permanent link">#</a></h4> | `number`|<br/>`array` | <code>200</code> | - If `circular` is `true`: diameter (in px)<br/>- If `circular` is `false`: square size or `[width, height]` array |
|
||||
| <h4 id="menu_circular">circular<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#menu_circular" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Defines whether the menu should be rendered in a circle or in a box |
|
||||
| <h4 id="menu_vertical">vertical<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#menu_vertical" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | If `circular` is `false`, set this to `true` for vertical layout<br/><br/>Ignored when `grid` is `true` |
|
||||
| <h4 id="menu_grid">grid<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#menu_grid" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | - If `circular` is `false`, set this to `true` for grid layout<br/>- Can be a `number` to define the number of columns |
|
||||
| <h4 id="menu_toggle">toggle<a class="headerlink" href="#menu_toggle" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the menu stay opened after mouse/touch release |
|
||||
| <h4 id="menu_doubleTap">doubleTap<a class="headerlink" href="#menu_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the menu require a double tap to be opened instead of a single tap |
|
||||
| <h4 id="menu_values">values<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#menu_values" title="Permanent link">#</a></h4> | `array`|<br/>`object` | <code>\{<br/> "Value 1": 1,<br/> "Value 2": 2<br/>}</code> | `Array` of possible values to switch between : `[1,2,3]`<br/><br/>`Object` of label:value pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept |
|
||||
| <h4 id="menu_weights">weights<a class="headerlink" href="#menu_weights" title="Permanent link">#</a></h4> | `array` | <code>""</code> | `Array` of `number` defining the weights of each value in `values`<br/><br/>Ignored when `grid` is `true` |</div>
|
||||
|
||||
|
||||
|
||||
## Pads
|
||||
|
||||
|
||||
<div class="accordion" data-category="Pads" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="xy"><a class="headerlink" href="#xy">xy</a></h3>
|
||||
<div class="accordion-description">Two-dimensional slider.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="xy_style">style<a class="headerlink" href="#xy_style" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="xy_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#xy_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--background: background;`: sets the dragging area's background<br/>- `--pips-color: color;`<br/>- `--pips-opacity: number;`<br/>- `--point-opacity: number;` |
|
||||
| <h4 class="thead2" id="xy_xy">xy<a class="headerlink" href="#xy_xy" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="xy_pointSize">pointSize<a class="headerlink" href="#xy_pointSize" title="Permanent link">#</a></h4> | `integer` | <code>20</code> | Defines the points' size |
|
||||
| <h4 id="xy_snap">snap<a class="headerlink" href="#xy_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | By default, the points are dragged from their initial position.<br/><br/>If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates |
|
||||
| <h4 id="xy_spring">spring<a class="headerlink" href="#xy_spring" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its default value when released |
|
||||
| <h4 id="xy_pips">pips<a class="headerlink" href="#xy_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
| <h4 id="xy_rangeX">rangeX<a class="headerlink" href="#xy_rangeX" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the x axis |
|
||||
| <h4 id="xy_rangeY">rangeY<a class="headerlink" href="#xy_rangeY" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h4 id="xy_logScaleX">logScaleX<a class="headerlink" href="#xy_logScaleX" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm's base. |
|
||||
| <h4 id="xy_logScaleY">logScaleY<a class="headerlink" href="#xy_logScaleY" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. |
|
||||
| <h4 id="xy_input">input<a class="headerlink" href="#xy_input" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to false to hide the built-in input widget |
|
||||
| <h4 id="xy_doubleTap">doubleTap<a class="headerlink" href="#xy_doubleTap" title="Permanent link">#</a></h4> | `boolean`|<br/>`string` | <code>false</code> | Set to `true` to make the fader reset to its default value when receiving a double tap.<br/><br/>Can also be an osc address, which case the widget will just send an osc message: `/<doubleTap> <preArgs>` |
|
||||
| <h4 id="xy_sensitivity">sensitivity<a class="headerlink" href="#xy_sensitivity" title="Permanent link">#</a></h4> | `number` | <code>1</code> | Defines the pad's sensitivity when `snap` is `false` |
|
||||
| <h4 class="thead2" id="xy_osc">osc<a class="headerlink" href="#xy_osc" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="xy_touchAddress">touchAddress<a class="headerlink" href="#xy_touchAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1`) |
|
||||
| <h4 id="xy_split">split<a class="headerlink" href="#xy_split" title="Permanent link">#</a></h4> | `boolean`|<br/>`object` | <code>false</code> | Set to `true` to send separate osc messages for each point's x and y axis. The address will be the same as the widget's with `/x` or `/y` appended to it<br/><br/>Can be set as an `object` to specify a different address : ['/osc_address_x', '/osc_address_y']<br/><br/>Note: the widget will only respond to its original osc address, not to the splitted version |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Pads" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="rgb"><a class="headerlink" href="#rgb">rgb</a></h3>
|
||||
<div class="accordion-description">Color picker with optional alpha slider.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="rgb_rgb">rgb<a class="headerlink" href="#rgb_rgb" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="rgb_snap">snap<a class="headerlink" href="#rgb_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | By default, the points are dragged from their initial position.<br/><br/>If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates |
|
||||
| <h4 id="rgb_spring">spring<a class="headerlink" href="#rgb_spring" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its default value when released |
|
||||
| <h4 id="rgb_range">range<a class="headerlink" href="#rgb_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 255<br/>}</code> | Defines the widget's output scale. |
|
||||
| <h4 id="rgb_input">input<a class="headerlink" href="#rgb_input" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the built-in input widget |
|
||||
| <h4 id="rgb_alpha">alpha<a class="headerlink" href="#rgb_alpha" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to enable alpha channel |
|
||||
| <h4 class="thead2" id="rgb_osc">osc<a class="headerlink" href="#rgb_osc" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="rgb_split">split<a class="headerlink" href="#rgb_split" title="Permanent link">#</a></h4> | `boolean`|<br/>`object` | <code>false</code> | Set to `true` to send separate osc messages for for r and g & b. The address will be the same as the widget's with `/r`, `/g` or `/b` appended to it<br/><br/>Can be set as an `object` to specify a different address : `['/r', '/g', 'b']`<br/><br/>Note: the widget will only respond to its original osc address, not to the splitted version |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Pads" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="multixy"><a class="headerlink" href="#multixy">multixy</a></h3>
|
||||
<div class="accordion-description">Multi-point XY pad.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="multixy_style">style<a class="headerlink" href="#multixy_style" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="multixy_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#multixy_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--background: background;`: sets the dragging area's background<br/>- `--pips-color: color;`<br/>- `--pips-opacity: number;`<br/>- `--color-text: point-color;`<br/><br/>Pads can be targetted individually with the .pad-X selector (where X is the pad's index) |
|
||||
| <h4 class="thead2" id="multixy_multi xy">multi xy<a class="headerlink" href="#multixy_multi xy" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="multixy_points">points<a class="headerlink" href="#multixy_points" title="Permanent link">#</a></h4> | `integer`|<br/>`array` | <code>2</code> | Defines the number of points on the pad<br/><br/>Can be an array of strings that will be used as labels for the points (ex: `['A', 'B']`) |
|
||||
| <h4 class="thead2" id="multixy_xy">xy<a class="headerlink" href="#multixy_xy" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="multixy_pointSize">pointSize<a class="headerlink" href="#multixy_pointSize" title="Permanent link">#</a></h4> | `integer` | <code>20</code> | Defines the points' size |
|
||||
| <h4 id="multixy_snap">snap<a class="headerlink" href="#multixy_snap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | By default, the points are dragged from their initial position.<br/><br/>If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates |
|
||||
| <h4 id="multixy_spring">spring<a class="headerlink" href="#multixy_spring" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its default value when released |
|
||||
| <h4 id="multixy_pips">pips<a class="headerlink" href="#multixy_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
| <h4 id="multixy_rangeX">rangeX<a class="headerlink" href="#multixy_rangeX" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the x axis |
|
||||
| <h4 id="multixy_rangeY">rangeY<a class="headerlink" href="#multixy_rangeY" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h4 id="multixy_logScaleX">logScaleX<a class="headerlink" href="#multixy_logScaleX" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm's base. |
|
||||
| <h4 id="multixy_logScaleY">logScaleY<a class="headerlink" href="#multixy_logScaleY" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. |
|
||||
| <h4 id="multixy_sensitivity">sensitivity<a class="headerlink" href="#multixy_sensitivity" title="Permanent link">#</a></h4> | `number` | <code>1</code> | Defines the pad's sensitivity when `snap` is `false` |
|
||||
| <h4 class="thead2" id="multixy_osc">osc<a class="headerlink" href="#multixy_osc" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="multixy_touchAddress">touchAddress<a class="headerlink" href="#multixy_touchAddress" title="Permanent link">#</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
|
||||
| <h4 id="multixy_split">split<a class="headerlink" href="#multixy_split" title="Permanent link">#</a></h4> | `boolean`|<br/>`object` | <code>false</code> | Set to `true` to send separate osc messages for each point's x and y axis. The address will be the same as the widget's with `/N/x` or `/N/y` appended to it, where N is the point's id (or the point's label if points is an array)<br/><br/>Can be set as an `object` to specify a different address : `['/0/x', '/0/y', '/1/x', '/2/y']`<br/><br/>Note: the widget will only respond to its original osc address, not to the splitted version |</div>
|
||||
|
||||
|
||||
|
||||
## Matrices
|
||||
|
||||
|
||||
<div class="accordion" data-category="Matrices" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="matrix"><a class="headerlink" href="#matrix">matrix</a></h3>
|
||||
<div class="accordion-description">Generic matrix for creating rows/columns of widgets.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="matrix_matrix">matrix<a class="headerlink" href="#matrix_matrix" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="matrix_widgetType">widgetType<a class="headerlink" href="#matrix_widgetType" title="Permanent link">#</a></h4> | `string` | <code>"toggle"</code> | Defines the type of the widgets in the matrix |
|
||||
| <h4 id="matrix_matrix">matrix<a class="headerlink" href="#matrix_matrix" title="Permanent link">#</a></h4> | `array` | <code>[<br/> 2,<br/> 2<br/>]</code> | Defines the number of columns and and rows in the matrix |
|
||||
| <h4 id="matrix_start">start<a class="headerlink" href="#matrix_start" title="Permanent link">#</a></h4> | `integer` | <code>0</code> | First widget's index |
|
||||
| <h4 id="matrix_spacing">spacing<a class="headerlink" href="#matrix_spacing" title="Permanent link">#</a></h4> | `integer` | <code>0</code> | Adds space between widgets |
|
||||
| <h4 id="matrix_traversing">traversing<a class="headerlink" href="#matrix_traversing" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable traversing gestures |
|
||||
| <h4 id="matrix_border">border<a class="headerlink" href="#matrix_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disables the widgets' borders |
|
||||
| <h4 id="matrix_props">props<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#matrix_props" title="Permanent link">#</a></h4> | `object` | <code>\{}</code> | Defines a set of property to override the widgets' defaults.<br/><br/>Formulas in this field are resolved with an extra variable representing each widget's index: `$`<br/><br/>Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Matrices" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="keyboard"><a class="headerlink" href="#keyboard">keyboard</a></h3>
|
||||
<div class="accordion-description">Piano keyboard.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="keyboard_style">style<a class="headerlink" href="#keyboard_style" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="keyboard_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#keyboard_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-white:color;` (white keys color)<br/>- `--color-black:color;` (black keys color) |
|
||||
| <h4 class="thead2" id="keyboard_matrix">matrix<a class="headerlink" href="#keyboard_matrix" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="keyboard_keys">keys<a class="headerlink" href="#keyboard_keys" title="Permanent link">#</a></h4> | `number` | <code>25</code> | Defines the number keys |
|
||||
| <h4 id="keyboard_start">start<a class="headerlink" href="#keyboard_start" title="Permanent link">#</a></h4> | `number` | <code>48</code> | MIDI note number to start with (default is C4)<br/><br/>Standard keyboards settings are: `[25, 48]`, `[49, 36]`, `[61, 36]`, `[88, 21]` |
|
||||
| <h4 id="keyboard_traversing">traversing<a class="headerlink" href="#keyboard_traversing" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable traversing gestures |
|
||||
| <h4 id="keyboard_on">on<a class="headerlink" href="#keyboard_on" title="Permanent link">#</a></h4> | `*` | <code>1</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
| <h4 id="keyboard_off">off<a class="headerlink" href="#keyboard_off" title="Permanent link">#</a></h4> | `*` | <code>0</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
| <h4 id="keyboard_toggles">toggles<a class="headerlink" href="#keyboard_toggles" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make keys bahave like toggle buttons |
|
||||
| <h4 class="thead2" id="keyboard_osc">osc<a class="headerlink" href="#keyboard_osc" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="keyboard_split">split<a class="headerlink" href="#keyboard_split" title="Permanent link">#</a></h4> | `boolean`|<br/>`string` | <code>false</code> | `true`: the widget's index will be appended to the matrice's osc address<br/><br/>`false`: it will be prepended to the widget's preArgs<br/><br/>`string`: will be used to define the widgets' addresses, replacing dollar signs (`$`) with their respective index (to insert the actual dollar sign, it must be escaped with a backslash (`\$`)) |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Matrices" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="patchbay"><a class="headerlink" href="#patchbay">patchbay</a></h3>
|
||||
<div class="accordion-description">Connect inputs to outputs.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="patchbay_style">style<a class="headerlink" href="#patchbay_style" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="patchbay_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#patchbay_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | The inputs/ouputs width can be adjusted by using the `.nodes` selector:<br/><br/>`.nodes { width: 25% }` |
|
||||
| <h4 class="thead2" id="patchbay_patchbay">patchbay<a class="headerlink" href="#patchbay_patchbay" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="patchbay_inputs">inputs<a class="headerlink" href="#patchbay_inputs" title="Permanent link">#</a></h4> | `array`|<br/>`object` | <code>[<br/> "input_1",<br/> "input_2"<br/>]</code> | - `Array` of input names : `['input_1', 'input_2']`<br/>- `Object` of `"label_1": "input_1"` pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept<br/><br/><br/><br/>Patchbay inputs can be connected to one or more outputs and will send messages of the following form when they are connected/disconnected: <br/><br/>`/patchbay_address input_x output_x output_y etc`<br/><br/>If no output is connected to the input, the message will be `/patchbay_address input_x`<br/><br/>The inputs values can be consumed with the property inheritance syntax: `@{patchbay_id/input_1}` returns an array of output names connected to `input_1` |
|
||||
| <h4 id="patchbay_outputs">outputs<a class="headerlink" href="#patchbay_outputs" title="Permanent link">#</a></h4> | `array`|<br/>`object` | <code>[<br/> "output_1",<br/> "output_2"<br/>]</code> | List of output values the inputs can connect to (see `inputs`). |</div>
|
||||
|
||||
|
||||
|
||||
## Plots
|
||||
|
||||
|
||||
<div class="accordion" data-category="Plots" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="plot"><a class="headerlink" href="#plot">plot</a></h3>
|
||||
<div class="accordion-description">XY coordinates plot.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="plot_plot">plot<a class="headerlink" href="#plot_plot" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="plot_rangeX">rangeX<a class="headerlink" href="#plot_rangeX" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the x axis |
|
||||
| <h4 id="plot_rangeY">rangeY<a class="headerlink" href="#plot_rangeY" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h4 id="plot_logScaleX">logScaleX<a class="headerlink" href="#plot_logScaleX" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm's base. |
|
||||
| <h4 id="plot_logScaleY">logScaleY<a class="headerlink" href="#plot_logScaleY" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. |
|
||||
| <h4 id="plot_origin">origin<a class="headerlink" href="#plot_origin" title="Permanent link">#</a></h4> | `number` | <code>"auto"</code> | Defines the y axis origin. Set to `false` to disable it. |
|
||||
| <h4 id="plot_dots">dots<a class="headerlink" href="#plot_dots" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | |
|
||||
| <h4 id="plot_bars">bars<a class="headerlink" href="#plot_bars" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) |
|
||||
| <h4 id="plot_smooth">smooth<a class="headerlink" href="#plot_smooth" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
|
||||
| <h4 id="plot_pips">pips<a class="headerlink" href="#plot_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
| <h4 class="thead2" id="plot_value">value<a class="headerlink" href="#plot_value" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="plot_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#plot_value" title="Permanent link">#</a></h4> | `array`|<br/>`string` | <code>""</code> | - `Array` of `y` values<br/>- `Array` of `[x, y]` `array` values<br/>- `String` `array`<br/>- `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Plots" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="eq"><a class="headerlink" href="#eq">eq</a></h3>
|
||||
<div class="accordion-description">Draws frequency response between from from an array of filter objects.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="eq_eq">eq<a class="headerlink" href="#eq_eq" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="eq_pips">pips<a class="headerlink" href="#eq_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to false to hide the scale |
|
||||
| <h4 id="eq_resolution">resolution<a class="headerlink" href="#eq_resolution" title="Permanent link">#</a></h4> | `number` | <code>128</code> | Defines the number of points used to compute the frequency response |
|
||||
| <h4 id="eq_rangeY">rangeY<a class="headerlink" href="#eq_rangeY" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h4 id="eq_origin">origin<a class="headerlink" href="#eq_origin" title="Permanent link">#</a></h4> | `number`|<br/>`boolean` | <code>"auto"</code> | Defines the y axis origin. Set to `false` to disable it |
|
||||
| <h4 id="eq_logScaleX">logScaleX<a class="headerlink" href="#eq_logScaleX" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm's base. |
|
||||
| <h4 id="eq_smooth">smooth<a class="headerlink" href="#eq_smooth" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
|
||||
| <h4 class="thead2" id="eq_value">value<a class="headerlink" href="#eq_value" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="eq_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#eq_value" title="Permanent link">#</a></h4> | `array` | <code>""</code> | Each item must be an object with the following properties<br/>- `type`: string ("highpass", "highshelf", "lowpass", "lowshelf", "peak" or "notch")<br/>- `freq`: number (filter's resonant frequency)<br/>- `q`: number (Q factor)<br/>- `gain`: number<br/>- `on`: boolean |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Plots" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="visualizer"><a class="headerlink" href="#visualizer">visualizer</a></h3>
|
||||
<div class="accordion-description">Display its value over time.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="visualizer_visualizer">visualizer<a class="headerlink" href="#visualizer_visualizer" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="visualizer_duration">duration<a class="headerlink" href="#visualizer_duration" title="Permanent link">#</a></h4> | `number` | <code>1</code> | Defines visualization duration in seconds |
|
||||
| <h4 id="visualizer_range">range<a class="headerlink" href="#visualizer_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h4 id="visualizer_origin">origin<a class="headerlink" href="#visualizer_origin" title="Permanent link">#</a></h4> | `number` | <code>"auto"</code> | Defines the y axis origin. Set to `false` to disable it |
|
||||
| <h4 id="visualizer_logScale">logScale<a class="headerlink" href="#visualizer_logScale" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. |
|
||||
| <h4 id="visualizer_smooth">smooth<a class="headerlink" href="#visualizer_smooth" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
|
||||
| <h4 id="visualizer_pips">pips<a class="headerlink" href="#visualizer_pips" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Plots" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="led"><a class="headerlink" href="#led">led</a></h3>
|
||||
<div class="accordion-description">Intensity display.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="led_led">led<a class="headerlink" href="#led_led" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="led_range">range<a class="headerlink" href="#led_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Value to led intensity mapping range |
|
||||
| <h4 id="led_logScale">logScale<a class="headerlink" href="#led_logScale" title="Permanent link">#</a></h4> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale (base 10). Set to a `number` to define the logarithm's base. |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Plots" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="rgbled"><a class="headerlink" href="#rgbled">rgbled</a></h3>
|
||||
<div class="accordion-description">Rgb / rgba color display</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="rgbled_value">value<a class="headerlink" href="#rgbled_value" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="rgbled_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#rgbled_value" title="Permanent link">#</a></h4> | `array`|<br/>`string` | <code>""</code> | - `Array`: `[r, g, b]` (`r`, `g` and `b` between `0` and `255`)<br/>- `Array`: `[r, g, b, alpha]` (`alpha` between `0` and `255`)<br/>- `String`: CSS color |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Plots" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="meter"><a class="headerlink" href="#meter">meter</a></h3>
|
||||
<div class="accordion-description">Non-interactable fader.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="meter_style">style<a class="headerlink" href="#meter_style" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="meter_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#meter_css" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-gauge: color;`<br/>- `--color-knob: color;`<br/>- `--color-pips: color;`<br/>- `--gauge-opacity: number;` |
|
||||
| <h4 class="thead2" id="meter_meter">meter<a class="headerlink" href="#meter_meter" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="meter_range">range<a class="headerlink" href="#meter_range" title="Permanent link">#</a></h4> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | See fader's `range` |
|
||||
| <h4 id="meter_logScale">logScale<a class="headerlink" href="#meter_logScale" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `logScale` |
|
||||
| <h4 id="meter_origin">origin<a class="headerlink" href="#meter_origin" title="Permanent link">#</a></h4> | `number` | <code>"auto"</code> | See fader's `origin` |
|
||||
| <h4 id="meter_unit">unit<a class="headerlink" href="#meter_unit" title="Permanent link">#</a></h4> | `string` | <code>"auto"</code> | See fader's `unit` |
|
||||
| <h4 id="meter_alignRight">alignRight<a class="headerlink" href="#meter_alignRight" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `alignRight` |
|
||||
| <h4 id="meter_horizontal">horizontal<a class="headerlink" href="#meter_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `horizontal` |
|
||||
| <h4 id="meter_pips">pips<a class="headerlink" href="#meter_pips" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `pips` |
|
||||
| <h4 id="meter_dashed">dashed<a class="headerlink" href="#meter_dashed" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | See fader's `dashed` |
|
||||
| <h4 id="meter_gradient">gradient<a class="headerlink" href="#meter_gradient" title="Permanent link">#</a></h4> | `array`|<br/>`object` | <code>[]</code> | When set, the meter's gauge will be filled with a linear color gradient<br/>- each item must be a CSS color string.<br/>- as an `object`: each key must be a number between 0 and 1<br/>- each item must be a CSS color string.<br/><br/>Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Plots" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="text"><a class="headerlink" href="#text">text</a></h3>
|
||||
<div class="accordion-description">Display text.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="text_text">text<a class="headerlink" href="#text_text" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="text_vertical">vertical<a class="headerlink" href="#text_vertical" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the text vertically |
|
||||
| <h4 id="text_wrap">wrap<a class="headerlink" href="#text_wrap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to wrap long lines automatically.<br/><br/>This will not break overflowing words by default, word-breaking can be enabled by adding `word-break: break-all;` to the `css` property |
|
||||
| <h4 id="text_align">align<a class="headerlink" href="#text_align" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Set to `left` or `right` to change text alignment (otherwise center) |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Plots" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="image"><a class="headerlink" href="#image">image</a></h3>
|
||||
<div class="accordion-description">Load a image (url or base64-encoded).</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="image_image">image<a class="headerlink" href="#image_image" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="image_size">size<a class="headerlink" href="#image_size" title="Permanent link">#</a></h4> | `string` | <code>"cover"</code> | CSS background-size |
|
||||
| <h4 id="image_position">position<a class="headerlink" href="#image_position" title="Permanent link">#</a></h4> | `string` | <code>"center"</code> | CSS background-position |
|
||||
| <h4 id="image_repeat">repeat<a class="headerlink" href="#image_repeat" title="Permanent link">#</a></h4> | `string` | <code>"no-repeat"</code> | CSS background-repeat |
|
||||
| <h4 id="image_border">border<a class="headerlink" href="#image_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable the borders and background-color |
|
||||
| <h4 id="image_cache">cache<a class="headerlink" href="#image_cache" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to false to disable image caching (forces file reload when updating or editing the widget).<br/><br/>When true, sending `reload` to the widget reloads its image without changing its value |
|
||||
| <h4 class="thead2" id="image_value">value<a class="headerlink" href="#image_value" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="image_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#image_value" title="Permanent link">#</a></h4> | `string` | <code>""</code> | - File `url` or `path` (relative to the session file location by default, falling back to absolute path)<br/>- Base64 encoded image : `data:image/...` |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Plots" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="svg"><a class="headerlink" href="#svg">svg</a></h3>
|
||||
<div class="accordion-description">Svg parser.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="svg_svg">svg<a class="headerlink" href="#svg_svg" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="svg_svg">svg<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#svg_svg" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Svg xml definition:<br/>- will be wrapped in a `< svg />` element<br/>- `<path>` commands support a special percent notation (`%x` and `%y`) |
|
||||
| <h4 id="svg_border">border<a class="headerlink" href="#svg_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable the borders and background-color |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Plots" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="html"><a class="headerlink" href="#html">html</a></h3>
|
||||
<div class="accordion-description">Simple HTML parser.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="html_html">html<a class="headerlink" href="#html_html" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="html_html">html<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#html_html" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Allowed HTML tags:<br/><br/> h1-6, blockquote, p, a, ul, ol, nl, li,<br/><br/> b, i, strong, em, strike, code, hr, br, div,<br/><br/> table, thead, img, caption, tbody, tr, th, td, pre |
|
||||
| <h4 id="html_border">border<a class="headerlink" href="#html_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable the borders and background-color |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Plots" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="frame"><a class="headerlink" href="#frame">frame</a></h3>
|
||||
<div class="accordion-description">Embed a page in a frame (local network only).</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="frame_style">style<a class="headerlink" href="#frame_style" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="frame_label">label<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#frame_label" title="Permanent link">#</a></h4> | `string`|<br/>`boolean` | <code>"auto"</code> | Set to `false` to hide completely<br/><br/>Insert icons using the prefix ^ followed by the icon's name : ^play, ^pause, etc<br/><br/>If set to `false`, all pointer-events will be disabled on the frame as long as the editor is enabled to ensure it can be selected |
|
||||
| <h4 class="thead2" id="frame_frame">frame<a class="headerlink" href="#frame_frame" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="frame_border">border<a class="headerlink" href="#frame_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable the borders and background-color |
|
||||
| <h4 class="thead2" id="frame_value">value<a class="headerlink" href="#frame_value" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="frame_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#frame_value" title="Permanent link">#</a></h4> | `string` | <code>""</code> | External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc) |</div>
|
||||
|
||||
|
||||
|
||||
## Containers
|
||||
|
||||
|
||||
<div class="accordion" data-category="Containers" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="panel"><a class="headerlink" href="#panel">panel</a></h3>
|
||||
<div class="accordion-description">Widgets or Tabs container.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="panel_panel">panel<a class="headerlink" href="#panel_panel" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="panel_scroll">scroll<a class="headerlink" href="#panel_scroll" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable scrollbars |
|
||||
| <h4 id="panel_border">border<a class="headerlink" href="#panel_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | By default, widgets in panels/strip have their border disabled, except for panels and strips. Set to `false` to apply this rule to the panel too |
|
||||
| <h4 class="thead2" id="panel_value">value<a class="headerlink" href="#panel_value" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="panel_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#panel_value" title="Permanent link">#</a></h4> | `integer` | <code>""</code> | Defines currently opened tab in the widget<br/><br/>A tab can be opened only by setting its parent's value |
|
||||
| <h4 class="thead2" id="panel_children">children<a class="headerlink" href="#panel_children" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="panel_variables">variables<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#panel_variables" title="Permanent link">#</a></h4> | `*` | <code>"@\{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
|
||||
| <h4 id="panel_widgets">widgets<a class="headerlink" href="#panel_widgets" title="Permanent link">#</a></h4> | `array` | <code>[]</code> | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
|
||||
| <h4 id="panel_tabs">tabs<a class="headerlink" href="#panel_tabs" title="Permanent link">#</a></h4> | `array` | <code>[]</code> | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Containers" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="strip"><a class="headerlink" href="#strip">strip</a></h3>
|
||||
<div class="accordion-description">Widget container that display its children in a single column or row.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="strip_strip">strip<a class="headerlink" href="#strip_strip" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="strip_scroll">scroll<a class="headerlink" href="#strip_scroll" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable scrollbars |
|
||||
| <h4 id="strip_horizontal">horizontal<a class="headerlink" href="#strip_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display widgets horizontally |
|
||||
| <h4 id="strip_stretch">stretch<a class="headerlink" href="#strip_stretch" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to stretch widgets evenly |
|
||||
| <h4 id="strip_border">border<a class="headerlink" href="#strip_border" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | By default, widgets in panels/strip have their border disabled, except for panels and strips. Set to `false` to apply this rule to the panel too |
|
||||
| <h4 id="strip_spacing">spacing<a class="headerlink" href="#strip_spacing" title="Permanent link">#</a></h4> | `integer`|<br/>`percentage` | <code>0</code> | Adds space between widgets. Percents are always relative to the strips width |
|
||||
| <h4 class="thead2" id="strip_children">children<a class="headerlink" href="#strip_children" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="strip_variables">variables<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#strip_variables" title="Permanent link">#</a></h4> | `*` | <code>"@\{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
|
||||
| <h4 id="strip_widgets">widgets<a class="headerlink" href="#strip_widgets" title="Permanent link">#</a></h4> | `array` | <code>[]</code> | Each element of the array must be a widget object<br/>- By default, children widgets that don't have an explicit `width`/`height` set will be shrinked to respect the sizes specified by others<br/>- Adding `flex:1;` to a children's `css` will give it the ability the fill the remaining space<br/>- Multiple children can have a `flex:x;` css property (`x` will ponderate their expansion) |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Containers" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="modal"><a class="headerlink" href="#modal">modal</a></h3>
|
||||
<div class="accordion-description">A toggle button that opens a popup panel. Cannot contain tabs directly.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="modal_modal">modal<a class="headerlink" href="#modal_modal" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="modal_doubleTap">doubleTap<a class="headerlink" href="#modal_doubleTap" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the modal require a double tap to open instead of a single tap |
|
||||
| <h4 id="modal_popupLabel">popupLabel<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#modal_popupLabel" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Alternative label for the modal popup |
|
||||
| <h4 id="modal_popupWidth">popupWidth<a class="headerlink" href="#modal_popupWidth" title="Permanent link">#</a></h4> | `number`|<br/>`percentage` | <code>"80%"</code> | Modal popup's size |
|
||||
| <h4 id="modal_popupHeight">popupHeight<a class="headerlink" href="#modal_popupHeight" title="Permanent link">#</a></h4> | `number`|<br/>`percentage` | <code>"80%"</code> | Modal popup's size |
|
||||
| <h4 id="modal_popupLeft">popupLeft<a class="headerlink" href="#modal_popupLeft" title="Permanent link">#</a></h4> | `number`|<br/>`percentage` | <code>"auto"</code> | Modal popup's position |
|
||||
| <h4 id="modal_popupTop">popupTop<a class="headerlink" href="#modal_popupTop" title="Permanent link">#</a></h4> | `number`|<br/>`percentage` | <code>"auto"</code> | Modal popup's position |
|
||||
| <h4 id="modal_scroll">scroll<a class="headerlink" href="#modal_scroll" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable scrollbars |
|
||||
| <h4 class="thead2" id="modal_value">value<a class="headerlink" href="#modal_value" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="modal_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#modal_value" title="Permanent link">#</a></h4> | `integer` | <code>""</code> | Defines the modal's state:`0` for closed, `1` for opened |
|
||||
| <h4 class="thead2" id="modal_children">children<a class="headerlink" href="#modal_children" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="modal_variables">variables<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#modal_variables" title="Permanent link">#</a></h4> | `*` | <code>"@\{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
|
||||
| <h4 id="modal_widgets">widgets<a class="headerlink" href="#modal_widgets" title="Permanent link">#</a></h4> | `array` | <code>[]</code> | Each element of the array must be a widget object |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Containers" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="clone"><a class="headerlink" href="#clone">clone</a></h3>
|
||||
<div class="accordion-description">Widget replication with overridable properties.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="clone_clone">clone<a class="headerlink" href="#clone_clone" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="clone_widgetId">widgetId<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#clone_widgetId" title="Permanent link">#</a></h4> | `string` | <code>""</code> | `id` of the widget to clone |
|
||||
| <h4 class="thead2" id="clone_overrides">overrides<a class="headerlink" href="#clone_overrides" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="clone_props">props<a class="headerlink" href="#clone_props" title="Permanent link">#</a></h4> | `object` | <code>\{}</code> | Cloned widget's properties to override |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Containers" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="root"><a class="headerlink" href="#root">root</a></h3>
|
||||
<div class="accordion-description">Main (unique) container</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 id="root_id">id<a class="headerlink" href="#root_id" title="Permanent link">#</a></h4> | `string` | <code>"root"</code> | Widgets sharing the same id will act as clones and update each other's value(s) without sending extra osc messages |
|
||||
| <h4 class="thead2" id="root_value">value<a class="headerlink" href="#root_value" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="root_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#root_value" title="Permanent link">#</a></h4> | `integer` | <code>""</code> | Defines currently opened tab in the widget<br/><br/>A tab can be opened only by setting its parent's value |
|
||||
| <h4 class="thead2" id="root_children">children<a class="headerlink" href="#root_children" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="root_traversing">traversing<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#root_traversing" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
|
||||
| <h4 id="root_variables">variables<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#root_variables" title="Permanent link">#</a></h4> | `*` | <code>\{}</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
|
||||
| <h4 id="root_tabs">tabs<a class="headerlink" href="#root_tabs" title="Permanent link">#</a></h4> | `array` | <code>[<br/> \{}<br/>]</code> | Each element of the array must be a tab object |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Containers" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="tab"><a class="headerlink" href="#tab">tab</a></h3>
|
||||
<div class="accordion-description">Tabbed panel widget</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="tab_tab">tab<a class="headerlink" href="#tab_tab" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="tab_detached">detached<a class="headerlink" href="#tab_detached" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` if the tab contains `frame` widgets that should not be reloaded when the tab opens |
|
||||
| <h4 class="thead2" id="tab_value">value<a class="headerlink" href="#tab_value" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="tab_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#tab_value" title="Permanent link">#</a></h4> | `integer` | <code>""</code> | Defines currently opened tab in the widget<br/><br/>A tab can be opened only by setting its parent's value |
|
||||
| <h4 class="thead2" id="tab_children">children<a class="headerlink" href="#tab_children" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="tab_variables">variables<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#tab_variables" title="Permanent link">#</a></h4> | `*` | <code>"@\{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
|
||||
| <h4 id="tab_widgets">widgets<a class="headerlink" href="#tab_widgets" title="Permanent link">#</a></h4> | `array` | <code>[]</code> | Each element of the array must be a widget object. A tab cannot contain widgets and tabs simultaneously |
|
||||
| <h4 id="tab_tabs">tabs<a class="headerlink" href="#tab_tabs" title="Permanent link">#</a></h4> | `array` | <code>[]</code> | Each element of the array must be a tab object. A tab cannot contain widgets and tabs simultaneously |</div>
|
||||
|
||||
|
||||
|
||||
## Switchers
|
||||
|
||||
|
||||
<div class="accordion" data-category="Switchers" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="state"><a class="headerlink" href="#state">state</a></h3>
|
||||
<div class="accordion-description">Save and recall the state of other widgets.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="state_state">state<a class="headerlink" href="#state_state" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="state_filter">filter<a class="headerlink" href="#state_filter" title="Permanent link">#</a></h4> | `string`|<br/>`array` | <code>""</code> | Only save state from widgets contained in widgets designated by id. If empty, the whole session's state is saved. Switchers are always ignored.<br/>- widget id `string`<br/>- `array` of widget id strings |
|
||||
| <h4 id="state_saveLabel">saveLabel<a class="headerlink" href="#state_saveLabel" title="Permanent link">#</a></h4> | `string` | <code>"Save"</code> | Label for save button |
|
||||
| <h4 id="state_loadLabel">loadLabel<a class="headerlink" href="#state_loadLabel" title="Permanent link">#</a></h4> | `string` | <code>"Load"</code> | Label for load button |
|
||||
| <h4 id="state_horizontal">horizontal<a class="headerlink" href="#state_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display buttons horizontally |
|
||||
| <h4 class="thead2" id="state_value">value<a class="headerlink" href="#state_value" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="state_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#state_value" title="Permanent link">#</a></h4> | `object`|<br/>`string` | <code>""</code> | - `object`: `"widget_id": VALUE` pairs<br/>- `string`: `"save"` (trigger save action), `"load"` (trigger load action) or `""` (reset value)<br/><br/><br/><br/>Note: the widget's actual value is never `"save"` or `"load"`, it's either an empty string or an object. |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Switchers" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="switcher"><a class="headerlink" href="#switcher">switcher</a></h3>
|
||||
<div class="accordion-description">Store other widgets' values and recall them.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="switcher_switcher">switcher<a class="headerlink" href="#switcher_switcher" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="switcher_linkedWidgets">linkedWidgets<a class="headerlink" href="#switcher_linkedWidgets" title="Permanent link">#</a></h4> | `string`|<br/>`array` | <code>""</code> | - `String`: a widget's `id` whose state changes will be stored<br/>- `Array`: a list of widget `id` string |
|
||||
| <h4 id="switcher_horizontal">horizontal<a class="headerlink" href="#switcher_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display values horizontally |
|
||||
| <h4 id="switcher_values">values<a class="headerlink" href="#switcher_values" title="Permanent link">#</a></h4> | `array`|<br/>`object` | <code>\{<br/> "Value 1": 1,<br/> "Value 2": 2<br/>}</code> | Each item represents a bank that stores the values from the widgets listed in `linkedWidgets`<br/>- `Array` of possible values to switch between : `[1,2,3]`<br/>- `Object` of `"label":value` pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Switchers" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="crossfader"><a class="headerlink" href="#crossfader">crossfader</a></h3>
|
||||
<div class="accordion-description">Switcher with linear interpolation slider.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="crossfader_crossfader">crossfader<a class="headerlink" href="#crossfader_crossfader" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="crossfader_linkedWidgets">linkedWidgets<a class="headerlink" href="#crossfader_linkedWidgets" title="Permanent link">#</a></h4> | `string`|<br/>`array` | <code>""</code> | - `String`: a widget's `id` whose state changes will be stored<br/>- `Array`: a list of widget `id` string |
|
||||
| <h4 id="crossfader_horizontal">horizontal<a class="headerlink" href="#crossfader_horizontal" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display values horizontally |</div>
|
||||
|
||||
|
||||
|
||||
## Inputs
|
||||
|
||||
|
||||
<div class="accordion" data-category="Inputs" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="input"><a class="headerlink" href="#input">input</a></h3>
|
||||
<div class="accordion-description">Text input.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="input_input">input<a class="headerlink" href="#input_input" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="input_vertical">vertical<a class="headerlink" href="#input_vertical" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the text vertically |
|
||||
| <h4 id="input_align">align<a class="headerlink" href="#input_align" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Set to `left` or `right` to change text alignment (otherwise center) |
|
||||
| <h4 id="input_unit">unit<a class="headerlink" href="#input_unit" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
|
||||
| <h4 id="input_editable">editable<a class="headerlink" href="#input_editable" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to make the input non-editable |
|
||||
| <h4 id="input_asYouType">asYouType<a class="headerlink" href="#input_asYouType" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the input send its value at each keystroke |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Inputs" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="keys"><a class="headerlink" href="#keys">keys</a></h3>
|
||||
<div class="accordion-description">Keyboard binding.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="keys_keys">keys<a class="headerlink" href="#keys_keys" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="keys_binding">binding<a class="headerlink" href="#keys_binding" title="Permanent link">#</a></h4> | `string`|<br/>`array` | <code>""</code> | Key combo `string` or `array` of strings (see <a href="https://github.com/RobertWHurst/KeyboardJS">KeyboardJS</a> documentation) |
|
||||
| <h4 id="keys_keydown">keydown<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#keys_keydown" title="Permanent link">#</a></h4> | `string` | <code>""</code> | This property is evaluated each time the key combo is pressed and defines the widget's own value. Formulas are given extras variables in this context:<br/>- `key`: pressed key name (usefull for handling multiple keys with a single keys widget, lowercased when referencing a character key)<br/>- `code`: pressed key code name (<a href="https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code#Code_values">full list</a>)<br/>- `ctrl`: control key state<br/>- `alt`: alt key state<br/>- `shift`: shift key state<br/>- `meta`: command/windows key state |
|
||||
| <h4 id="keys_keyup">keyup<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#keys_keyup" title="Permanent link">#</a></h4> | `string` | <code>""</code> | Same as `keydown`, but evaluated when releasing the key combo |
|
||||
| <h4 id="keys_repeat">repeat<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#keys_repeat" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Set to `false` to prevent keydown repeats when holding the key combo pressed |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Inputs" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="script"><a class="headerlink" href="#script">script</a></h3>
|
||||
<div class="accordion-description">Evaluates a script each time it receives a value.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="script_script">script<a class="headerlink" href="#script_script" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="script_condition">condition<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#script_condition" title="Permanent link">#</a></h4> | `string` | <code>1</code> | When the widget receives a value, if this property return a falsy value, the script property won't be evaluated. If it's non-falsy, it will be evaluated normally. Formulas are given one extra variable in this context:<br/>- `value`: the value received by the widget |
|
||||
| <h4 id="script_script">script<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#script_script" title="Permanent link">#</a></h4> | `string` | <code>""</code> | This property is evaluated each time the widget receives a value* if condition is non-falsy. Formulas are given extras variables in this context:<br/>- `value`: value received by the widget<br/>- `id`: id of the widget that triggered the script<br/>- `send(target, address, arg1, arg2, ...)`: function for sending osc messages (ignores the script's targets and the server's defaults unless `target` is `false`; ignores the script's `preArgs`)<br/>- `set(id, value)`: function for setting a widget's value<br/>- `get(id)`: function for getting a widget's value (dynamic equivalent of @{id})<br/>- `getProp(id, property)`: function for getting a widget's property value ((dynamic equivalent of @{id.property})<br/>- `httpGet(url, callback)`: function for making http requests (asynchronous "GET" request and local urls only)<br/><br/><br/><br/>* Note: `value` or `linkId` properties can be used to receive other widgets' values. The `value` property must actually change to trigger the execution, where linked widgets via `linkId` can submit the same value over and over and trigger the execution |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Inputs" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="gyroscope"><a class="headerlink" href="#gyroscope">gyroscope</a></h3>
|
||||
<div class="accordion-description">Device motion/orientation sensor.</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="gyroscope_gyroscope">gyroscope<a class="headerlink" href="#gyroscope_gyroscope" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="gyroscope_frequency">frequency<a class="headerlink" href="#gyroscope_frequency" title="Permanent link">#</a></h4> | `number` | <code>30</code> | Value update frequency (updates per seconds) |
|
||||
| <h4 id="gyroscope_normalize">normalize<a class="headerlink" href="#gyroscope_normalize" title="Permanent link">#</a></h4> | `boolean` | <code>true</code> | Normalize gravity related values |
|
||||
| <h4 id="gyroscope_compass">compass<a class="headerlink" href="#gyroscope_compass" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to return the orientation values with respect to the actual north direction of the world instead of the head direction of the device |
|
||||
| <h4 id="gyroscope_screenAdjusted">screenAdjusted<a class="headerlink" href="#gyroscope_screenAdjusted" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to return screen adjusted values |
|
||||
| <h4 class="thead2" id="gyroscope_value">value<a class="headerlink" href="#gyroscope_value" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="gyroscope_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#gyroscope_value" title="Permanent link">#</a></h4> | `object` | <code>""</code> | The gyroscope's value is an object containing multiple values, which can be used by other widgets via the property maths syntax<br/>- `value.do.alpha`: deviceorientation event alpha<br/>- `value.do.beta`: deviceorientation event beta<br/>- `value.do.gamma`: deviceorientation event gamma<br/>- `value.do.absolute`: deviceorientation event absolute<br/>- `value.dm.x`: devicemotion event acceleration x<br/>- `value.dm.y`: devicemotion event acceleration y<br/>- `value.dm.z`: devicemotion event acceleration z<br/>- `value.dm.gx`: devicemotion event accelerationIncludingGravity x<br/>- `value.dm.gy`: devicemotion event accelerationIncludingGravity y<br/>- `value.dm.gz`: devicemotion event accelerationIncludingGravity z<br/>- `value.dm.alpha`: devicemotion event rotationRate alpha<br/>- `value.dm.beta`: devicemotion event rotationRate beta<br/>- `value.dm.gamma`: devicemotion event rotationRate gamma |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="accordion" data-category="Inputs" markdown="1">
|
||||
|
||||
<h4 class="accordionlink" id="file"><a class="headerlink" href="#file">file</a></h3>
|
||||
<div class="accordion-description">File/Folder selector (server-side).</div>
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="file_input">input<a class="headerlink" href="#file_input" title="Permanent link">#</a></h4> ||||
|
||||
| <h4 id="file_directory">directory<a class="headerlink" href="#file_directory" title="Permanent link">#</a></h4> | `string` | <code>"auto"</code> | Default browsing directory |
|
||||
| <h4 id="file_extension">extension<a class="headerlink" href="#file_extension" title="Permanent link">#</a></h4> | `string` | <code>"*"</code> | Only display files with this extension |
|
||||
| <h4 id="file_hidePath">hidePath<a class="headerlink" href="#file_hidePath" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Set to `true` to only display the filename (the whole path will still be used as value) |
|
||||
| <h4 id="file_allowDir">allowDir<a class="headerlink" href="#file_allowDir" title="Permanent link">#</a></h4> | `boolean` | <code>false</code> | Allow selecting a folder (by pressing "open" when no file is selected) |</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
document.querySelectorAll('.thead2').forEach(function(item){
|
||||
item.classList.remove('thead2')
|
||||
item.closest('tr').classList.add('thead2')
|
||||
})
|
||||
document.querySelectorAll('.accordionlink').forEach(function(item){
|
||||
item.addEventListener('click', function(e){
|
||||
e.preventDefault()
|
||||
var node = item.parentNode
|
||||
node.classList.toggle('show')
|
||||
if (node.classList.contains('show')){
|
||||
history.replaceState(null, null, '#' + item.getAttribute('id'));
|
||||
} else {
|
||||
history.replaceState(null, null, ' ');
|
||||
}
|
||||
})
|
||||
})
|
||||
if (window.location.hash) {
|
||||
document.querySelectorAll('[id='+window.location.hash.split("#")[1]+']').forEach(function(item){
|
||||
item.click()
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
@ -1,124 +0,0 @@
|
|||
# Advanced syntaxes
|
||||
|
||||
Advanced syntaxes are special blocks of code that can be written in the widgets properties to customize the widgets and how they behave. These blocks end up replaced with the value they hold before the widgets evaluate the properties they're in.
|
||||
|
||||
|
||||
## Inheritance: `@{id.property}`
|
||||
|
||||
The inheritance syntax returns either a widget's value or one of its properties. When using this syntax, value or property changes will be applied automatically.
|
||||
|
||||
- `id`: target widget's `id`. A widget can fetch its own properties or its direct parent's by using the keywords `this` or `parent` instead of `id`. When `this` or `parent` can be used, using the target widget's `id` instead won't work.
|
||||
- `property`: target widget's property name. If omitted (along with the dot), the widget's value will be returned (`@{widgetId}` is the same as `@{widgetId.value}`). `value` always resolves to the target widget's current value, not its `value` property.
|
||||
|
||||
|
||||
!!! note "Unique identifier"
|
||||
Each widget has a unique random identifier that can be retrieved with the property name `uuid` (e.g. `@{this.uuid}`, `@{parent.uuid}`).
|
||||
|
||||
#### Dynamic properties
|
||||
|
||||
Some properties, when changed, trigger a complete widget recreation that ends any ongoing user interaction. Also, updating these properties continuously (e.g. when linked to a slider's dynamic value) can be very cpu expensive.
|
||||
|
||||
Some properties have much cheaper update routines and can be considered as `dynamic`, as in performance safe. These properties are marked in the documentation with a <i class="fas fa-bolt" title="dynamic"></i>.
|
||||
|
||||
|
||||
#### Circular references cases
|
||||
|
||||
- container widgets can inherit their children's properties only to define `dynamic` properties
|
||||
- widgets can inherit their own `value`<i class="dynamic-prop-icon" title="dynamic"></i> property only to define `dynamic` properties
|
||||
|
||||
#### Object properties
|
||||
|
||||
If the retrieved property is an object (`{}`), a subset can be retrieved directly by appending a dot and a key (array index or object key) : `@{parent.variables.key}`
|
||||
|
||||
|
||||
#### Nesting
|
||||
|
||||
The inheritance syntax supports 1-level nesting for defining the target widget's id dynamically : `@{fader_@{toggle_1}}`
|
||||
|
||||
|
||||
## OSC listeners: `OSC{address, default, usePreArgs}`
|
||||
|
||||
The OSC listener syntax returns the value received on specified address (or the `default` value if none has been received yet).
|
||||
|
||||
- `address`: osc address to listen to; if the leading slash (`/`) is omitted, the address will be prefixed with the widget's `address` property
|
||||
- `default` (optional): default value returned before any message is received. Must be a primitive value, not an object or an array.
|
||||
- `usePreArgs` (optional): by default, osc listeners inherit the widget's `preArgs` (these must be matched for the osc messages to be processed). Set to `false` bypass them.
|
||||
|
||||
Options can contain `@{}` blocks.
|
||||
|
||||
!!! note "Receiving MIDI"
|
||||
Midi messages will be processed only if the receiver's widget includes the emitting MIDI device in its targets.
|
||||
|
||||
??? example "Array/Object default value"
|
||||
```js
|
||||
JS{
|
||||
return OSC{address} || {
|
||||
"key a": 1,
|
||||
"key b": 2
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Custom variables: `VAR{variableName, default}`
|
||||
|
||||
This syntax creates a custom variable in the widget that can be read and modified from any widget's script property (see [scripting](./scripting.md#getvarid-name)). Changes made to this variable using `setVar()` in scripts will be applied automatically where `VAR{}` is used.`
|
||||
|
||||
## File imports: `IMPORT{file_name}`
|
||||
|
||||
This allows loading the content of an external file in a property. If used in a `JS{}` of `#{}` block, it will be seen as a string variable containing the raw content of the file. Changes made to the file be applied automatically.
|
||||
|
||||
File paths are resolved in this order:
|
||||
|
||||
- in the session's directory
|
||||
- in theme's directory
|
||||
- in the server's `remote-root` directory if the option is set
|
||||
- as absolute paths
|
||||
|
||||
!!! warning
|
||||
[Fragments](../fragments/) and session files already loaded with fragment widgets should not be imported using this syntax.
|
||||
|
||||
## Javascript: `JS{ <code> }`
|
||||
|
||||
This syntax allows defining a property using [Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript). The code will be compiled as a function and executed in a restricted context.
|
||||
|
||||
- if no `return` statement is found, the formula will return an empty string
|
||||
- javascript [strict mode](https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Strict_mode) is always enabled
|
||||
- `setTimeout` and `setInterval` functions are not available
|
||||
|
||||
A property *cannot* contain multiple `JS{}` blocks
|
||||
|
||||
#### Available variables
|
||||
|
||||
- `console`: javascript console
|
||||
- `locals`: object for storing/reading arbitrary values. Changing its properties *does not* trigger any synchronisation even if the value is used somewhere else.
|
||||
- `globals`: same as `locals` but shared between all widgets, contains a few useful variables:
|
||||
- `screen`: client screen informations (`{width, height, orientation}`)
|
||||
- `env`: client options (ie: url query options),
|
||||
- `ip`: client's ip address,
|
||||
- `url`: server url,
|
||||
- `platform`: operating system as seen by the client
|
||||
- `session`: session file path
|
||||
- `clipboard`: instance of navigator [Clipboard](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard)
|
||||
|
||||
Parsing errors can be read in the console (++ctrl+k++).
|
||||
|
||||
!!! warning
|
||||
Modifying values in `locals` or `globals` **does not** trigger anything if they are used somewhere else.
|
||||
|
||||
#### Using in advanced syntaxes
|
||||
|
||||
In this context, `@{}`, `VAR{}` and `OSC{}` syntaxes are seen as variables. When they change, the whole block will be evaluated again.
|
||||
|
||||
!!! danger "Do not mutate"
|
||||
When these syntaxes return objects or arrays, mutating said objects will affect the underlying variables in memory and may lead to unexpected behavior.
|
||||
|
||||
The `@{}` syntax, when used for anything else than the widget's value, will always return a copy of the property and is not affected by this.
|
||||
|
||||
## Javascript: `#{ <code> }`
|
||||
|
||||
This is a shorthand for the `JS{}` syntax, the only difference being that `<code>` is automatically prepended with a `return` statement.
|
||||
|
||||
A property *can* contain multiple `#{}` blocks.
|
||||
|
||||
!!! note "Compilation order"
|
||||
`#{}` blocks are compiled after `JS{}` blocks
|
||||
|
|
@ -1,195 +0,0 @@
|
|||
# Canvas widget
|
||||
|
||||
The canvas widget allows creating custom widgets with user-defined drawings and touch reactions.
|
||||
|
||||
It has dedicated scripting properties (`onTouch`, `onDraw` and `onResize`) that work like the `onValue` property : they are used to defined scripts that will be executed when specific events occurs.
|
||||
|
||||
This widget requires a good understanding of the javascript [Canvas API](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) and of the javascript programming language in general.
|
||||
|
||||
## Canvas properties
|
||||
|
||||
### `valueLength`
|
||||
|
||||
This property must be set to the number of values held by the widget : 1 for a simple slider, 2 for an XY pad, etc. Attempts to set the widget's value with a different number of values will be ignored.
|
||||
|
||||
```js
|
||||
set("this", 1) // works if valueLength == 1
|
||||
set("this", [1, 2]) // works if valueLength == 2
|
||||
```
|
||||
|
||||
### `autoClear`
|
||||
|
||||
This is a convenience option that clears the canvas context and calls [`beginPath`](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/beginPath) before each drawing. When this property is set to `false`, the canvas must be cleared manually.
|
||||
|
||||
### `continuous`
|
||||
|
||||
If this property is enabled, the widget will be redrawn at a fixed rate even if not interacted with (see [`onDraw`](#onDraw)).
|
||||
|
||||
|
||||
### `onTouch`
|
||||
|
||||
This script is executed when the widget is touched, when it is released, and during the movement of the pointer while the widget is touched.
|
||||
|
||||
This script has access to the same variables and functions as the `onValue` property (except the event-specific ones), plus the following:
|
||||
|
||||
- `value`: widget value
|
||||
- `width`: canvas width in pixels
|
||||
- `height`: canvas height in pixels
|
||||
- `event`: object containing the following:
|
||||
- `type`: `"start"`, `"move"` or `"stop"`
|
||||
- `target`: id of the widget under the pointer, `"this"` if it's the canvas widget itself, `null` if no widget is under the pointer
|
||||
- `targetName`: name attribute of the html element under the pointer
|
||||
- `targetTagName`: tag name of the html element under the pointer
|
||||
- `offsetX`, `offsetY`: touch coordinates in pixels, relative to the html element under the pointer
|
||||
- `movementX`, `movementY`: movement of the pointer in pixels since the last event
|
||||
- `pageX`, `pageY`: touch coordinates in pixels, relative to the page
|
||||
- `pointerId`: unique identifier used to differentiate fingers in multitouch situation
|
||||
- `altKey`, `ctrlKey`, `shiftKey`: keyboard modifier states
|
||||
- `force`: amount of pressure applied to the touch surface between `0` and `1` (see [Touch.force](https://developer.mozilla.org/en-US/docs/Web/API/Touch/force)). Equals `0` if the API is not supported or if no pressure information is found.
|
||||
- `radiusX`, `radiusY`, `rotationAngle`: see [Touch.rotationAngle](https://developer.mozilla.org/en-US/docs/Web/API/Touch/rotationAngle)
|
||||
- (iOS only) `altitudeAngle`, `azimuthAngle`: see [Touch.altitudeAngle](https://w3c.github.io/touch-events/#dom-touch-altitudeangle)
|
||||
- (iOS only) `touchType`: "direct" or "stylus"
|
||||
|
||||
|
||||
!!! note "Extra html elements"
|
||||
Elements added using the `html` property can be touched as well, `event.targetName` can be used to determine which element is touched.
|
||||
|
||||
|
||||
### `onDraw`
|
||||
|
||||
This script is executed when the widget should be redrawn, which is when it's touched and when it receives a value.
|
||||
|
||||
This script has access to the same variables and functions as the `onValue` property (except the event-specific ones), plus the following:
|
||||
|
||||
- `value`: widget value
|
||||
- `width`: canvas width in pixels
|
||||
- `height`: canvas height in pixels
|
||||
- `ctx`: [canvas rendering context](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D) of the widget
|
||||
- `cssVars`: object containing the computed value of some of the widget's style properties such as `colorWidget`, `alphaFill`, `padding`, etc
|
||||
|
||||
In this script, all osc messages emissions are prevented and changing the value of a widget won't trigger widget synchronisation / scripts / advanced syntaxes updates.
|
||||
|
||||
### `onResize`
|
||||
|
||||
This script is executed when the widget has resized, before it is redrawn.
|
||||
|
||||
This script has access to the same variables and functions as the `onValue` property (except the event-specific ones), plus the following:
|
||||
|
||||
- `value`: widget value
|
||||
- `width`: canvas width in pixels
|
||||
- `height`: canvas height in pixels
|
||||
- `cssVars`: object containing the computed value of some of the widget's style properties such as `colorWidget`, `alphaFill`, `padding`, etc
|
||||
|
||||
## Example: XY pad
|
||||
|
||||
Let's create a simple xy pad, with a value made of two numbers between 0 and 1. We set `valueLength` to `2` to make sure the widget only accepts incoming messages with two values (x and y).
|
||||
|
||||
First, we use the `onTouch` property to store the touch coordinates in the `locals` object. We also call `set()` to store these in the widget's value (this way, the widget can send messages and sync with other widgets).
|
||||
|
||||
```js
|
||||
// onTouch
|
||||
|
||||
// store normalized coordinates
|
||||
if (event.type == "start") {
|
||||
locals.x = event.offsetX / width
|
||||
locals.y = event.offsetY / height
|
||||
} else {
|
||||
// when the pointer is moving, increment coordinates
|
||||
// because offsetX and offsetY may not be relevant
|
||||
// if the pointer hovers a different widgets
|
||||
locals.x += event.movementX / width
|
||||
locals.y += event.movementY / height
|
||||
}
|
||||
|
||||
// update widget value and send
|
||||
set("this", [locals.x, locals.y])
|
||||
```
|
||||
|
||||
Then, we use the `onDraw` property to draw a circle at the touch coordinates.
|
||||
|
||||
```js
|
||||
// onDraw
|
||||
|
||||
// draw circle at touch coordinates
|
||||
ctx.arc(value[0] * width, value[1] * height, 6, 0, Math.PI * 2)
|
||||
// use colorFill property as stroke color
|
||||
ctx.strokeStyle = cssVars.colorFill
|
||||
// draw stroke
|
||||
ctx.stroke()
|
||||
```
|
||||
|
||||
Finally, we use the `onValue` property to apply limits to the values.
|
||||
|
||||
```js
|
||||
// onValue
|
||||
|
||||
// apply limits
|
||||
var x = Math.max(0, Math.min(1, value[0])),
|
||||
y = Math.max(0, Math.min(1, value[1]))
|
||||
|
||||
// re-update widget value without retriggering script or sending message
|
||||
set("this", [x, y], {sync: false, send: false})
|
||||
|
||||
// the widget will automatically send its value if
|
||||
// this script was triggered by a user interaction
|
||||
// no need to call send() here but we could, for example
|
||||
// if we want to split the value in to multiple messages
|
||||
```
|
||||
|
||||
## Example: multi slider
|
||||
|
||||
Let's build a row of 20-sliders with a single widget. We first set `valueLength` to... 20 !
|
||||
|
||||
```js
|
||||
// onTouch
|
||||
|
||||
// store normalized coordinates
|
||||
if (event.type == "start") {
|
||||
locals.x = event.offsetX / width
|
||||
locals.y = event.offsetY / height
|
||||
} else {
|
||||
// when the pointer is moving, increment coordinates
|
||||
// because offsetX and offsetY may not be relevant
|
||||
// if the pointer hovers a different widgets
|
||||
locals.x += event.movementX / width
|
||||
locals.y += event.movementY / height
|
||||
}
|
||||
|
||||
|
||||
// which slider are we touching ?
|
||||
var n = parseInt(locals.x * value.length)
|
||||
n = Math.max(0, Math.min(n, value.length-1))
|
||||
|
||||
// update value at slider's index
|
||||
// 1 - locals.y because y axis is from top to bottom in js canvas
|
||||
value[n] = 1 - locals.y
|
||||
|
||||
// update widget value and send
|
||||
set("this", value)
|
||||
```
|
||||
|
||||
```js
|
||||
// onDraw
|
||||
|
||||
ctx.fillStyle = cssVars.colorFill
|
||||
ctx.globalAlpha = cssVars.alphaFillOn
|
||||
|
||||
var sliderWidth = width / value.length - 1
|
||||
for (var i in value){
|
||||
ctx.beginPath()
|
||||
ctx.rect(i * width / value.length, height, sliderWidth, - value[i] * height)
|
||||
ctx.fill()
|
||||
}
|
||||
```
|
||||
|
||||
```js
|
||||
// onValue
|
||||
|
||||
// apply limits
|
||||
for (var i in value) {
|
||||
value[i] = Math.max(0, Math.min(1, value[i]))
|
||||
}
|
||||
|
||||
// re-update widget value without retriggering script or sending message
|
||||
set("this", value, {sync: false, send: false})
|
||||
```
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
# Fragments
|
||||
|
||||
Fragments allow breaking sessions into multiple files and reusable components made of multiple widgets.
|
||||
|
||||
## Fragment files
|
||||
|
||||
|
||||
When right-clicking on a widget in the editor mode, it is possible to export it as a fragment file.
|
||||
|
||||
Fragment files have the same extension as session files (`.json`) and can be opened like regular sessions. When doing so, keep in mind that only the first child of the root widget will be saved. It is possible to save a fragment file as a session file (and vice versa) by toggling the `Fragment mode` in the main menu.
|
||||
|
||||
|
||||
## Fragment widgets
|
||||
|
||||
Fragment widgets work like clone widget except their source widget are loaded from fragment files or session files. When the sources files are modified, the fragment widgets are updated automatically.
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
## Interaction
|
||||
|
||||
These are interaction events widgets are likely to respond to:
|
||||
|
||||
| Mouse | Touch | Description |
|
||||
|---|---|---|
|
||||
| Mousedown | Tap | Handled at pressing time, not releasing. |
|
||||
| Click | Click | Handled at release time. |
|
||||
| Double Click | Double Tap | Some widgets handle double click / double tap events. |
|
||||
| Drag | Drag | The widgets respond to mouse and touch drag gestures with a 1:1 precision ratio. |
|
||||
|
||||
|
||||
Widgets sensibility can be tuned with the `sensibility` property. Single-touch widgets (i.e. all widgets except `mutlixy` and `range`) also accept an alternate interaction event for fine control.
|
||||
|
||||
| Mouse | Touch | Description |
|
||||
|---|---|---|
|
||||
| `Ctrl` + Drag | / | Holding the `Ctrl` key while dragging with the mouse increases the gesture's precision by 10.|
|
||||
| / | Two-fingers drag | Using two fingers on a single-touch target increases the gesture's precision by 10. |
|
||||
|
||||
|
||||
## Sending messages
|
||||
|
||||
When interacted with, widgets with at least one target (including the server's defaults) send osc messages of the following form:
|
||||
|
||||
```
|
||||
/address ...preArgs ...value
|
||||
```
|
||||
|
||||
If they have MIDI targets, the server will try to convert the osc messages into a MIDI messages (see [MIDI messages](../midi/midi-messages.md)).
|
||||
|
||||
|
||||
## Receiving messages
|
||||
|
||||
When an osc message is received, it updates every widgets that meets the following conditions
|
||||
|
||||
- same `address`
|
||||
- same `preArgs` (no distinction between integers and round floats )
|
||||
|
||||
The remaining arguments after `preArgs` are passed to the widget.
|
||||
|
||||
|
||||
When a MIDI message is received, it's converted into an osc message (see [MIDI messages](../midi/midi-messages.md)) and follows the same rules, except that only the widgets that include the emitting MIDI device in their targets will be able to receive it.
|
||||
|
||||
|
||||
## Widget synchronization
|
||||
|
||||
Within a single client's scope, there are multiple ways to synchronize widgets:
|
||||
|
||||
- If they share the same `id`: in this case, the synchronized widget doesn't send any osc/midi message. This case is mostly used for widget cloning.
|
||||
- If they share a `linkId`: in this case, the synchronized widget sends its osc/midi message normally.
|
||||
- If their `value` properties depend on each other using the [advanced syntaxes](./advanced-syntaxes.md)
|
||||
- Using [scripting](./scripting.md)
|
||||
|
||||
## Client synchronization
|
||||
|
||||
From a client to another, widgets are automatically synchronized if they share the following properties:
|
||||
|
||||
- `address`
|
||||
- `preArgs`
|
||||
- `targets`
|
||||
|
||||
Client synchronization can be disabled globally with the `clientSync` [client option](../client-options.md). Widgets with `bypass` set to `true` will not send synchronization messages to other clients.
|
||||
|
|
@ -1,437 +0,0 @@
|
|||
# Scripting
|
||||
|
||||
Widgets can run [Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) scripts upon specific events. These scripts are written in special properties under the scripting category.
|
||||
|
||||
!!! warning "Advanced syntaxes"
|
||||
Most [advanced syntaxes](../advanced-syntaxes/) should be avoided as much as possible in scripting properties:
|
||||
|
||||
- `@{}`: use `get()` and `getProp()` instead
|
||||
- `OSC{}`: use `get()` instead (using another widget as receiver)
|
||||
- `VAR{}`: use `getVar()`instead
|
||||
- `JS{}` and `#{}` are useless (scripting properties are already interpreted as javascript code) unless you want to generate code procedurally
|
||||
|
||||
The editor will always fail to recognize these syntaxes as they don't comply with the javacript language specification, even if the resulting code is valid.
|
||||
|
||||
## Events
|
||||
|
||||
### `onCreate`
|
||||
|
||||
This script is called when the widget is created. If the widget has children, it will be executed after the children are created.
|
||||
|
||||
!!! warning "Modifying parent container"
|
||||
Modifying a non-dynamic property on a parent container from this script **will not work**.
|
||||
|
||||
The following variables are available in this context:
|
||||
|
||||
- `value`: widget's value
|
||||
|
||||
### `onValue`
|
||||
|
||||
This script is called when the widget's value updates and when it receives a value.
|
||||
|
||||
The following variables are available in this context:
|
||||
|
||||
- `id` (`string`): id of the widget that's responsible for the value update
|
||||
- `value`: widget's value
|
||||
- `touch`: see [Touch state](#touch-state)
|
||||
|
||||
??? infos "Keyboard & Matrix"
|
||||
In keyboards and matrices, `id` is the id of the child widget that triggered the event, and `value` is an array containing the children's values.
|
||||
The touched widget's value can be retrieved with:
|
||||
```javascript
|
||||
value[getIndex(id)]
|
||||
```
|
||||
|
||||
??? infos "Touch state (deprecated)"
|
||||
|
||||
*This feature is deprecated, use `onTouch` instead*
|
||||
|
||||
When some widgets are touched or released, a special value event can be caught to trigger custom actions.
|
||||
|
||||
If the variable `touch` is not `undefined`, this means it holds the widget's current touch state:
|
||||
|
||||
- `0/1` for the widget's touch state (`fader`, `knob` and `xy`, `range` and `multixy`)
|
||||
- `[i, 0/1]` if the widget is multi touch (`range` and `multixy`). In this case `i` is the touched handle's index, starting with `0`.
|
||||
|
||||
```js
|
||||
if (touch !== undefined) {
|
||||
// send multi touch state
|
||||
if (touch.length) send('/touch_address', touch[0], touch[1])
|
||||
// send global touch state
|
||||
else send('/touch_address', touch)
|
||||
} else {
|
||||
// do something with the value ?
|
||||
}
|
||||
```
|
||||
|
||||
To avoid unwanted script executions, touch state events will only be caught if the script contains the word `touch` and if `onTouch` is empty.
|
||||
|
||||
|
||||
### `onTouch`
|
||||
|
||||
This script is executed when the widget is touched, and when it is released.
|
||||
|
||||
This script has access to the same variables and functions as the `script` property (except the event-specific ones), plus the following:
|
||||
|
||||
- `value`: widget value
|
||||
- `event`: object containing the following:
|
||||
- `type`: `"start"` or `"stop"`
|
||||
- `handle`: `undefined` if the event concerns the widget, `integer` if it concerns one of it's handles (`multixy` and `range` widgets only)
|
||||
|
||||
[Canvas](../canvas/) and containers expose more informations in their `onTouch` script.
|
||||
|
||||
??? infos "Containers onTouch"
|
||||
|
||||
Containers (root, panel, etc) can monitor touch events happening inside them, it works like with [Canvas](../canvas/#ontouch), with a few differences:
|
||||
|
||||
- `event.firstTarget` will return the id of the first touched widget
|
||||
- setting `event.preventDefault` to `true` will prevent the event from reaching widgets in the container ('start' and 'move' events only)
|
||||
- setting `event.allowScroll` to `true` will allow touch scrolling where it would normally be prevented ('start' event only)
|
||||
- setting `event.inertia` will affect 'move' events (works like widget `sensitivity` in reverse (1 = normal, 10 = slow move))
|
||||
- `width` and `height` are undefined
|
||||
|
||||
Containers with `traversing` enabled change how touch events are emitted:
|
||||
|
||||
- a new 'stop' event is emitted whenever the pointer exits a touchable widget while pressed.
|
||||
- a new 'start' event is emitted whenever the pointer enters a touchable widget while pressed.
|
||||
|
||||
|
||||
### `onDraw`
|
||||
|
||||
See [canvas](../canvas/).
|
||||
|
||||
### `onKeyboard`
|
||||
|
||||
*Script widget only*
|
||||
|
||||
This script is executed when the key(s) defined in the widget's `keyBinding` property are pressed.
|
||||
|
||||
|
||||
The following variables are available in this context:
|
||||
|
||||
|
||||
- `type` (`string`): `keydown` or `keyup`
|
||||
- `key` (`string`): key name,
|
||||
- `code` (`number`): key code
|
||||
- `ctrl` (`boolean)`: `true` if ctrl key is pressed
|
||||
- `shift` (`boolean`): `true` if shift key is pressed
|
||||
- `alt` (`boolean`): `true` if alt key is pressed
|
||||
- `meta` (`boolean`): `true` if meta key is pressed
|
||||
|
||||
|
||||
### `onPreload`
|
||||
|
||||
This script is specific to the root widget, it's called before any other widget is created and can be used to create global variables / functions accessible in other scripts.
|
||||
|
||||
In this script, all osc messages emissions are prevented and changing the value of a widget won't trigger widget synchronisation / scripts / advanced syntaxes updates.
|
||||
|
||||
## Available variables
|
||||
|
||||
The following variables and functions are accessible in this context.
|
||||
|
||||
|
||||
- `console`: javascript console
|
||||
- `locals`: object for storing/reading arbitrary values. Changing its properties *does not* trigger any synchronisation even if the value is used somewhere else.
|
||||
- `globals`: same as `locals` but shared between all widgets, contains a few useful variables:
|
||||
- `screen`: client screen informations (`{width, height, orientation}`)
|
||||
- `env`: client options (ie: url query options),
|
||||
- `ip`: client's ip address,
|
||||
- `url`: server url,
|
||||
- `platform`: operating system as seen by the client
|
||||
- `session`: session file path
|
||||
- `clipboard`: instance of navigator [Clipboard](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard)
|
||||
- `Image`: javascript's [Image](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image) constructor
|
||||
|
||||
|
||||
!!! note "this"
|
||||
Unlike in most javascript contexts, the special keyword `this` doesn't point to an object but instead returns the string `"this"`.
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `get(id)`
|
||||
- `id`: widget `id` as a string.
|
||||
|
||||
Returns the value of the first matching widget. If the returned value is an object, a copy is returned to allow safe mutation.
|
||||
|
||||
----
|
||||
|
||||
#### `set(id, value, options)`
|
||||
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. `id` may contains wildcards ('\*').
|
||||
- `value`: new value for the widget.
|
||||
- `options` (optional): `object`, accepts the following items:
|
||||
- `sync: false`: prevents widgets from triggering synchronization and scripts
|
||||
- `script: false`: prevents scripts but not synchronization
|
||||
- `send: false`: prevents widgets from sending osc messages
|
||||
- `external: true`: simulates a value coming from an osc/midi message (implies `send: false` automatically)
|
||||
|
||||
Sets the value of the first matching widget. If `ìd` contains wildcards, affects all matching widgets **except** the emitting widget.
|
||||
|
||||
If the event that triggered the script's execution was initiated by a user interaction, this will make the widget send its value as well (unless `options` is set to `{send: false}`).
|
||||
|
||||
----
|
||||
|
||||
#### `getVar(id, name)`
|
||||
- `id`: widget `id` as a string.
|
||||
- `name`: variable name as a string.
|
||||
|
||||
Returns the value of a widget's custom variable. If the returned value is an object, a copy is returned to allow safe mutation.
|
||||
|
||||
----
|
||||
|
||||
#### `setVar(id, name, value)`
|
||||
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. `id` may contains wildcards ('\*').
|
||||
- `name`: variable name as a string.
|
||||
- `value`: new value for the variable.
|
||||
|
||||
Sets the value of a widget's custom variable (see [advanced syntaxes](./advanced-syntaxes.md##ustom-variables-varvariablename-default)). If `ìd` contains wildcards, affects all matching widgets.
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `send(target, address, ...args)`
|
||||
- `target` (optional): `"ip:port"` or `"midi:device_name"` string. If omitted, the widget's target (or the server's defaults) will be used.
|
||||
- `address`: osc address, must start with a `/`
|
||||
- `args`: values or `{type: "OSC_TYPE_LETTER", value: VALUE}` objects
|
||||
|
||||
Sends an osc message.
|
||||
|
||||
If the event that triggered the script's execution was not initiated by a user interaction, this function will have no effect.
|
||||
|
||||
This function ignores the widget's `bypass` and `ignoreDefaults` properties.
|
||||
|
||||
??? infos "Examples"
|
||||
```javascript
|
||||
send('127.0.0.1:4444', '/address', 1)
|
||||
send('127.0.0.1:4444', '/address', 1, 2)
|
||||
send('/address', 1) // uses the widget's target
|
||||
send('/address', {type: 'i', value: 1}) // sends 1 as an integer
|
||||
```
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `getProp(id, name)`
|
||||
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget.
|
||||
- `name`: property name.
|
||||
|
||||
Returns the property called `"name"` of the first matching widget. If the returned value is an object, a copy is returned to allow safe mutation.
|
||||
|
||||
----
|
||||
|
||||
#### `getIndex(id)`
|
||||
- `id` (optional): widget `id` as a string. Defaults to `"this"`.
|
||||
|
||||
Returns the widget's index in its container.
|
||||
|
||||
----
|
||||
|
||||
#### `updateProp(id, name)`
|
||||
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget.
|
||||
- `name`: property name.
|
||||
|
||||
Forces a widget to check if one of its properties has changed and update itself if needed.
|
||||
|
||||
----
|
||||
|
||||
#### `updateCanvas(id)`
|
||||
- `id`: widget `id` as a string. Can be `"this"` to target the host widget.
|
||||
|
||||
Forces a canvas widget redraw.
|
||||
|
||||
----
|
||||
|
||||
#### `httpGet(url, callback)`
|
||||
|
||||
- `url`: url of the resource to fetch (local url only)
|
||||
- `callback`: function executed when/if the http request succeeds, with the response text as argument
|
||||
|
||||
----
|
||||
|
||||
#### `stateGet(id)`
|
||||
- `id`: widget `id` as a string, or array of `id` strings. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget.
|
||||
|
||||
Returns a state object (`id:value`) for matching widget and all their children.
|
||||
|
||||
----
|
||||
|
||||
#### `stateSet(state, options)`
|
||||
|
||||
Loads a state object. If the event that triggered the script's execution was initiated by a user interaction, this will make the updated widgets send their value as well.
|
||||
|
||||
- `options` (optional): `object`, accepts the following items:
|
||||
- `send: false`: prevents widgets from sending osc messages
|
||||
|
||||
----
|
||||
|
||||
#### `storage`
|
||||
|
||||
Global [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) instance, allows storing data that persists upon refresh/relaunch.
|
||||
|
||||
----
|
||||
|
||||
#### `setTimeout(id, callback, delay)` / `setInterval(id, callback, delay)`
|
||||
|
||||
These work like almost their native equivalent, with an extra (optional) `id` argument.
|
||||
|
||||
- `id` (optional): unique identifier, if omitted, defaults to `undefined`. If a timeout with the same id is already running, it is cleared before the new one is created (even if `undefined`). `id`s are scoped to the widget's context: two timeouts with the same `id` in two different widgets can run concurrently
|
||||
- `callback`: function to be executed
|
||||
- `delay`: delay before execution is ms
|
||||
|
||||
Reference:
|
||||
|
||||
- https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout
|
||||
- https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval
|
||||
|
||||
|
||||
Usage note:
|
||||
|
||||
If no concurrent timeout / interval is needed, calling `setTimeout`, `setInterval`, `clearTimeout` and `clearInterval` with no `ìd` argument will do.
|
||||
|
||||
-----
|
||||
|
||||
#### `clearTimeout(id)` / `clearInterval(id)`
|
||||
|
||||
Clears timeout with matching `id`.
|
||||
|
||||
Reference:
|
||||
|
||||
- https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearTimeout
|
||||
- https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearInterval
|
||||
|
||||
----
|
||||
|
||||
#### `setFocus(id)`
|
||||
|
||||
- `id` (optional): widget `id` as a string
|
||||
|
||||
Gives focus to a widget (ie input widget). If `id` is omitted or falsy, currently focused element will be unfocused.
|
||||
|
||||
*Built-in client only*: tells the operating system to give the focus to the client window
|
||||
|
||||
----
|
||||
|
||||
#### `unfocus()`
|
||||
|
||||
*Built-in client only*: tells the operating system to give the focus to the window that was focused before.
|
||||
|
||||
----
|
||||
|
||||
#### `setFocusable(focusable)`
|
||||
|
||||
- `focusable`: `0` or `1`
|
||||
|
||||
*Built-in client only*: define whether the client window can be focused or not. Text inputs cannot be interacted with when the window is not focusable.
|
||||
|
||||
----
|
||||
|
||||
#### `getScroll(id)`
|
||||
- `id`: widget `id` as a string.
|
||||
|
||||
Returns the scroll position of a container as a `[x, y]` array.
|
||||
|
||||
----
|
||||
|
||||
#### `setScroll(id, x, y)`
|
||||
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget.
|
||||
- `x`: horizontal scroll, `undefined` to use current value
|
||||
- `y`: vertical scroll, `undefined` to use current value
|
||||
|
||||
Sets the scroll state of a container.
|
||||
|
||||
----
|
||||
|
||||
#### `scrollIntoView(id, option)`
|
||||
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget.
|
||||
- `option`: `alignToTop` or `options` argument as defined in https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
|
||||
|
||||
Scroll containers to make widget(s) visible.
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `toolbar(id)`
|
||||
- `id` menu entry id (string)
|
||||
|
||||
Triggers toobar action if currently available (ie accessible from the menu). `id` can be one of the following:
|
||||
|
||||
- `session-new`,`session-open`, `session-save`, `session-save-as`, `session-fragment`, `session-backup`, `session-import`, `session-export`
|
||||
- `state-store`, `state-recall`, `state-send`, `state-open`, `state-save`, `state-save-as`, `state-import`, `state-export`
|
||||
- `editor-enabled`, `editor-grid`, `editor-tree`, `editor-inspector`, `editor-percents`
|
||||
- `console-enabled`, `console-clear`
|
||||
- `fullscreen`, `notifictions`, `prevent-sleep`, `virtual-keyboard`
|
||||
|
||||
Some actions will only be triggered if initiated with a physical user interaction, check the console for errors if it doesn't work as expected.
|
||||
|
||||
|
||||
=== "Legacy syntax: `toolbar(i1, i2, ...)`"
|
||||
|
||||
- `iX`: menu entry index
|
||||
|
||||
Triggers toolbar action at specified index.
|
||||
|
||||
!!! example "Examples"
|
||||
|
||||
- `toolbar(0, 0)` -> Open a new session
|
||||
- `toolbar(4)` -> Toggle full screen
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `getToolbar(id)`
|
||||
- `id` menu entry id (string)
|
||||
|
||||
Returns `true` if the toolbar entry exists and is currently activated.
|
||||
|
||||
#### `openUrl(url)`
|
||||
- `url`: http(s) url
|
||||
|
||||
*Built-in client only*: opens url with the system's default browser
|
||||
*External client only*: opens url in a new tab
|
||||
|
||||
If the event that triggered the script's execution was not initiated by a user interaction, this function will have no effect.
|
||||
|
||||
----
|
||||
|
||||
#### `runAs(id, callback)`
|
||||
- `id`: widget `id` as a string.
|
||||
- `callback`: function to be executed
|
||||
|
||||
Run `callback` function as if executed by another that widget matches specified id. This will not change the value of any local variable but `"this"` and `"parent"` arguments (accepted by functions such as `set()`) will be interpreted differently. Timeouts and intervals will be created and cleared in the target widget's scope.
|
||||
|
||||
----
|
||||
|
||||
#### `reload(keepState)`
|
||||
- `keepState` (optional): `true` by default, set to false to discard the client's state.
|
||||
|
||||
Reload the client application. Cannot be called from the `onCreate` property.
|
||||
|
||||
If the event that triggered the script's execution was not initiated by a user interaction, this function will have no effect.
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `getNavigator()`
|
||||
|
||||
Returns the instance of [Navigator](https://developer.mozilla.org/en-US/docs/Web/API/Navigator).
|
||||
|
||||
----
|
||||
|
||||
#### `browseFile(options, callback)`
|
||||
|
||||
Opens the server file browser and pass selected file to a callback function (does not create nor read files by itself).
|
||||
|
||||
- `options`: object with the following keys:
|
||||
- `extension`: allowed extension (default: "*")
|
||||
- `directory`: starting directory for browser (default: user's home)
|
||||
- `allowDir`: allow choosing a directory instead of a file (default: false)
|
||||
- `mode`: "save" or "open"
|
||||
- `callback`: function called with 1 argument (file path)
|
||||
|
||||
#### `uploadFile(options, callback)`
|
||||
|
||||
Opens the client file upload prompt and pass the raw content of selected file to a callback function.
|
||||
|
||||
- `options`: object with the following keys:
|
||||
- `types`: equivalent of HTML attribute [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/accept)
|
||||
- `callback`: function called with 1 argument (file content)
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
# Download the latest release
|
||||
|
||||
!!! tip ""
|
||||
[*Click here*](/docs/getting-started/introduction/#installation) to read the installation guide.
|
||||
|
||||
<a href="https://framagit.org/jean-emmanuel/open-stage-control/-/releases/v{{config.latest_release}}">
|
||||
Open Stage Control v{{config.latest_release}}
|
||||
</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="/packages/open-stage-control-{{config.latest_release}}-1.x86_64.rpm"><i class="fa fa-download"></i>GNU/Linux RPM (64-bit)</a></li>
|
||||
<li><a href="/packages/open-stage-control_{{config.latest_release}}_amd64.deb"><i class="fa fa-download"></i>GNU/Linux Debian (64-bit)</a></li>
|
||||
<li><a href="/packages/open-stage-control_{{config.latest_release}}_linux-x64.zip"><i class="fa fa-download"></i>GNU/Linux (64-bit)</a></li>
|
||||
<li><a href="/packages/open-stage-control_{{config.latest_release}}_node.zip"><i class="fa fa-download"></i>Node.js</a></li>
|
||||
<li><a href="/packages/open-stage-control_{{config.latest_release}}_osx-x64.zip"><i class="fa fa-download"></i>MacOS x64</a></li>
|
||||
<li><a href="/packages/open-stage-control_{{config.latest_release}}_osx-arm64.zip"><i class="fa fa-download"></i>MacOS arm64</a></li>
|
||||
<li><a href="/packages/open-stage-control_{{config.latest_release}}_win32-x64.zip"><i class="fa fa-download"></i>Windows (64-bit)</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<style>
|
||||
html {
|
||||
overflow-y: scroll
|
||||
}
|
||||
.md-sidebar--secondary {
|
||||
display: none;
|
||||
}
|
||||
@media screen and (min-width: 76.25em) {
|
||||
.md-sidebar--primary {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.md-content {
|
||||
margin: 0;
|
||||
}
|
||||
.md-content__inner {
|
||||
margin-left: .8rem;
|
||||
margin-right: .6rem;
|
||||
}
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
li i {
|
||||
margin-right: 10px
|
||||
}
|
||||
.download-size {
|
||||
color: var(--md-typeset-color);
|
||||
opacity: 0.5;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div>
|
||||
<a
|
||||
href="/docs/changelog/"
|
||||
class="md-button md-button-small"
|
||||
>
|
||||
Read the Changelog
|
||||
</a>
|
||||
<a
|
||||
href="https://www.patreon.com/openstagecontrol?fan_landing=true"
|
||||
class="md-button md-button-small patreon-icon"
|
||||
>
|
||||
Support on Patreon
|
||||
</a></div>
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
document.addEventListener('DOMContentLoaded', ()=>{
|
||||
|
||||
if (window.location.hash && window.location.href.includes('properties-reference')) {
|
||||
// show target in tabs/details
|
||||
document.querySelectorAll('[id='+window.location.hash.split("#")[1]+']').forEach(function(item){
|
||||
var tab = item.closest('.tabbed-block'),
|
||||
container= item.closest('.tabbed-set'),
|
||||
details = item.closest('details'),
|
||||
index = 0
|
||||
while (tab.previousElementSibling) {
|
||||
index++
|
||||
tab = tab.previousElementSibling
|
||||
}
|
||||
console.log(index)
|
||||
container.querySelectorAll('.tabbed-labels label:nth-child('+(index+1)+')').forEach(function(item,i){
|
||||
item.click()
|
||||
})
|
||||
|
||||
if (item) {
|
||||
item.scrollIntoView()
|
||||
document.documentElement.scrollTop -= 70
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
})
|
||||
|
|
@ -1,123 +0,0 @@
|
|||
:root {
|
||||
--osc-background-color: rgb(21,26,36);
|
||||
--osc-accent-color: #448aff;
|
||||
}
|
||||
|
||||
html {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.md-header, .md-nav__title[for=__drawer] {
|
||||
background-color: var(--osc-background-color)!important;
|
||||
}
|
||||
|
||||
@media screen and (min-width:1220px) {
|
||||
.md-nav__title[for=__drawer] {
|
||||
background-color: transparent!important;
|
||||
}
|
||||
}
|
||||
|
||||
.md-header-nav__title {
|
||||
padding-top: 1px;
|
||||
padding-left: 0!important
|
||||
}
|
||||
|
||||
.md-source__facts {
|
||||
display: none;
|
||||
}
|
||||
|
||||
td:first-child {
|
||||
white-space: pre!important;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
.force-full-table + .md-typeset__scrollwrap .md-typeset__table {
|
||||
width:100%;
|
||||
}
|
||||
.force-full-table + .md-typeset__scrollwrap .md-typeset__table table {
|
||||
display: table!important;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
|
||||
.accordion {
|
||||
margin: 1.5625em 0;
|
||||
padding: .6rem;
|
||||
overflow: hidden;
|
||||
font-size: .64rem;
|
||||
page-break-inside: avoid;
|
||||
border-left: .2rem solid var(--osc-accent-color);
|
||||
border-radius: .1rem;
|
||||
box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,.05), 0 0 0.05rem rgba(0,0,0,.1);
|
||||
}
|
||||
.accordion h6 {
|
||||
cursor: pointer;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.accordion > :last-child {
|
||||
display: none;
|
||||
}
|
||||
.accordion .md-typeset__table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.accordion.show > :last-child {
|
||||
display: block;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.accordionlink > .headerlink {
|
||||
opacity: 1!important;
|
||||
visibility: visible!important;
|
||||
text-decoration: none;
|
||||
color: inherit!important;
|
||||
display: block;
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
margin-left: 0;
|
||||
}
|
||||
.accordion-description {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.accordion.show .accordion-description {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
table .thead2 {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
white-space: nowrap;
|
||||
}
|
||||
table .thead2 h6 {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
details.api h4 {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
details.api summary {
|
||||
padding-left: 0.6rem;
|
||||
}
|
||||
details.api summary:before {
|
||||
display: none!important;
|
||||
}
|
||||
|
||||
details summary div {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
i[title="dynamic"] {
|
||||
color: var(--osc-accent-color);
|
||||
}
|
||||
|
||||
|
||||
.patreon-icon {
|
||||
margin-top: 2em!important;
|
||||
color: black!important;
|
||||
display: block;
|
||||
background-image: url('data:image/svg+xml;charset=UTF-8,<svg fill="black" viewBox="0 0 569 546" xmlns="http://www.w3.org/2000/svg"><g><circle cx="362.589996" cy="204.589996" data-fill="1" id="Oval" r="204.589996"></circle><rect data-fill="2" height="545.799988" id="Rectangle" width="100" x="0" y="0"></rect></g></svg>');
|
||||
background-size: 20px 30px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 20px center;
|
||||
padding-left: 3em!important;
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
../fonts
|
||||
1
resources/docs/img/ardour-osc.png
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../images/ardour-osc.png
|
||||
1
resources/docs/img/icon-bolt.svg
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../images/icons-bolt.svg
|
||||
|
Before Width: | Height: | Size: 313 B |
1
resources/docs/img/logo-nobadge.png
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../images/logo-nobadge.png
|
||||
1
resources/docs/img/logo-nobadge.svg
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../images/logo-nobadge.svg
|
||||
|
|
@ -1 +0,0 @@
|
|||
../../images/logo.png
|
||||
1
resources/docs/img/logo_discourse.png
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../images/logo_discourse.png
|
||||
|
|
@ -1 +0,0 @@
|
|||
../../images/logo_nobadge.png
|
||||
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
|
@ -1,10 +0,0 @@
|
|||
---
|
||||
template: home.html
|
||||
title: Open Stage Control
|
||||
---
|
||||
|
||||
<style>
|
||||
html {
|
||||
overflow-y: scroll
|
||||
}
|
||||
</style>
|
||||