Compare commits
2449 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
492b557b91 | ||
|
|
aa44f256a1 | ||
|
|
8e5311cf62 | ||
|
|
aff21f61b0 | ||
|
|
fab235daf5 | ||
|
|
434265be35 | ||
|
|
395f3e25c7 | ||
|
|
f8925bf7ef | ||
|
|
f2b1013c59 | ||
|
|
67d4e5331c | ||
|
|
e1492c8ad2 | ||
|
|
5698ac2c92 | ||
|
|
1f218188b8 | ||
|
|
5fc5faf350 | ||
|
|
107f6145af | ||
|
|
88f9372c6b | ||
|
|
4aa744b5c4 | ||
|
|
ee37f620b4 | ||
|
|
58a7b47202 | ||
|
|
aefaf978cf | ||
|
|
f198cecd1b | ||
|
|
4695e1fbc8 | ||
|
|
ff4f27cfc1 | ||
|
|
38995f2f0f | ||
|
|
9c9b132c62 | ||
|
|
f0951e7aab | ||
|
|
507c143461 | ||
|
|
6afffc4455 | ||
|
|
cb6c3268c7 | ||
|
|
167d471066 | ||
|
|
67226a945a | ||
|
|
bc2e5578fd | ||
|
|
c99ec46263 | ||
|
|
17fb29c44a | ||
|
|
234b81c7d8 | ||
|
|
c40a6157a2 | ||
|
|
330649e4d0 | ||
|
|
669b8cfd1a | ||
|
|
29daf787fc | ||
|
|
9b012ba5a7 | ||
|
|
cb638507e3 | ||
|
|
beaf2c5f40 | ||
|
|
8e16f8d2d0 | ||
|
|
b7df20abe6 | ||
|
|
62d4b1d409 | ||
|
|
b03d821ed1 | ||
|
|
a58c9bc1d0 | ||
|
|
cee4432b80 | ||
|
|
bdd992e229 | ||
|
|
3b5ca1b699 | ||
|
|
aaa4d74870 | ||
|
|
d1b497af3d | ||
|
|
25425c69f6 | ||
|
|
cc532f4363 | ||
|
|
a3f84ff547 | ||
|
|
fad8ca6db1 | ||
|
|
fe08953434 | ||
|
|
530982985d | ||
|
|
917eac0fcd | ||
|
|
615aab2789 | ||
|
|
5fe8a1db47 | ||
|
|
453948e354 | ||
|
|
fcd9139c1c | ||
|
|
5499a939de | ||
|
|
1d0bf86e89 | ||
|
|
60ec29ecd7 | ||
|
|
3b0373f69d | ||
|
|
fae6a6f9a2 | ||
|
|
c60d99b4d6 | ||
|
|
d2e7afcdaf | ||
|
|
997971b964 | ||
|
|
2cd7d2f985 | ||
|
|
5dcf7e7bae | ||
|
|
38064f5922 | ||
|
|
6e548ae48b | ||
|
|
9c9d2ee60f | ||
|
|
048bf557e6 | ||
|
|
dce3915681 | ||
|
|
873326b2a9 | ||
|
|
835699112f | ||
|
|
90e2ee0850 | ||
|
|
0e5edb76de | ||
|
|
fab0ed0eab | ||
|
|
9db7ec6828 | ||
|
|
af89ec102b | ||
|
|
ea158f5729 | ||
|
|
53073b903c | ||
|
|
2dc8d71282 | ||
|
|
861287fd73 | ||
|
|
14a27d81a0 | ||
|
|
8cdca7df08 | ||
|
|
e757b3f7a7 | ||
|
|
6273f7713f | ||
|
|
04fa919c9c | ||
|
|
32f0a0b55f | ||
|
|
f95d082c52 | ||
|
|
f54c5d1069 | ||
|
|
a861c4c919 | ||
|
|
62e812cca1 | ||
|
|
8f8e5b488f | ||
|
|
fadeb8388d | ||
|
|
b833ed836b | ||
|
|
19ec59a3c9 | ||
|
|
574dbe7f9e | ||
|
|
c5aa1d3e3e | ||
|
|
dc2d72c762 | ||
|
|
89d6597e47 | ||
|
|
ad6ac9b2b8 | ||
|
|
d2dd9911e1 | ||
|
|
4693f1efed | ||
|
|
8985a0358e | ||
|
|
c319b5a357 | ||
|
|
0922382e70 | ||
|
|
467e5b4133 | ||
|
|
c13adfc7ee | ||
|
|
731a0752d9 | ||
|
|
43d0cd3a9a | ||
|
|
88ff9f44c9 | ||
|
|
c0534ee0dc | ||
|
|
d26fff07ee | ||
|
|
680e3174b0 | ||
|
|
817e98193b | ||
|
|
19a1d40050 | ||
|
|
386ff6870b | ||
|
|
b8db642894 | ||
|
|
c9bbaf0b20 | ||
|
|
1f64303f3b | ||
|
|
553babd93c | ||
|
|
cddee9b776 | ||
|
|
a8be647480 | ||
|
|
06b91e6fce | ||
|
|
80a243d36d | ||
|
|
d09f314f05 | ||
|
|
4d2d9ae0db | ||
|
|
94ac9f2f7a | ||
|
|
35e9b5dfef | ||
|
|
c375386760 | ||
|
|
f55e5ba49a | ||
|
|
b31ea91e71 | ||
|
|
e947caefca | ||
|
|
9c4f3dac75 | ||
|
|
a05685f949 | ||
|
|
d269c30bae | ||
|
|
fb0b629b1c | ||
|
|
fc9cb2870b | ||
|
|
9db1597839 | ||
|
|
742d3dafa8 | ||
|
|
9d477f1259 | ||
|
|
b2dd33bd0c | ||
|
|
3b4faeffd2 | ||
|
|
7fe5f4cf28 | ||
|
|
37098c94f1 | ||
|
|
1bf9b9a135 | ||
|
|
73695a537e | ||
|
|
cc171da8b5 | ||
|
|
f2c51aae63 | ||
|
|
bb1b1f806a | ||
|
|
841d9782bd | ||
|
|
c34e9bcdb8 | ||
|
|
9bc0c5e736 | ||
|
|
0c11d5fd35 | ||
|
|
37cc04e352 | ||
|
|
72e6250a00 | ||
|
|
040b2004da | ||
|
|
47996c9311 | ||
|
|
9f94273416 | ||
|
|
3ef5fe1136 | ||
|
|
d1f937baf6 | ||
|
|
b1bb1c1bad | ||
|
|
4a5843ced6 | ||
|
|
6ca89ed554 | ||
|
|
05b8e23001 | ||
|
|
feeda4aef2 | ||
|
|
99ea113a95 | ||
|
|
8ce2032bfa | ||
|
|
970bbb16c4 | ||
|
|
7fff98ede7 | ||
|
|
52dd615939 | ||
|
|
971709355b | ||
|
|
5779443f79 | ||
|
|
29ad63c7d3 | ||
|
|
47de4036c3 | ||
|
|
2b5be2a5e8 | ||
|
|
0f98873ce7 | ||
|
|
fb38b0a22f | ||
|
|
c76ed03a78 | ||
|
|
ba44bcad22 | ||
|
|
4732e28b7c | ||
|
|
faab8d9ea1 | ||
|
|
ce8d8dcbd9 | ||
|
|
f0bb17193d | ||
|
|
a560313619 | ||
|
|
7cb729ff79 | ||
|
|
57269d49c6 | ||
|
|
48807e9f85 | ||
|
|
7db5963d4f | ||
|
|
c0b3777217 | ||
|
|
a1e0f1e80b | ||
|
|
0441fabfc6 | ||
|
|
768b00d070 | ||
|
|
3f647ad4e0 | ||
|
|
728cd6bb65 | ||
|
|
939a8eda5e | ||
|
|
d1c69bc1eb | ||
|
|
2a9d4b6c18 | ||
|
|
f06a083408 | ||
|
|
f9f5aa1813 | ||
|
|
ed9c1557a0 | ||
|
|
2611f52149 | ||
|
|
1c25bf07ba | ||
|
|
4f0dd29714 | ||
|
|
c155d18686 | ||
|
|
2298e0cb52 | ||
|
|
610f39eb37 | ||
|
|
9f018214e2 | ||
|
|
92f5c26092 | ||
|
|
ab1409bdbb | ||
|
|
037e5d5f46 | ||
|
|
4a28a0dd5e | ||
|
|
e76760c8ba | ||
|
|
f5ddeafa1b | ||
|
|
07869aa12c | ||
|
|
2462c5f38e | ||
|
|
17955b74a8 | ||
|
|
3c75488ca0 | ||
|
|
d9ff17d808 | ||
|
|
d6c68884fd | ||
|
|
8804868b4f | ||
|
|
fb1212d7e2 | ||
|
|
0d9832144d | ||
|
|
2b529bc19d | ||
|
|
295ca34416 | ||
|
|
9b75f8255d | ||
|
|
a280273d22 | ||
|
|
2f8d2490ba | ||
|
|
2e6fa6dcb2 | ||
|
|
214cf059df | ||
|
|
36be8d6158 | ||
|
|
2ad0548517 | ||
|
|
2ba3eecc0f | ||
|
|
2cde21b1db | ||
|
|
0524ddab5a | ||
|
|
6de2a761ab | ||
|
|
dcbea0086e | ||
|
|
e08f0d3354 | ||
|
|
0401ba9571 | ||
|
|
0b4e521ae7 | ||
|
|
b4fc9833ee | ||
|
|
3340d08f45 | ||
|
|
89c8b2fb15 | ||
|
|
d830035d46 | ||
|
|
c1def950e8 | ||
|
|
aa67e88a5b | ||
|
|
3f4261bacf | ||
|
|
74440c9444 | ||
|
|
c384b07177 | ||
|
|
0ba050010a | ||
|
|
c72a1aacc5 | ||
|
|
7c63979db9 | ||
|
|
857e37089e | ||
|
|
b8e8adbf80 | ||
|
|
13b82b9841 | ||
|
|
7ba1936325 | ||
|
|
50fde74933 | ||
|
|
4811012271 | ||
|
|
d8de340ed0 | ||
|
|
892aa02ceb | ||
|
|
bf639fa10c | ||
|
|
7fb558ed96 | ||
|
|
99f48ac39b | ||
|
|
11eb291182 | ||
|
|
2335328c4e | ||
|
|
1f30407ca5 | ||
|
|
83537fec59 | ||
|
|
8d5616a513 | ||
|
|
6edb9ba85c | ||
|
|
a67c8a1e0b | ||
|
|
0be90dd155 | ||
|
|
29ad18de8c | ||
|
|
b3fe2f72ad | ||
|
|
00b86d08cd | ||
|
|
77e663ed89 | ||
|
|
ecbc26c6bd | ||
|
|
0dabc3d943 | ||
|
|
010b164ada | ||
|
|
21c3ab2a2b | ||
|
|
10ada64ea9 | ||
|
|
e94a9dc954 | ||
|
|
0bd2be3001 | ||
|
|
517e089773 | ||
|
|
2f72768344 | ||
|
|
84ae37399d | ||
|
|
5a34f52ed6 | ||
|
|
b2f1003b7d | ||
|
|
9afb2c7b55 | ||
|
|
212144e5fd | ||
|
|
4e49b09a33 | ||
|
|
b6023529f1 | ||
|
|
f21864a70c | ||
|
|
38833448cf | ||
|
|
6490807e90 | ||
|
|
5aaca31e69 | ||
|
|
b11e3d0d20 | ||
|
|
8229526b16 | ||
|
|
5af0aef473 | ||
|
|
f41ca1821b | ||
|
|
1547cce874 | ||
|
|
f8f978948a | ||
|
|
b4276b1544 | ||
|
|
be1fe867db | ||
|
|
0bd5cc9453 | ||
|
|
1bea2f1fce | ||
|
|
162319ca98 | ||
|
|
59d7cb8a67 | ||
|
|
fdb3aceb20 | ||
|
|
94493a5a11 | ||
|
|
cd93dd804f | ||
|
|
ce1cb68c7a | ||
|
|
567b43625b | ||
|
|
fcc850df5e | ||
|
|
3c101c774d | ||
|
|
188b5ce5fb | ||
|
|
c2b5f7e166 | ||
|
|
86c98a1b33 | ||
|
|
8de2c8b3bf | ||
|
|
1237c3f434 | ||
|
|
b661e07228 | ||
|
|
9c8f736ad8 | ||
|
|
da1ed639c0 | ||
|
|
f9fd1ca2a8 | ||
|
|
15904133f3 | ||
|
|
3240f694fd | ||
|
|
c99bb149fa | ||
|
|
ab9dc733d1 | ||
|
|
48fd0c0fce | ||
|
|
6c20deedf3 | ||
|
|
fd3b35a604 | ||
|
|
06ebc167fc | ||
|
|
0271ebd267 | ||
|
|
c267caaf90 | ||
|
|
ef903fe331 | ||
|
|
3db954bef0 | ||
|
|
9a80a5ea35 | ||
|
|
7b119c9b4e | ||
|
|
66596e8a07 | ||
|
|
d76e43a826 | ||
|
|
9ccbe31b3f | ||
|
|
7f27168271 | ||
|
|
28b243cb44 | ||
|
|
e7bd300b10 | ||
|
|
de020426e6 | ||
|
|
2538339ce5 | ||
|
|
e4bfd7251f | ||
|
|
503c8643be | ||
|
|
a6f159f672 | ||
|
|
7eaa6c89a0 | ||
|
|
8581e622b0 | ||
|
|
4595b0068f | ||
|
|
a286a63f39 | ||
|
|
662795dee9 | ||
|
|
1fdba96ebd | ||
|
|
33bd937c3b | ||
|
|
5a72021fb4 | ||
|
|
49044db9e9 | ||
|
|
b6fab3f613 | ||
|
|
16110c9d9e | ||
|
|
08efe1689e | ||
|
|
ef3559ffef | ||
|
|
cd2e77272c | ||
|
|
831f80f7b0 | ||
|
|
187e35d766 | ||
|
|
976686a328 | ||
|
|
0ed8688be4 | ||
|
|
63c8dea9cd | ||
|
|
b749274921 | ||
|
|
bd34ff0fb0 | ||
|
|
a97eacf38c | ||
|
|
fa84ef41b5 | ||
|
|
8a854ad186 | ||
|
|
684016e76a | ||
|
|
f4718abeed | ||
|
|
ca63ddf072 | ||
|
|
e4b28363eb | ||
|
|
62f01fa18e | ||
|
|
6e9c28a5f4 | ||
|
|
7e66b67f9a | ||
|
|
92f321381d | ||
|
|
5490a94ba4 | ||
|
|
0f8b11cbfd | ||
|
|
200394ec6c | ||
|
|
dffea3209a | ||
|
|
33c75865be | ||
|
|
9cd322c55f | ||
|
|
5fc9abfaa4 | ||
|
|
781a13b1a8 | ||
|
|
8085749aeb | ||
|
|
b376bbd325 | ||
|
|
6511ba7d47 | ||
|
|
021666f03c | ||
|
|
68d6dd1ea4 | ||
|
|
e50eaa49a4 | ||
|
|
3bd32521a9 | ||
|
|
0d8a103682 | ||
|
|
74df5c6bb1 | ||
|
|
eae79e51d6 | ||
|
|
8d4e675a85 | ||
|
|
62d50ae68b | ||
|
|
5e511775fc | ||
|
|
600621bc42 | ||
|
|
c645de3a45 | ||
|
|
0312959145 | ||
|
|
60812ed042 | ||
|
|
c8dd38ab00 | ||
|
|
84bba821a8 | ||
|
|
f7cf65fb4f | ||
|
|
d38e377346 | ||
|
|
7858a44974 | ||
|
|
ad620dcd35 | ||
|
|
5ae84d83a7 | ||
|
|
036e3fdaa6 | ||
|
|
90e613f33f | ||
|
|
24795b4ed9 | ||
|
|
e71eef39bb | ||
|
|
ca1af1af13 | ||
|
|
fc9b0a8a2c | ||
|
|
973d908525 | ||
|
|
62af51dcc7 | ||
|
|
856627604b | ||
|
|
c1ca0aaecd | ||
|
|
2a78d8d693 | ||
|
|
4816009480 | ||
|
|
3ebb4121b4 | ||
|
|
365cf1a9bc | ||
|
|
987f12bdd0 | ||
|
|
5372580b0a | ||
|
|
1b041c6f7b | ||
|
|
3a2d40172d | ||
|
|
d092868210 | ||
|
|
96c9980cec | ||
|
|
e4f356c205 | ||
|
|
9b478ddf1d | ||
|
|
e10436d507 | ||
|
|
00a95d5277 | ||
|
|
4d79470575 | ||
|
|
74dcbd2aff | ||
|
|
d40f8155c7 | ||
|
|
96c59ee3bd | ||
|
|
e49c9ce00e | ||
|
|
71a67cdb64 | ||
|
|
1660c98781 | ||
|
|
3f87e3a698 | ||
|
|
2dfa26ea07 | ||
|
|
26394cd836 | ||
|
|
70462e4c24 | ||
|
|
4b06accab8 | ||
|
|
3eaa01b24a | ||
|
|
7a03d6ba57 | ||
|
|
589625b9fe | ||
|
|
500fbe384c | ||
|
|
086a727acf | ||
|
|
dcb24e5f09 | ||
|
|
0bf95e356b | ||
|
|
94f5a0ba5e | ||
|
|
66c68a734e | ||
|
|
90ae97d412 | ||
|
|
9b698f7136 | ||
|
|
eacd44cc8c | ||
|
|
7bf8193b61 | ||
|
|
a588fb2b4a | ||
|
|
a6b82a4c93 | ||
|
|
225590ecb2 | ||
|
|
c1924f8e41 | ||
|
|
b63b3ebac7 | ||
|
|
a0882e655c | ||
|
|
ea2e8f7c92 | ||
|
|
ffd3d08579 | ||
|
|
edc4ffd2ec | ||
|
|
b2da0a8962 | ||
|
|
ae0fbaa646 | ||
|
|
9a6b5d92c1 | ||
|
|
100f3a824d | ||
|
|
0bab9a1d1e | ||
|
|
6806ebc72a | ||
|
|
1c65ae4521 | ||
|
|
e43e290300 | ||
|
|
421999e70b | ||
|
|
6bded203a8 | ||
|
|
4c837e843c | ||
|
|
c2fad00c23 | ||
|
|
6b0b637f07 | ||
|
|
97ab1a7b15 | ||
|
|
6061995605 | ||
|
|
7b49c098d7 | ||
|
|
8c9e82de03 | ||
|
|
643211b39f | ||
|
|
831a0582f2 | ||
|
|
cd013e372e | ||
|
|
444049b782 | ||
|
|
921f8008df | ||
|
|
80c75ae40c | ||
|
|
ec7147a9de | ||
|
|
e1eb6b5df1 | ||
|
|
97c504e79a | ||
|
|
a8fee9c5c3 | ||
|
|
eadd2f5b7f | ||
|
|
b215c41c5b | ||
|
|
f7119040b1 | ||
|
|
e370d77f15 | ||
|
|
05594ca878 | ||
|
|
07b67f10d2 | ||
|
|
49ac867c63 | ||
|
|
0f957475a8 | ||
|
|
2cee11b1fe | ||
|
|
f8b4792bd6 | ||
|
|
543075ed5f | ||
|
|
c2ea1e0073 | ||
|
|
48326389ad | ||
|
|
75be4b7d71 | ||
|
|
e530e33900 | ||
|
|
9eb5dd5060 | ||
|
|
37bf03a336 | ||
|
|
7b8af3eeea | ||
|
|
c67c2b4c50 | ||
|
|
76c7e7b8a6 | ||
|
|
216951a6ea | ||
|
|
6a308202ce | ||
|
|
c4d0720d6d | ||
|
|
616c0c5eee | ||
|
|
84e3a90d91 | ||
|
|
8b8ed54a48 | ||
|
|
f97ce68882 | ||
|
|
e055fad12f | ||
|
|
1c97047b99 | ||
|
|
78134b7865 | ||
|
|
32176c6c9e | ||
|
|
dbb051e301 | ||
|
|
6c9220d0ab | ||
|
|
e180b889cb | ||
|
|
9c2a624aa0 | ||
|
|
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 |
394 changed files with 30420 additions and 33001 deletions
12
.babelrc
12
.babelrc
|
|
@ -1,11 +1,13 @@
|
|||
{
|
||||
"presets": [
|
||||
["env", {
|
||||
["@babel/env", {
|
||||
"targets": {
|
||||
"ios": "9.3",
|
||||
"chrome": "50"
|
||||
}
|
||||
"ios": "10.3",
|
||||
"chrome": "60"
|
||||
},
|
||||
"useBuiltIns": "usage",
|
||||
"corejs": 3
|
||||
}]
|
||||
],
|
||||
"plugins": ["transform-object-rest-spread"]
|
||||
"plugins": ["@babel/plugin-proposal-object-rest-spread"]
|
||||
}
|
||||
|
|
|
|||
1
.eslintignore
Normal file
1
.eslintignore
Normal file
|
|
@ -0,0 +1 @@
|
|||
jquery.*.js
|
||||
65
.eslintrc.json
Normal file
65
.eslintrc.json
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
{
|
||||
"parser": "babel-eslint",
|
||||
"env": {
|
||||
"es6": true,
|
||||
"browser": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"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-fallthrough": "off",
|
||||
"no-empty": [
|
||||
"error",
|
||||
{
|
||||
"allowEmptyCatch": true
|
||||
}
|
||||
],
|
||||
"no-unused-vars": [
|
||||
"error",
|
||||
{
|
||||
"args": "none"
|
||||
}
|
||||
],
|
||||
"space-before-function-paren": [
|
||||
"error",
|
||||
"never"
|
||||
],
|
||||
"indent": [
|
||||
"error",
|
||||
4,
|
||||
{
|
||||
"SwitchCase": 1,
|
||||
"ObjectExpression": 1,
|
||||
"ArrayExpression": 1,
|
||||
"MemberExpression": "off",
|
||||
"ignoredNodes": ["ConditionalExpression", "TemplateElement"]
|
||||
}
|
||||
],
|
||||
"linebreak-style": [
|
||||
"error",
|
||||
"unix"
|
||||
],
|
||||
"quotes": [
|
||||
"error",
|
||||
"single"
|
||||
],
|
||||
"semi": [
|
||||
"error",
|
||||
"never"
|
||||
]
|
||||
},
|
||||
"globals": {
|
||||
"module": true
|
||||
}
|
||||
}
|
||||
21
.github/ISSUE_TEMPLATE/bug.md
vendored
Normal file
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
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
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/
|
||||
17
.gitignore
vendored
17
.gitignore
vendored
|
|
@ -1,6 +1,15 @@
|
|||
node_modules
|
||||
dist
|
||||
app/browser/styles.css
|
||||
app/browser/scripts.js
|
||||
app/browser/scripts.js.map
|
||||
app/browser/favicon.ico
|
||||
app/LICENSE
|
||||
app/assets/fonts/*
|
||||
app/assets/*.css*
|
||||
app/assets/*.png
|
||||
app/client/*.js*
|
||||
app/launcher/*.js*
|
||||
app/server/*
|
||||
app/docs/*
|
||||
!app/docs/.htaccess
|
||||
!app/server/.keep
|
||||
app/package.json
|
||||
package-lock.json
|
||||
*.pyc
|
||||
|
|
|
|||
17
.travis.yml
17
.travis.yml
|
|
@ -1,12 +1,13 @@
|
|||
anHsudo: required
|
||||
dist: trusty
|
||||
dist: bionic
|
||||
language: node_js
|
||||
node_js:
|
||||
- "6"
|
||||
- "12"
|
||||
before_install:
|
||||
- sudo dpkg --add-architecture i386
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq wine fakeroot
|
||||
- sudo apt-get install -qq wine-stable fakeroot xvfb python3.8 python3-pip python3-setuptools
|
||||
- sudo python3 -m pip install mkdocs-material
|
||||
install: npm install
|
||||
before_deploy:
|
||||
deploy:
|
||||
|
|
@ -20,7 +21,9 @@ deploy:
|
|||
tags: true
|
||||
before_deploy:
|
||||
- export VERSION=$(sed -nE 's/^\s*"version":\ "(.*?)",$/\1/p' package.json)
|
||||
- npm run build
|
||||
- npm run build-docs
|
||||
- npm run package -- --all
|
||||
- npm run package-node
|
||||
- npm run deb32
|
||||
- npm run deb64
|
||||
- npm run debarm
|
||||
|
|
@ -29,18 +32,20 @@ before_deploy:
|
|||
- 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
|
||||
- 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
|
||||
- zip -q -r packages/open-stage-control-${VERSION}-linux-arm64.zip open-stage-control-${VERSION}-linux-arm64
|
||||
- ls packages
|
||||
- cd ..
|
||||
|
|
|
|||
865
CHANGELOG.md
865
CHANGELOG.md
|
|
@ -1,762 +1,149 @@
|
|||
# Changelog
|
||||
|
||||
## 0.21.2
|
||||
## 1.0.2
|
||||
|
||||
- bug fixes
|
||||
- cli: broken long flag `--no-gui`
|
||||
- headless: when running with `node`, errors don't stop the server; when running with `electron` (default), errors are logged in the console instead of being showed in a dialog window
|
||||
- switcher widgets regression (broken)
|
||||
- midi
|
||||
- float values are now allowed and automatically rounded
|
||||
- misc
|
||||
- some code refactoring
|
||||
- broken scrolling on iPhone iOS 13
|
||||
- window geomtry issue
|
||||
|
||||
## 0.21.1
|
||||
## 1.0.1
|
||||
|
||||
- bug fixes
|
||||
- visualizer: fix memory leak when editing; fix ignored `smooth` option
|
||||
- plots: regression preventing widgets with no `target` option from receiving messages sent by other clients
|
||||
- UI
|
||||
- windows' dimensions and position are now saved upon closing and restored at startup
|
||||
|
||||
## 0.21.0
|
||||
## 1.0.0
|
||||
|
||||
- main
|
||||
- renamed `--sync` option to `--send` (deprecation, backward-compatible)
|
||||
- widgets
|
||||
- sliders/pads: when receiving feedback while touched, the widget waits to be released before updating to the latest received value.
|
||||
- input: the widget's value is no longer validated when leaving focus by clicking somewhere else or hitting the `Tab` key (it must be submitted by hitting the `Enter` key); when submitting a value to another widget, the feedback from this widget doesn't trigger a second osc message anymore; non-editable inputs can't steal focus anymore
|
||||
- added support for `null` value in `target` option to disable osc sending
|
||||
- misc
|
||||
- property fields are now parsed using [JSON5](https://github.com/json5/json5), a more flexible notation. Session files are still written in standard JSON format, this is just a way to avoid typing mistakes when using the editor.
|
||||
- remote editing also accepts JSON5 notation
|
||||
*This list is not exhaustive*
|
||||
|
||||
## 0.20.3
|
||||
- compatibility
|
||||
- dropped support for iOS 9
|
||||
- firefox (75+) support
|
||||
|
||||
- bug fixes
|
||||
- allow loading `.json` session files from the launcher
|
||||
- launcher
|
||||
- new log/error console (shows once the app is started)
|
||||
- UI
|
||||
- overhaul design reworked
|
||||
- foldable sidepanels
|
||||
- removed lobby
|
||||
- added toolbar menu
|
||||
- dispay loading (spinner) in a notification instead of a modal
|
||||
- mod + w to close window
|
||||
- context-menu now use click event to trigger actions, not mousedown/touchstart
|
||||
- no more uppercase text by default
|
||||
|
||||
## 0.20.2
|
||||
- themes
|
||||
- built-in themes removed except `orange`
|
||||
|
||||
- bug fixes
|
||||
- pads: regression breaking the built-in input
|
||||
- multifader: inverted order in horizontal mode
|
||||
- widgets
|
||||
- plots: add `smooth` option (thanks to [cardinal-spline-js](https://github.com/epistemex/cardinal-spline-js)); draw thicker lines
|
||||
- pads: draw thicker inner circle
|
||||
- mobile
|
||||
- prevent devices from entering sleep mode
|
||||
- translations
|
||||
- incomplete russian translation removed
|
||||
|
||||
- editor
|
||||
- project tree
|
||||
- dropdown for properties with multiple choices
|
||||
- color picker
|
||||
- preview numeric values for style-related properties set to auto
|
||||
- context menu: added "show in tree" action
|
||||
- context menu: removed "edit parent" action
|
||||
- allow copying tabs (to tab containers only)
|
||||
- shared clipboard accross all clients
|
||||
- prevent interaction with widgets when `shift` or `ctrl` is held
|
||||
- ensure @{} bindings are always updated upon edition
|
||||
|
||||
|
||||
## 0.20.1
|
||||
- widget changes
|
||||
- all: removed `label` option except for buttons, tabs and modals (one should use `text` widgets if needed)
|
||||
- all: removed support for `null` and `"self"` targets
|
||||
- all: added `ignoreDefaults` property (allows ignoring the server's default targets)
|
||||
- all: `precision` property to `decimals`, don't set osc integer typetag when 0
|
||||
- all: added `typeTags` property
|
||||
- all: multiple style properties to control visibility, colors, alphas and padding
|
||||
- all: added `interaction` (=> css `pointer-events: none;`)
|
||||
- all: added `expand` (=> css `flex: 1;`)
|
||||
- all: prevent html tags in label
|
||||
- pads: removed `split` property -> use custom-module or script instead
|
||||
- root: can contain widgets or tabs
|
||||
- panels: added `layout`, `justify` and `gridTemplate` to help managing layouts (especially responsive ones)
|
||||
- panels: added `verticalTabs` property
|
||||
- panels: added `traversing` property, allow restricting `traversing` to a specific widget type
|
||||
- fader: removed `input`
|
||||
- fader: removed `meter`
|
||||
- fader: added `gradient`
|
||||
- fader: added `round` design style
|
||||
- fader: support setting dash size and gap size in `dashed` property
|
||||
- switch: added `layout` (including grid)
|
||||
- switch: added `click` mode
|
||||
- plot/eq: removed `smooth`
|
||||
- plots/sliders/pads: reversed `logScale` behavior to match standard implementations; can be either `false` (disabled), `true` (logarithmic scale) or `number` (manual log scale, negative for exponential scale)
|
||||
- visualizer: added `framerate` property
|
||||
- visualizer: added `freeze` property
|
||||
- menu: always centered menu
|
||||
- modal: modals can't overflow parent tab boundaries
|
||||
- input: removed `vertical`
|
||||
- pads, range: when `touchAddress` is set, one message per touched point is sent, in addition to the former touch state message
|
||||
- eq: removed `logScaleX` property, always draw logarithmic frequency response
|
||||
- eq: logarithmic x-axis scale fixed
|
||||
- eq: filters ared now defined with the `filters` property, leaving the `value` to its default purpose
|
||||
- eq: added `rangeX`
|
||||
- html: allow `class`, `title` and `style` attributes
|
||||
- dropdown: close menu when receiving a value
|
||||
- dropdown: removed empty 1st option
|
||||
- switch: removed `showValues` (inconsistent with menu/dropdown, feature covered by `values` property)
|
||||
- frame: allow loading non local urls
|
||||
|
||||
- bug fixes
|
||||
- error popups not created
|
||||
- misc
|
||||
- rename sessions files to `.json`
|
||||
- widget removals
|
||||
- `push`, `toggle`: merged into `button`
|
||||
- `strip`: features now covered by `panel`
|
||||
- `meter`: duplicate of `fader` with `design` to `compact` and `interaction` to `false`
|
||||
- `switcher`, `state`, `crossfader`: removed => state managment functions added to the `script` widget
|
||||
- `keys`: merged with `script`
|
||||
- `gyroscope`: not compatible since chrome 74 unless o-s-c goes HTTPS
|
||||
|
||||
## 0.20.0
|
||||
|
||||
- **breaking changes**
|
||||
- sessions are now saved as `.json`files by default (the deprecated `.js` extension can still be opened).
|
||||
- states are now saved as `.state` files (the old `.preset` files can be renamed without any problem)
|
||||
- bug fixes
|
||||
- touch release event is properly dispatched in traversing containers (ie keyboards and matrices) (#94)
|
||||
- widgets
|
||||
- css `border-radius` support enhanced
|
||||
- css `color` applies locally while `--color-text` applies to children too
|
||||
- plot/text: new lines are properly printed
|
||||
- packaging
|
||||
- added `arm64` binaries
|
||||
- iOS
|
||||
- compatibility improved (version 9.3 and above)
|
||||
- engine
|
||||
- electron 1.8.0 (chrome 59)
|
||||
- remote control
|
||||
- removed /TABS
|
||||
- added /NOTIFY
|
||||
|
||||
## 0.19.6
|
||||
- scripting (general)
|
||||
- removed MathJS language
|
||||
- reuse #{} syntax as as shorthand for JS{{}} (one liner, implicit return)
|
||||
- added `locals` variable, a variable store scoped to the widget
|
||||
- renamed `global` to `globals`
|
||||
- expose environment variables in `globals`: `url`, `env` (query parameters), `platform`, `screen` (width/height)
|
||||
|
||||
- hot fix
|
||||
- broken formula widget
|
||||
- script widget
|
||||
- always hidden except in project tree
|
||||
- `script` property must not be wrapped in a JS{{}} block anymore
|
||||
- added `stateGet` and `stateSet` functions
|
||||
- added `storage` object, proxy to the document's localStorage object (allows storing data that persist after refresh/close (cleared with the browser's cache)
|
||||
- added `setTimeout`, `clearTimeout`, `setInterval`, `clearInterval` function proxies with an extra `id` argument (they clear automatically when called multiple times and upon widget removal. `id` is scoped to the widget)
|
||||
|
||||
|
||||
- state
|
||||
- quickstate (store/recall from menu) is now stored in the clients cache and persists after refresh/close (cleared with the browser's cache)
|
||||
|
||||
- custom module
|
||||
- `settings.read(name)`: `name` is now the long name of command-line options (not a camelCased one)
|
||||
- `receive()`: optional last argument to pass extra options such as `clientId`
|
||||
- client id persist upon page refresh and can be set manually with the client url option `id`
|
||||
|
||||
## 0.19.5
|
||||
|
||||
- launcher
|
||||
- fixed typo in new version message
|
||||
- config save/load
|
||||
- allow starting/stopping server without rebooting
|
||||
- syntax check on `--midi` option
|
||||
|
||||
- server
|
||||
- renamed `--url-options` to `--client-options` and make them apply even in remote browsers (can be overridden with url queries)
|
||||
- removed `--blank`, `--gui-only`, `--examples`
|
||||
- hide `--disable-gpu` (cli-only)
|
||||
- added cli-only `--cache-dir` and `--config-file`
|
||||
- added `--authentication` option
|
||||
- added `--use-ssl` option
|
||||
|
||||
|
||||
- misc
|
||||
- client-side javascript's size reduced, now for real !!
|
||||
|
||||
## 0.19.4
|
||||
|
||||
- bug fixes
|
||||
- buttons: changing `css` background works as expected
|
||||
- widgets: changing `css` (text) color works as expected
|
||||
- fader: fix hidden input in horizontal + compact mode
|
||||
- pads: pips scaling bug
|
||||
- widgets
|
||||
- `css` font-sizes apply correctly to all children (better use percents)
|
||||
- formula: add `unit` option
|
||||
- misc
|
||||
- client-side javascript's size reduced !
|
||||
|
||||
## 0.19.3
|
||||
|
||||
- bug fixes
|
||||
- midi: noteOff messages not being sent;
|
||||
|
||||
## 0.19.2
|
||||
|
||||
- bug fixes
|
||||
- lobby: regression breaking the lobby for touch devices
|
||||
|
||||
|
||||
## 0.19.1
|
||||
|
||||
- bug fixes
|
||||
- launcher: load correct font
|
||||
- midi: python3 compatibility fix
|
||||
|
||||
## 0.19.0
|
||||
|
||||
- ui
|
||||
- general design improved, heavily inspired by [budislavTVP](http://budislavtvp.deviantart.com/) works; color schemes are much simpler and easier to customize (try `--theme light` !); Font changed to Roboto; Texts are slightly thicker and uppercased in most cases for better readability (use css `text-transform:none` to disable the latter).
|
||||
- widgets
|
||||
- fader: added `dashed` option; added `input` option;
|
||||
- meter: added `alignRight` option; added `dashed` option;
|
||||
- knob: removed `compact` option; added `dashed` option; added `input` option;
|
||||
- xy/rgb: added `input` option; added `pips` option:
|
||||
- panel/strip: removed inner widgets dark borders; added `border` option;
|
||||
- buttons: new `dropdown` widget;
|
||||
- toggle: added `led` option to choose between the old appearance and the new one; added `douleTap` option
|
||||
- new `input` widget
|
||||
- containers: new `clone` widgets
|
||||
- added support for `"self"` value in `target` option (sends the message back to the clients, useful for sending `/EDIT` messages...)
|
||||
- editor
|
||||
- option fields are now multiline (`ctrl + enter` to add a new line), and pretty printed
|
||||
- added checkboxes for boolean options
|
||||
- added `Edit Parent` context menu option
|
||||
- midi
|
||||
- replaced `pyo` dependency with [`pyrtmidi`](https://github.com/patrickkidd/pyrtmidi): lighter, dedicated to midi only, and handling virtual ports (no `mididings` dependency anymore)
|
||||
- pitchbend value is now a single integer between 0 and 16383
|
||||
- bug fixes
|
||||
- fixed VisualFormat errors in iOS
|
||||
- main
|
||||
- added `--url-options` command line option
|
||||
- fixed `--disable-vsync` not working when starting from the launcher
|
||||
- documentation
|
||||
- new style, better organization
|
||||
|
||||
## 0.18.0
|
||||
|
||||
:warning: **Breaking changes** :warning:
|
||||
|
||||
Sessions saved with this version will not be readable with older versions (old sessions a can be opened but wont be backward-compatible once saved).
|
||||
|
||||
|
||||
- widgets
|
||||
- add property inheritance between widgets with statements `@{parent.propertyName}`, `@{this.propertyName}` and `@{widgetID.propertyName}`
|
||||
- containers: added `variables` options (arbitrary varibles to pass to children)
|
||||
- panel: added full osc support (for sending/receiving tab changes)
|
||||
- modal: changed style to fit popups' appearance; added `popupWidth` and `popupHeight` options; :warning: removed `tabs` option; added full osc support; added `doubleTap` option (makes it openable with double taps instead of single taps)
|
||||
- strip: refactored widget using `panel` as base; added `stretch` and `spacing` option; now it's really cool
|
||||
- sliders: added `doubleTap` option (double taps reset the widget to its initial value when enabled)
|
||||
- knob/fader: renamed `noPip` option to `pips` (inverted behaviour; backward compatible)
|
||||
- encoder: mousewheel support
|
||||
- knob: compact design remake
|
||||
- bug fixes
|
||||
- sliders: fixed `spring` when `value` equals `0`
|
||||
- modal: fixed osc values (was `True`/`False` instead of `1`/`0`)
|
||||
- session
|
||||
- the root panel is now saved as a special `panel` widget (which means it has savable options)
|
||||
- custom module
|
||||
- add access to the app's `settings` object
|
||||
|
||||
## 0.17.8
|
||||
|
||||
- bug fixes
|
||||
- regression breaking widgets' `split` option (0.17.6)
|
||||
- regression breaking the state export button (0.17.7)
|
||||
- regression breaking editor's `cut` action (0.17.7)
|
||||
- osc
|
||||
- javascript object are now stringifyied before beeing sent
|
||||
- widgets
|
||||
- maths: add `condition` option to [`formula`](http://osc.ammd.net/user-guide/widgets-specifics/maths/#formula)
|
||||
- sliders/pads: add `touchAddress` option
|
||||
- fader: add `meterAddress`
|
||||
|
||||
## 0.17.7
|
||||
|
||||
- engine
|
||||
- socket.io v2
|
||||
- client
|
||||
- scripts are now transpiled to ES5 javascript code, thus increasing compatibility with some browser (iOS9's chrome, firefox, etc)
|
||||
- scripts size reduced from 2.4M to 1M thanks to minification
|
||||
- bug fixes
|
||||
- elements duplications in sidepanel when loading another session
|
||||
|
||||
## 0.17.6
|
||||
|
||||
- main
|
||||
- osc sending speed optimization: all static infos (target, address, preArgs) are cached server side to reduce network overhead
|
||||
- widgets
|
||||
- **new** encoder widget
|
||||
- mobile
|
||||
- `hdpi` support (add `?hdpi=1` to the server's url)
|
||||
- bug fixes
|
||||
- launcher: link to the app's address is now clickable
|
||||
- sidepanel: layout glitches with iOS
|
||||
- midi: `program` now works with the correct number of arguments
|
||||
- misc
|
||||
- some little style fixes
|
||||
|
||||
## 0.17.5
|
||||
|
||||
- bug fixes
|
||||
- `multixy` snap mode position offset
|
||||
- widgets
|
||||
- **new** [`rgbled`](http://osc.ammd.net/user-guide/widgets-specifics/plots/#rgbled)
|
||||
|
||||
|
||||
## 0.17.4
|
||||
|
||||
- bug fixes
|
||||
- broken `--blank` option fixed (false-positive detection of concurrency with `--read-only`)
|
||||
- remove debug message in console when closing windows
|
||||
|
||||
## 0.17.3
|
||||
|
||||
Hot fix for `--read-only` switch.
|
||||
Dependencies updates.
|
||||
|
||||
## 0.17.2 (deleted)
|
||||
|
||||
- bug fixes
|
||||
- `editor`: correctly remove editing state when disabling the editor right after going to another tab
|
||||
- main
|
||||
- **new** `--read-only` switch for disabling the editor and preventing change to the session history
|
||||
- widgets
|
||||
- `panel/modal`: add `layout` option ([Visual Format Language](https://github.com/IjzerenHein/autolayout.js))
|
||||
- `css` option now interprets `&` as a selector for the widget's element itself (useful for targetting pseudo-elements such as `&:after`)
|
||||
- `plots`: add `widgetId` option to `text`, `meter` and `led`
|
||||
|
||||
## 0.17.1
|
||||
|
||||
- bug fixes
|
||||
- `midi`: missing dependency
|
||||
- `headless`: terminate `midi` correctly when process exits
|
||||
|
||||
## 0.17.0
|
||||
|
||||
- main
|
||||
- **new** `midi` support ([documentation](http://osc.ammd.net/user-guide/midi/))
|
||||
- ui
|
||||
- **new** `/TABS id1 id2 etc` osc address to remotely enable tabs
|
||||
- remote editing through `/EXEC` command is now deprecated, use `/EDIT` and `/EDIT_SOFT` instead
|
||||
- bug fixes
|
||||
- `push` widgets (and `keyboards`) not correctly synchronizing each other (with shared widget ids or between different clients)
|
||||
- widgets
|
||||
- `css` option now supports css selectors, scoped to the widgets element
|
||||
- `matrices` don't pass `css` option to their children anymore; subwidgets' indexes are now append to `preArgs` instead of being prepended.
|
||||
- misc
|
||||
- app's title uppercased
|
||||
- tabs titles' letter-spacing increased
|
||||
|
||||
## 0.16.5
|
||||
|
||||
- bug fixes
|
||||
- `modal`: correct z-stacking with absolutely positionned widgets; proper rendering for inner widgets; disable parent tab's scrolling when opened; fix various style glitches;
|
||||
- `strip`: resize glitch when containing compact horizontal sliders
|
||||
|
||||
## 0.16.4
|
||||
|
||||
- bug fixes
|
||||
- tab links broken after activating traversing gestures
|
||||
- `push` release is now handled per touch point (releasing one finger used to release all pressed buttons)
|
||||
- misc
|
||||
- destroy default client window when the app process exits
|
||||
|
||||
## 0.16.3
|
||||
|
||||
- bug fixes
|
||||
- crash when remote-editing widgets in disabled tabs
|
||||
- desktop client touch screen support restored
|
||||
|
||||
## 0.16.1
|
||||
|
||||
- bug fixes
|
||||
- string arguments overquoted in sent osc messages
|
||||
- custom module
|
||||
- added support for initialization script
|
||||
- unified expected formatting in sendOsc and receiveOsc methods
|
||||
- ui
|
||||
- reduced scrollbars width
|
||||
|
||||
|
||||
## 0.16.0
|
||||
|
||||
- new logo :)
|
||||
- bug fixes
|
||||
- editor: new widgets are correctly positionned in scrolled areas
|
||||
- widgets
|
||||
- **new** `formula` widget, a [mathjs](http://mathjs.org/) expression evaluator that can process other widgets' values
|
||||
- `multixy` supports named points; fixed drag-dead zone in the border
|
||||
|
||||
## 0.15.1
|
||||
|
||||
- widgets
|
||||
- multifader: add `snap` option
|
||||
- misc
|
||||
- minor css-related performance fix
|
||||
- some titles in the editor had the first-letter uppercased
|
||||
|
||||
## 0.15.0
|
||||
|
||||
- style
|
||||
- improved coherence, no more pure greys, better differenciation between clickable and static elements. Went back from "pure flat" to "flatty" to help with that (ie a few shadows to make layout more self-explanatory). Some widgets were slightly repimped.
|
||||
- bug fixes
|
||||
- `push`: options separators not hidden in the editor
|
||||
- error when touching a non-interractive object while touching a widget with the other fingers
|
||||
- widgets
|
||||
- `multixy` now behaves smarter: points are assigned to the closest touch points
|
||||
- main
|
||||
- modifying a session file will automatically update clients that have loaded the same file
|
||||
|
||||
## 0.14.0
|
||||
|
||||
- bug fixes
|
||||
- some layout regressions in chrome v49
|
||||
- main
|
||||
- osc input port (`-o`) is now set to the http port (`-p`) by default
|
||||
- widgets
|
||||
- **new** `crossfader` and `switcher` widgets that store and recall the state of other widgets
|
||||
- `matrices` now accept multiple color values (that will be sequencially passed to their children)
|
||||
- `switches` accept icons in their values' labels
|
||||
- engine
|
||||
- electron v1.4.13
|
||||
- misc
|
||||
- all widgets classes were rewritten using ES6 class expressions
|
||||
- firefox's minimal version is now 46 because of a ES6 related bug (*note that it's still not officially supported*)
|
||||
|
||||
## 0.13.1
|
||||
|
||||
- bug fixes
|
||||
- regression preventing received osc messages to be properly routed to widgets with `preArgs`
|
||||
- debug
|
||||
- errors occuring in the browser process are now piped to the main process' console with the source file name and the line number.
|
||||
|
||||
## 0.13.0
|
||||
|
||||
- main
|
||||
- **new** `-b / --blank` option to start editing a new session directly
|
||||
- **new** `--disable-vsync` option that improves performance (reduce input lag) on some systems
|
||||
- some inconsistent parameter combinations are now prevented
|
||||
- firefox compatibility improved (yet not perfect)
|
||||
- launcher window is no longer of the `splash` type, as it was difficult to close with some window managers
|
||||
- widgets
|
||||
- **new** `modal` container : a button that turns into a fullscreen panel when clicked.
|
||||
- sliders/xy: add `spring` option that makes that widget jump back to its initial value when released
|
||||
- fader: horizontal mode default height fixed
|
||||
- keyboard: black keys pressed state is more noticeable
|
||||
- matrices: added `start` option to choose the first subwidget's `id`
|
||||
- labels' height reduced
|
||||
- editor
|
||||
- **new** snap-to-grid feature
|
||||
- widgets' min-width set to grid's width
|
||||
- misc
|
||||
- building with node 4 is fixed
|
||||
|
||||
## 0.12.0
|
||||
|
||||
- bug fixes
|
||||
- error popups raised by the main process can be closed
|
||||
- sliders don't send same value over network when the value change is below the widget's precision
|
||||
- widgets
|
||||
- **new** (piano) keyboard widget
|
||||
- matrices: fixed `preArgs` option; added `split` option (default to `false`), *this changes the default osc messages formatting for these widgets*
|
||||
- icons in labels are inserted using the `^` prefix
|
||||
- text: icons support in value
|
||||
- tabs
|
||||
- icons support in label
|
||||
- misc
|
||||
- fontawesome update (4.7.0)
|
||||
|
||||
## 0.11.6
|
||||
|
||||
- widgets
|
||||
- meter: rewritten using fader as base
|
||||
- strip: center widget horizontally if width is set
|
||||
- fader/knob: compact gauge's alpha varies slightly as the distance to the origin grows
|
||||
- misc
|
||||
- one example session added
|
||||
|
||||
## 0.11.5
|
||||
|
||||
- bug fixes
|
||||
- [regression] broken horizontal fader and pads
|
||||
|
||||
## 0.11.4
|
||||
|
||||
- bug fixes
|
||||
- fader: default `height/width` not set when `top/left` is `auto`
|
||||
|
||||
## 0.11.3
|
||||
|
||||
- widgets
|
||||
- knob: gesture's precision is proportionnal to the widget's size
|
||||
- fader: `height:auto` (or `width` for `horizontal` mode) makes the fader expand automatically
|
||||
- ui
|
||||
- cleaner forms in editor and launcher
|
||||
|
||||
## 0.11.2
|
||||
|
||||
- touch
|
||||
- using multiple fingers to control a widget increases the precision (reduces the gesture's computed speed)
|
||||
- widgets
|
||||
- fader: display pips in `compact` mode when `range` has multiple breakpoints
|
||||
- pads: display pips when `range` has multiple breakpoints
|
||||
- multixy: style update (stroked dots, bold number font); `snap` option added; points are automatically assigned to touches as they come; fix `logScale(X|Y)` options
|
||||
|
||||
## 0.11.1
|
||||
|
||||
- bug fixes
|
||||
- meters in faders were not always properly positionned
|
||||
- widgets
|
||||
- knob: gauge's width is proportionnal to the knob's size in `compact` mode; widget's content centering fixed; `compact` style update;
|
||||
|
||||
## 0.11.0
|
||||
|
||||
- bug fixes
|
||||
- `-g / --no-gui` not preventing the launcher from spawning
|
||||
- `-e / --examples` not correctly parsed
|
||||
- main
|
||||
- launcher displays options descriptions for booleans too
|
||||
- widgets
|
||||
- added generic `value` option for setting a widget's initial value (does not sync linked widgets nor send osc message)
|
||||
- **text** widget's `defaultText` replaced with `value`
|
||||
- multixy dots are drawn with filled background instead of stroke
|
||||
|
||||
## 0.10.4
|
||||
|
||||
- main
|
||||
- launcher displays new version if available
|
||||
- launcher stays opened after starting the server and/or the gui except if `--gui-only` is set
|
||||
|
||||
## 0.10.3
|
||||
|
||||
- main
|
||||
- launcher: resetting boolean option properly sets it to false
|
||||
- launcher: display package's version
|
||||
- guis: adjust window's background to match the app's
|
||||
- ui
|
||||
- launcher and session lobby appear more smoothly
|
||||
|
||||
## 0.10.2
|
||||
|
||||
- main
|
||||
- when executing the app with no CLI argument, a launcher window is created allowing user to adjust settings before starting the server (config is saved in the user's directory)
|
||||
|
||||
## 0.10.1
|
||||
|
||||
- bug fixes
|
||||
- rgb: minor visual glitch on extreme value, drawing performance improved
|
||||
- main: examples sessions path are properly stored as absolute paths (fixes `-e / --examples` mode)
|
||||
- ui
|
||||
- lobby: session file names are diplayed first, then shortened paths
|
||||
- misc
|
||||
- widgets `precision` doesn't affect their visual interraction accuracy since values are now rounded only before osc sending
|
||||
|
||||
## 0.10.0-alpha-2
|
||||
|
||||
- bug fixes
|
||||
- [windows] fix long path issue (#35) returns
|
||||
|
||||
## 0.10.0-alpha
|
||||
|
||||
- main
|
||||
- **new** `-c / --custom-module` switch allowing user to define custom osc filtering fonctions
|
||||
- `address` is now used everywhere instead of `path` to describe osc address to avoid confusion. Session files using the old `path` option for widgets are still supported.
|
||||
- **osc bundles** are properly received (subsequent messages are processed separately with a delay if the timetag is set)
|
||||
- widgets can be edited via osc messages using the special `/EXEC` address
|
||||
|
||||
## 0.9.2
|
||||
|
||||
- bug fixes
|
||||
- [windows] fix long path issue (#35)
|
||||
|
||||
## 0.9.1
|
||||
|
||||
- widgets
|
||||
- multiXy: added `pointSize` option; made default size bigger; points don't overflow the pad anymore
|
||||
|
||||
## 0.9.0
|
||||
|
||||
- widgets
|
||||
- **new** `multixy` pad
|
||||
- misc
|
||||
- rewritten `pads` with prototype inheritance and using faders under the hood to handle events (this adds *fader*'s `range` capabilities to *xy*)
|
||||
- engine
|
||||
- electron 1.4.4
|
||||
|
||||
## 0.8.3
|
||||
|
||||
- bug fixes
|
||||
- scrollbar arrows not showing
|
||||
- `fader` pips position when `noPip` is `true`
|
||||
- widgets
|
||||
- matrices : all `fader`, `push` and `toggle` options are now available to `multifader`, `multipush` and `multitoggle`
|
||||
|
||||
## 0.8.2
|
||||
|
||||
- bug
|
||||
- avoid crash when sending osc with incorrect typetags
|
||||
- fixed fallback typetag ('s')
|
||||
- fixed broken `null` value for `push` & `toggle`
|
||||
|
||||
## 0.8.1
|
||||
|
||||
- bug
|
||||
- broken `fader` with `horizontal` set to `true` and `compact` set to `false`
|
||||
- widgets
|
||||
- remove margins from `plots`
|
||||
- added `origin` options to `plots`
|
||||
|
||||
## 0.8.0
|
||||
|
||||
- main
|
||||
- the headless server/clients model is now the only one beeing used : the GUI mode is nothing more than an embedded chromium (electron) client
|
||||
- when a new client opens a session on the server, it is synchronized with the other clients
|
||||
- **new switches** : `--no-gui`, `--gui-only`, `--port`, `--osc-port`, `--version` (see docs)
|
||||
- ui
|
||||
- explicit loadings
|
||||
- widgets
|
||||
- make push's backlight only respond to external osc messages (not to synchronization messages from other widgets or clients)
|
||||
- removed special `false` value case for push/toggles (which used to disable osc sending)
|
||||
- add `norelease` option to `push` for disabling osc messages when releasing the button
|
||||
- `true` and `false` values are now properly sent as boolean
|
||||
- **args type definition** in `preArgs` option now uses the osc typetags only ('f', 'i', 'T', 'F', etc)
|
||||
- engine
|
||||
- electron 1.4.3
|
||||
- misc
|
||||
- rewritten matrices with prototypes inheritance
|
||||
|
||||
## 0.7.0
|
||||
|
||||
- bug fixes
|
||||
- osc messages with 0-item and 1-item args are correctly unpacked and routed
|
||||
- buttons can handle messages with 0 arg if one of their state has the value "null"
|
||||
- ui
|
||||
- nice and bigger scrollbar
|
||||
- right-click no longer starts a dragging gesture
|
||||
- editor
|
||||
- copy/paste data auto-incrementation fix
|
||||
- widgets
|
||||
- new equalizer plotter
|
||||
- push/toggles made more obvious
|
||||
- knob's new options: angle and origin
|
||||
- fader's new option: origin
|
||||
- engine
|
||||
- electron 1.4.1 (chrome 53, node 6.5.0)
|
||||
- misc
|
||||
- added `--examples` switch for showing the availabe example sessions instead of the history
|
||||
- rewritten sliders and plots using canvas and prototypes inheritance
|
||||
- reorganized package using the two-package.json structure: js and css assets are now create at build time, and only necessary dependencies are shipped with the app
|
||||
|
||||
## 0.6.3
|
||||
|
||||
- bug fixes
|
||||
- regression (since 498ba4a06adf63d76fe7181691299c1cc55e8240) breaking the editor on touch devices
|
||||
|
||||
## 0.6.2
|
||||
|
||||
- cool stuff
|
||||
- armv7l prebuilt binaries ! (raspberry 2, etc)
|
||||
- engine
|
||||
- electron 1.3.5
|
||||
|
||||
## 0.6.1
|
||||
|
||||
- bug fixes
|
||||
- editor: widgets/tabs can be accessed through their parent's children list (#27)
|
||||
- engine
|
||||
- electron 1.3.1
|
||||
|
||||
## 0.6.0
|
||||
|
||||
- bug fixes
|
||||
- pasted widget properly use the pointer's position
|
||||
- traversing gestures are effective from the first touch, not after the first move
|
||||
- out-of-range values are properly clipped by faders/knob
|
||||
- ui
|
||||
- Faders & Meters design improved
|
||||
- The main font (droid sans) is now loaded...
|
||||
- Knob's sizing got smarter
|
||||
- Widgets don't blink not jump when they appear for the first time or when they resize
|
||||
- misc
|
||||
- Fader's `align` option replaced with boolean option `alignRight`
|
||||
- Widget's `label` now accepts special directive `icon: fontawesome-class` to display icons from [FontAwesome](http://fontawesome.io/icons/)
|
||||
- Text widget `defaultText` option added
|
||||
- engine
|
||||
- electron 1.2.2
|
||||
|
||||
## 0.5.4
|
||||
|
||||
- bug fixes
|
||||
- [desktop] menu bar auto-hide
|
||||
- [headless] multitouch support
|
||||
- ui
|
||||
- [mobile] better faders pips rendering
|
||||
- fixed horizontal fader knob centering
|
||||
- [mobile] better numeric inputs rendering (not blurred anymore)
|
||||
- engine
|
||||
- [desktop] electron 1.2.0 (chrome 51)
|
||||
|
||||
## 0.5.3
|
||||
|
||||
- bug fixes
|
||||
- [again] touch fake-right-click only fires on long touch, not after every tap
|
||||
- traversing gestures bug with touch
|
||||
- misc
|
||||
- better mouse/touch drag events handlers
|
||||
- engine
|
||||
- electron 1.1.1
|
||||
|
||||
## 0.5.2
|
||||
|
||||
- bug fixes
|
||||
- touch fake-right-click only fires on long touch, not after every tap
|
||||
|
||||
## 0.5.1
|
||||
|
||||
- bug fixes
|
||||
- feedback is now handled precisely by widets (ie not rounded according to the `precision` option, see issue #21)
|
||||
- engine
|
||||
- electron 1.1.0
|
||||
|
||||
## 0.5.0
|
||||
|
||||
- bug fixes
|
||||
- touch/mouse events are both handled simultaneously, module rewritten for better performances (see issue #18)
|
||||
- engine
|
||||
- electron 1.0.2
|
||||
|
||||
|
||||
## 0.4.8
|
||||
|
||||
- bug fixes
|
||||
- regression preventing newly created widgets from using the pointer's coordinates as position
|
||||
- add 0.4.7's fix to headless mode
|
||||
|
||||
## 0.4.7
|
||||
|
||||
- bug fixes
|
||||
- regression causing widgets with `preArgs` to not receive osc correctly
|
||||
|
||||
## 0.4.6
|
||||
|
||||
- engine
|
||||
- electron 0.37.6
|
||||
- node-osc 2.0.3
|
||||
- features
|
||||
- `compact` option added to knob and fader
|
||||
- if an osc input port is specified, osc messages will be sent from it. This enhances compatibility with apps that send their feedback messages directly to the sender.
|
||||
- misc
|
||||
- mouse/touch dragging handler rewritten, now using event delegation and direct handler calls instead of DOM event bubbling whenever it's possible
|
||||
|
||||
## 0.4.5
|
||||
|
||||
- engine
|
||||
- electron 0.37.3
|
||||
- ui
|
||||
- new logo
|
||||
- better lobby design
|
||||
- misc
|
||||
- renamed sliders/pads' `absolute` property to `snap`
|
||||
|
||||
## 0.4.4
|
||||
|
||||
- bug fixes
|
||||
- [headless] scripts are no longer bundled on the fly, it didn't work on some systems
|
||||
- touching widgets without changing their value doesn't make them send the same value again anymore
|
||||
- ui
|
||||
- slightly tightened layout
|
||||
- features
|
||||
- `noPip` option added to knob and fader
|
||||
- `preArgs` accepts object if the arg's type needs to be specified
|
||||
- knob supports breakpoints scale, same as fader's
|
||||
- fader and knob pip scales now support custom label
|
||||
- a push/toggle's value can be set to `null` if only the path needs to be sent in the osc messages
|
||||
- push buttons do not update their own leds and return their value (for state save and widgets sync) based on their last changed property (led state or touch on/off)
|
||||
- misc
|
||||
- refining the fader's pip scale that looked choppy on mobile devices. All pips are now evenly spaced, not relatively to the fader's height.
|
||||
- [desktop mode] saved sessions are added to history
|
||||
|
||||
## 0.4.3
|
||||
|
||||
- features
|
||||
- text widget can be `vertical`
|
||||
- panel widget `scroll` option
|
||||
- bug fixes
|
||||
- smart pasting now works when the clipboard contains several widgets whose unsuffixed ids are the identical
|
||||
- osc received array that contain only one item are correctly unpacked (fixes cross-app sync for widgets that don't accept array, broken since the introduction of `preArgs`)
|
||||
- memory leak when loading a new session (cached tabs were not properly purged)
|
||||
- misc
|
||||
- push widget doesn't fire its 'on' value if pressed while stuck in 'on' position
|
||||
- panel widgets don't have inner margins anymore
|
||||
- fader widget optimization : the pip scale is generated from a single gradient plus some elements for each breakpoint (instead of one element per percent), thus reducing the number of elements to draw.
|
||||
|
||||
## 0.4.2
|
||||
|
||||
- features
|
||||
- new widget : text (just displays received values)
|
||||
- bug fixes
|
||||
- widget linking doesn't cause multiple unwanted osc sends anymore
|
||||
|
||||
## 0.4.1
|
||||
|
||||
- features
|
||||
- `preArgs` option for widgets (prepends constants to osc messages args)
|
||||
|
||||
## 0.4.0
|
||||
|
||||
- engine
|
||||
- electron 0.37.2 (chrome 49)
|
||||
- ui
|
||||
- new flat ui
|
||||
- tab system rewritten : inactive tabs are detached from the DOM tree, thus improving performances while slowing down tab switching.
|
||||
- widget categories in editor's context menu
|
||||
- features
|
||||
- logarithmic scaling (log10) support added to knob, fader & xy
|
||||
- mousewheel support added to knob and fader (ctrlKey for fine control)
|
||||
- new widgets : plot, visualizer & meter. Fader built-in feedback meter option
|
||||
- traversing gestures switch in sidepanel
|
||||
- custom color property for all widgets with inheritance (containers)
|
||||
- editor pasting function now smartly increments widget's id and path while keeping label if different from default
|
||||
- true theming support
|
||||
- misc
|
||||
- sync/link event handling improved
|
||||
- stylesheets cannot be recompiled on the fly anymore (`--c` switch removed)
|
||||
- **new state save file format, no backward compatibility**
|
||||
|
||||
## 0.3.1
|
||||
|
||||
- electron updated to 0.36.11
|
||||
- editor paste menu lets you choose between `Same ID` (cloned widgets) or `New ID` (resets id, label, linkId, and path)
|
||||
- minor style updates
|
||||
|
||||
## 0.3.0
|
||||
|
||||
- 3 new widgets
|
||||
- multifader
|
||||
- multitoggle
|
||||
- multipush
|
||||
|
||||
|
||||
## 0.2.1
|
||||
|
||||
- style update (push/toggle widgets, widgets' dragging handle)
|
||||
- widget dragging/resizing doesn't get broken when editing the root
|
||||
- sidepanel toggle doesn't select root for edition anymore
|
||||
|
||||
## 0.2.0
|
||||
|
||||
- editor code rewriting
|
||||
- right-click context-menu quick editing (widget copy/cut/paste, add & delete tabs/widgets)
|
||||
- canvas: better visibility checks to avoid unnecessary draw calls
|
||||
- visualizer: perf improvement (avoid data processing when not visible), all visualizers hook on the same loop to avoid concurrent timeouts
|
||||
- button: in 'tap' mode (formerly push with `noRelease`), never send/sync `off` value, automatically reset to `off` when receiving `on`
|
||||
- more detached DOM for lighter nested canvas widgets (ie multixy)
|
||||
- unified (kind of) dom html structure for widgets, known css tricks will require adjustments.
|
||||
- cache and config files are now stored in a folder named `open-stage-control` (located in the system's default location for config file). The `.open-stage-control` is no longer used.
|
||||
- added support for icons rotate/flip transform suffixes (example: `^cog.spin`, `^play.rotate-horizontal`)
|
||||
|
|
|
|||
1843
CHANGELOG.v0.md
Normal file
1843
CHANGELOG.v0.md
Normal file
File diff suppressed because it is too large
Load diff
2
Procfile
2
Procfile
|
|
@ -1 +1 @@
|
|||
web: npm run build-js && npm run build-css && cd app && node index.js -n -p $PORT --examples
|
||||
web: node app/ -n -p $PORT --remote-saving 127.0.0.1 $OPTIONS
|
||||
|
|
|
|||
51
README.md
51
README.md
|
|
@ -1,51 +1,12 @@
|
|||
<p>
|
||||
<img src="https://github.com/jean-emmanuel/open-stage-control/blob/master/resources/images/logo.png" height="80px" class="img-circle"/>
|
||||
</p>
|
||||
<img src="resources/images/logo.png" alt="Open Stage Control" height="50px"/>
|
||||
|
||||
Open Stage Control
|
||||
|
||||
<p>
|
||||
Open Stage Control is a libre desktop OSC bi-directionnal control surface application. It's built with HTML, JavaScript & CSS and run as a Node / <a href="http://electron.atom.io/">Electron</a> web server that accepts any number of Chrome / Chromium / Electron clients.
|
||||
</p>
|
||||
*Libre and modular OSC / MIDI controller*
|
||||
|
||||
<p><a href="https://github.com/jean-emmanuel/open-stage-control/releases">Download the latest release (prebuilt binaries for Linux, OS X and Windows)</a></p>
|
||||
|
||||
<p><a href="http://openstagecontrol.herokuapp.com/">Try the online demo (Chrome 50+ required)</a></p>
|
||||
|
||||
|
||||
<div style="width:70%; box-shadow: 0 0 5px 0 rgba(0,0,0,.45); border-radius:2px;overflow:hidden">
|
||||
<a href="http://osc.ammd.net/img/ardour-osc.png" title="Controlling Ardour"><img alt="Controlling Ardour" src="http://osc.ammd.net/img/ardour-osc.png" style="display:block"/></a>
|
||||
</div>
|
||||
|
||||
|
||||
## Documentation
|
||||
|
||||
The documentation is located at [osc.ammd.net](http://osc.ammd.net)
|
||||
|
||||
## Features
|
||||
|
||||
- multiplatform desktop server application with built-in client interface
|
||||
- mouse & multitouch interfaces compatible with **Chrome 50** or later
|
||||
- all the widgets you need !
|
||||
- built-in live editor
|
||||
- clients synchronization
|
||||
- deep customization possibilities such as theming and messages filtering
|
||||
- *true* control over what the widgets send
|
||||
- midi inputs/outputs
|
||||
|
||||
## Supported platforms
|
||||
|
||||
The server can run on all [platforms supported by Electron](https://electron.atom.io/docs/tutorial/supported-platforms/).
|
||||
The only supported client browsers are the one provided with the server and Chrome/Chromium version `50` or later. For iOS devices, the minimal version required is `9.3`.
|
||||
|
||||
## License & credits
|
||||
|
||||
Copyleft © Jean-Emmanuel @ [AMMD](http://ammd.net) 2017
|
||||
|
||||
|
||||
This program is a free software released under the GNU/GPL3 license, it relies on the use of several other free softwares, including [Node.js](https://nodejs.org/), [Electron](http://electron.atom.io/), [osc.js](https://github.com/colinbdclark/osc.js), [socket.io](http://socket.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/), [source-map](https://github.com/mozilla/source-map), [mathjs](http://mathjs.org/)
|
||||
https://openstagecontrol.ammd.net/
|
||||
|
||||
----
|
||||
|
||||
<a href="http://browserstack.com/"><img alt="BrowserStack" src="http://osc.ammd.net/img/logo-browserstack.svg" width="300" /></a>
|
||||
|
||||
BrowserStack helps debugging Open Stage Control by providing a complete suite of browser emulators for Android, iOS and Windows, how awesome is that ? *Quite very much indeed !*
|
||||
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.
|
||||
|
|
|
|||
674
app/LICENSE
674
app/LICENSE
|
|
@ -1,674 +0,0 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
2
app/assets/themes/.gitignore
vendored
Normal file
2
app/assets/themes/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
||||
4
app/browser/fonts/font-awesome.min.css
vendored
4
app/browser/fonts/font-awesome.min.css
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
|
|
@ -1,6 +0,0 @@
|
|||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('roboto-medium.woff') format('woff');
|
||||
}
|
||||
Binary file not shown.
|
|
@ -1,22 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no"/>
|
||||
<link rel="preload" href="fonts/fontawesome-webfont.woff" as="font"/>
|
||||
<link rel="preload" href="fonts/roboto-medium.woff" as="font"/>
|
||||
<link rel="preload" href="scripts.js.map" as="fetch"/>
|
||||
<link rel="stylesheet" type="text/css" href="styles.css" hot-reload/>
|
||||
<link rel="stylesheet" type="text/css" href="theme.css" hot-reload/>
|
||||
<link rel="stylesheet" type="text/css" href="fonts/font-awesome.min.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="fonts/roboto-medium.css"/>
|
||||
<script src="scripts.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="lobby"></div>
|
||||
<div id="container"></div>
|
||||
<div id="sidepanel"></div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
2
app/client/.gitignore
vendored
Normal file
2
app/client/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
||||
1
app/docs/.htaccess
Normal file
1
app/docs/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
|||
ErrorDocument 404 /404.html
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,811 +0,0 @@
|
|||
[
|
||||
{
|
||||
"type": "root",
|
||||
"tabs": [
|
||||
{
|
||||
"type": "tab",
|
||||
"id": "tab_2",
|
||||
"label": "Open Stage Control",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"layout": "",
|
||||
"spacing": 0,
|
||||
"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": "",
|
||||
"widgetId": "",
|
||||
"value": 1,
|
||||
"preArgs": [],
|
||||
"address": "/text_1"
|
||||
},
|
||||
{
|
||||
"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
|
||||
},
|
||||
{
|
||||
"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
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
],
|
||||
"_style": "style",
|
||||
"_children": "children",
|
||||
"css": "",
|
||||
"border": true,
|
||||
"scroll": true,
|
||||
"_geometry": "geometry",
|
||||
"_panel": "panel",
|
||||
"layout": "",
|
||||
"value": "",
|
||||
"_osc": "osc",
|
||||
"precision": 0,
|
||||
"address": "auto",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"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": []
|
||||
}
|
||||
],
|
||||
"_style": "style",
|
||||
"_children": "children",
|
||||
"border": false,
|
||||
"scroll": true,
|
||||
"_geometry": "geometry",
|
||||
"_panel": "panel",
|
||||
"layout": "",
|
||||
"value": "",
|
||||
"_osc": "osc",
|
||||
"precision": 0,
|
||||
"address": "auto",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"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;",
|
||||
"widgetId": "knob_1",
|
||||
"range": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"logScale": false,
|
||||
"origin": "auto",
|
||||
"value": "",
|
||||
"address": "/meter_1",
|
||||
"preArgs": [],
|
||||
"width": 10,
|
||||
"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",
|
||||
"widgetId": "knob_2",
|
||||
"range": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"logScale": false,
|
||||
"origin": "auto",
|
||||
"value": "",
|
||||
"address": "/meter_1",
|
||||
"preArgs": [],
|
||||
"width": 10,
|
||||
"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": []
|
||||
}
|
||||
],
|
||||
"_style": "style",
|
||||
"_children": "children",
|
||||
"height": "auto",
|
||||
"border": false,
|
||||
"scroll": true,
|
||||
"_geometry": "geometry",
|
||||
"_panel": "panel",
|
||||
"layout": "",
|
||||
"value": "",
|
||||
"_osc": "osc",
|
||||
"precision": 0,
|
||||
"address": "auto",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"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
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
],
|
||||
"_style": "style",
|
||||
"_children": "children",
|
||||
"spacing": 0,
|
||||
"border": true,
|
||||
"scroll": true,
|
||||
"_geometry": "geometry",
|
||||
"_panel": "panel",
|
||||
"layout": "",
|
||||
"value": "",
|
||||
"_osc": "osc",
|
||||
"precision": 0,
|
||||
"address": "auto",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"tabs": []
|
||||
}
|
||||
],
|
||||
"_style": "style",
|
||||
"_children": "children",
|
||||
"border": true,
|
||||
"scroll": true,
|
||||
"_geometry": "geometry",
|
||||
"_panel": "panel",
|
||||
"layout": "",
|
||||
"value": "",
|
||||
"_osc": "osc",
|
||||
"precision": 0,
|
||||
"address": "auto",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"tabs": []
|
||||
},
|
||||
{
|
||||
"type": "panel",
|
||||
"top": 10,
|
||||
"left": 120,
|
||||
"id": "panel_1",
|
||||
"label": "Pads",
|
||||
"width": 350,
|
||||
"height": 350,
|
||||
"scroll": true,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"layout": "",
|
||||
"spacing": 0,
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/panel_1",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"variables": "@{parent.variables}",
|
||||
"widgets": [],
|
||||
"tabs": [
|
||||
{
|
||||
"type": "tab",
|
||||
"id": "tab_3",
|
||||
"label": "Xy",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"layout": "",
|
||||
"spacing": 0,
|
||||
"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
|
||||
}
|
||||
],
|
||||
"tabs": [],
|
||||
"scroll": true
|
||||
},
|
||||
{
|
||||
"type": "tab",
|
||||
"id": "tab_5",
|
||||
"label": "rgb",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"layout": "",
|
||||
"spacing": 0,
|
||||
"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",
|
||||
"touchAddress": "",
|
||||
"preArgs": [],
|
||||
"split": false,
|
||||
"target": [],
|
||||
"pointSize": 10
|
||||
}
|
||||
],
|
||||
"tabs": [],
|
||||
"scroll": true
|
||||
},
|
||||
{
|
||||
"type": "tab",
|
||||
"id": "tab_4",
|
||||
"label": "MultiXy",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"layout": "",
|
||||
"spacing": 0,
|
||||
"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
|
||||
}
|
||||
],
|
||||
"tabs": [],
|
||||
"scroll": true
|
||||
}
|
||||
],
|
||||
"border": true
|
||||
},
|
||||
{
|
||||
"type": "dropdown",
|
||||
"top": 10,
|
||||
"left": 480,
|
||||
"id": "dropdown_1",
|
||||
"linkId": "",
|
||||
"label": "Color",
|
||||
"width": 130,
|
||||
"height": "auto",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"precision": 2,
|
||||
"address": "/EDIT",
|
||||
"preArgs": [
|
||||
"root"
|
||||
],
|
||||
"target": [
|
||||
"self"
|
||||
],
|
||||
"value": "{ \"color\": \"auto\" }",
|
||||
"values": {
|
||||
"Default": "{ \"color\": \"auto\" }",
|
||||
"Orange": "{ \"color\": \"orange\" }"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": []
|
||||
},
|
||||
{
|
||||
"type": "multifader",
|
||||
"top": 80,
|
||||
"left": 480,
|
||||
"id": "multifader",
|
||||
"strips": 16,
|
||||
"start": 0,
|
||||
"label": "auto",
|
||||
"unit": "",
|
||||
"width": 130,
|
||||
"height": 380,
|
||||
"alignRight": false,
|
||||
"horizontal": true,
|
||||
"pips": false,
|
||||
"input": false,
|
||||
"compact": true,
|
||||
"dashed": false,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"traversing": true,
|
||||
"snap": true,
|
||||
"range": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"value": "",
|
||||
"origin": "auto",
|
||||
"logScale": false,
|
||||
"precision": 2,
|
||||
"meter": false,
|
||||
"address": "/multifader_1",
|
||||
"preArgs": [],
|
||||
"split": false,
|
||||
"target": []
|
||||
},
|
||||
{
|
||||
"type": "multipush",
|
||||
"top": 10,
|
||||
"left": 620,
|
||||
"id": "multipush",
|
||||
"matrix": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"start": 0,
|
||||
"spacing": 5,
|
||||
"label": "auto",
|
||||
"width": 130,
|
||||
"height": 220,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"traversing": true,
|
||||
"on": 1,
|
||||
"off": 0,
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"address": "/multipush",
|
||||
"preArgs": [],
|
||||
"split": false,
|
||||
"target": [],
|
||||
"norelease": false
|
||||
},
|
||||
{
|
||||
"type": "multitoggle",
|
||||
"top": 240,
|
||||
"left": 620,
|
||||
"matrix": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"start": 0,
|
||||
"spacing": 5,
|
||||
"label": "auto",
|
||||
"width": 130,
|
||||
"height": 220,
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"traversing": true,
|
||||
"on": 1,
|
||||
"off": 0,
|
||||
"value": "",
|
||||
"precision": 2,
|
||||
"address": "/multitoggle",
|
||||
"preArgs": [],
|
||||
"split": false,
|
||||
"target": [],
|
||||
"led": true,
|
||||
"id": "multitoggle"
|
||||
},
|
||||
{
|
||||
"type": "plot",
|
||||
"top": 470,
|
||||
"left": 10,
|
||||
"id": "plot_1",
|
||||
"width": 740,
|
||||
"height": 140,
|
||||
"label": "Plot (multifader)",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"points": "multifader",
|
||||
"rangeX": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"rangeY": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
},
|
||||
"origin": "auto",
|
||||
"logScaleX": false,
|
||||
"logScaleY": false,
|
||||
"pips": false,
|
||||
"address": "/plot_1",
|
||||
"preArgs": [],
|
||||
"smooth": true
|
||||
}
|
||||
],
|
||||
"tabs": [],
|
||||
"scroll": true
|
||||
}
|
||||
],
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/root",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"variables": {},
|
||||
"id": "root",
|
||||
"scroll": true,
|
||||
"label": false
|
||||
}
|
||||
]
|
||||
|
|
@ -1,90 +0,0 @@
|
|||
[
|
||||
{
|
||||
"type": "root",
|
||||
"tabs": [
|
||||
{
|
||||
"type": "tab",
|
||||
"id": "tab_1",
|
||||
"label": "Sysex Example",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"layout": "",
|
||||
"spacing": 0,
|
||||
"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
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"top": 80,
|
||||
"left": 20,
|
||||
"id": "text_1",
|
||||
"width": 200,
|
||||
"height": 60,
|
||||
"label": "Device Inquiry Response",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"widgetId": "",
|
||||
"vertical": false,
|
||||
"preArgs": [],
|
||||
"address": "/sysex",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"top": 150,
|
||||
"left": 20,
|
||||
"id": "text_2",
|
||||
"width": 200,
|
||||
"height": 240,
|
||||
"label": "^info-circle",
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"widgetId": "",
|
||||
"preArgs": [],
|
||||
"address": "/text_2",
|
||||
"vertical": false,
|
||||
"value": ""
|
||||
}
|
||||
],
|
||||
"tabs": [],
|
||||
"scroll": true
|
||||
}
|
||||
],
|
||||
"color": "auto",
|
||||
"css": "",
|
||||
"value": "",
|
||||
"precision": 0,
|
||||
"address": "/root",
|
||||
"preArgs": [],
|
||||
"target": [],
|
||||
"variables": {},
|
||||
"id": "root",
|
||||
"scroll": true,
|
||||
"label": false
|
||||
}
|
||||
]
|
||||
|
|
@ -1 +1 @@
|
|||
require('./main/main')
|
||||
require('./server/open-stage-control-server')
|
||||
|
|
|
|||
2
app/launcher/.gitignore
vendored
Normal file
2
app/launcher/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
||||
|
|
@ -1,290 +0,0 @@
|
|||
var vm = require('vm'),
|
||||
path = require('path'),
|
||||
fs = require('fs'),
|
||||
settings = require('./settings'),
|
||||
osc = require('./osc'),
|
||||
{ipc, clients} = require('./server'),
|
||||
chokidar = require('chokidar')
|
||||
|
||||
var openedSessions = {},
|
||||
widgetHashTable = {},
|
||||
lastSavingClient
|
||||
|
||||
module.exports = {
|
||||
|
||||
ready: function(data,clientId) {
|
||||
ipc.send('connected')
|
||||
|
||||
if (settings.read('readOnly')) {
|
||||
ipc.send('readOnly')
|
||||
}
|
||||
|
||||
if (settings.read('newSession')) {
|
||||
ipc.send('sessionNew')
|
||||
return
|
||||
}
|
||||
|
||||
if (settings.read('sessionFile')) this.sessionOpen({path:settings.read('sessionFile')},clientId)
|
||||
|
||||
var recentSessions = settings.read('recentSessions')
|
||||
|
||||
if (settings.read('examples')) {
|
||||
var dir = path.resolve(__dirname + '/../examples')
|
||||
recentSessions = fs.readdirSync(dir)
|
||||
recentSessions = recentSessions.map(function(file){return dir + '/' + file})
|
||||
}
|
||||
|
||||
ipc.send('sessionList',recentSessions,clientId)
|
||||
},
|
||||
|
||||
sessionAddToHistory: function(data) {
|
||||
var sessionlist = settings.read('recentSessions')
|
||||
|
||||
fs.lstat(data,(err, stats)=>{
|
||||
|
||||
if (err || !stats.isFile()) return
|
||||
|
||||
// add session to history
|
||||
sessionlist.unshift(data)
|
||||
// remove doubles from history
|
||||
sessionlist = sessionlist.filter(function(elem, index, self) {
|
||||
return index == self.indexOf(elem)
|
||||
})
|
||||
// save history
|
||||
settings.write('recentSessions',sessionlist)
|
||||
|
||||
})
|
||||
},
|
||||
|
||||
sessionRemoveFromHistory: function(data) {
|
||||
var sessionlist = settings.read('recentSessions')
|
||||
sessionlist.splice(data,1)
|
||||
settings.write('recentSessions',sessionlist)
|
||||
},
|
||||
|
||||
sessionOpen: function(data,clientId) {
|
||||
|
||||
var file = data.file || (function(){try {return fs.readFileSync(data.path,'utf8')} catch(err) {return false}})(),
|
||||
error = file===false&&data.path?'Session file "' + data.path + '" not found.':false,
|
||||
session
|
||||
|
||||
if (data.path && data.path.split('.').pop() == 'js') {
|
||||
console.warn(`Warning: support for .js session files is deprecated, please use the .json extension instead`)
|
||||
}
|
||||
|
||||
try {
|
||||
session = vm.runInNewContext(file)
|
||||
} catch(err) {
|
||||
error = err
|
||||
}
|
||||
|
||||
if (!error) {
|
||||
|
||||
ipc.send('sessionOpen',JSON.stringify(session),clientId)
|
||||
|
||||
|
||||
for (var i in openedSessions) {
|
||||
if (openedSessions[i].indexOf(clientId) != -1) {
|
||||
openedSessions[i].splice(openedSessions[i].indexOf(clientId), 1)
|
||||
}
|
||||
}
|
||||
|
||||
if (data.path) {
|
||||
|
||||
if (!settings.read('readOnly')) this.sessionAddToHistory(data.path)
|
||||
|
||||
fs.lstat(data.path, (err, stats)=>{
|
||||
|
||||
if (err || !stats.isFile()) return
|
||||
|
||||
|
||||
if (!openedSessions[data.path]) {
|
||||
|
||||
openedSessions[data.path] = []
|
||||
|
||||
var watchFile = ()=>{
|
||||
var watcher = chokidar.watch(data.path)
|
||||
watcher.on('change',()=>{
|
||||
var openedSessionsClone = JSON.parse(JSON.stringify(openedSessions[data.path]))
|
||||
for (var k in openedSessionsClone) {
|
||||
if (openedSessionsClone[k] != lastSavingClient) {
|
||||
module.exports.sessionOpen({path:data.path}, openedSessionsClone[k])
|
||||
}
|
||||
}
|
||||
watcher.close()
|
||||
watchFile()
|
||||
})
|
||||
}
|
||||
|
||||
watchFile()
|
||||
|
||||
|
||||
}
|
||||
|
||||
openedSessions[data.path].push(clientId)
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
ipc.send('error', `Invalid session file (${error})`)
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
sessionOpened: function(data, clientId) {
|
||||
clients[clientId].broadcast.emit('stateSend')
|
||||
},
|
||||
|
||||
savingSession: function(data, clientId) {
|
||||
|
||||
lastSavingClient = clientId
|
||||
|
||||
},
|
||||
|
||||
syncOsc: function(shortdata, clientId) {
|
||||
|
||||
if (!(widgetHashTable[clientId] && widgetHashTable[clientId][shortdata.h])) return
|
||||
|
||||
var value = shortdata.v,
|
||||
data = widgetHashTable[clientId][shortdata.h]
|
||||
|
||||
data.args = data.preArgs.concat(value)
|
||||
|
||||
var cloned
|
||||
for (var k in shortdata) {
|
||||
if (!cloned) {
|
||||
data = JSON.parse(JSON.stringify(data))
|
||||
cloned = true
|
||||
}
|
||||
if (data[k]) {
|
||||
data[k] = shortdata[k]
|
||||
}
|
||||
}
|
||||
|
||||
clients[clientId].broadcast.emit('receiveOsc', data)
|
||||
|
||||
},
|
||||
|
||||
sendOsc: function(shortdata, clientId) {
|
||||
|
||||
if (!(widgetHashTable[clientId] && widgetHashTable[clientId][shortdata.h])) return
|
||||
|
||||
var value = shortdata.v,
|
||||
data = widgetHashTable[clientId][shortdata.h]
|
||||
|
||||
data.args = data.preArgs.concat(value)
|
||||
|
||||
var cloned
|
||||
for (var k in shortdata) {
|
||||
if (!cloned) {
|
||||
data = JSON.parse(JSON.stringify(data))
|
||||
cloned = true
|
||||
}
|
||||
if (data[k]) {
|
||||
data[k] = shortdata[k]
|
||||
}
|
||||
}
|
||||
|
||||
if (data.target.indexOf(null) == -1) {
|
||||
|
||||
var targets = []
|
||||
|
||||
if (settings.read('syncTargets')) Array.prototype.push.apply(targets, settings.read('syncTargets'))
|
||||
if (data.target) Array.prototype.push.apply(targets, data.target)
|
||||
|
||||
|
||||
for (var i in targets) {
|
||||
|
||||
if (targets[i] == 'self') {
|
||||
ipc.send('receiveOsc',data,clientId)
|
||||
continue
|
||||
}
|
||||
|
||||
var host = targets[i].split(':')[0],
|
||||
port = targets[i].split(':')[1]
|
||||
|
||||
if (port) {
|
||||
|
||||
if (data.split) {
|
||||
|
||||
for (var j in data.split) {
|
||||
osc.send(host,port,data.split[j],data.args[j],data.precision)
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
osc.send(host,port,data.address,data.args,data.precision)
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
clients[clientId].broadcast.emit('receiveOsc', data)
|
||||
|
||||
},
|
||||
|
||||
addWidget(data, clientId) {
|
||||
|
||||
if (!widgetHashTable[clientId]) {
|
||||
widgetHashTable[clientId] = {}
|
||||
}
|
||||
|
||||
widgetHashTable[clientId][data.hash] = data.data
|
||||
},
|
||||
|
||||
removeWidget(data, clientId) {
|
||||
|
||||
delete widgetHashTable[clientId][data.hash]
|
||||
|
||||
},
|
||||
|
||||
removeClientWidgets(clientId) {
|
||||
|
||||
if (widgetHashTable[clientId]) {
|
||||
delete widgetHashTable[clientId]
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
stateSave: function(data) {
|
||||
dialog.showSaveDialog(window,{title:'Save current state to preset file',defaultPath:settings.read('presetPath').replace(settings.read('presetPath').split('/').pop(),''),filters: [ { name: 'OSC Preset', extensions: ['preset'] }]},function(file){
|
||||
|
||||
if (file==undefined) {return}
|
||||
settings.write('presetPath',file)
|
||||
|
||||
if (file.indexOf('.preset')==-1){file+='.preset'}
|
||||
fs.writeFile(file,data, function (err, data) {
|
||||
if (err) throw err
|
||||
console.log('The current state was saved in '+file)
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
fullscreen: function(data) {
|
||||
window.setFullScreen(!window.isFullScreen())
|
||||
},
|
||||
|
||||
reloadCss:function(){
|
||||
if (settings.read('theme')) settings.reloadTheme()
|
||||
ipc.send('reloadCss')
|
||||
},
|
||||
|
||||
log: function(data) {
|
||||
console.log(data)
|
||||
},
|
||||
|
||||
error: function(data) {
|
||||
console.error(data)
|
||||
},
|
||||
|
||||
errorLog: function(data) {
|
||||
console.error(data)
|
||||
}
|
||||
}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
var {app, Menu} = require('electron'),
|
||||
settings = require('./settings'),
|
||||
path = require('path')
|
||||
|
||||
app.commandLine.appendSwitch('--touch-events')
|
||||
|
||||
|
||||
if (settings.read('noVsync') || (!settings.cli && settings.read('argv')['disable-vsync'])) {
|
||||
app.commandLine.appendSwitch('--disable-gpu-vsync')
|
||||
}
|
||||
|
||||
|
||||
app.on('window-all-closed', function() {
|
||||
if (process.platform != 'darwin') {
|
||||
app.quit()
|
||||
}
|
||||
})
|
||||
|
||||
module.exports = app
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
var path = require('path'),
|
||||
{BrowserWindow} = require('electron'),
|
||||
shortcut = require('electron-localshortcut'),
|
||||
settings = require('./settings')
|
||||
|
||||
var bgColor = settings.read('theme') && settings.read('theme').indexOf('--color-bg:') != -1 ?
|
||||
settings.read('theme').match(/--color-bg:([^;]*);/)[1].trim()
|
||||
: '#191f2a'
|
||||
|
||||
module.exports = function(options={}) {
|
||||
|
||||
var window
|
||||
|
||||
window = new BrowserWindow({
|
||||
width: options.width || 800,
|
||||
height: options.height || 600,
|
||||
title: options.title || settings.read('appName'),
|
||||
backgroundColor: options.color || bgColor,
|
||||
type:options.type
|
||||
})
|
||||
|
||||
window.loadURL(options.address)
|
||||
|
||||
window.on('closed', function() {
|
||||
window = null
|
||||
})
|
||||
|
||||
window.setMenuBarVisibility(false)
|
||||
|
||||
if (options.shortcuts) {
|
||||
|
||||
shortcut.register(window,'CmdOrCtrl+R',function(){
|
||||
window.reload()
|
||||
})
|
||||
|
||||
shortcut.register(window,'F11',function(){
|
||||
window.setFullScreen(!window.isFullScreen())
|
||||
})
|
||||
|
||||
shortcut.register(window,'F12',function(){
|
||||
window.toggleDevTools()
|
||||
})
|
||||
|
||||
} else {
|
||||
shortcut.register(window,'CmdOrCtrl+R',function(e){
|
||||
return false
|
||||
})
|
||||
}
|
||||
|
||||
return window
|
||||
|
||||
}
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no"/>
|
||||
<link rel="preload" href="../../browser/fonts/roboto-medium.woff" as="font"/>
|
||||
<link rel="preload" href="../../browser/fonts/fontawesome-webfont.woff" as="font"/>
|
||||
<link rel="stylesheet" href="../../browser/styles.css"/>
|
||||
<link rel="stylesheet" href="../../browser/fonts/font-awesome.min.css"/>
|
||||
<link rel="stylesheet" href="../../browser/fonts/roboto-medium.css"/>
|
||||
<script src="launcher.js"></script>
|
||||
</head>
|
||||
|
||||
<body id="launcher">
|
||||
<div id="loading"><div class="spinner"></div></div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
@ -1,236 +0,0 @@
|
|||
var {remote, ipcRenderer, shell} = require('electron'),
|
||||
{dialog, webContents} = remote.require('electron'),
|
||||
settings = remote.require('./main/settings'),
|
||||
packageInfos = remote.require('./package.json')
|
||||
packageVersion = packageInfos.version,
|
||||
packageUrl = packageInfos.repository.url,
|
||||
argv_remote = settings.read('argv'),
|
||||
argv = {},
|
||||
$ = require('jquery/dist/jquery.slim.min.js')
|
||||
|
||||
for (i in argv_remote) {
|
||||
argv[i] = argv_remote[i]
|
||||
}
|
||||
|
||||
$(document).ready(()=>{
|
||||
|
||||
var form = $(`
|
||||
<form class="form" id="form">
|
||||
<div class="btn header"><span id="title">Open Stage Control</span> <span id="version">(v${packageVersion})</span><span id="new-version"</div>
|
||||
</form>
|
||||
`)
|
||||
|
||||
$.each(settings.options, (i, option)=>{
|
||||
|
||||
if (option.launcher === false) return
|
||||
|
||||
var wrapper = $(`<div class="item-wrapper"></div>`),
|
||||
item = $(`
|
||||
<div class="input-wrapper">
|
||||
<label>${option.alias || i}</label>
|
||||
</div>
|
||||
`).appendTo(wrapper),
|
||||
input,
|
||||
cancel,
|
||||
value = argv[i] == undefined ? '' : argv[i]
|
||||
|
||||
|
||||
input = $(`<input class="input" name="${i}" data-type="${option.type}" value="${value}" placeholder="${option.describe}"/>`)
|
||||
|
||||
if (option.type == 'boolean') {
|
||||
|
||||
var toggle = $(`<span class="checkbox ${value?'on':''}"><i class="fa fa-fw fa-check"></i></span>`)
|
||||
toggle.appendTo(item)
|
||||
|
||||
toggle.click(function(e){
|
||||
e.preventDefault()
|
||||
input.val(!eval(input.val())).trigger('change')
|
||||
toggle.toggleClass('on')
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
if (option.file) {
|
||||
|
||||
var browse = $(`<span class="checkbox">...</span>`)
|
||||
browse.appendTo(item)
|
||||
|
||||
browse.click(function(e){
|
||||
e.preventDefault()
|
||||
dialog.showOpenDialog({filters:[{name:option.file.name,extensions:option.file.extensions}]},function(file){
|
||||
input.val(file).change()
|
||||
})
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
input.appendTo(item)
|
||||
|
||||
input.on('change',function(e,stop){
|
||||
var v = $(this).val()
|
||||
if (option.type == 'boolean') {
|
||||
v = v == 'true' ? true : ''
|
||||
input.val(v)
|
||||
} else if (v && option.type == 'array'){
|
||||
v = v.trim().split(' ')
|
||||
} else if (v && option.type == 'number'){
|
||||
v = parseFloat(v)
|
||||
}
|
||||
|
||||
if (v != '' && option.check && option.check(v, argv) !== true) {
|
||||
wrapper.addClass('error')
|
||||
wrapper.find('.error-msg').remove()
|
||||
wrapper.append(`<div class="error-msg">${option.check(v, argv )}</div>`)
|
||||
} else {
|
||||
wrapper.removeClass('error')
|
||||
wrapper.find('.error-msg').remove()
|
||||
argv[i] = v
|
||||
}
|
||||
|
||||
if (option.restart && v!=value && !wrapper.hasClass('restart')) {
|
||||
wrapper.addClass('restart')
|
||||
wrapper.append(`<div class="restart-msg">The app must be restarted for this change to take effect.</div>`)
|
||||
} else if (option.restart && wrapper.hasClass('restart')) {
|
||||
wrapper.removeClass('restart')
|
||||
wrapper.find('.restart-msg').remove()
|
||||
}
|
||||
|
||||
if (!stop) $('input').not(input).trigger('change',true)
|
||||
})
|
||||
|
||||
cancel = $(`<div class="btn clear"><i class="fa fa-remove fa-fw"></i></div>`)
|
||||
cancel.click((e)=>{
|
||||
e.preventDefault()
|
||||
if (option.type == 'boolean') {
|
||||
input.val('false')
|
||||
} else {
|
||||
input.val('')
|
||||
}
|
||||
input.trigger('change')
|
||||
})
|
||||
cancel.appendTo(item)
|
||||
|
||||
form.append(wrapper)
|
||||
|
||||
})
|
||||
|
||||
|
||||
var save = $(`<div class="btn start save">Save</div>`).appendTo(form),
|
||||
saveWithCallback = function(callback) {
|
||||
$('input').change()
|
||||
if (form.find('.error').length) return
|
||||
|
||||
setTimeout(()=>{
|
||||
|
||||
for (i in argv) {
|
||||
if (argv[i] === '') {
|
||||
argv[i] = undefined
|
||||
}
|
||||
}
|
||||
try {
|
||||
settings.makeDefaultConfig(argv)
|
||||
settings.write('argv',argv)
|
||||
save.addClass('saved')
|
||||
setTimeout(()=>{
|
||||
save.removeClass('saved')
|
||||
}, 250)
|
||||
if (callback) callback()
|
||||
} catch (err) {
|
||||
|
||||
}
|
||||
|
||||
},1)
|
||||
}
|
||||
|
||||
save.click((e)=>{
|
||||
|
||||
e.preventDefault()
|
||||
saveWithCallback()
|
||||
|
||||
})
|
||||
|
||||
// Starter (oneshot)
|
||||
|
||||
var start = $(`<div class="btn start">Start</div>`).appendTo(form)
|
||||
start.click((e)=>{
|
||||
|
||||
e.preventDefault()
|
||||
saveWithCallback(()=>{
|
||||
start.off('click')
|
||||
save.off('click')
|
||||
$('input').attr('disabled','true')
|
||||
$('.clear').addClass('disabled')
|
||||
$('.checkbox').addClass('disabled')
|
||||
ipcRenderer.send('start')
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
form.appendTo('#launcher')
|
||||
|
||||
|
||||
// server started callback
|
||||
ipcRenderer.on('started',function(){
|
||||
start.remove()
|
||||
save.remove()
|
||||
terminal.show()
|
||||
})
|
||||
|
||||
// Fake console
|
||||
var terminal = $(`<div class="terminal"></div>`).appendTo('#launcher').hide()
|
||||
|
||||
ipcRenderer.on('stdout', function(e, msg){
|
||||
terminal.append(`<div class="log">${msg}</div>`)
|
||||
terminal.scrollTop(terminal.prop('scrollHeight'))
|
||||
})
|
||||
|
||||
ipcRenderer.on('stderr', function(e, msg){
|
||||
terminal.append(`<div class="error">${msg}</div>`)
|
||||
terminal.scrollTop(terminal.prop('scrollHeight'))
|
||||
})
|
||||
|
||||
|
||||
// ready
|
||||
|
||||
$('input').trigger('change')
|
||||
|
||||
|
||||
$('#loading').remove()
|
||||
setTimeout(()=>{
|
||||
form.addClass('loaded')
|
||||
},0)
|
||||
|
||||
|
||||
// open links in system's browser
|
||||
$(document).click((e,url)=>{
|
||||
var url = $(e.target).attr('href')
|
||||
if (url) {
|
||||
e.preventDefault()
|
||||
shell.openExternal(url)
|
||||
}
|
||||
})
|
||||
|
||||
// New version info
|
||||
if (navigator.onLine) {
|
||||
|
||||
var request = new XMLHttpRequest();
|
||||
request.open('GET', 'https://api.github.com/repos/jean-emmanuel/open-stage-control/tags', true);
|
||||
|
||||
request.onload = function() {
|
||||
if (request.status >= 200 && request.status < 400) {
|
||||
var data = JSON.parse(request.responseText);
|
||||
|
||||
if (data[0].name != 'v' + packageVersion) {
|
||||
$('#new-version').html(` [<a href="${packageUrl}/releases" target="_blank">${data[0].name} is available</a>]`)
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
request.send();
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
106
app/main/main.js
106
app/main/main.js
|
|
@ -1,106 +0,0 @@
|
|||
var settings = require('./settings')
|
||||
|
||||
var serverStarted
|
||||
|
||||
var start = function(readyApp) {
|
||||
|
||||
if (!settings.read('guiOnly') && !serverStarted) {
|
||||
|
||||
var server = require('./server'),
|
||||
osc = require('./osc'),
|
||||
callbacks = require('./callbacks')
|
||||
|
||||
server.bindCallbacks(callbacks)
|
||||
|
||||
serverStarted = true
|
||||
process.on('exit',()=>{
|
||||
if (osc.midi) osc.midi.stop()
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
if (!settings.read('noGui')) {
|
||||
|
||||
var app = require('./electron-app')
|
||||
var address = typeof settings.read('guiOnly')=='string'? 'http://' + settings.read('guiOnly') : settings.read('appAddresses')[0]
|
||||
address += settings.read('urlOptions')
|
||||
if (app.isReady()) {
|
||||
var win = require('./electron-window')({address:address, shortcuts:true})
|
||||
app.on('before-quit',()=>{
|
||||
process.exit()
|
||||
})
|
||||
return win
|
||||
} else {
|
||||
app.on('ready',function(){
|
||||
var win = require('./electron-window')({address:address, shortcuts:true})
|
||||
app.on('before-quit',()=>{
|
||||
process.exit()
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
require('electron').dialog.showErrorBox = (title, err)=>{
|
||||
console.error(title + ': ' + err)
|
||||
}
|
||||
} catch(e){
|
||||
process.on('uncaughtException', (err)=>{
|
||||
console.error('A JavaScript error occurred in the main process:')
|
||||
console.trace(err)
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (settings.cli) {
|
||||
|
||||
start()
|
||||
|
||||
} else {
|
||||
|
||||
var app = require('./electron-app'),
|
||||
path = require('path'),
|
||||
address = 'file://' + path.resolve(__dirname + '/launcher/' + 'index.html'),
|
||||
{ipcMain} = require('electron'),
|
||||
launcher
|
||||
|
||||
app.on('ready',function(){
|
||||
launcher = require('./electron-window')({address:address, shortcuts:false, width:680, height:568, color:'#283143'})
|
||||
})
|
||||
|
||||
process.stdout.write = (function(write) {
|
||||
return function(string, encoding, fd) {
|
||||
write.apply(process.stdout, arguments)
|
||||
launcher.webContents.send('stdout', string)
|
||||
}
|
||||
})(process.stdout.write)
|
||||
|
||||
process.stderr.write = (function(write) {
|
||||
return function(string, encoding, fd) {
|
||||
write.apply(process.stdout, arguments)
|
||||
launcher.webContents.send('stderr', string)
|
||||
}
|
||||
})(process.stderr.write)
|
||||
|
||||
|
||||
ipcMain.on('start',function(e, options){
|
||||
|
||||
var gui = start()
|
||||
|
||||
if (settings.read('guiOnly')) {
|
||||
launcher.hide()
|
||||
gui.on('close',()=>{
|
||||
launcher.close()
|
||||
})
|
||||
} else {
|
||||
launcher.webContents.send('started')
|
||||
}
|
||||
|
||||
|
||||
})
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
var PythonShell = require('python-shell'),
|
||||
path = require('path'),
|
||||
settings = require('./settings')
|
||||
|
||||
var py = new PythonShell('midi.py', {scriptPath:__dirname, mode:'text', args: [
|
||||
settings.read('debug') ? 'debug' : '',
|
||||
...settings.read('midi')
|
||||
]
|
||||
})
|
||||
|
||||
|
||||
oscToMidi = (data)=>{
|
||||
var args = []
|
||||
for (i in data.args) {
|
||||
args.push(data.args[i].value)
|
||||
}
|
||||
py.send(JSON.stringify([data.port, data.address, ...args]))
|
||||
}
|
||||
|
||||
stop = ()=>{
|
||||
py.childProcess.kill()
|
||||
}
|
||||
|
||||
init = (receiveOsc)=>{
|
||||
py.on('message', function (message) {
|
||||
// console.log(message)
|
||||
var name, data
|
||||
try {
|
||||
[name, data] = JSON.parse(message)
|
||||
} catch (err) {
|
||||
// console.log(err)
|
||||
}
|
||||
if (name == 'log') {
|
||||
console.log(data)
|
||||
} else if (name == 'osc') {
|
||||
receiveOsc(data)
|
||||
} else if (name == 'error') {
|
||||
console.log('ERROR: Midi: ' + data)
|
||||
stop()
|
||||
process.exit()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
module.exports = {
|
||||
send: oscToMidi,
|
||||
init: init,
|
||||
stop: stop
|
||||
}
|
||||
227
app/main/midi.py
227
app/main/midi.py
|
|
@ -1,227 +0,0 @@
|
|||
from sys import argv, stdin, stdout, version_info
|
||||
from binascii import hexlify, unhexlify
|
||||
import traceback
|
||||
import json as JSON
|
||||
import re
|
||||
|
||||
|
||||
try:
|
||||
import rtmidi
|
||||
API = rtmidi.RtMidiIn.UNIX_JACK if 'jack' in argv else rtmidi.RtMidiIn.UNSPECIFIED
|
||||
JACK = API == rtmidi.RtMidiIn.UNIX_JACK
|
||||
in_dev = rtmidi.RtMidiIn(API, 'Midi->OSC probe')
|
||||
out_dev = rtmidi.RtMidiOut(API, 'OSC->Midi probe')
|
||||
except:
|
||||
ipcSend('error', 'pyrtmidi not found (or wrong version)')
|
||||
|
||||
|
||||
if version_info.major == 3:
|
||||
raw_input = input
|
||||
|
||||
def ipcSend(name, data):
|
||||
print(JSON.dumps([name, data]))
|
||||
stdout.flush()
|
||||
|
||||
debug = False
|
||||
if 'debug' in argv:
|
||||
debug = True
|
||||
|
||||
def list():
|
||||
|
||||
message = []
|
||||
|
||||
message.append('===========')
|
||||
message.append('MIDI Inputs')
|
||||
|
||||
for i in range(in_dev.getPortCount()):
|
||||
message.append('%i: %s' % (i, in_dev.getPortName(i)))
|
||||
|
||||
message.append('===========')
|
||||
message.append('MIDI Outputs')
|
||||
|
||||
for i in range(out_dev.getPortCount()):
|
||||
message.append('%i: %s' % (i, out_dev.getPortName(i)))
|
||||
|
||||
ipcSend('log', '\n'.join(message))
|
||||
|
||||
if 'list' in argv:
|
||||
list()
|
||||
|
||||
inputs = {}
|
||||
outputs = {}
|
||||
|
||||
for arg in argv:
|
||||
|
||||
if type(arg) == str and ':' in arg:
|
||||
|
||||
name, ports = arg.split(':')
|
||||
|
||||
inputs[name] = rtmidi.RtMidiIn(API, name if not JACK else name + '_in')
|
||||
outputs[name] = rtmidi.RtMidiOut(API, name if not JACK else name + '_out')
|
||||
|
||||
if ports == 'virtual':
|
||||
|
||||
try:
|
||||
inputs[name].openVirtualPort('midi_in')
|
||||
outputs[name].openVirtualPort('midi_out')
|
||||
except:
|
||||
ipcSend('error', 'can\'t open virtual port "%s"' % name)
|
||||
|
||||
elif ',' in ports:
|
||||
|
||||
in_port, out_port = [int(x) for x in ports.split(',')]
|
||||
|
||||
if in_port >= in_dev.getPortCount():
|
||||
ipcSend('error', 'can\'t connect to input port %i' % in_port)
|
||||
break
|
||||
|
||||
if out_port >= out_dev.getPortCount():
|
||||
ipcSend('error', 'can\'t connect to output port %i' % in_port)
|
||||
break
|
||||
|
||||
if in_port != -1:
|
||||
|
||||
try:
|
||||
inputs[name].openPort(in_port, 'midi_in')
|
||||
except:
|
||||
ipcSend('error', 'can\'t connect input to port %i: %s' % (in_port, in_dev.getPortName(in_port)))
|
||||
|
||||
if out_port != -1:
|
||||
|
||||
try:
|
||||
outputs[name].openPort(out_port, 'midi_out')
|
||||
except:
|
||||
ipcSend('error', 'can\'t connect to output port %i: %s' % (out_port, out_dev.getPortName(out_port)))
|
||||
|
||||
def createCallbackFunction(name):
|
||||
|
||||
def callback(midi):
|
||||
|
||||
osc = {}
|
||||
osc['args'] = []
|
||||
osc['host'] = 'midi'
|
||||
osc['port'] = name
|
||||
|
||||
if midi.getChannel() != 0:
|
||||
osc['args'].append({'type': 'i', 'value': midi.getChannel()})
|
||||
|
||||
if midi.isNoteOn():
|
||||
osc['address'] = '/note'
|
||||
osc['args'].append({'type': 'i', 'value': midi.getNoteNumber()})
|
||||
osc['args'].append({'type': 'i', 'value': midi.getVelocity()})
|
||||
|
||||
elif midi.isNoteOff():
|
||||
osc['address'] = '/note'
|
||||
osc['args'].append({'type': 'i', 'value': midi.getNoteNumber()})
|
||||
osc['args'].append({'type': 'i', 'value': 0})
|
||||
|
||||
elif midi.isController():
|
||||
osc['address'] = '/control'
|
||||
osc['args'].append({'type': 'i', 'value': midi.getControllerNumber()})
|
||||
osc['args'].append({'type': 'i', 'value': midi.getControllerValue()})
|
||||
|
||||
elif midi.isProgramChange():
|
||||
osc['address'] = '/program'
|
||||
osc['args'].append({'type': 'i', 'value': midi.getProgramChangeNumber()})
|
||||
|
||||
elif midi.isPitchWheel():
|
||||
osc['address'] = '/pitch'
|
||||
osc['args'].append({'type': 'i', 'value': midi.getPitchWheelValue()})
|
||||
|
||||
elif midi.isSysEx():
|
||||
osc['address'] = '/sysex'
|
||||
# Parse the provided data into a hex MIDI data string of the form 'f0 7e 7f 06 01 f7'.
|
||||
v = hexlify(midi.getSysExData()).decode()
|
||||
v = 'f0 ' + ' '.join([v[i:i+2] for i in range(0, len(v), 2)]) + ' f7'
|
||||
osc['args'].append({'type': 'string', 'value': v})
|
||||
|
||||
ipcSend('osc', osc)
|
||||
|
||||
if debug:
|
||||
ipcSend('log','MIDI received: %s' % midi)
|
||||
|
||||
|
||||
def errorLoggedCallback(midi):
|
||||
|
||||
try:
|
||||
callback(midi)
|
||||
except:
|
||||
ipcSend('log', 'ERROR: MIDI: %s' % traceback.format_exc())
|
||||
|
||||
return errorLoggedCallback
|
||||
|
||||
for name in inputs:
|
||||
|
||||
inputs[name].setCallback(createCallbackFunction(name))
|
||||
# Activate sysex support
|
||||
inputs[name].ignoreTypes(False, False, True)
|
||||
|
||||
sysexRegex = re.compile(r'([^0-9A-Fa-f])\1(\1\1)*')
|
||||
|
||||
def sendMidi(name, event, *args):
|
||||
|
||||
if name not in outputs:
|
||||
return
|
||||
|
||||
m = None
|
||||
|
||||
if 'note' in event and len(args) == 3:
|
||||
args = [int(round(x)) for x in args]
|
||||
if args[2] > 0:
|
||||
m = rtmidi.MidiMessage.noteOn(*args)
|
||||
else:
|
||||
m = rtmidi.MidiMessage.noteOff(args[0], args[1])
|
||||
|
||||
elif 'control' in event and len(args) == 3:
|
||||
args = [int(round(x)) for x in args]
|
||||
m = rtmidi.MidiMessage.controllerEvent(*args)
|
||||
|
||||
elif 'program' in event and len(args) == 2:
|
||||
args = [int(round(x)) for x in args]
|
||||
m = rtmidi.MidiMessage.programChange(*args)
|
||||
|
||||
elif 'pitch' in event and len(args) == 2:
|
||||
args = [int(round(x)) for x in args]
|
||||
m = rtmidi.MidiMessage.pitchWheel(*args)
|
||||
|
||||
elif 'sysex' in event:
|
||||
# rtmidi.MidiMessage(unhexlify('f0 7e 7f 06 01 f7')) creates a sysex message
|
||||
# from hex MIDI data string 'f0 7e 7f 06 01 f7'.
|
||||
# We expect all args to be hex strings! args[0] may contain placeholders of
|
||||
# the form 'nn' that are replaced using args[1..N] to create the final message.
|
||||
midiBytes = args[0].replace(' ', '')
|
||||
i = 1
|
||||
for m in sysexRegex.finditer(midiBytes):
|
||||
midiBytes = midiBytes[:m.start()] + args[i].replace(' ', '') + midiBytes[m.end():]
|
||||
i += 1
|
||||
|
||||
if debug:
|
||||
ipcSend('log', 'Sysex string: %s' % midiBytes)
|
||||
|
||||
m = rtmidi.MidiMessage(unhexlify(midiBytes))
|
||||
|
||||
if m is None:
|
||||
|
||||
ipcSend('log','ERROR: MIDI: could not convert osc args to midi message (%s %s)' % (event, " ".join([str(x) for x in args])))
|
||||
|
||||
else:
|
||||
|
||||
outputs[name].sendMessage(m)
|
||||
|
||||
if debug:
|
||||
ipcSend('log','MIDI sent: %s' % m)
|
||||
|
||||
|
||||
while True:
|
||||
|
||||
try:
|
||||
msg = raw_input()
|
||||
except:
|
||||
break
|
||||
|
||||
try:
|
||||
msg = JSON.loads(msg)
|
||||
msg[1] = msg[1].lower()
|
||||
sendMidi(*msg)
|
||||
except:
|
||||
ipcSend('log', 'ERROR: MIDI: %s' % traceback.format_exc())
|
||||
199
app/main/osc.js
199
app/main/osc.js
|
|
@ -1,199 +0,0 @@
|
|||
// destroy serialport module
|
||||
// (electron-rebuild breaks it for node-only mode)
|
||||
require('vmodule')('serialport', {}, {global: true})
|
||||
|
||||
var osc = require('osc'),
|
||||
ipc = require('./server').ipc,
|
||||
settings = require('./settings'),
|
||||
oscInPort = settings.read('oscInPort') || settings.read('httpPort'),
|
||||
debug = settings.read('debug'),
|
||||
vm = require('vm'),
|
||||
fs = require('fs'),
|
||||
midi = settings.read('midi') ? require('./midi') : false
|
||||
|
||||
var oscServer = new osc.UDPPort({
|
||||
localAddress: "0.0.0.0",
|
||||
localPort: oscInPort,
|
||||
metadata: true
|
||||
})
|
||||
|
||||
|
||||
var parseType = function(type){
|
||||
var t = type[0].match(/[bhtdscrmifTFNI]/)
|
||||
|
||||
if (t!==null) {
|
||||
return t[0]
|
||||
} else {
|
||||
return 's'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
var parseArg = function(arg,precision){
|
||||
if (arg==null) return null
|
||||
switch (typeof arg) {
|
||||
case 'number':
|
||||
return {type: precision == 0 ? 'i' : 'f', value: parseFloat(arg.toFixed(precision))}
|
||||
case 'boolean':
|
||||
return {type: arg ? 'T' : 'F', value: arg}
|
||||
case 'object':
|
||||
if (arg.type) {
|
||||
return {type: parseType(arg.type), value: arg.value}
|
||||
} else {
|
||||
return {type: 's', value:JSON.stringify(arg)}
|
||||
}
|
||||
case 'string':
|
||||
return {type: 's', value:arg}
|
||||
default:
|
||||
return {type: 's', value:JSON.stringify(arg)}
|
||||
}
|
||||
}
|
||||
|
||||
var sendOsc = function(data){
|
||||
|
||||
if (!data) return
|
||||
|
||||
if (data.host == 'midi') {
|
||||
|
||||
if (midi) midi.send(data)
|
||||
|
||||
} else {
|
||||
|
||||
oscServer.send({
|
||||
address: data.address,
|
||||
args: data.args
|
||||
}, data.host, data.port)
|
||||
|
||||
if (debug) console.log('OSC sent: ',{address:data.address, args: data.args}, 'To : ' + data.host + ':' + data.port)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
// var receiveOscQueue = []
|
||||
|
||||
var receiveOsc = function(data, info){
|
||||
|
||||
if (!data) return
|
||||
|
||||
for (i in data.args) {
|
||||
data.args[i] = data.args[i].value
|
||||
}
|
||||
|
||||
if (data.args.length==1) data.args = data.args[0]
|
||||
|
||||
// receiveOscQueue.push(data)
|
||||
|
||||
ipc.send('receiveOsc',data)
|
||||
|
||||
if (debug) console.log('OSC received: ', {address:data.address, args: data.args}, 'From : ' + data.host + ':' + data.port)
|
||||
|
||||
}
|
||||
|
||||
// setInterval(()=>{
|
||||
//
|
||||
// if (receiveOscQueue.length > 0) {
|
||||
// ipc.send('bundle',receiveOscQueue)
|
||||
// receiveOscQueue = []
|
||||
// }
|
||||
//
|
||||
// }, 5)
|
||||
|
||||
|
||||
var customModule = (function(){
|
||||
|
||||
if (!settings.read('customModule')) return false
|
||||
|
||||
var file = (function(){
|
||||
try {
|
||||
return fs.readFileSync(settings.read('customModule'),'utf8')
|
||||
} catch(err) {
|
||||
console.log('CustomModule Error: File not found: ' + settings.read('customModule'))
|
||||
return false
|
||||
}
|
||||
})(),
|
||||
mod,
|
||||
context = {
|
||||
console: console,
|
||||
sendOsc: sendOsc,
|
||||
receiveOsc: receiveOsc,
|
||||
setTimeout: setTimeout,
|
||||
settings: settings
|
||||
}
|
||||
|
||||
try {
|
||||
mod = vm.runInContext(file, vm.createContext(context))
|
||||
} catch(err) {
|
||||
console.log(err)
|
||||
}
|
||||
|
||||
return mod
|
||||
|
||||
})()
|
||||
|
||||
|
||||
var oscInFilter = function(data){
|
||||
if (customModule.oscInFilter) {
|
||||
return customModule.oscInFilter(data)
|
||||
} else {
|
||||
return data
|
||||
}
|
||||
}
|
||||
var oscOutFilter = function(data){
|
||||
if (customModule.oscOutFilter) {
|
||||
return customModule.oscOutFilter(data)
|
||||
} else {
|
||||
return data
|
||||
}
|
||||
}
|
||||
|
||||
var oscInHandler = function(msg, timetag, info){
|
||||
var data = oscInFilter({address: msg.address, args: msg.args, host: info.address, port: info.port})
|
||||
if (!data) return
|
||||
receiveOsc(data)
|
||||
}
|
||||
|
||||
oscServer.on('message', function (msg, timetag, info) {
|
||||
var delay = timetag? Math.max(0,timetag.native - Date.now()) : 0
|
||||
if (delay) {
|
||||
setTimeout(()=>{
|
||||
oscInHandler(msg, timetag, info)
|
||||
}, delay)
|
||||
} else {
|
||||
oscInHandler(msg, timetag, info)
|
||||
}
|
||||
})
|
||||
|
||||
oscServer.on('error', function (error) {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
oscServer.open()
|
||||
|
||||
if (customModule.init) {
|
||||
customModule.init()
|
||||
}
|
||||
|
||||
if (midi) midi.init(receiveOsc)
|
||||
|
||||
module.exports = {
|
||||
|
||||
send: function(host,port,address,args,precision) {
|
||||
|
||||
var message = []
|
||||
|
||||
if (!Array.isArray(args)) args = [args]
|
||||
if (typeof args=='object' && args!==null) {
|
||||
for (var i in args) {
|
||||
var arg = parseArg(args[i],precision)
|
||||
if (arg!=null) message.push(arg)
|
||||
}
|
||||
}
|
||||
|
||||
var data = oscOutFilter({address:address, args: message, host: host, port: port})
|
||||
|
||||
sendOsc(data)
|
||||
|
||||
},
|
||||
midi:midi
|
||||
}
|
||||
|
|
@ -1,66 +0,0 @@
|
|||
|
||||
var express = require('express')(),
|
||||
path = require('path'),
|
||||
http = require('http'),
|
||||
server = http.createServer(express),
|
||||
io = require('socket.io')(server),
|
||||
ipc = {},
|
||||
settings = require('./settings'),
|
||||
appAddresses = settings.read('appAddresses'),
|
||||
clients = {}
|
||||
|
||||
express.get('/', function(req, res){
|
||||
res.sendFile(path.resolve(__dirname + '/../browser/index.html'))
|
||||
})
|
||||
express.get('*', function(req, res){
|
||||
if (req.path.indexOf('theme.css') != -1) {
|
||||
res.set('Content-Type', 'text/css');
|
||||
if (settings.read('theme')) {
|
||||
res.send(new Buffer(settings.read('theme')))
|
||||
} else {
|
||||
res.send('')
|
||||
}
|
||||
} else {
|
||||
res.sendFile(path.resolve(__dirname + '/../browser' + req.path))
|
||||
}
|
||||
})
|
||||
|
||||
server.listen(settings.read('httpPort'))
|
||||
|
||||
ipc.send = function(name,data,clientId) {
|
||||
if (clientId) {
|
||||
io.to(clientId).emit(name,data)
|
||||
} else {
|
||||
io.emit(name,data)
|
||||
}
|
||||
}
|
||||
|
||||
var bindCallbacks = function(callbacks) {
|
||||
io.on('connection', function(socket) {
|
||||
|
||||
clients[socket.id] = socket
|
||||
|
||||
for (let name in callbacks) {
|
||||
socket.on(name, (data)=>{
|
||||
callbacks[name](data,socket.id)
|
||||
})
|
||||
}
|
||||
|
||||
socket.on('disconnect', function() {
|
||||
|
||||
callbacks.removeClientWidgets(socket.id)
|
||||
|
||||
})
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
console.log('App available at ' + appAddresses.join(' & '))
|
||||
|
||||
module.exports = {
|
||||
ipc:ipc,
|
||||
bindCallbacks:bindCallbacks,
|
||||
clients:clients
|
||||
}
|
||||
|
|
@ -1,180 +0,0 @@
|
|||
// This prevents argv parsing to be breaked when the app is packaged (executed without 'electron' prefix)
|
||||
if (process.argv[1]&&process.argv[1].indexOf('-')==0) process.argv.unshift('')
|
||||
|
||||
var baseDir = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'],
|
||||
configPath = require('path').join(baseDir, '.open-stage-control'),
|
||||
fs = require('fs'),
|
||||
ifaces = require('os').networkInterfaces()
|
||||
|
||||
var options = {
|
||||
's':{alias:'send',type:'array',describe:'default targets for all widgets (ip:port pairs)',
|
||||
check: (s)=>{
|
||||
return (s.join(' ').match('^([^:\s]*:[0-9]{4,5}[\s]*)*$') != null) ?
|
||||
true : 'Targets must be ip:port pairs & port must be >= 1024'
|
||||
}
|
||||
},
|
||||
'sync':{type:'array',describe:false,launcher:false,
|
||||
check: (s)=>{
|
||||
if (s) console.error('Warning: --sync is deprecated, use --send instead.')
|
||||
return (s.join(' ').match('^([^:\s]*:[0-9]{4,5}[\s]*)*$') != null) ?
|
||||
true : 'Targets must be ip:port pairs & port must be >= 1024'
|
||||
}
|
||||
},
|
||||
'l':{alias:'load',type:'string',file:{name:'OSC Session (.json)', extensions: ['json', 'js']},describe:'session file to load'},
|
||||
'b':{alias:'blank',type:'boolean',describe:'load a blank session and start the editor'},
|
||||
'c':{alias:'custom-module',type:'string',file:{name:'OSC Custom module (.js)', extensions: ['js']},describe:'custom module file to load'},
|
||||
'p':{alias:'port',type:'number',describe:'http port of the server (default to 8080)',
|
||||
check: (p)=>{
|
||||
return (!isNaN(p) && p > 1023 && parseInt(p)===p) ?
|
||||
true : 'Port must be an integer >= 1024'
|
||||
}
|
||||
},
|
||||
'o':{alias:'osc-port',type:'number',describe:'osc input port (default to --port)',
|
||||
check: (o)=>{
|
||||
return (!isNaN(o) && o > 1023 && parseInt(o)===o) ?
|
||||
true : 'Port must be an integer >= 1024'
|
||||
}
|
||||
},
|
||||
'm':{alias:'midi',type:'array',describe:'midi router settings (requires python-pyo)'},
|
||||
'd':{alias:'debug',type:'boolean',describe:'log received osc messages in the console'},
|
||||
'n':{alias:'no-gui',type:'boolean',describe:'disable default gui',
|
||||
check: (n,argv)=>{
|
||||
return (!n || !argv.g) ?
|
||||
true : 'no-gui and gui-only can\'s be enabled simultaneously'
|
||||
}
|
||||
},
|
||||
'g':{alias:'gui-only',type:'string',describe:'app server\'s url. If true, local port (--port) is used',
|
||||
check: (g,argv)=>{
|
||||
return (!g || !argv.n) ?
|
||||
true : 'no-gui and gui-only can\'s be enabled simultaneously'
|
||||
}
|
||||
},
|
||||
't':{alias:'theme',type:'array',describe:'theme name or path (mutliple values allowed)'},
|
||||
'e':{alias:'examples',type:'boolean',describe:'list examples instead of recent sessions',
|
||||
check: (e,argv)=>{
|
||||
return (!e || !argv.l) ?
|
||||
true : 'examples can\'t be listed if --load is set'
|
||||
}
|
||||
},
|
||||
'url-options':{type:'array',describe:'url options (opt=value pairs)',
|
||||
check: (u, argv)=>{
|
||||
return (!u || !argv.n) ?
|
||||
true : 'url options can\'t be passed in no-gui mode'
|
||||
}
|
||||
},
|
||||
'disable-vsync':{type:'boolean',describe:'disable gui\'s vertical synchronization', restart: true},
|
||||
'read-only':{type:'boolean',describe:'disable session editing and session history changes',
|
||||
check: (r, argv)=>{
|
||||
return (!r || !argv.b) ?
|
||||
true : 'blank session can\'t be started in read-only mode'
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
var argv = require('yargs')
|
||||
.help('help').usage(`\nUsage:\n $0 [options]`).alias('h', 'help')
|
||||
.options(options)
|
||||
.check((argv)=>{
|
||||
var err = []
|
||||
for (key in options) {
|
||||
if (options[key].check && argv[key] != undefined) {
|
||||
var c = options[key].check(argv[key],argv)
|
||||
if (c!==true) {
|
||||
err.push(`-${key}: ${c}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
return err.length ? err.join('\n') : true
|
||||
})
|
||||
.strict()
|
||||
.version().alias('v','version')
|
||||
|
||||
argv = argv.argv
|
||||
|
||||
var cli = false
|
||||
for (i in argv) {
|
||||
if (i != '_' && i != '$0' && (argv[i]!=undefined && argv[i]!==false)) cli = true
|
||||
}
|
||||
|
||||
var configFile = function(){try {return JSON.parse(fs.readFileSync(configPath,'utf-8'))} catch(err) {return {}}}(),
|
||||
config = JSON.parse(JSON.stringify(configFile)),
|
||||
defaultConfig
|
||||
|
||||
var loadTheme = function(t){
|
||||
if (!t) return
|
||||
var style = []
|
||||
for (i in t) {
|
||||
try {style.push(fs.readFileSync(__dirname + '/themes/' + t[i] + '.css','utf-8'))}
|
||||
catch(err) {
|
||||
try {style.push(fs.readFileSync(t[i],'utf-8'))}
|
||||
catch(err) {
|
||||
console.log('Theme "' + t[i] + '" not found.')
|
||||
}
|
||||
}
|
||||
}
|
||||
return style.join('\n')
|
||||
}
|
||||
|
||||
var makeDefaultConfig = function(argv){
|
||||
defaultConfig = {
|
||||
argv:argv,
|
||||
presetPath : process.cwd(),
|
||||
sessionPath: process.cwd(),
|
||||
recentSessions: [],
|
||||
|
||||
appName: 'Open Stage Control',
|
||||
syncTargets: argv.s || argv.sync || false,
|
||||
oscInPort: argv.o || 0,
|
||||
httpPort: argv.p || 8080,
|
||||
debug: argv.d || false,
|
||||
sessionFile: argv.l || false,
|
||||
newSession: argv.b || false,
|
||||
customModule: argv.c || false,
|
||||
noGui: argv.n || false,
|
||||
guiOnly: typeof argv.g == 'string' ? argv.g.length ? argv.g : true : false,
|
||||
urlOptions: argv['url-options'] ? '?' + argv['url-options'].join('&') : '',
|
||||
noVsync: argv['disable-vsync'] || false,
|
||||
readOnly: argv['read-only'] || false,
|
||||
midi: argv.m,
|
||||
appAddresses:function(){
|
||||
var appAddresses = []
|
||||
|
||||
Object.keys(ifaces).forEach(function (ifname) {
|
||||
for (i=0;i<ifaces[ifname].length;i++) {
|
||||
if (ifaces[ifname][i].family == 'IPv4') {
|
||||
appAddresses.push('http://' + ifaces[ifname][i].address + ':' + (argv.p || 8080))
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
return appAddresses
|
||||
}(),
|
||||
examples: argv.e,
|
||||
theme: loadTheme(argv.t)
|
||||
}
|
||||
}
|
||||
|
||||
makeDefaultConfig(argv)
|
||||
|
||||
module.exports = {
|
||||
argv:argv,
|
||||
options:options,
|
||||
makeDefaultConfig:makeDefaultConfig,
|
||||
read:function(key){
|
||||
var x = config[key] || defaultConfig[key]
|
||||
return x
|
||||
},
|
||||
write:function(key,value,tmp) {
|
||||
config[key] = value
|
||||
if (tmp) return
|
||||
configFile[key] = value
|
||||
fs.writeFile(configPath,JSON.stringify(configFile,null,4), function (err, data) {
|
||||
if (err) throw err
|
||||
})
|
||||
},
|
||||
reloadTheme:function(){
|
||||
module.exports.write('theme',loadTheme(argv.t),true)
|
||||
},
|
||||
cli: cli
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
:root {
|
||||
--color-text: rgba(255,255,255,0.7);
|
||||
--color-text-fade: rgba(255,255,255,0.5);
|
||||
|
||||
/*--color-accent:#f58506;*/
|
||||
--color-bg: #000;
|
||||
--color-fg: #111;
|
||||
--color-raised: #1C1C1C;
|
||||
--color-track: #111;
|
||||
--color-light: rgba(255,255,255,0.03);
|
||||
|
||||
}
|
||||
|
||||
.keyboard-container {
|
||||
--color-black: #555;
|
||||
}
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
:root {
|
||||
--color-text: rgba(0,0,0,0.7);
|
||||
--color-text-fade: rgba(0,0,0,0.5);
|
||||
|
||||
--color-accent:rgba(28, 133, 239, 1);
|
||||
--color-grid: rgba(28, 133, 239, .1);
|
||||
|
||||
--color-bg: #bbb;
|
||||
--color-fg: #ddd;
|
||||
--color-raised: #efefef;
|
||||
--color-track: #dadada;
|
||||
--color-light: rgba(255,255,255,0.5);
|
||||
|
||||
--color-white: black;
|
||||
}
|
||||
|
||||
.keyboard-container {
|
||||
--color-black-key: #ccc;
|
||||
--color-white-key: #eee;
|
||||
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
.widget .input {
|
||||
display: none;
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
{
|
||||
"name": "open-stage-control",
|
||||
"productName": "Open Stage Control",
|
||||
"description": "A libre desktop OSC bi-directionnal control surface application.",
|
||||
"version": "0.21.1",
|
||||
"author": {
|
||||
"name": "Jean-Emmanuel Doucet / AMMD",
|
||||
"email": "jeannot@ammd.net"
|
||||
},
|
||||
"keywords": [
|
||||
"osc",
|
||||
"midi",
|
||||
"interface",
|
||||
"multi-touch"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jean-emmanuel/open-stage-control"
|
||||
},
|
||||
"homepage": "http://osc.ammd.net/",
|
||||
"license": "GPL-3.0",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"vmodule":"1.0.1",
|
||||
"electron-localshortcut": "2.0.2",
|
||||
"osc": "2.2.0",
|
||||
"yargs": "9.0.1",
|
||||
"socket.io": "2.0.3",
|
||||
"express": "4.16.1",
|
||||
"jquery": "3.2.1",
|
||||
"chokidar": "1.7.0",
|
||||
"python-shell":"0.4.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "electron ."
|
||||
},
|
||||
"yargs": {
|
||||
"boolean-negation": false
|
||||
},
|
||||
"engines": {
|
||||
"node": "6"
|
||||
}
|
||||
}
|
||||
0
app/server/.keep
Normal file
0
app/server/.keep
Normal file
121
package.json
121
package.json
|
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
"name": "open-stage-control-builder",
|
||||
"description": "[Builder package] A libre desktop OSC bi-directionnal control surface application",
|
||||
"version": "0.21.1",
|
||||
"name": "open-stage-control",
|
||||
"productName": "Open Stage Control",
|
||||
"description": "Libre and modular OSC / MIDI controller",
|
||||
"version": "1.0.2",
|
||||
"author": {
|
||||
"name": "Jean-Emmanuel Doucet / AMMD",
|
||||
"email": "jeannot@ammd.net"
|
||||
"name": "Jean-Emmanuel Doucet",
|
||||
"email": "jean-emmanuel@ammd.net"
|
||||
},
|
||||
"keywords": [
|
||||
"osc",
|
||||
|
|
@ -16,51 +17,93 @@
|
|||
"type": "git",
|
||||
"url": "https://github.com/jean-emmanuel/open-stage-control"
|
||||
},
|
||||
"homepage": "http://osc.ammd.net/",
|
||||
"homepage": "http://openstagecontrol.ammd.net/",
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"autolayout": "0.7.0",
|
||||
"babel-plugin-transform-object-rest-spread": "6.26.0",
|
||||
"babel-preset-env": "*",
|
||||
"babelify": "7.3.0",
|
||||
"browserify": "14.4.0",
|
||||
"cardinal-spline-js": "2.3.6",
|
||||
"electron": "~1.8.1",
|
||||
"electron-packager": "9.1.0",
|
||||
"exorcist": "1.0.0",
|
||||
"file-saver": "1.3.3",
|
||||
"jquery": "3.2.1",
|
||||
"json5": "0.5.1",
|
||||
"kiwi.js": "1.0.1",
|
||||
"@babel/core": "7.10.3",
|
||||
"@babel/plugin-proposal-object-rest-spread": "7.10.3",
|
||||
"@babel/polyfill": "7.10.1",
|
||||
"@babel/preset-env": "7.10.3",
|
||||
"ansi-html": "0.0.7",
|
||||
"babel-eslint": "10.1.0",
|
||||
"babelify": "10.0.0",
|
||||
"bonjour": "github:jean-emmanuel/bonjour",
|
||||
"browserify": "16.5.1",
|
||||
"chroma-js": "2.1.0",
|
||||
"core-js": "3.6.5",
|
||||
"cpr": "3.0.1",
|
||||
"deep-extend": "0.6.0",
|
||||
"electron-localshortcut": "3.2.1",
|
||||
"electron-packager": "14.2.1",
|
||||
"electron-packager-plugin-non-proprietary-codecs-ffmpeg": "1.0.2",
|
||||
"env-paths": "2.2.0",
|
||||
"eslint": "7.3.1",
|
||||
"exorcist": "1.0.1",
|
||||
"file-saver": "2.0.2",
|
||||
"gyronorm": "2.0.6",
|
||||
"http-auth": "4.1.2",
|
||||
"json5": "2.1.3",
|
||||
"jsondiffpatch": "0.4.1",
|
||||
"keyboardjs": "2.6.3",
|
||||
"licensify": "3.1.3",
|
||||
"mathjs": "3.16.4",
|
||||
"node-sass": "4.5.3",
|
||||
"nodemon": "1.12.0",
|
||||
"nosleep.js": "0.7.0",
|
||||
"screenfull": "3.3.1",
|
||||
"shortid": "2.2.8",
|
||||
"socket.io-client": "2.0.3",
|
||||
"uglifyify": "4.0.4"
|
||||
"loop-protect": "github:jean-emmanuel/loop-protect#v1.0.1",
|
||||
"minimatch": "3.0.4",
|
||||
"nanohtml": "1.9.1",
|
||||
"nanoid": "2.1.11",
|
||||
"nanomorph": "5.4.1",
|
||||
"node-forge": "0.9.1",
|
||||
"node-sass": "4.14.1",
|
||||
"nodemon": "2.0.4",
|
||||
"nosleep.js": "0.11.0",
|
||||
"open": "7.0.4",
|
||||
"osc": "2.4.1",
|
||||
"python-shell": "2.0.1",
|
||||
"replacestream": "4.0.3",
|
||||
"sanitize-html": "1.27.0",
|
||||
"scope-css": "1.2.1",
|
||||
"screenfull": "5.0.2",
|
||||
"semver": "7.3.2",
|
||||
"send": "0.17.1",
|
||||
"sortablejs": "1.10.2",
|
||||
"source-map-support": "0.5.19",
|
||||
"stacktrace-js": "2.0.2",
|
||||
"through": "2.3.8",
|
||||
"uglifyify": "5.0.2",
|
||||
"webworkify": "1.5.0",
|
||||
"ws": "7.3.0",
|
||||
"yargs": "15.3.1"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"electron-installer-debian": "0.6.0"
|
||||
"electron": "7.1.11",
|
||||
"electron-installer-debian": "3.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "cp resources/images/logo.ico app/browser/favicon.ico && cd app && npm install && cd .. && npm run build-js && npm run build-css",
|
||||
"start": "cd app && npm start --",
|
||||
"build": "npm run build-js -- --prod && npm run build-css && electron-packager ./app open-stage-control --platform=$PLATFORM --arch=$ARCH --out dist/ --icon=resources/images/logo --overwrite --ignore \"(node_modules/serialport)\"",
|
||||
"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 && 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",
|
||||
"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",
|
||||
"watch-css": "nodemon --watch src/browser/scss -e scss -x \"npm run build-css && node scripts/reload-css.js\"",
|
||||
"watch-js": "nodemon --watch src/browser/js -e js -x \"npm run build-js\"",
|
||||
"watch-themes": "nodemon --watch app/main/themes -e css -x \"node scripts/reload-css.js\"",
|
||||
"build-css": "node-sass --include-path src/browser/scss src/browser/scss/style.scss app/browser/styles.css --output-style compressed",
|
||||
"build-js": "node scripts/build-js.js > app/browser/scripts.js",
|
||||
"deploy-docs": "cd resources && mkdocs gh-deploy --clean && rm -rf site",
|
||||
"test": "npm run build-js && npm run build-css"
|
||||
"build-css": "node scripts/build-css.js",
|
||||
"build-js": "npm run build-launcher-js && npm run build-client-js && 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",
|
||||
"watch-browser": "npm run build-client-js -- --watch",
|
||||
"watch-css": "nodemon --watch src/scss -e scss -x \"npm run build-css -- --reload\"",
|
||||
"watch-server": "nodemon --watch src/server/ -e js -x \"npm run build-server-js\"",
|
||||
"watch-launcher": "nodemon --watch src/launcher/ -e js -x \"npm run build-launcher-js\"",
|
||||
"build-docs": "node scripts/build-widgets-reference.js > resources/docs/docs/widgets/properties-reference.md && cd resources && python3 -m mkdocs build",
|
||||
"test": "eslint src && npm run build && node tests/test.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": "6"
|
||||
"node": ">=6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"watchify": "3.11.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
# How to build the docs
|
||||
|
||||
```bash
|
||||
$ sudo apt-get install python python-pip # python package manager
|
||||
$ sudo pip install mkdocs # docs site builder
|
||||
$ sudo pip install mkdocs-material # theme
|
||||
# https://squidfunk.github.io/mkdocs-material/getting-started/
|
||||
$ python3 -m pip install mkdocs-material
|
||||
|
||||
|
||||
$ mkdocs serve # make docs available on http://127.0.0.1:8000
|
||||
$ mkdocs build # build docs static site
|
||||
$ mkdocs gh-deploy --clean # deploy static site on gh-pages branch
|
||||
# or
|
||||
$ mkdocs build # build docs in site/
|
||||
```
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
osc.ammd.net
|
||||
898
resources/docs/ardour.state
Normal file
898
resources/docs/ardour.state
Normal file
|
|
@ -0,0 +1,898 @@
|
|||
[
|
||||
[
|
||||
"greeter_text",
|
||||
"Ardour Control"
|
||||
],
|
||||
[
|
||||
"osc_logo",
|
||||
"/assets/favicon.png"
|
||||
],
|
||||
[
|
||||
"strip_type_1",
|
||||
1
|
||||
],
|
||||
[
|
||||
"strip_type_2",
|
||||
2
|
||||
],
|
||||
[
|
||||
"strip_type_3",
|
||||
4
|
||||
],
|
||||
[
|
||||
"strip_type_4",
|
||||
8
|
||||
],
|
||||
[
|
||||
"strip_type_5",
|
||||
16
|
||||
],
|
||||
[
|
||||
"strip_type_6",
|
||||
0
|
||||
],
|
||||
[
|
||||
"strip_type_7",
|
||||
0
|
||||
],
|
||||
[
|
||||
"strip_type_8",
|
||||
128
|
||||
],
|
||||
[
|
||||
"strip_type_9",
|
||||
0
|
||||
],
|
||||
[
|
||||
"strip_type_10",
|
||||
0
|
||||
],
|
||||
[
|
||||
"trip_type_bitsum",
|
||||
159
|
||||
],
|
||||
[
|
||||
"bank_size",
|
||||
8
|
||||
],
|
||||
[
|
||||
"display_session_name",
|
||||
1
|
||||
],
|
||||
[
|
||||
"display_transport",
|
||||
1
|
||||
],
|
||||
[
|
||||
"display_monitor",
|
||||
1
|
||||
],
|
||||
[
|
||||
"display_trim",
|
||||
1
|
||||
],
|
||||
[
|
||||
"display_recbar",
|
||||
1
|
||||
],
|
||||
[
|
||||
"display_input",
|
||||
1
|
||||
],
|
||||
[
|
||||
"display_pan",
|
||||
1
|
||||
],
|
||||
[
|
||||
"display_expand",
|
||||
1
|
||||
],
|
||||
[
|
||||
"display_compact_faders",
|
||||
0
|
||||
],
|
||||
[
|
||||
"display_polarity_sel",
|
||||
1
|
||||
],
|
||||
[
|
||||
"display_trim_sel",
|
||||
1
|
||||
],
|
||||
[
|
||||
"display_recbar_sel",
|
||||
1
|
||||
],
|
||||
[
|
||||
"display_pan_sel",
|
||||
1
|
||||
],
|
||||
[
|
||||
"spacer",
|
||||
-1
|
||||
],
|
||||
[
|
||||
"connect",
|
||||
0
|
||||
],
|
||||
[
|
||||
"loading",
|
||||
"<div class=\"spinner\"></div>"
|
||||
],
|
||||
[
|
||||
"hidden_utils",
|
||||
-1
|
||||
],
|
||||
[
|
||||
"settings_tab",
|
||||
-1
|
||||
],
|
||||
[
|
||||
"sess_name",
|
||||
" "
|
||||
],
|
||||
[
|
||||
"shttl",
|
||||
0
|
||||
],
|
||||
[
|
||||
"zero",
|
||||
0
|
||||
],
|
||||
[
|
||||
"end",
|
||||
0
|
||||
],
|
||||
[
|
||||
"play",
|
||||
0
|
||||
],
|
||||
[
|
||||
"transport_stop",
|
||||
0
|
||||
],
|
||||
[
|
||||
"masterrec",
|
||||
0
|
||||
],
|
||||
[
|
||||
"time",
|
||||
"00:00:00:00"
|
||||
],
|
||||
[
|
||||
"chan_1",
|
||||
1
|
||||
],
|
||||
[
|
||||
"trim_label_1",
|
||||
"Trim"
|
||||
],
|
||||
[
|
||||
"trim_input_1",
|
||||
0
|
||||
],
|
||||
[
|
||||
"trim_knob_1",
|
||||
0
|
||||
],
|
||||
[
|
||||
"record_1",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mon_1",
|
||||
0
|
||||
],
|
||||
[
|
||||
"disk_1",
|
||||
0
|
||||
],
|
||||
[
|
||||
"meter_1",
|
||||
-193
|
||||
],
|
||||
[
|
||||
"fader_1",
|
||||
0
|
||||
],
|
||||
[
|
||||
"fader_input_1",
|
||||
0
|
||||
],
|
||||
[
|
||||
"pan_1",
|
||||
0.5
|
||||
],
|
||||
[
|
||||
"mute_1",
|
||||
0
|
||||
],
|
||||
[
|
||||
"solo_1",
|
||||
0
|
||||
],
|
||||
[
|
||||
"sel_1",
|
||||
0
|
||||
],
|
||||
[
|
||||
"expand_1",
|
||||
0
|
||||
],
|
||||
[
|
||||
"chan_2",
|
||||
2
|
||||
],
|
||||
[
|
||||
"trim_label_2",
|
||||
"Trim"
|
||||
],
|
||||
[
|
||||
"trim_input_2",
|
||||
0
|
||||
],
|
||||
[
|
||||
"trim_knob_2",
|
||||
0
|
||||
],
|
||||
[
|
||||
"record_2",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mon_2",
|
||||
0
|
||||
],
|
||||
[
|
||||
"disk_2",
|
||||
0
|
||||
],
|
||||
[
|
||||
"meter_2",
|
||||
-193
|
||||
],
|
||||
[
|
||||
"fader_2",
|
||||
0
|
||||
],
|
||||
[
|
||||
"fader_input_2",
|
||||
0
|
||||
],
|
||||
[
|
||||
"pan_2",
|
||||
0.5
|
||||
],
|
||||
[
|
||||
"mute_2",
|
||||
0
|
||||
],
|
||||
[
|
||||
"solo_2",
|
||||
0
|
||||
],
|
||||
[
|
||||
"sel_2",
|
||||
0
|
||||
],
|
||||
[
|
||||
"expand_2",
|
||||
0
|
||||
],
|
||||
[
|
||||
"chan_3",
|
||||
3
|
||||
],
|
||||
[
|
||||
"trim_label_3",
|
||||
"Trim"
|
||||
],
|
||||
[
|
||||
"trim_input_3",
|
||||
0
|
||||
],
|
||||
[
|
||||
"trim_knob_3",
|
||||
0
|
||||
],
|
||||
[
|
||||
"record_3",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mon_3",
|
||||
0
|
||||
],
|
||||
[
|
||||
"disk_3",
|
||||
0
|
||||
],
|
||||
[
|
||||
"meter_3",
|
||||
-193
|
||||
],
|
||||
[
|
||||
"fader_3",
|
||||
0
|
||||
],
|
||||
[
|
||||
"fader_input_3",
|
||||
0
|
||||
],
|
||||
[
|
||||
"pan_3",
|
||||
0.5
|
||||
],
|
||||
[
|
||||
"mute_3",
|
||||
0
|
||||
],
|
||||
[
|
||||
"solo_3",
|
||||
0
|
||||
],
|
||||
[
|
||||
"sel_3",
|
||||
0
|
||||
],
|
||||
[
|
||||
"expand_3",
|
||||
0
|
||||
],
|
||||
[
|
||||
"chan_4",
|
||||
4
|
||||
],
|
||||
[
|
||||
"trim_label_4",
|
||||
"Trim"
|
||||
],
|
||||
[
|
||||
"trim_input_4",
|
||||
0
|
||||
],
|
||||
[
|
||||
"trim_knob_4",
|
||||
0
|
||||
],
|
||||
[
|
||||
"record_4",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mon_4",
|
||||
0
|
||||
],
|
||||
[
|
||||
"disk_4",
|
||||
0
|
||||
],
|
||||
[
|
||||
"meter_4",
|
||||
-193
|
||||
],
|
||||
[
|
||||
"fader_4",
|
||||
0
|
||||
],
|
||||
[
|
||||
"fader_input_4",
|
||||
0
|
||||
],
|
||||
[
|
||||
"pan_4",
|
||||
0.5
|
||||
],
|
||||
[
|
||||
"mute_4",
|
||||
0
|
||||
],
|
||||
[
|
||||
"solo_4",
|
||||
0
|
||||
],
|
||||
[
|
||||
"sel_4",
|
||||
0
|
||||
],
|
||||
[
|
||||
"expand_4",
|
||||
0
|
||||
],
|
||||
[
|
||||
"chan_5",
|
||||
5
|
||||
],
|
||||
[
|
||||
"trim_label_5",
|
||||
"Trim"
|
||||
],
|
||||
[
|
||||
"trim_input_5",
|
||||
0
|
||||
],
|
||||
[
|
||||
"trim_knob_5",
|
||||
0
|
||||
],
|
||||
[
|
||||
"record_5",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mon_5",
|
||||
0
|
||||
],
|
||||
[
|
||||
"disk_5",
|
||||
0
|
||||
],
|
||||
[
|
||||
"meter_5",
|
||||
-193
|
||||
],
|
||||
[
|
||||
"fader_5",
|
||||
0
|
||||
],
|
||||
[
|
||||
"fader_input_5",
|
||||
0
|
||||
],
|
||||
[
|
||||
"pan_5",
|
||||
0.5
|
||||
],
|
||||
[
|
||||
"mute_5",
|
||||
0
|
||||
],
|
||||
[
|
||||
"solo_5",
|
||||
0
|
||||
],
|
||||
[
|
||||
"sel_5",
|
||||
0
|
||||
],
|
||||
[
|
||||
"expand_5",
|
||||
0
|
||||
],
|
||||
[
|
||||
"chan_6",
|
||||
6
|
||||
],
|
||||
[
|
||||
"trim_label_6",
|
||||
"Trim"
|
||||
],
|
||||
[
|
||||
"trim_input_6",
|
||||
0
|
||||
],
|
||||
[
|
||||
"trim_knob_6",
|
||||
0
|
||||
],
|
||||
[
|
||||
"record_6",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mon_6",
|
||||
0
|
||||
],
|
||||
[
|
||||
"disk_6",
|
||||
0
|
||||
],
|
||||
[
|
||||
"meter_6",
|
||||
-193
|
||||
],
|
||||
[
|
||||
"fader_6",
|
||||
0
|
||||
],
|
||||
[
|
||||
"fader_input_6",
|
||||
0
|
||||
],
|
||||
[
|
||||
"pan_6",
|
||||
0.5
|
||||
],
|
||||
[
|
||||
"mute_6",
|
||||
0
|
||||
],
|
||||
[
|
||||
"solo_6",
|
||||
0
|
||||
],
|
||||
[
|
||||
"sel_6",
|
||||
0
|
||||
],
|
||||
[
|
||||
"expand_6",
|
||||
0
|
||||
],
|
||||
[
|
||||
"master_label",
|
||||
"Master"
|
||||
],
|
||||
[
|
||||
"mastertrim_label",
|
||||
"Trim"
|
||||
],
|
||||
[
|
||||
"mastertrim_input",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mastertrim",
|
||||
0
|
||||
],
|
||||
[
|
||||
"monitor",
|
||||
-200
|
||||
],
|
||||
[
|
||||
"monmute",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mondim",
|
||||
0
|
||||
],
|
||||
[
|
||||
"monmono",
|
||||
0
|
||||
],
|
||||
[
|
||||
"monitor_modal",
|
||||
0
|
||||
],
|
||||
[
|
||||
"Master_meter",
|
||||
-193
|
||||
],
|
||||
[
|
||||
"Master",
|
||||
0
|
||||
],
|
||||
[
|
||||
"master_input",
|
||||
0
|
||||
],
|
||||
[
|
||||
"master_pan",
|
||||
0.5
|
||||
],
|
||||
[
|
||||
"mastermute",
|
||||
0
|
||||
],
|
||||
[
|
||||
"solocan",
|
||||
0
|
||||
],
|
||||
[
|
||||
"bank_dn",
|
||||
0
|
||||
],
|
||||
[
|
||||
"bank_up",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mixer_tab",
|
||||
-1
|
||||
],
|
||||
[
|
||||
"sess_name",
|
||||
" "
|
||||
],
|
||||
[
|
||||
"shttl",
|
||||
0
|
||||
],
|
||||
[
|
||||
"zero",
|
||||
0
|
||||
],
|
||||
[
|
||||
"end",
|
||||
0
|
||||
],
|
||||
[
|
||||
"play",
|
||||
0
|
||||
],
|
||||
[
|
||||
"transport_stop",
|
||||
0
|
||||
],
|
||||
[
|
||||
"masterrec",
|
||||
0
|
||||
],
|
||||
[
|
||||
"time",
|
||||
"00:00:00:00"
|
||||
],
|
||||
[
|
||||
"select_name",
|
||||
" sel"
|
||||
],
|
||||
[
|
||||
"select_trim_label",
|
||||
"Trim"
|
||||
],
|
||||
[
|
||||
"select_trim_input",
|
||||
0
|
||||
],
|
||||
[
|
||||
"select_trim_knob",
|
||||
0
|
||||
],
|
||||
[
|
||||
"polarity_select",
|
||||
0
|
||||
],
|
||||
[
|
||||
"record_select",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mon_select",
|
||||
0
|
||||
],
|
||||
[
|
||||
"disk_select",
|
||||
0
|
||||
],
|
||||
[
|
||||
"receives_panel",
|
||||
0
|
||||
],
|
||||
[
|
||||
"sends_panel",
|
||||
0
|
||||
],
|
||||
[
|
||||
"meter_select",
|
||||
-193
|
||||
],
|
||||
[
|
||||
"fader_select",
|
||||
0
|
||||
],
|
||||
[
|
||||
"fader_input_select",
|
||||
0
|
||||
],
|
||||
[
|
||||
"pan_select",
|
||||
0.5
|
||||
],
|
||||
[
|
||||
"mute_select",
|
||||
0
|
||||
],
|
||||
[
|
||||
"solo_select",
|
||||
0
|
||||
],
|
||||
[
|
||||
"expand_select",
|
||||
0
|
||||
],
|
||||
[
|
||||
"text_1",
|
||||
"Plugins"
|
||||
],
|
||||
[
|
||||
"push_6",
|
||||
0
|
||||
],
|
||||
[
|
||||
"master_label",
|
||||
"Master"
|
||||
],
|
||||
[
|
||||
"mastertrim_label",
|
||||
"Trim"
|
||||
],
|
||||
[
|
||||
"mastertrim_input",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mastertrim",
|
||||
0
|
||||
],
|
||||
[
|
||||
"monitor",
|
||||
-200
|
||||
],
|
||||
[
|
||||
"monmute",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mondim",
|
||||
0
|
||||
],
|
||||
[
|
||||
"monmono",
|
||||
0
|
||||
],
|
||||
[
|
||||
"monitor_modal",
|
||||
0
|
||||
],
|
||||
[
|
||||
"Master_meter",
|
||||
-193
|
||||
],
|
||||
[
|
||||
"Master",
|
||||
0
|
||||
],
|
||||
[
|
||||
"master_input",
|
||||
0
|
||||
],
|
||||
[
|
||||
"master_pan",
|
||||
0.5
|
||||
],
|
||||
[
|
||||
"mastermute",
|
||||
0
|
||||
],
|
||||
[
|
||||
"solocan",
|
||||
0
|
||||
],
|
||||
[
|
||||
"bank_dn",
|
||||
0
|
||||
],
|
||||
[
|
||||
"bank_up",
|
||||
0
|
||||
],
|
||||
[
|
||||
"track_tab",
|
||||
-1
|
||||
],
|
||||
[
|
||||
"root",
|
||||
1
|
||||
],
|
||||
[
|
||||
"chan_7",
|
||||
7
|
||||
],
|
||||
[
|
||||
"trim_label_7",
|
||||
"Trim"
|
||||
],
|
||||
[
|
||||
"trim_input_7",
|
||||
""
|
||||
],
|
||||
[
|
||||
"trim_knob_7",
|
||||
0
|
||||
],
|
||||
[
|
||||
"record_7",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mon_7",
|
||||
0
|
||||
],
|
||||
[
|
||||
"disk_7",
|
||||
0
|
||||
],
|
||||
[
|
||||
"meter_7",
|
||||
-193
|
||||
],
|
||||
[
|
||||
"fader_7",
|
||||
0
|
||||
],
|
||||
[
|
||||
"fader_input_7",
|
||||
0
|
||||
],
|
||||
[
|
||||
"pan_7",
|
||||
0.5
|
||||
],
|
||||
[
|
||||
"mute_7",
|
||||
0
|
||||
],
|
||||
[
|
||||
"solo_7",
|
||||
0
|
||||
],
|
||||
[
|
||||
"sel_7",
|
||||
0
|
||||
],
|
||||
[
|
||||
"expand_7",
|
||||
0
|
||||
],
|
||||
[
|
||||
"chan_8",
|
||||
8
|
||||
],
|
||||
[
|
||||
"trim_label_8",
|
||||
"Trim"
|
||||
],
|
||||
[
|
||||
"trim_input_8",
|
||||
""
|
||||
],
|
||||
[
|
||||
"trim_knob_8",
|
||||
0
|
||||
],
|
||||
[
|
||||
"record_8",
|
||||
0
|
||||
],
|
||||
[
|
||||
"mon_8",
|
||||
0
|
||||
],
|
||||
[
|
||||
"disk_8",
|
||||
0
|
||||
],
|
||||
[
|
||||
"meter_8",
|
||||
-193
|
||||
],
|
||||
[
|
||||
"fader_8",
|
||||
0
|
||||
],
|
||||
[
|
||||
"fader_input_8",
|
||||
0
|
||||
],
|
||||
[
|
||||
"pan_8",
|
||||
0.5
|
||||
],
|
||||
[
|
||||
"mute_8",
|
||||
0
|
||||
],
|
||||
[
|
||||
"solo_8",
|
||||
0
|
||||
],
|
||||
[
|
||||
"sel_8",
|
||||
0
|
||||
],
|
||||
[
|
||||
"expand_8",
|
||||
0
|
||||
]
|
||||
]
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
body {overflow-y: scroll}
|
||||
.md-nav__title.md-nav__title--site {display: none;}
|
||||
17
resources/docs/docs/client-options.md
Normal file
17
resources/docs/docs/client-options.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
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`) |
|
||||
| doubletab | 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) |
|
||||
| id | string | *random_id* | client's unique id (use with caution: two clients should never have the same id) |
|
||||
|
||||
Example:
|
||||
|
||||
`http://server-ip:port?hdpi=1`
|
||||
42
resources/docs/docs/credits.md
Normal file
42
resources/docs/docs/credits.md
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
## 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:
|
||||
|
||||
https://github.com/jean-emmanuel/open-stage-control/network/dependencies
|
||||
|
||||
The default theme is based on [Nord](https://www.nordtheme.com/), some UI components are inspired by the [Atom](https://atom.io/) text editor.
|
||||
|
||||
## Contributors
|
||||
|
||||
https://github.com/jean-emmanuel/open-stage-control/graphs/contributors
|
||||
|
||||
## 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 debbuging.
|
||||
109
resources/docs/docs/custom-module/custom-module.md
Normal file
109
resources/docs/docs/custom-module/custom-module.md
Normal file
|
|
@ -0,0 +1,109 @@
|
|||
# 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 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}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## 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://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}`)
|
||||
|
||||
----
|
||||
|
||||
#### `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`
|
||||
- `options` (optional): set to `{clientId: id}` to define which client receives the message (where `id` is the client's id as retreived from `app` events or `oscOutFilter`)
|
||||
|
||||
----
|
||||
|
||||
#### `send(host, port, address, ...args)`
|
||||
|
||||
Send osc/midi to a target.
|
||||
|
||||
----
|
||||
|
||||
#### `settings.read(name)`
|
||||
|
||||
Returns specified server option. `name` must be the option's long name without the leading dashes (ie: `"send"`, not `"s"`)
|
||||
|
||||
----
|
||||
|
||||
#### `options`
|
||||
|
||||
`Array` containing the extra options passed to `--custom-module` after the filename
|
||||
|
||||
----
|
||||
|
||||
#### `loadJSON(path)`
|
||||
|
||||
Loads a json file (path is relative to the custom module location)
|
||||
|
||||
----
|
||||
|
||||
#### `saveJSON(path, object)`
|
||||
|
||||
Saves an object/array to a json file (path is relative to the custom module location)
|
||||
|
||||
----
|
||||
|
||||
#### Other javascript globals
|
||||
- `console`
|
||||
- `setTimeout`
|
||||
- `clearTimeout`
|
||||
- `setInterval`
|
||||
- `clearInterval`
|
||||
|
||||
----
|
||||
238
resources/docs/docs/custom-module/examples.md
Normal file
238
resources/docs/docs/custom-module/examples.md
Normal file
|
|
@ -0,0 +1,238 @@
|
|||
## 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}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
```
|
||||
|
||||
## MIDI routing
|
||||
|
||||
```js
|
||||
var rouing = {
|
||||
// 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}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
```
|
||||
29
resources/docs/docs/custom-module/managing-big-modules.md
Normal file
29
resources/docs/docs/custom-module/managing-big-modules.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
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 OSC.
|
||||
|
||||
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**. 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
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
**3**. bundle your sources into `custom-module.js`:
|
||||
|
||||
`browserify main.js -o custom-module.js --standalone module.exports`
|
||||
92
resources/docs/docs/customization/css-tips.md
Normal file
92
resources/docs/docs/customization/css-tips.md
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
# CSS Tips
|
||||
|
||||
## Browser inspector
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
||||
## 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's transparent */
|
||||
font-size: 120%; /* increase font-size */
|
||||
```
|
||||
|
||||
|
||||
## Selector syntax
|
||||
|
||||
CSS selectors can be used to apply styles to specific elements:
|
||||
|
||||
```css
|
||||
:host {
|
||||
/* style for the widget element
|
||||
& { } also works (deprecated)
|
||||
*/
|
||||
}
|
||||
|
||||
.label {
|
||||
/* style for the .label elements */
|
||||
}
|
||||
|
||||
> .label {
|
||||
/* style for the direct child .label element */
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
!!! info ""
|
||||
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`
|
||||
|
||||
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 ""
|
||||
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. Absolutely positionned widgets (when `top` or `left` is different from `auto`) have `z-index:10;` by default.
|
||||
|
||||
## 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):
|
||||
|
||||
```css
|
||||
:host {
|
||||
|
||||
width: calc(100% - 100rem);
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
Media queries can also be used:
|
||||
|
||||
```css
|
||||
@media screen and (min-width: 768px) {
|
||||
|
||||
:host {
|
||||
|
||||
/* style the widget if the screen is bigger than 768px */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Size units
|
||||
|
||||
- use `rem` instead of `px` (`px` values will not scale when zooming), except for media queries
|
||||
- use `%` for font-size
|
||||
|
||||
|
||||
## 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 overriden.
|
||||
|
||||
Widgets also rely on CSS variables for the style properties (colors, padding, etc). These are documented in the widgets' `css` property description.
|
||||
37
resources/docs/docs/customization/themes.md
Normal file
37
resources/docs/docs/customization/themes.md
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
## 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.
|
||||
|
||||
## Scss / autoreload
|
||||
|
||||
When running the app from sources, 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.
|
||||
57
resources/docs/docs/getting-started/introduction.md
Normal file
57
resources/docs/docs/getting-started/introduction.md
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
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.
|
||||
|
||||
!!! info "Still using v0 ?"
|
||||
The documentation for this version is available [here](https://v0.openstagecontrol.ammd.net).
|
||||
|
||||
## Overview
|
||||
|
||||
Open Stage Control consists in 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`
|
||||
- Chromium / Chrome: version `60`
|
||||
|
||||
iOS devices must be of version `10.3` or higher.
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
??? example "Linux"
|
||||
|
||||
**Ubuntu / Debian**
|
||||
|
||||
- [Download](/download) `open-stage-control-VERSION-ARCH.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-ARCH.zip`
|
||||
- Extract it in the location of your choice
|
||||
- The file inside it named `open-stage-control` is the app's main executable
|
||||
|
||||
??? example "Mac"
|
||||
|
||||
- [Download](/download) `open-stage-control-VERSION-osx.zip`
|
||||
- Extract it in the location of your choice
|
||||
- Drag `open-stage-control.app` in your `Application` folder
|
||||
|
||||
??? example "Windows"
|
||||
|
||||
- [Download](/download) `open-stage-control-VERSION-win32-ARCH.zip`
|
||||
- Extract it in the location of your choice
|
||||
- The file inside it named `open-stage-control.exe` is the app's main executable
|
||||
91
resources/docs/docs/getting-started/running-from-sources.md
Normal file
91
resources/docs/docs/getting-started/running-from-sources.md
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
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://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
|
||||
```
|
||||
|
||||
!!! 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.
|
||||
|
||||
## 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
|
||||
|
||||
```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
|
||||
|
||||
|
||||
# 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.
|
||||
24
resources/docs/docs/getting-started/running-with-node.md
Normal file
24
resources/docs/docs/getting-started/running-with-node.md
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
## 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]`
|
||||
180
resources/docs/docs/getting-started/server-configuration.md
Normal file
180
resources/docs/docs/getting-started/server-configuration.md
Normal file
|
|
@ -0,0 +1,180 @@
|
|||
The **server** can be configured with many options, either from a terminal or with the help of the **launcher**.
|
||||
|
||||
!!! abstract "Options"
|
||||
|
||||
=== "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`
|
||||
|
||||
=== "load"
|
||||
|
||||
Path to a session file. All clients connecting the server will load it.
|
||||
|
||||
=== "state"
|
||||
|
||||
Path to a state file. All clients connecting the server will load it.
|
||||
|
||||
|
||||
=== "custom-module"
|
||||
|
||||
Path to a custom module file. Additional options can be passed after the path, they'll be accessible in the custom module's context.
|
||||
|
||||
|
||||
=== "port"
|
||||
|
||||
HTTP port for the server (default: `8080`).
|
||||
|
||||
|
||||
=== "osc-port"
|
||||
|
||||
OSC (UDP) input port (default: `port`).
|
||||
|
||||
|
||||
=== "tcp-port"
|
||||
|
||||
OSC (TCP) input port.
|
||||
|
||||
|
||||
=== "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`
|
||||
|
||||
|
||||
=== "midi"
|
||||
|
||||
MIDI options separated by spaces, MIDI support must be enabled, see [MIDI configuration](../midi/midi-configuration.md).
|
||||
|
||||
|
||||
=== "debug"
|
||||
|
||||
Print sent and receiced messages in the console. This may impact performances and should not be enabled in production.
|
||||
|
||||
|
||||
|
||||
=== "no-gui"
|
||||
|
||||
Disable built-in client window.
|
||||
|
||||
|
||||
=== "fullscreen"
|
||||
|
||||
Start the built-in client window in fullscreen.
|
||||
|
||||
|
||||
=== "theme"
|
||||
|
||||
Theme names or paths. See [Themes](../customization/themes.md).
|
||||
|
||||
|
||||
=== "client-options"
|
||||
|
||||
Default [client options](../client-options.md), separated by spaces.
|
||||
|
||||
|
||||
=== "disable-vsync"
|
||||
|
||||
Disable built-in client window's vertical synchronization.
|
||||
|
||||
|
||||
=== "force-gpu"
|
||||
|
||||
Disable built-in client window's gpu blacklist (may improve rendering performance in some cases).
|
||||
|
||||
|
||||
=== "read-only"
|
||||
|
||||
Disable session editing, and file saving.
|
||||
|
||||
|
||||
=== "remote-saving"
|
||||
|
||||
Disable file saving for hosts that don't match the regular expresion.
|
||||
|
||||
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`.
|
||||
|
||||
|
||||
=== "remote-root"
|
||||
|
||||
Set file browsing root folder.
|
||||
|
||||
=== "authentication"
|
||||
|
||||
Restrict access to `user:password` (remote clients will be prompted for these credentials).
|
||||
|
||||
=== "instance-name"
|
||||
|
||||
Server's name on zeroconf/bonjour network. Incremented automatically if not available.
|
||||
|
||||
=== "use-ssl"
|
||||
|
||||
Use HTTPS protocol instead of HTTP (a self-signed certificate will be created)
|
||||
|
||||
|
||||
|
||||
!!! abstract "Command-line options"
|
||||
|
||||
The following options can only be set from a terminal.
|
||||
|
||||
=== "disable-gpu"
|
||||
|
||||
Disable hardware acceleration for the launcher window and the built-in client window.
|
||||
|
||||
|
||||
=== "inspect"
|
||||
|
||||
Enable node inspector.
|
||||
|
||||
|
||||
=== "cache-dir"
|
||||
|
||||
Override default cache directory (contains browser cache and localStorage data).
|
||||
|
||||
|
||||
=== "config-file"
|
||||
|
||||
Override default config file location (contains session history and launcher config). Defaults to `cache-dir/config.json`.
|
||||
|
||||
|
||||
=== "help"
|
||||
|
||||
Show help.
|
||||
|
||||
=== "docs"
|
||||
|
||||
Serve documentation website locally and open it with the system\'s default browser
|
||||
|
||||
|
||||
=== "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]
|
||||
```
|
||||
43
resources/docs/docs/midi/midi-configuration.md
Normal file
43
resources/docs/docs/midi/midi-configuration.md
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
## 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).
|
||||
|
||||
!!! info "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.
|
||||
|
||||
## Configuration
|
||||
|
||||
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 incoming 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 / Mac only:*
|
||||
|
||||
- `device_name:virtual`: creates a virtual midi device with one input port and one output port
|
||||
|
||||
*Linux only:*
|
||||
|
||||
- `jack`: use JACK MIDI instead of ALSA. `rtmidi` must be compiled with `--jack-midi` flag for this to work.
|
||||
|
||||
|
||||
## 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)
|
||||
|
||||
!!! 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 informations (sent/received midi messages, midi setup informations, etc)
|
||||
71
resources/docs/docs/midi/midi-messages.md
Normal file
71
resources/docs/docs/midi/midi-messages.md
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
!!! info ""
|
||||
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*
|
||||
|
||||
!!! info
|
||||
\* 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.
|
||||
168
resources/docs/docs/remote-control.md
Normal file
168
resources/docs/docs/remote-control.md
Normal file
|
|
@ -0,0 +1,168 @@
|
|||
# Remote control
|
||||
|
||||
All widgets that send osc messages respond to the same messages. Additionally, Open Stage Control responds to some general osc commands.
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/EDIT id properties options`
|
||||
|
||||
|
||||
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
|
||||
- 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.
|
||||
|
||||
!!! danger "Warning"
|
||||
Editing widgets is cpu expensive; for small and recurrent changes, consider using [osc listeners](./widgets/advanced-syntaxes.md) instead.
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/EDIT/MERGE id properties options`
|
||||
|
||||
Apply a set of options to an existing widget by merging them to the widget's options.
|
||||
|
||||
----
|
||||
|
||||
#### `/EDIT/UNDO`
|
||||
|
||||
Undo editing action
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/EDIT/REDO`
|
||||
|
||||
Redo editing action
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/EDIT/GET target id`
|
||||
|
||||
Sends back a widget's data (JSON stringified object), including its children, to specified target.
|
||||
|
||||
- `target`: `string`, `ip:port` pair
|
||||
- `id`: `string`, widget's `id`
|
||||
|
||||
Replies `/EDIT/GET id data`
|
||||
|
||||
- `id`: `string`
|
||||
- `data`: `string`
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/EDIT/GET target address preArg1 preArg2 ...`
|
||||
|
||||
Sends back a widget's data (JSON stringified object), including its children, to specified target.
|
||||
|
||||
- `target`: `string`, `ip:port` pair
|
||||
- `address`: `string`, widget's `address`
|
||||
- `preArg[1...]`: `*`, widget's `preArgs`
|
||||
|
||||
Replies `/EDIT/GET address preArg1 preArg2 ... data`
|
||||
|
||||
- `address`: `string`, widget's `address`
|
||||
- `preArg[1...]`: `*`, widget's `preArgs`
|
||||
- `data`: `string`
|
||||
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/GET target id`
|
||||
|
||||
Sends back a widget's value to specified target.
|
||||
|
||||
- `target`: `string`, `ip:port` pair
|
||||
- `id`: `string`, widget's `id`
|
||||
|
||||
Replies `/GET id value`
|
||||
|
||||
- `id`: `string`
|
||||
- `value`: `*`
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/GET target address preArg1 preArg2 ...`
|
||||
|
||||
Sends back a widget's value to specified target.
|
||||
|
||||
- `target`: `string`, `ip:port` pair
|
||||
- `address`: `string`, widget's `address`
|
||||
- `preArg[1...]`: `*`, widget's `preArgs`
|
||||
|
||||
Replies `/GET address preArg1 preArg2 ... value`
|
||||
|
||||
- `address`: `string`, widget's `address`
|
||||
- `preArg[1...]`: `*`, widget's `preArgs`
|
||||
- `value`: `*`
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/GET/#`
|
||||
|
||||
Same as `/GET` but uses the widget's address instead of `/GET` to reply.
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/SET 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 a widget's value as if it was interacted with from the interface. This is likely to make it send its value.
|
||||
|
||||
- `address`: `string`, widget's `address`
|
||||
- `preArg[1...]`: `*`, widget's `preArgs`
|
||||
- `value`: `*`, widget's new value
|
||||
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/STATE/GET target`
|
||||
|
||||
Sends back the app's state to specified target
|
||||
|
||||
- `target`: `string`, `ip:port` pair
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/STATE/SET state`
|
||||
|
||||
Set widgets' state
|
||||
|
||||
- `state`: `string`, json stringified object (`"widget_id": value` pairs)
|
||||
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/STATE/STORE`
|
||||
|
||||
Save the state of all widgets in the temporary slot.
|
||||
|
||||
|
||||
----
|
||||
|
||||
#### `/STATE/RECALL`
|
||||
|
||||
Reload saved state from the temporary slot.
|
||||
66
resources/docs/docs/user-interface/client.md
Normal file
66
resources/docs/docs/user-interface/client.md
Normal file
|
|
@ -0,0 +1,66 @@
|
|||

|
||||
|
||||
## 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
|
||||
- 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: togggle editor's state
|
||||
- Grid: toggle grid
|
||||
- Project tree: toggle project tree's visibility
|
||||
- Inspector: toggle inspector's visibility
|
||||
- Fullscreen: toggle fullscreen
|
||||
- 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 describe 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 informations.
|
||||
|
||||
## 5. Modals
|
||||
|
||||

|
||||
|
||||
Modals are virtual popup windows that may contain various content: file browser, color picker, error, widgets...
|
||||
|
||||
## Keyboard shortcuts
|
||||
|
||||
=== "Linux / Windows"
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| ++ctrl+e++ | enable/disable editor |
|
||||
| ++ctrl+s++ | save session |
|
||||
| ++ctrl+shift+s++ | save session as... |
|
||||
| ++ctrl+o++ | open a session file |
|
||||
| ++ctrl+w++ | close client |
|
||||
|
||||
=== "Mac"
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| ++cmd+e++ | enable/disable editor |
|
||||
| ++cmd+s++ | save session |
|
||||
| ++cmd+shift+s++ | save session as... |
|
||||
| ++cmd+o++ | open a session file |
|
||||
| ++cmd+w++ | close client |
|
||||
113
resources/docs/docs/user-interface/editor.md
Normal file
113
resources/docs/docs/user-interface/editor.md
Normal file
|
|
@ -0,0 +1,113 @@
|
|||
!!! warning "Incomplete documentation"
|
||||
|
||||
## Widget selection
|
||||
|
||||
Clicking on a widget, on a tab label or on an item in the project tree selects the widgets for edition:
|
||||
|
||||
- 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
|
||||
|
||||

|
||||
|
||||
|
||||
## 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)
|
||||
- `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
|
||||
- `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, doubles quotes around object keys are not mandatory.
|
||||
- Clicking on a property name spawns a help modal window
|
||||
|
||||
|
||||
## Project tree
|
||||
|
||||
The project tree displays the whole widget structure of the session. Widgets can be reordered within a container with drag-and-drop.
|
||||
|
||||
## 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. 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 (starts by selecting the widget under the cursor). 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 |
|
||||
| ++up++ <br/>++down++ <br/>++left++ <br/>++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 |
|
||||
| ++ctrl+up++ | Select current widget's parent |
|
||||
| ++ctrl+down++ | Select current widget's first child |
|
||||
| ++ctrl+right++ | Select current widget's next sibling |
|
||||
| ++ctrl+left++ | Select current widget's previous sibling |
|
||||
|
||||
=== "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 (starts by selecting the widget under the cursor). 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 |
|
||||
| ++up++ <br/>++down++ <br/>++left++ <br/>++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 |
|
||||
| ++cmd+up++ | Select current widget's parent |
|
||||
| ++cmd+down++ | Select current widget's first child |
|
||||
| ++cmd+right++ | Select current widget's next sibling |
|
||||
| ++cmd+left++ | Select current widget's previous sibling |
|
||||
40
resources/docs/docs/user-interface/launcher.md
Normal file
40
resources/docs/docs/user-interface/launcher.md
Normal file
|
|
@ -0,0 +1,40 @@
|
|||

|
||||
|
||||
## 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 configration from file
|
||||
- Save / Save as: save server configuration to file
|
||||
- List MIDI devices: list available MIDI devices in the console
|
||||
- Console:
|
||||
- Clear: clear console
|
||||
- Autoscrell: enable/disable console autoscroll
|
||||
- Check for update at startup: enable/disable this feature
|
||||
|
||||
|
||||
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, it's label will turn to orange and an error message will be printed in the console.
|
||||
|
||||
## 3. Console
|
||||
|
||||
The console diplays various informations, runtime errors and server debug messages.
|
||||
|
||||
## Keyboard shortcuts
|
||||
|
||||
=== "Linux / Windows"
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| ++ctrl+w++ | close window |
|
||||
|
||||
=== "Mac"
|
||||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| ++cmd+w++ | close window |
|
||||
| ++cmd+q++ | quit app |
|
||||
95
resources/docs/docs/widgets/advanced-syntaxes.md
Normal file
95
resources/docs/docs/widgets/advanced-syntaxes.md
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
# Advanced syntaxes
|
||||
|
||||
## 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="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 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. 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.
|
||||
|
||||
??? example "Array/Object default value"
|
||||
```js
|
||||
JS{{
|
||||
return OSC{address} || {
|
||||
"key a": 1,
|
||||
"key b", 2
|
||||
}
|
||||
}}
|
||||
```
|
||||
|
||||
|
||||
## 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
|
||||
|
||||
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 dimensions (`{width, height}`)
|
||||
- `env`: client options (ie: url query options),
|
||||
- `ip`: client's ip address,
|
||||
- `url`: server url,
|
||||
- `platform`: operating system as seen by the client
|
||||
|
||||
In this context, `@{} / OSC{}` are also seen as variables (named `VAR_XXX`), not as the value they hold,
|
||||
|
||||
Parsing errors can be read in the DevTool console (F12).
|
||||
|
||||
!!! warning
|
||||
Modifying values in `locals` or `globals` **does not** trigger anything if they are used somewhere else.
|
||||
|
||||
## 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
|
||||
60
resources/docs/docs/widgets/general-mechanics.md
Normal file
60
resources/docs/docs/widgets/general-mechanics.md
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
## 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`
|
||||
719
resources/docs/docs/widgets/properties-reference.md
Normal file
719
resources/docs/docs/widgets/properties-reference.md
Normal file
|
|
@ -0,0 +1,719 @@
|
|||
<!-- This file is generated automatically from the widget class declarations. See scripts/build-widget-reference.js -->
|
||||
|
||||
## Common
|
||||
|
||||
??? api "<div id="generic_properties">Generic properties<a class="headerlink" href="#generic_properties" title="Permanent link">#</a></div>"
|
||||
Properties shared by all widgets
|
||||
|
||||
|
||||
|
||||
|
||||
=== "widget"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="type">type<a class="headerlink" href="#type" title="Permanent link">#</a></h6> | `string` | <code>"auto"</code> | Widget type |
|
||||
| <h6 id="id">id<a class="headerlink" href="#id" title="Permanent link">#</a></h6> | `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. |
|
||||
| <h6 id="visible">visible<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#visible" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to hide the widget. |
|
||||
| <h6 id="interaction">interaction<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#interaction" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to disable pointer interactions. |
|
||||
|
||||
|
||||
=== "geometry"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="left">left<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#left" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="top">top<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#top" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="width">width<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#width" title="Permanent link">#</a></h6> | `number`|<br/>`percentage` | <code>"auto"</code> | Widget width |
|
||||
| <h6 id="height">height<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#height" title="Permanent link">#</a></h6> | `number`|<br/>`percentage` | <code>"auto"</code> | Widget height |
|
||||
| <h6 id="expand">expand<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#expand" title="Permanent link">#</a></h6> | `boolean`|<br/>`number` | <code>"false"</code> | If parent's layout is `vertical` or `horizontal`, set this to `true` to stretch the widget to use available space automatically. |
|
||||
|
||||
|
||||
=== "style"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="colorBg">colorBg<a class="headerlink" href="#colorBg" title="Permanent link">#</a></h6> | `string` | <code>"auto"</code> | Panel background color. Set to "auto" to inherit from parent widget. |
|
||||
| <h6 id="colorText">colorText<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#colorText" title="Permanent link">#</a></h6> | `string` | <code>"auto"</code> | Text color. Set to "auto" to inherit from parent widget. |
|
||||
| <h6 id="colorWidget">colorWidget<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#colorWidget" title="Permanent link">#</a></h6> | `string` | <code>"auto"</code> | Widget's default accent color. Set to "auto" to inherit from parent widget. |
|
||||
| <h6 id="colorStroke">colorStroke<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#colorStroke" title="Permanent link">#</a></h6> | `string` | <code>"auto"</code> | Stroke color. Set to "auto" to use `colorWidget`. |
|
||||
| <h6 id="colorFill">colorFill<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#colorFill" title="Permanent link">#</a></h6> | `string` | <code>"auto"</code> | Fill color. Set to "auto" to use `colorWidget`. |
|
||||
| <h6 id="alphaStroke">alphaStroke<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#alphaStroke" title="Permanent link">#</a></h6> | `number` | <code>"auto"</code> | Stroke color opacity. |
|
||||
| <h6 id="alphaFillOff">alphaFillOff<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#alphaFillOff" title="Permanent link">#</a></h6> | `number` | <code>"auto"</code> | Fill color opacity (off). |
|
||||
| <h6 id="alphaFillOn">alphaFillOn<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#alphaFillOn" title="Permanent link">#</a></h6> | `number` | <code>"auto"</code> | Fill color opacity (on). |
|
||||
| <h6 id="padding">padding<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#padding" title="Permanent link">#</a></h6> | `number` | <code>"auto"</code> | Inner spacing. |
|
||||
| <h6 id="css">css<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#css" title="Permanent link">#</a></h6> | `string` | <code>""</code> | CSS rules. See <a href="https://openstagecontrol.ammd.net/docs/customization/css-tips/">documentation</a>.<br/><br/>Available css variables:<br/>- `--color-background`: `colorBg`<br/>- `--color-widget`: `colorWidget`<br/>- `--color-fill`: `colorFill`<br/>- `--color-stroke`: `colorStroke`<br/>- `--color-text`: `colorText`<br/>- `--widget-padding`: `padding`<br/>- `--alpha-fill-on`: `alphaFillOn`<br/>- `--alpha-fill-off`: `alphaFillOff`<br/>- `--alpha-stroke`: `alphaStroke` |
|
||||
|
||||
|
||||
=== "value"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="value">value<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#value" title="Permanent link">#</a></h6> | `*` | <code>""</code> | Define the widget's value depending on other widget's values / properties using the advanced property syntax |
|
||||
| <h6 id="default">default<a class="headerlink" href="#default" title="Permanent link">#</a></h6> | `*` | <code>""</code> | If set, the widget will be initialized with this value when the session is loaded. |
|
||||
| <h6 id="linkId">linkId<a class="headerlink" href="#linkId" title="Permanent link">#</a></h6> | `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) |
|
||||
| <h6 id="script">script<a class="headerlink" href="#script" title="Permanent link">#</a></h6> | `script` | <code>""</code> | Script executed whenever the widget's value updates. See <a href="https://openstagecontrol.ammd.net/docs/widgets/scripting/">documentation</a>. |
|
||||
|
||||
|
||||
=== "osc"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="address">address<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#address" title="Permanent link">#</a></h6> | `string` | <code>"auto"</code> | OSC address for sending / receiving messages, it must start with a slash (`/`)<br/><br/>By default ("auto"), the widget's id is used: `/widget_id` |
|
||||
| <h6 id="preArgs">preArgs<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#preArgs" title="Permanent link">#</a></h6> | `*`|<br/>`array` | <code>""</code> | A value or array of values that will be prepended to the OSC messages. |
|
||||
| <h6 id="typeTags">typeTags<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#typeTags" title="Permanent link">#</a></h6> | `string` | <code>""</code> | Defines the osc argument types, one letter per argument (including preArgs)<br/>- If empty, the types are infered automatically from the values (with numbers casted to floats by default)<br/>- If there are more arguments than type letters, the last type is used for the extra arguments<br/><br/>See http://opensoundcontrol.org/spec-1_0 for existing typetags |
|
||||
| <h6 id="decimals">decimals<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#decimals" title="Permanent link">#</a></h6> | `integer` | <code>2</code> | Defines the number of decimals to send. |
|
||||
| <h6 id="target">target<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#target" title="Permanent link">#</a></h6> | `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/>- If no target is set, messages can still be sent if the server has default targets |
|
||||
| <h6 id="ignoreDefaults">ignoreDefaults<a class="headerlink" href="#ignoreDefaults" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to ignore the server's default targets |
|
||||
| <h6 id="bypass">bypass<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#bypass" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to prevent the widget from sending any osc message |
|
||||
## Basics
|
||||
|
||||
??? api "<div id="button">button<a class="headerlink" href="#button" title="Permanent link">#</a></div>"
|
||||
On / off button.
|
||||
|
||||
=== "style"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="button_css">css<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#button_css" title="Permanent link">#</a></h6> | `string` | <code>""</code> | CSS rules. See <a href="https://openstagecontrol.ammd.net/docs/customization/css-tips/">documentation</a>.<br/><br/>Available css variables:<br/>- `--color-background`: `colorBg`<br/>- `--color-widget`: `colorWidget`<br/>- `--color-fill`: `colorFill`<br/>- `--color-stroke`: `colorStroke`<br/>- `--color-text`: `colorText`<br/>- `--widget-padding`: `padding`<br/>- `--alpha-fill-on`: `alphaFillOn`<br/>- `--alpha-fill-off`: `alphaFillOff`<br/>- `--alpha-stroke`: `alphaStroke`<br/>- `--color-text-on`: `colorTextOn` |
|
||||
|
||||
=== "button"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="button_label">label<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#button_label" title="Permanent link">#</a></h6> | `string`|<br/>`boolean` | <code>"auto"</code> | Set to `false` to hide completely<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)<br/>- Icons can be transformed with the following suffixes: `.flip-[horizontal|vertical|both]`, `.rotate-[90|180|270]`, `.spin`, `.pulse`. Example: `^play.flip-horizontal` |
|
||||
| <h6 id="button_on">on<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#button_on" title="Permanent link">#</a></h6> | `*` | <code>1</code> | Set to `null` to send send no argument in the osc message |
|
||||
| <h6 id="button_off">off<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#button_off" title="Permanent link">#</a></h6> | `*` | <code>0</code> | Set to `null` to send send no argument in the osc message. Must be different from `on`. |
|
||||
| <h6 id="button_mode">mode<a class="headerlink" href="#button_mode" title="Permanent link">#</a></h6> | `string` | <code>"toggle"</code> | Interraction mode:<br/>- `toggle` (classic on/off switch)<br/>- `push` (press & release)<br/>- `tap` (no release)<br/><br/>Choices: `toggle`, `push`, `tap` |
|
||||
| <h6 id="button_doubleTap">doubleTap<a class="headerlink" href="#button_doubleTap" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to make the button require a double tap to be pushed instead of a single tap |
|
||||
| <h6 id="button_colorTextOn">colorTextOn<a class="headerlink" href="#button_colorTextOn" title="Permanent link">#</a></h6> | `string` | <code>"auto"</code> | Defines the widget's text color when active. |
|
||||
|
||||
??? api "<div id="switch">switch<a class="headerlink" href="#switch" title="Permanent link">#</a></div>"
|
||||
Value selector button.
|
||||
|
||||
=== "style"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="switch_css">css<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#switch_css" title="Permanent link">#</a></h6> | `string` | <code>""</code> | CSS rules. See <a href="https://openstagecontrol.ammd.net/docs/customization/css-tips/">documentation</a>.<br/><br/>Available css variables:<br/>- `--color-background`: `colorBg`<br/>- `--color-widget`: `colorWidget`<br/>- `--color-fill`: `colorFill`<br/>- `--color-stroke`: `colorStroke`<br/>- `--color-text`: `colorText`<br/>- `--widget-padding`: `padding`<br/>- `--alpha-fill-on`: `alphaFillOn`<br/>- `--alpha-fill-off`: `alphaFillOff`<br/>- `--alpha-stroke`: `alphaStroke`<br/>- `--color-text-on`: `colorTextOn` |
|
||||
|
||||
=== "switch"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="switch_layout">layout<a class="headerlink" href="#switch_layout" title="Permanent link">#</a></h6> | `string` | <code>"vertical"</code> | Choices: `vertical`, `horizontal`, `grid` |
|
||||
| <h6 id="switch_gridTemplate">gridTemplate<a class="headerlink" href="#switch_gridTemplate" title="Permanent link">#</a></h6> | `string`|<br/>`number` | <code>""</code> | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
|
||||
| <h6 id="switch_values">values<a class="headerlink" href="#switch_values" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="switch_mode">mode<a class="headerlink" href="#switch_mode" title="Permanent link">#</a></h6> | `string` | <code>"tap"</code> | Interraction mode:<br/>- `tap`: activates when the pointer is down but prevents further scrolling<br/>- `slide`: same as `tap` but allows sliding between values<br/>- `click`: activates upon click only and allows further scrolling<br/><br/>Choices: `tap`, `slide`, `click` |
|
||||
| <h6 id="switch_colorTextOn">colorTextOn<a class="headerlink" href="#switch_colorTextOn" title="Permanent link">#</a></h6> | `string` | <code>"auto"</code> | Defines the widget's text color when active. |
|
||||
|
||||
??? api "<div id="dropdown">dropdown<a class="headerlink" href="#dropdown" title="Permanent link">#</a></div>"
|
||||
Native dropdown menu.
|
||||
|
||||
=== "dropdown"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="dropdown_align">align<a class="headerlink" href="#dropdown_align" title="Permanent link">#</a></h6> | `string` | <code>"center"</code> | Set to `left` or `right` to change text alignment (otherwise center)<br/><br/>Choices: `center`, `left`, `right` |
|
||||
| <h6 id="dropdown_values">values<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#dropdown_values" title="Permanent link">#</a></h6> | `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 |
|
||||
|
||||
??? api "<div id="menu">menu<a class="headerlink" href="#menu" title="Permanent link">#</a></div>"
|
||||
Drag and drop menu with a circular or grid layout.
|
||||
|
||||
=== "menu"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="menu_size">size<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#menu_size" title="Permanent link">#</a></h6> | `number`|<br/>`array` | <code>200</code> | - If `layout` is `circular`: diameter (in px)<br/>- Else: square size or `[width, height]` array |
|
||||
| <h6 id="menu_textAlign">textAlign<a class="headerlink" href="#menu_textAlign" title="Permanent link">#</a></h6> | `string` | <code>"center"</code> | Set to `left` or `right` to change text alignment (otherwise center)<br/><br/>Choices: `center`, `left`, `right` |
|
||||
| <h6 id="menu_menuAlignV">menuAlignV<a class="headerlink" href="#menu_menuAlignV" title="Permanent link">#</a></h6> | `string` | <code>"center"</code> | Set to `top` or `bottom` to change menu alignment (otherwise center)<br/><br/>Choices: `center`, `top`, `bottom` |
|
||||
| <h6 id="menu_menuAlignH">menuAlignH<a class="headerlink" href="#menu_menuAlignH" title="Permanent link">#</a></h6> | `string` | <code>"center"</code> | Set to `left` or `right` to change menu alignment (otherwise center)<br/><br/>Choices: `center`, `left`, `right` |
|
||||
| <h6 id="menu_layout">layout<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#menu_layout" title="Permanent link">#</a></h6> | `string` | <code>"circular"</code> | Defines whether the menu's layout should be rendered in a circle or in a box<br/><br/>Choices: `circular`, `horizontal`, `vertical`, `grid` |
|
||||
| <h6 id="menu_gridTemplate">gridTemplate<a class="headerlink" href="#menu_gridTemplate" title="Permanent link">#</a></h6> | `string`|<br/>`number` | <code>""</code> | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
|
||||
| <h6 id="menu_toggle">toggle<a class="headerlink" href="#menu_toggle" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to make the menu stay opened after mouse/touch release |
|
||||
| <h6 id="menu_doubleTap">doubleTap<a class="headerlink" href="#menu_doubleTap" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to make the menu require a double tap to be opened instead of a single tap |
|
||||
| <h6 id="menu_values">values<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#menu_values" title="Permanent link">#</a></h6> | `array`|<br/>`object` | <code>[<br/> 1,<br/> 2,<br/> 3<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 |
|
||||
| <h6 id="menu_weights">weights<a class="headerlink" href="#menu_weights" title="Permanent link">#</a></h6> | `array` | <code>""</code> | `Array` of `number` defining the weights of each value in `values`<br/><br/>Ignored when `mode` is `grid` |
|
||||
|
||||
??? api "<div id="input">input<a class="headerlink" href="#input" title="Permanent link">#</a></div>"
|
||||
Text input.
|
||||
|
||||
=== "input"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="input_align">align<a class="headerlink" href="#input_align" title="Permanent link">#</a></h6> | `string` | <code>"center"</code> | Set to `left` or `right` to change text alignment (otherwise center)<br/><br/>Choices: `center`, `left`, `right` |
|
||||
| <h6 id="input_unit">unit<a class="headerlink" href="#input_unit" title="Permanent link">#</a></h6> | `string` | <code>""</code> | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
|
||||
| <h6 id="input_asYouType">asYouType<a class="headerlink" href="#input_asYouType" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to make the input send its value at each keystroke |
|
||||
|
||||
??? api "<div id="file">file<a class="headerlink" href="#file" title="Permanent link">#</a></div>"
|
||||
File/Folder selector (server-side).
|
||||
|
||||
=== "input"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="file_align">align<a class="headerlink" href="#file_align" title="Permanent link">#</a></h6> | `string` | <code>"center"</code> | Set to `left` or `right` to change text alignment (otherwise center)<br/><br/>Choices: `center`, `left`, `right` |
|
||||
| <h6 id="file_directory">directory<a class="headerlink" href="#file_directory" title="Permanent link">#</a></h6> | `string` | <code>"auto"</code> | Default browsing directory |
|
||||
| <h6 id="file_extension">extension<a class="headerlink" href="#file_extension" title="Permanent link">#</a></h6> | `string` | <code>"*"</code> | Only display files with this extension |
|
||||
| <h6 id="file_hidePath">hidePath<a class="headerlink" href="#file_hidePath" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to only display the filename (the whole path will still be used as value) |
|
||||
| <h6 id="file_allowDir">allowDir<a class="headerlink" href="#file_allowDir" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Allow selecting a folder (by pressing "open" when no file is selected) |
|
||||
## Containers
|
||||
|
||||
??? api "<div id="panel">panel<a class="headerlink" href="#panel" title="Permanent link">#</a></div>"
|
||||
Widgets or Tabs container.
|
||||
|
||||
=== "panel"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="panel_variables">variables<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#panel_variables" title="Permanent link">#</a></h6> | `*` | <code>"@\{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
|
||||
| <h6 id="panel_traversing">traversing<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#panel_traversing" title="Permanent link">#</a></h6> | `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 |
|
||||
|
||||
=== "widget container"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="panel_layout">layout<a class="headerlink" href="#panel_layout" title="Permanent link">#</a></h6> | `string` | <code>"default"</code> | Defines how children are laid out.<br/><br/>Choices: `default`, `vertical`, `horizontal`, `grid` |
|
||||
| <h6 id="panel_justify">justify<a class="headerlink" href="#panel_justify" title="Permanent link">#</a></h6> | `string` | <code>"start"</code> | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.<br/><br/>Choices: `start`, `end`, `center`, `space-around`, `space-between` |
|
||||
| <h6 id="panel_gridTemplate">gridTemplate<a class="headerlink" href="#panel_gridTemplate" title="Permanent link">#</a></h6> | `string`|<br/>`number` | <code>""</code> | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
|
||||
| <h6 id="panel_scroll">scroll<a class="headerlink" href="#panel_scroll" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to disable scrollbars |
|
||||
| <h6 id="panel_innerPadding">innerPadding<a class="headerlink" href="#panel_innerPadding" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |
|
||||
|
||||
=== "tab container"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="panel_verticalTabs">verticalTabs<a class="headerlink" href="#panel_verticalTabs" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to display for vertical tab layout |
|
||||
|
||||
=== "value"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="panel_value">value<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#panel_value" title="Permanent link">#</a></h6> | `integer` | <code>""</code> | Defines currently selected tab in the widget<br/><br/>A tab can be opened only by setting its parent's value |
|
||||
|
||||
=== "children"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="panel_widgets">widgets<a class="headerlink" href="#panel_widgets" title="Permanent link">#</a></h6> | `array` | <code>[]</code> | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
|
||||
| <h6 id="panel_tabs">tabs<a class="headerlink" href="#panel_tabs" title="Permanent link">#</a></h6> | `array` | <code>[]</code> | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |
|
||||
|
||||
??? api "<div id="modal">modal<a class="headerlink" href="#modal" title="Permanent link">#</a></div>"
|
||||
A toggle button that opens a popup panel. Cannot contain tabs directly.
|
||||
|
||||
=== "modal"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="modal_label">label<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#modal_label" title="Permanent link">#</a></h6> | `string`|<br/>`boolean` | <code>"auto"</code> | Set to `false` to hide completely<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)<br/>- Icons can be transformed with the following suffixes: `.flip-[horizontal|vertical|both]`, `.rotate-[90|180|270]`, `.spin`, `.pulse`. Example: `^play.flip-horizontal` |
|
||||
| <h6 id="modal_doubleTap">doubleTap<a class="headerlink" href="#modal_doubleTap" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to make the modal require a double tap to open instead of a single tap |
|
||||
| <h6 id="modal_variables">variables<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#modal_variables" title="Permanent link">#</a></h6> | `*` | <code>"@\{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
|
||||
|
||||
=== "popup"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="modal_popupLabel">popupLabel<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#modal_popupLabel" title="Permanent link">#</a></h6> | `string`|<br/>`boolean` | <code>"auto"</code> | Alternative label for the modal popup |
|
||||
| <h6 id="modal_popupWidth">popupWidth<a class="headerlink" href="#modal_popupWidth" title="Permanent link">#</a></h6> | `number`|<br/>`percentage` | <code>"80%"</code> | Modal popup's size |
|
||||
| <h6 id="modal_popupHeight">popupHeight<a class="headerlink" href="#modal_popupHeight" title="Permanent link">#</a></h6> | `number`|<br/>`percentage` | <code>"80%"</code> | Modal popup's size |
|
||||
| <h6 id="modal_popupLeft">popupLeft<a class="headerlink" href="#modal_popupLeft" title="Permanent link">#</a></h6> | `number`|<br/>`percentage` | <code>"auto"</code> | Modal popup's position |
|
||||
| <h6 id="modal_popupTop">popupTop<a class="headerlink" href="#modal_popupTop" title="Permanent link">#</a></h6> | `number`|<br/>`percentage` | <code>"auto"</code> | Modal popup's position |
|
||||
| <h6 id="modal_layout">layout<a class="headerlink" href="#modal_layout" title="Permanent link">#</a></h6> | `string` | <code>"default"</code> | Defines how children are laid out.<br/><br/>Choices: `default`, `vertical`, `horizontal`, `grid` |
|
||||
| <h6 id="modal_gridTemplate">gridTemplate<a class="headerlink" href="#modal_gridTemplate" title="Permanent link">#</a></h6> | `string`|<br/>`number` | <code>""</code> | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
|
||||
| <h6 id="modal_traversing">traversing<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#modal_traversing" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="modal_scroll">scroll<a class="headerlink" href="#modal_scroll" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to disable scrollbars |
|
||||
| <h6 id="modal_innerPadding">innerPadding<a class="headerlink" href="#modal_innerPadding" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |
|
||||
|
||||
=== "value"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="modal_value">value<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#modal_value" title="Permanent link">#</a></h6> | `integer` | <code>""</code> | Defines the modal's state:`0` for closed, `1` for opened |
|
||||
|
||||
=== "children"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="modal_widgets">widgets<a class="headerlink" href="#modal_widgets" title="Permanent link">#</a></h6> | `array` | <code>[]</code> | Each element of the array must be a widget object |
|
||||
|
||||
??? api "<div id="clone">clone<a class="headerlink" href="#clone" title="Permanent link">#</a></div>"
|
||||
Widget replication with overridable properties.
|
||||
|
||||
=== "clone"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="clone_widgetId">widgetId<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#clone_widgetId" title="Permanent link">#</a></h6> | `string` | <code>""</code> | `id` of the widget to clone |
|
||||
| <h6 id="clone_props">props<a class="headerlink" href="#clone_props" title="Permanent link">#</a></h6> | `object` | <code>\{}</code> | Cloned widget's properties to override |
|
||||
|
||||
??? api "<div id="matrix">matrix<a class="headerlink" href="#matrix" title="Permanent link">#</a></div>"
|
||||
Generic matrix for creating rows/columns of widgets.
|
||||
|
||||
=== "matrix"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="matrix_widgetType">widgetType<a class="headerlink" href="#matrix_widgetType" title="Permanent link">#</a></h6> | `string` | <code>"button"</code> | Defines the type of the widgets in the matrix |
|
||||
| <h6 id="matrix_quantity">quantity<a class="headerlink" href="#matrix_quantity" title="Permanent link">#</a></h6> | `number` | <code>4</code> | Defines the number of widgets in the matrix |
|
||||
| <h6 id="matrix_start">start<a class="headerlink" href="#matrix_start" title="Permanent link">#</a></h6> | `integer` | <code>0</code> | First widget's index |
|
||||
| <h6 id="matrix_props">props<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#matrix_props" title="Permanent link">#</a></h6> | `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 `/$`) |
|
||||
|
||||
=== "layout"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="matrix_layout">layout<a class="headerlink" href="#matrix_layout" title="Permanent link">#</a></h6> | `string` | <code>"horizontal"</code> | Defines how children are laid out.<br/><br/>Choices: `horizontal`, `vertical`, `grid` |
|
||||
| <h6 id="matrix_gridTemplate">gridTemplate<a class="headerlink" href="#matrix_gridTemplate" title="Permanent link">#</a></h6> | `string`|<br/>`number` | <code>""</code> | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
|
||||
| <h6 id="matrix_traversing">traversing<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#matrix_traversing" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to disable traversing gestures |
|
||||
| <h6 id="matrix_innerPadding">innerPadding<a class="headerlink" href="#matrix_innerPadding" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |
|
||||
|
||||
??? api "<div id="keyboard">keyboard<a class="headerlink" href="#keyboard" title="Permanent link">#</a></div>"
|
||||
Piano keyboard.
|
||||
|
||||
=== "style"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="keyboard_css">css<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#keyboard_css" title="Permanent link">#</a></h6> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-white:color;` (white keys color)<br/>- `--color-black:color;` (black keys color) |
|
||||
|
||||
=== "keyboard"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="keyboard_keys">keys<a class="headerlink" href="#keyboard_keys" title="Permanent link">#</a></h6> | `number` | <code>25</code> | Defines the number keys |
|
||||
| <h6 id="keyboard_start">start<a class="headerlink" href="#keyboard_start" title="Permanent link">#</a></h6> | `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]` |
|
||||
| <h6 id="keyboard_traversing">traversing<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#keyboard_traversing" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to disable traversing gestures |
|
||||
| <h6 id="keyboard_on">on<a class="headerlink" href="#keyboard_on" title="Permanent link">#</a></h6> | `*` | <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) |
|
||||
| <h6 id="keyboard_off">off<a class="headerlink" href="#keyboard_off" title="Permanent link">#</a></h6> | `*` | <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) |
|
||||
| <h6 id="keyboard_mode">mode<a class="headerlink" href="#keyboard_mode" title="Permanent link">#</a></h6> | `string` | <code>"push"</code> | Interraction mode:<br/>- `push` (press & release)<br/>- `toggle` (on/off switches)<br/>- `tap` (no release)<br/><br/>Choices: `push`, `toggle`, `tap` |
|
||||
|
||||
??? api "<div id="patchbay">patchbay<a class="headerlink" href="#patchbay" title="Permanent link">#</a></div>"
|
||||
Connect inputs to outputs.
|
||||
|
||||
=== "style"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="patchbay_css">css<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#patchbay_css" title="Permanent link">#</a></h6> | `string` | <code>""</code> | The inputs/ouputs width can be adjusted by using the `.nodes` selector:<br/><br/>`.nodes { width: 25% }` |
|
||||
|
||||
=== "patchbay"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="patchbay_inputs">inputs<a class="headerlink" href="#patchbay_inputs" title="Permanent link">#</a></h6> | `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` |
|
||||
| <h6 id="patchbay_outputs">outputs<a class="headerlink" href="#patchbay_outputs" title="Permanent link">#</a></h6> | `array`|<br/>`object` | <code>[<br/> "output_1",<br/> "output_2"<br/>]</code> | List of output values the inputs can connect to (see `inputs`). |
|
||||
|
||||
??? api "<div id="root">root<a class="headerlink" href="#root" title="Permanent link">#</a></div>"
|
||||
Main (unique) container
|
||||
|
||||
=== "panel"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="root_variables">variables<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#root_variables" title="Permanent link">#</a></h6> | `*` | <code>"@\{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
|
||||
| <h6 id="root_traversing">traversing<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#root_traversing" title="Permanent link">#</a></h6> | `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 |
|
||||
|
||||
=== "widget container"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="root_layout">layout<a class="headerlink" href="#root_layout" title="Permanent link">#</a></h6> | `string` | <code>"default"</code> | Defines how children are laid out.<br/><br/>Choices: `default`, `vertical`, `horizontal`, `grid` |
|
||||
| <h6 id="root_justify">justify<a class="headerlink" href="#root_justify" title="Permanent link">#</a></h6> | `string` | <code>"start"</code> | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.<br/><br/>Choices: `start`, `end`, `center`, `space-around`, `space-between` |
|
||||
| <h6 id="root_gridTemplate">gridTemplate<a class="headerlink" href="#root_gridTemplate" title="Permanent link">#</a></h6> | `string`|<br/>`number` | <code>""</code> | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
|
||||
| <h6 id="root_scroll">scroll<a class="headerlink" href="#root_scroll" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to disable scrollbars |
|
||||
| <h6 id="root_innerPadding">innerPadding<a class="headerlink" href="#root_innerPadding" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |
|
||||
|
||||
=== "tab container"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="root_verticalTabs">verticalTabs<a class="headerlink" href="#root_verticalTabs" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to display for vertical tab layout |
|
||||
|
||||
=== "value"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="root_value">value<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#root_value" title="Permanent link">#</a></h6> | `integer` | <code>""</code> | Defines currently widgeted tab in the widget<br/><br/>A tab can be opened only by setting its parent's value |
|
||||
|
||||
=== "children"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="root_widgets">widgets<a class="headerlink" href="#root_widgets" title="Permanent link">#</a></h6> | `array` | <code>[]</code> | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
|
||||
| <h6 id="root_tabs">tabs<a class="headerlink" href="#root_tabs" title="Permanent link">#</a></h6> | `array` | <code>[]</code> | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |
|
||||
|
||||
??? api "<div id="tab">tab<a class="headerlink" href="#tab" title="Permanent link">#</a></div>"
|
||||
Tabbed panel widget
|
||||
|
||||
=== "panel"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="tab_label">label<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#tab_label" title="Permanent link">#</a></h6> | `string`|<br/>`boolean` | <code>"auto"</code> | Set to `false` to hide completely<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)<br/>- Icons can be transformed with the following suffixes: `.flip-[horizontal|vertical|both]`, `.rotate-[90|180|270]`, `.spin`, `.pulse`. Example: `^play.flip-horizontal` |
|
||||
| <h6 id="tab_variables">variables<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#tab_variables" title="Permanent link">#</a></h6> | `*` | <code>"@\{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
|
||||
| <h6 id="tab_traversing">traversing<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#tab_traversing" title="Permanent link">#</a></h6> | `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 |
|
||||
|
||||
=== "widget container"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="tab_layout">layout<a class="headerlink" href="#tab_layout" title="Permanent link">#</a></h6> | `string` | <code>"default"</code> | Defines how children are laid out.<br/><br/>Choices: `default`, `vertical`, `horizontal`, `grid` |
|
||||
| <h6 id="tab_justify">justify<a class="headerlink" href="#tab_justify" title="Permanent link">#</a></h6> | `string` | <code>"start"</code> | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.<br/><br/>Choices: `start`, `end`, `center`, `space-around`, `space-between` |
|
||||
| <h6 id="tab_gridTemplate">gridTemplate<a class="headerlink" href="#tab_gridTemplate" title="Permanent link">#</a></h6> | `string`|<br/>`number` | <code>""</code> | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
|
||||
| <h6 id="tab_scroll">scroll<a class="headerlink" href="#tab_scroll" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to disable scrollbars |
|
||||
| <h6 id="tab_innerPadding">innerPadding<a class="headerlink" href="#tab_innerPadding" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |
|
||||
|
||||
=== "tab container"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="tab_verticalTabs">verticalTabs<a class="headerlink" href="#tab_verticalTabs" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to display for vertical tab layout |
|
||||
|
||||
=== "value"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="tab_value">value<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#tab_value" title="Permanent link">#</a></h6> | `integer` | <code>""</code> | Defines currently widgeted tab in the widget<br/><br/>A tab can be opened only by setting its parent's value |
|
||||
|
||||
=== "children"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="tab_widgets">widgets<a class="headerlink" href="#tab_widgets" title="Permanent link">#</a></h6> | `array` | <code>[]</code> | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
|
||||
| <h6 id="tab_tabs">tabs<a class="headerlink" href="#tab_tabs" title="Permanent link">#</a></h6> | `array` | <code>[]</code> | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |
|
||||
## Frames
|
||||
|
||||
??? api "<div id="frame">frame<a class="headerlink" href="#frame" title="Permanent link">#</a></div>"
|
||||
Embed a page in a frame (local network only).
|
||||
|
||||
=== "value"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="frame_value">value<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#frame_value" title="Permanent link">#</a></h6> | `string` | <code>""</code> | External web page URL. |
|
||||
|
||||
??? api "<div id="svg">svg<a class="headerlink" href="#svg" title="Permanent link">#</a></div>"
|
||||
Svg parser.
|
||||
|
||||
=== "svg"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="svg_svg">svg<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#svg_svg" title="Permanent link">#</a></h6> | `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`) |
|
||||
|
||||
??? api "<div id="html">html<a class="headerlink" href="#html" title="Permanent link">#</a></div>"
|
||||
Simple HTML parser.
|
||||
|
||||
=== "html"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="html_html">html<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#html_html" title="Permanent link">#</a></h6> | `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<br/><br/>Allowed attributes:<br/><br/> <*>: class, style, title<br/><br/> <img>: src, width, height |
|
||||
|
||||
??? api "<div id="image">image<a class="headerlink" href="#image" title="Permanent link">#</a></div>"
|
||||
Load a image (url or base64-encoded).
|
||||
|
||||
=== "image"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="image_size">size<a class="headerlink" href="#image_size" title="Permanent link">#</a></h6> | `string` | <code>"cover"</code> | CSS background-size |
|
||||
| <h6 id="image_position">position<a class="headerlink" href="#image_position" title="Permanent link">#</a></h6> | `string` | <code>"center"</code> | CSS background-position |
|
||||
| <h6 id="image_repeat">repeat<a class="headerlink" href="#image_repeat" title="Permanent link">#</a></h6> | `string` | <code>"no-repeat"</code> | CSS background-repeat |
|
||||
| <h6 id="image_cache">cache<a class="headerlink" href="#image_cache" title="Permanent link">#</a></h6> | `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 |
|
||||
|
||||
=== "value"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="image_value">value<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#image_value" title="Permanent link">#</a></h6> | `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/...` |
|
||||
## Graphs
|
||||
|
||||
??? api "<div id="plot">plot<a class="headerlink" href="#plot" title="Permanent link">#</a></div>"
|
||||
XY coordinates plot.
|
||||
|
||||
=== "plot"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="plot_rangeX">rangeX<a class="headerlink" href="#plot_rangeX" title="Permanent link">#</a></h6> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the x axis |
|
||||
| <h6 id="plot_rangeY">rangeY<a class="headerlink" href="#plot_rangeY" title="Permanent link">#</a></h6> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h6 id="plot_logScaleX">logScaleX<a class="headerlink" href="#plot_logScaleX" title="Permanent link">#</a></h6> | `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. |
|
||||
| <h6 id="plot_logScaleY">logScaleY<a class="headerlink" href="#plot_logScaleY" title="Permanent link">#</a></h6> | `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. |
|
||||
| <h6 id="plot_origin">origin<a class="headerlink" href="#plot_origin" title="Permanent link">#</a></h6> | `number` | <code>"auto"</code> | Defines the y axis origin. Set to `false` to disable it. |
|
||||
| <h6 id="plot_dots">dots<a class="headerlink" href="#plot_dots" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Draw dots on the line |
|
||||
| <h6 id="plot_bars">bars<a class="headerlink" href="#plot_bars" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) |
|
||||
| <h6 id="plot_pips">pips<a class="headerlink" href="#plot_pips" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
|
||||
=== "value"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="plot_value">value<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#plot_value" title="Permanent link">#</a></h6> | `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 |
|
||||
|
||||
??? api "<div id="eq">eq<a class="headerlink" href="#eq" title="Permanent link">#</a></div>"
|
||||
Draws logarithmic frequency response from an array of filter objects.
|
||||
|
||||
=== "eq"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="eq_filters">filters<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#eq_filters" title="Permanent link">#</a></h6> | `array` | <code>""</code> | Each item must be an object with the following properties<br/>- `type`: string ("highpass", "highshelf", "lowpass", "lowshelf", "peak", "bandpass" or "notch", default: "peak")<br/>- `freq`: number (filter's resonant frequency, default: 1000)<br/>- `q`: number (Q factor, default: 1)<br/>- `gain`: number (default: 0)<br/>- `on`: boolean (default: true)<br/><br/>See https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode |
|
||||
| <h6 id="eq_pips">pips<a class="headerlink" href="#eq_pips" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to false to hide the scale |
|
||||
| <h6 id="eq_rangeX">rangeX<a class="headerlink" href="#eq_rangeX" title="Permanent link">#</a></h6> | `object` | <code>\{<br/> "min": 20,<br/> "max": 22000<br/>}</code> | Defines the min and max values for the x axis (in Hz, logarithmic scale) |
|
||||
| <h6 id="eq_rangeY">rangeY<a class="headerlink" href="#eq_rangeY" title="Permanent link">#</a></h6> | `object` | <code>\{<br/> "min": -6,<br/> "max": 6<br/>}</code> | Defines the min and max values for the y axis (in dB) |
|
||||
| <h6 id="eq_origin">origin<a class="headerlink" href="#eq_origin" title="Permanent link">#</a></h6> | `number`|<br/>`boolean` | <code>"auto"</code> | Defines the y axis origin. Set to `false` to disable it |
|
||||
|
||||
??? api "<div id="visualizer">visualizer<a class="headerlink" href="#visualizer" title="Permanent link">#</a></div>"
|
||||
Display its value over time.
|
||||
|
||||
=== "visualizer"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="visualizer_duration">duration<a class="headerlink" href="#visualizer_duration" title="Permanent link">#</a></h6> | `number` | <code>1</code> | Defines visualization duration in seconds |
|
||||
| <h6 id="visualizer_framerate">framerate<a class="headerlink" href="#visualizer_framerate" title="Permanent link">#</a></h6> | `number` | <code>30</code> | Defines visualization framerate |
|
||||
| <h6 id="visualizer_rangeY">rangeY<a class="headerlink" href="#visualizer_rangeY" title="Permanent link">#</a></h6> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h6 id="visualizer_origin">origin<a class="headerlink" href="#visualizer_origin" title="Permanent link">#</a></h6> | `number` | <code>"auto"</code> | Defines the y axis origin. Set to `false` to disable it |
|
||||
| <h6 id="visualizer_logScaleY">logScaleY<a class="headerlink" href="#visualizer_logScaleY" title="Permanent link">#</a></h6> | `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. |
|
||||
| <h6 id="visualizer_pips">pips<a class="headerlink" href="#visualizer_pips" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
| <h6 id="visualizer_freeze">freeze<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#visualizer_freeze" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to freeze current view and ignore incoming values |
|
||||
## Indicators
|
||||
|
||||
??? api "<div id="led">led<a class="headerlink" href="#led" title="Permanent link">#</a></div>"
|
||||
Intensity display.
|
||||
|
||||
=== "led"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="led_mode">mode<a class="headerlink" href="#led_mode" title="Permanent link">#</a></h6> | `string` | <code>"intensity"</code> | Defines how value is interpreted (see `value`)<br/><br/>Choices: `intensity`, `color` |
|
||||
| <h6 id="led_range">range<a class="headerlink" href="#led_range" title="Permanent link">#</a></h6> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Value range |
|
||||
| <h6 id="led_alphaRange">alphaRange<a class="headerlink" href="#led_alphaRange" title="Permanent link">#</a></h6> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Alpha range (if `mode` is `color`) |
|
||||
| <h6 id="led_logScale">logScale<a class="headerlink" href="#led_logScale" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | If `mode` is `intensity`, set to `true` to use logarithmic scale. |
|
||||
| <h6 id="led_borderRadius">borderRadius<a class="headerlink" href="#led_borderRadius" title="Permanent link">#</a></h6> | `string` | <code>""</code> | Css border-radius property. |
|
||||
|
||||
=== "value"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="led_value">value<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#led_value" title="Permanent link">#</a></h6> | `number`|<br/>`array`|<br/>`string` | <code>""</code> | If `mode` is `intensity`:<br/>- `Number`: `intensity` between `range.min` and `range.max`<br/><br/>If `mode` is `color`:<br/>- `Array`: `[r, g, b]` (`r`, `g` and `b` between `range.min` and `range.max`)<br/>- `Array`: `[r, g, b, alpha]` (`alpha` between `alphaRange.min` and `alphaRange.max`)<br/>- `String`: CSS color |
|
||||
|
||||
??? api "<div id="text">text<a class="headerlink" href="#text" title="Permanent link">#</a></div>"
|
||||
Display text.
|
||||
|
||||
=== "text"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="text_vertical">vertical<a class="headerlink" href="#text_vertical" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to display the text vertically |
|
||||
| <h6 id="text_wrap">wrap<a class="headerlink" href="#text_wrap" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="text_align">align<a class="headerlink" href="#text_align" title="Permanent link">#</a></h6> | `string` | <code>"center"</code> | Css text-align property.<br/><br/>Choices: `center`, `left`, `right` |
|
||||
## Pads
|
||||
|
||||
??? api "<div id="xy">xy<a class="headerlink" href="#xy" title="Permanent link">#</a></div>"
|
||||
Two-dimensional slider.
|
||||
|
||||
=== "xy"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="xy_pointSize">pointSize<a class="headerlink" href="#xy_pointSize" title="Permanent link">#</a></h6> | `integer` | <code>20</code> | Defines the points' size |
|
||||
| <h6 id="xy_snap">snap<a class="headerlink" href="#xy_snap" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="xy_spring">spring<a class="headerlink" href="#xy_spring" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its default value when released |
|
||||
| <h6 id="xy_pips">pips<a class="headerlink" href="#xy_pips" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
| <h6 id="xy_rangeX">rangeX<a class="headerlink" href="#xy_rangeX" title="Permanent link">#</a></h6> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the x axis |
|
||||
| <h6 id="xy_rangeY">rangeY<a class="headerlink" href="#xy_rangeY" title="Permanent link">#</a></h6> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h6 id="xy_logScaleX">logScaleX<a class="headerlink" href="#xy_logScaleX" title="Permanent link">#</a></h6> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. |
|
||||
| <h6 id="xy_logScaleY">logScaleY<a class="headerlink" href="#xy_logScaleY" title="Permanent link">#</a></h6> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. |
|
||||
| <h6 id="xy_doubleTap">doubleTap<a class="headerlink" href="#xy_doubleTap" title="Permanent link">#</a></h6> | `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>` |
|
||||
| <h6 id="xy_sensitivity">sensitivity<a class="headerlink" href="#xy_sensitivity" title="Permanent link">#</a></h6> | `number` | <code>1</code> | Defines the pad's sensitivity when `snap` is `false` |
|
||||
|
||||
=== "osc"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="xy_touchAddress">touchAddress<a class="headerlink" href="#xy_touchAddress" title="Permanent link">#</a></h6> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1`) |
|
||||
|
||||
??? api "<div id="rgb">rgb<a class="headerlink" href="#rgb" title="Permanent link">#</a></div>"
|
||||
Color picker with optional alpha slider.
|
||||
|
||||
=== "rgb"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="rgb_snap">snap<a class="headerlink" href="#rgb_snap" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="rgb_spring">spring<a class="headerlink" href="#rgb_spring" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its default value when released |
|
||||
| <h6 id="rgb_range">range<a class="headerlink" href="#rgb_range" title="Permanent link">#</a></h6> | `object` | <code>\{<br/> "min": 0,<br/> "max": 255<br/>}</code> | Defines the widget's output scale. |
|
||||
| <h6 id="rgb_alpha">alpha<a class="headerlink" href="#rgb_alpha" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to enable alpha channel |
|
||||
| <h6 id="rgb_rangeAlpha">rangeAlpha<a class="headerlink" href="#rgb_rangeAlpha" title="Permanent link">#</a></h6> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the widget's output scale for the alpha channel. |
|
||||
|
||||
??? api "<div id="multixy">multixy<a class="headerlink" href="#multixy" title="Permanent link">#</a></div>"
|
||||
Multi-point XY pad.
|
||||
|
||||
=== "multi xy"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="multixy_points">points<a class="headerlink" href="#multixy_points" title="Permanent link">#</a></h6> | `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']`) |
|
||||
|
||||
=== "xy"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="multixy_pointSize">pointSize<a class="headerlink" href="#multixy_pointSize" title="Permanent link">#</a></h6> | `integer` | <code>20</code> | Defines the points' size |
|
||||
| <h6 id="multixy_snap">snap<a class="headerlink" href="#multixy_snap" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="multixy_spring">spring<a class="headerlink" href="#multixy_spring" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its default value when released |
|
||||
| <h6 id="multixy_pips">pips<a class="headerlink" href="#multixy_pips" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
| <h6 id="multixy_rangeX">rangeX<a class="headerlink" href="#multixy_rangeX" title="Permanent link">#</a></h6> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the x axis |
|
||||
| <h6 id="multixy_rangeY">rangeY<a class="headerlink" href="#multixy_rangeY" title="Permanent link">#</a></h6> | `object` | <code>\{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h6 id="multixy_logScaleX">logScaleX<a class="headerlink" href="#multixy_logScaleX" title="Permanent link">#</a></h6> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. |
|
||||
| <h6 id="multixy_logScaleY">logScaleY<a class="headerlink" href="#multixy_logScaleY" title="Permanent link">#</a></h6> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. |
|
||||
| <h6 id="multixy_sensitivity">sensitivity<a class="headerlink" href="#multixy_sensitivity" title="Permanent link">#</a></h6> | `number` | <code>1</code> | Defines the pad's sensitivity when `snap` is `false` |
|
||||
|
||||
=== "osc"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="multixy_touchAddress">touchAddress<a class="headerlink" href="#multixy_touchAddress" title="Permanent link">#</a></h6> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
|
||||
## Sliders
|
||||
|
||||
??? api "<div id="fader">fader<a class="headerlink" href="#fader" title="Permanent link">#</a></div>"
|
||||
Vertical / horizontal slider.
|
||||
|
||||
=== "style"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="fader_css">css<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#fader_css" title="Permanent link">#</a></h6> | `string` | <code>""</code> | CSS rules. See <a href="https://openstagecontrol.ammd.net/docs/customization/css-tips/">documentation</a>.<br/><br/>Available css variables:<br/>- `--color-background`: `colorBg`<br/>- `--color-widget`: `colorWidget`<br/>- `--color-fill`: `colorFill`<br/>- `--color-stroke`: `colorStroke`<br/>- `--color-text`: `colorText`<br/>- `--widget-padding`: `padding`<br/>- `--alpha-fill-on`: `alphaFillOn`<br/>- `--alpha-fill-off`: `alphaFillOff`<br/>- `--alpha-stroke`: `alphaStroke`<br/>- `--alpha-pips`: `alphaPips`<br/>- `--alpha-pips-text`: `alphaPipsText` |
|
||||
|
||||
=== "fader"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="fader_design">design<a class="headerlink" href="#fader_design" title="Permanent link">#</a></h6> | `string` | <code>"default"</code> | Design style<br/><br/>Choices: `default`, `round`, `compact` |
|
||||
| <h6 id="fader_horizontal">horizontal<a class="headerlink" href="#fader_horizontal" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to display the fader horizontally |
|
||||
| <h6 id="fader_pips">pips<a class="headerlink" href="#fader_pips" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to show range breakpoints (ignored if `design` is `compact`) |
|
||||
| <h6 id="fader_dashed">dashed<a class="headerlink" href="#fader_dashed" title="Permanent link">#</a></h6> | `boolean`|<br/>`array` | <code>false</code> | Set to `true` to display a dashed gauge. Can be set as an `array` of two numbers : `[dash_size, gap_size]` |
|
||||
| <h6 id="fader_gradient">gradient<a class="headerlink" href="#fader_gradient" title="Permanent link">#</a></h6> | `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'} |
|
||||
| <h6 id="fader_snap">snap<a class="headerlink" href="#fader_snap" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="fader_spring">spring<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#fader_spring" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its `default` value when released |
|
||||
| <h6 id="fader_doubleTap">doubleTap<a class="headerlink" href="#fader_doubleTap" title="Permanent link">#</a></h6> | `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>`) |
|
||||
| <h6 id="fader_range">range<a class="headerlink" href="#fader_range" title="Permanent link">#</a></h6> | `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}}`) |
|
||||
| <h6 id="fader_logScale">logScale<a class="headerlink" href="#fader_logScale" title="Permanent link">#</a></h6> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. |
|
||||
| <h6 id="fader_sensitivity">sensitivity<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#fader_sensitivity" title="Permanent link">#</a></h6> | `number` | <code>1</code> | Defines the fader's sensitivity when `snap` is `false` |
|
||||
| <h6 id="fader_steps">steps<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#fader_steps" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="fader_origin">origin<a class="headerlink" href="#fader_origin" title="Permanent link">#</a></h6> | `number` | <code>"auto"</code> | Defines the starting point's value of the fader's gauge |
|
||||
|
||||
=== "osc"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="fader_touchAddress">touchAddress<a class="headerlink" href="#fader_touchAddress" title="Permanent link">#</a></h6> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
|
||||
|
||||
??? api "<div id="knob">knob<a class="headerlink" href="#knob" title="Permanent link">#</a></div>"
|
||||
Rotative knob slider.
|
||||
|
||||
=== "style"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="knob_css">css<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#knob_css" title="Permanent link">#</a></h6> | `string` | <code>""</code> | CSS rules. See <a href="https://openstagecontrol.ammd.net/docs/customization/css-tips/">documentation</a>.<br/><br/>Available css variables:<br/>- `--color-background`: `colorBg`<br/>- `--color-widget`: `colorWidget`<br/>- `--color-fill`: `colorFill`<br/>- `--color-stroke`: `colorStroke`<br/>- `--color-text`: `colorText`<br/>- `--widget-padding`: `padding`<br/>- `--alpha-fill-on`: `alphaFillOn`<br/>- `--alpha-fill-off`: `alphaFillOff`<br/>- `--alpha-stroke`: `alphaStroke`<br/>- `--alpha-pips`: `alphaPips`<br/>- `--alpha-pips-text`: `alphaPipsText` |
|
||||
|
||||
=== "knob"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="knob_mode">mode<a class="headerlink" href="#knob_mode" title="Permanent link">#</a></h6> | `string` | <code>"vertical"</code> | - `circular`: relative move in circular motion<br/>- `snap`: snap to touch position and move in vertical motion<br/>- `vertical`: relative move in vertical motion<br/><br/>Choices: `vertical`, `circular`, `snap` |
|
||||
| <h6 id="knob_spring">spring<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#knob_spring" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its `default` value when released |
|
||||
| <h6 id="knob_pips">pips<a class="headerlink" href="#knob_pips" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to show the scale's breakpoints |
|
||||
| <h6 id="knob_dashed">dashed<a class="headerlink" href="#knob_dashed" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to display a dashed gauge |
|
||||
| <h6 id="knob_angle">angle<a class="headerlink" href="#knob_angle" title="Permanent link">#</a></h6> | `number` | <code>270</code> | Defines the angle's width of the knob, in degrees |
|
||||
| <h6 id="knob_doubleTap">doubleTap<a class="headerlink" href="#knob_doubleTap" title="Permanent link">#</a></h6> | `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>`) |
|
||||
| <h6 id="knob_range">range<a class="headerlink" href="#knob_range" title="Permanent link">#</a></h6> | `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}}`) |
|
||||
| <h6 id="knob_logScale">logScale<a class="headerlink" href="#knob_logScale" title="Permanent link">#</a></h6> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. |
|
||||
| <h6 id="knob_sensitivity">sensitivity<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#knob_sensitivity" title="Permanent link">#</a></h6> | `number` | <code>1</code> | Defines the knob's sensitivity when `mode` is not `snap` |
|
||||
| <h6 id="knob_steps">steps<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#knob_steps" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="knob_origin">origin<a class="headerlink" href="#knob_origin" title="Permanent link">#</a></h6> | `number` | <code>"auto"</code> | Defines the starting point's value of the knob's gauge |
|
||||
|
||||
=== "osc"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="knob_touchAddress">touchAddress<a class="headerlink" href="#knob_touchAddress" title="Permanent link">#</a></h6> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
|
||||
|
||||
??? api "<div id="encoder">encoder<a class="headerlink" href="#encoder" title="Permanent link">#</a></div>"
|
||||
A knob that sends a relative direction infomation instead of an absolute value.
|
||||
|
||||
=== "encoder"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="encoder_ticks">ticks<a class="headerlink" href="#encoder_ticks" title="Permanent link">#</a></h6> | `number` | <code>360</code> | defines the granularity / verbosity of the encoder (number of step for a 360° arc) |
|
||||
| <h6 id="encoder_back">back<a class="headerlink" href="#encoder_back" title="Permanent link">#</a></h6> | `*` | <code>-1</code> | Defines which value is sent when rotating the encoder anticlockwise |
|
||||
| <h6 id="encoder_forth">forth<a class="headerlink" href="#encoder_forth" title="Permanent link">#</a></h6> | `*` | <code>1</code> | Defines which value is sent when rotating the encoder clockwise |
|
||||
| <h6 id="encoder_release">release<a class="headerlink" href="#encoder_release" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="encoder_mode">mode<a class="headerlink" href="#encoder_mode" title="Permanent link">#</a></h6> | `string` | <code>"circular"</code> | - `circular`: relative move in circular motion<br/>- `snap`: snap to touch position and move in vertical motion<br/>- `vertical`: relative move in vertical motion<br/><br/>Choices: `circular`, `snap`, `vertical` |
|
||||
| <h6 id="encoder_doubleTap">doubleTap<a class="headerlink" href="#encoder_doubleTap" title="Permanent link">#</a></h6> | `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>`) |
|
||||
|
||||
=== "osc"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="encoder_touchAddress">touchAddress<a class="headerlink" href="#encoder_touchAddress" title="Permanent link">#</a></h6> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
|
||||
|
||||
??? api "<div id="range">range<a class="headerlink" href="#range" title="Permanent link">#</a></div>"
|
||||
A fader with two heads for setting a range.
|
||||
|
||||
=== "style"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="range_css">css<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#range_css" title="Permanent link">#</a></h6> | `string` | <code>""</code> | CSS rules. See <a href="https://openstagecontrol.ammd.net/docs/customization/css-tips/">documentation</a>.<br/><br/>Available css variables:<br/>- `--color-background`: `colorBg`<br/>- `--color-widget`: `colorWidget`<br/>- `--color-fill`: `colorFill`<br/>- `--color-stroke`: `colorStroke`<br/>- `--color-text`: `colorText`<br/>- `--widget-padding`: `padding`<br/>- `--alpha-fill-on`: `alphaFillOn`<br/>- `--alpha-fill-off`: `alphaFillOff`<br/>- `--alpha-stroke`: `alphaStroke`<br/>- `--alpha-pips`: `alphaPips`<br/>- `--alpha-pips-text`: `alphaPipsText` |
|
||||
|
||||
=== "fader"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="range_design">design<a class="headerlink" href="#range_design" title="Permanent link">#</a></h6> | `string` | <code>"default"</code> | Design style<br/><br/>Choices: `default`, `round`, `compact` |
|
||||
| <h6 id="range_horizontal">horizontal<a class="headerlink" href="#range_horizontal" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to display the fader horizontally |
|
||||
| <h6 id="range_pips">pips<a class="headerlink" href="#range_pips" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | Set to `true` to show range breakpoints (ignored if `design` is `compact`) |
|
||||
| <h6 id="range_dashed">dashed<a class="headerlink" href="#range_dashed" title="Permanent link">#</a></h6> | `boolean`|<br/>`array` | <code>false</code> | Set to `true` to display a dashed gauge. Can be set as an `array` of two numbers : `[dash_size, gap_size]` |
|
||||
| <h6 id="range_gradient">gradient<a class="headerlink" href="#range_gradient" title="Permanent link">#</a></h6> | `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'} |
|
||||
| <h6 id="range_snap">snap<a class="headerlink" href="#range_snap" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="range_spring">spring<a class="headerlink" href="#range_spring" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its `default` value when released |
|
||||
| <h6 id="range_doubleTap">doubleTap<a class="headerlink" href="#range_doubleTap" title="Permanent link">#</a></h6> | `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>`) |
|
||||
| <h6 id="range_range">range<a class="headerlink" href="#range_range" title="Permanent link">#</a></h6> | `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}}`) |
|
||||
| <h6 id="range_logScale">logScale<a class="headerlink" href="#range_logScale" title="Permanent link">#</a></h6> | `boolean`|<br/>`number` | <code>false</code> | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. |
|
||||
| <h6 id="range_sensitivity">sensitivity<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#range_sensitivity" title="Permanent link">#</a></h6> | `number` | <code>1</code> | Defines the fader's sensitivity when `snap` is `false` |
|
||||
| <h6 id="range_steps">steps<sup><i class="fas fa-bolt" title="dynamic"></i></sup><a class="headerlink" href="#range_steps" title="Permanent link">#</a></h6> | `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 |
|
||||
| <h6 id="range_origin">origin<a class="headerlink" href="#range_origin" title="Permanent link">#</a></h6> | `number` | <code>"auto"</code> | Defines the starting point's value of the fader's gauge |
|
||||
|
||||
=== "osc"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="range_touchAddress">touchAddress<a class="headerlink" href="#range_touchAddress" title="Permanent link">#</a></h6> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
|
||||
## Scripts
|
||||
|
||||
??? api "<div id="script">script<a class="headerlink" href="#script" title="Permanent link">#</a></div>"
|
||||
Evaluates a script each time it receives a value.
|
||||
|
||||
=== "script"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="script_event">event<a class="headerlink" href="#script_event" title="Permanent link">#</a></h6> | `string` | <code>"value"</code> | Define which events trigger the script's execution.<br/><br/>Choices: `value`, `keyboard` |
|
||||
| <h6 id="script_script">script<a class="headerlink" href="#script_script" title="Permanent link">#</a></h6> | `script` | <code>""</code> | Script executed whenever the widget's receives the defined event. See <a href="https://openstagecontrol.ammd.net/docs/widgets/scripting/">documentation</a>. |
|
||||
|
||||
=== "event: keyboard"
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h6 id="script_keyBinding">keyBinding<a class="headerlink" href="#script_keyBinding" title="Permanent link">#</a></h6> | `string`|<br/>`array` | <code>""</code> | Key combo `string` or `array` of strings (see <a href="https://github.com/RobertWHurst/KeyboardJS">KeyboardJS</a> documentation) |
|
||||
| <h6 id="script_keyRepeat">keyRepeat<a class="headerlink" href="#script_keyRepeat" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to prevent keydown repeats when holding the key combo pressed |
|
||||
| <h6 id="script_keyType">keyType<a class="headerlink" href="#script_keyType" title="Permanent link">#</a></h6> | `string` | <code>"keydown"</code> | Determines which key event trigger the script's execution<br/><br/>Choices: `keydown`, `keyup`, `both` |
|
||||
|
||||
??? api "<div id="variable">variable<a class="headerlink" href="#variable" title="Permanent link">#</a></div>"
|
||||
Receives / stores a value, to be used in scripts (using the get function) or in properties (using the @{} syntax).
|
||||
148
resources/docs/docs/widgets/scripting.md
Normal file
148
resources/docs/docs/widgets/scripting.md
Normal file
|
|
@ -0,0 +1,148 @@
|
|||
# Scripting
|
||||
|
||||
The `script` property allows widgets to run javascript code when their value update. It differs from the [javascript property syntax ](./advanced-syntaxes.md#available-variables) in the following ways:
|
||||
|
||||
- no `JS{{}}` wrapper, just the code
|
||||
- `@{}`, `OSC{}`, `JS{{}}` and `#{}` blocks are replaced with their value before the script's compilation
|
||||
|
||||
!!! warning "Avoid advanced syntax in scripts"
|
||||
To avoid syntax errors it is recommended to use `getProp()` and `get()` instead of `@{}` and `OSC{}`. `JS{{}}` and `#{}` blocks should be avoided here as well.
|
||||
|
||||
## Event-dependent variables
|
||||
|
||||
Depending on what triggered the script's execution, a few variables are available to help determine the execution conditions.
|
||||
|
||||
**Event: value**
|
||||
|
||||
- `id` (`string`): id of the widget that's reponsible for the value update
|
||||
- `value`: widget's value
|
||||
|
||||
**Event: keyboard** (script widget only)
|
||||
|
||||
- `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
|
||||
|
||||
|
||||
## Available variables
|
||||
|
||||
Besides the variables available in the [javascript property syntax ](./advanced-syntaxes.md#available-variables), the following variables and functions are also accessible in this context.
|
||||
|
||||
----
|
||||
|
||||
#### `get(id)`
|
||||
- `id`: widget `id` as a string.
|
||||
|
||||
Returns the value of the first matching widget.
|
||||
|
||||
----
|
||||
|
||||
#### `set(id, value)`
|
||||
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget.
|
||||
- `value`: new value for the widget.
|
||||
|
||||
Sets the value of the first matching 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.
|
||||
|
||||
----
|
||||
|
||||
#### `send(target, address, ...args)`
|
||||
- `target` (optional): `"ip:port"` or `"midi:device_name"` string. If omitted, the widget's target will be used.
|
||||
- `address`: osc address, must start with a `/`
|
||||
- `args`: value or `{type: "OSC_TYPE_LETTER", value: VALUE}` `object`
|
||||
|
||||
If the event that triggered the script's execution was not initiated by a user interaction, this function will have no effect.
|
||||
|
||||
----
|
||||
|
||||
#### `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.
|
||||
|
||||
----
|
||||
|
||||
#### `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.
|
||||
|
||||
Forcers a widget to check if one of its properties has changed and update itself if needed.
|
||||
|
||||
----
|
||||
|
||||
#### `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)`
|
||||
|
||||
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.
|
||||
|
||||
----
|
||||
|
||||
#### `storage`: `localStorage`
|
||||
|
||||
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 their native equivalent, with an extra (optional) `id` argument.
|
||||
|
||||
- `id` (optional): unique identifier. If a timeout with the same id is already running, it is cleared before the new one is created. If omitted, defaults to `undefined`. One can use `Math.random()` or `Date.now()` to force new id at each execution, though this might cause performance issues. `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
|
||||
|
||||
-----
|
||||
|
||||
#### `clearTimeout(id)` / `clearInterval(id)`
|
||||
|
||||
Clear 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
|
||||
|
||||
----
|
||||
|
||||
#### `unfocus()`
|
||||
|
||||
*Built-in client only*: tells the operating system to give the focus to the window that was focused before.
|
||||
|
||||
----
|
||||
|
||||
#### `getScroll(id)`
|
||||
- `id`: widget `id` as a string.
|
||||
|
||||
Returns the scroll state 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.
|
||||
74
resources/docs/download.md
Normal file
74
resources/docs/download.md
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
# Download the latest release
|
||||
|
||||
<a href="https://github.com/jean-emmanuel/open-stage-control/releases/latest"> Open Stage Control <span id="osc-version"span></a>
|
||||
|
||||
<div id="osc-assets">Loading assets...</div>
|
||||
|
||||
??? abstract "Changelog"
|
||||
<div class="highlight"><pre><code id="osc-changelog">Loading changelog...</code></pre></div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
var oReq = new XMLHttpRequest();
|
||||
oReq.addEventListener('load', reqListener);
|
||||
oReq.open('GET', 'https://api.github.com/repos/jean-emmanuel/open-stage-control/releases/latest')
|
||||
oReq.send()
|
||||
|
||||
|
||||
function text(id, str) {
|
||||
var el = typeof id === 'string' ? document.getElementById(id) : id
|
||||
el.textContent = str
|
||||
}
|
||||
|
||||
function reqListener () {
|
||||
|
||||
var data = JSON.parse(this.responseText)
|
||||
var date = new Date(data.published_at)
|
||||
|
||||
text('osc-version', data.tag_name + ' (' + date.toLocaleDateString() + ')')
|
||||
|
||||
var list = document.createElement('ul')
|
||||
for (var i in data.assets) {
|
||||
var item = document.createElement('li'),
|
||||
link = document.createElement('a')
|
||||
|
||||
link.textContent = data.assets[i].name + ' (' + (data.assets[i].size / 1024 / 1024).toFixed(1) + 'M)'
|
||||
link.href = data.assets[i].browser_download_url
|
||||
|
||||
item.appendChild(link)
|
||||
list.appendChild(item)
|
||||
}
|
||||
var assets = document.getElementById('osc-assets')
|
||||
assets.innerHTML = ''
|
||||
assets.appendChild(list)
|
||||
|
||||
text('osc-changelog', data.body)
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<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;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
# Editing sessions
|
||||
|
||||
The session editor can be enabled from the sidepanel. Once enabled, clicking on a widget will make it the *selected widget*, adding a fancy dashed blue border to it.
|
||||
|
||||
## 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`: selects the widget's parent for edition
|
||||
- `Copy`: copy widget's data
|
||||
- `Cut`: copy widget's data and delete selected widget
|
||||
- `Paste`: paste copied widget in selected container
|
||||
- `n+1` : increments the id of the copied widget (and all its children) before pasting
|
||||
- `Clone` : paste the exact same 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
|
||||
|
||||
## Save
|
||||
|
||||
Current session can be exported as a `.js` file. When overwriting a session file that's currently is use by other clients, they will reload it automatically.
|
||||
|
||||
## Load
|
||||
|
||||
Loading a session file doesn't affect other clients.
|
||||
|
||||
## 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](widgets/widgets) section lists the available properties for each widget type. Property fields are all multiline (press `shit + 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.
|
||||
17
resources/docs/extra/scripts.js
Normal file
17
resources/docs/extra/scripts.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
document.addEventListener('DOMContentLoaded', ()=>{
|
||||
|
||||
if (window.location.hash) {
|
||||
// show target in tabs/details
|
||||
document.querySelectorAll('[id='+window.location.hash.split("#")[1]+']').forEach(function(item){
|
||||
var tab = item.closest('.tabbed-content'),
|
||||
details = item.closest('details')
|
||||
if (tab) tab.previousSibling.click()
|
||||
if (item) {
|
||||
item.scrollIntoView()
|
||||
document.documentElement.scrollTop -= 70
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
})
|
||||
101
resources/docs/extra/styles.css
Normal file
101
resources/docs/extra/styles.css
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
: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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
i[title="dynamic"] {
|
||||
color: var(--osc-accent-color);
|
||||
}
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
# 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.
|
||||
|
||||
It must be of the following form:
|
||||
|
||||
```js
|
||||
(function(){
|
||||
|
||||
// Do whatever you want, initialize some variables, declare some functions, ...
|
||||
|
||||
return {
|
||||
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}
|
||||
}
|
||||
}
|
||||
|
||||
})()
|
||||
|
||||
```
|
||||
|
||||
The module is executed in a restricted context, only a few globals are available :
|
||||
|
||||
- `console`: `object`
|
||||
- `sendOsc`: `function({address, args, host, port})`
|
||||
- `receiveOsc`: `function({address, args, host, port})`
|
||||
- `setTimeout`: `function(function, delay)`
|
||||
|
||||
|
||||
`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
|
||||
|
|
@ -1,96 +0,0 @@
|
|||
# Sending / Receiving MIDI
|
||||
|
||||
Open Stage Control can send and receive MIDI messages.
|
||||
|
||||
## Requirements
|
||||
|
||||
MIDI support requires additional software to be installed on the server's system:
|
||||
|
||||
- python (2 / 3)
|
||||
- python package [rtmidi](https://pypi.python.org/pypi/rtmidi) (version 2.3.2, compiled with `--jack-midi` flag for JACK MIDI support)
|
||||
|
||||
!!! 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
|
||||
|
||||
*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)
|
||||
|
||||
## 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)
|
||||
|
||||
## Supported MIDI messages
|
||||
|
||||
!!! warning ""
|
||||
Define static argument values using the [`preArgs`](/widgets/widgets/#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 / C3)
|
||||
- `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
|
||||
|
||||
### `/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](/extras/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,17 +0,0 @@
|
|||
# Property inheritance
|
||||
|
||||
Widgets can use each other's property values by using the following syntaxes:
|
||||
|
||||
- `@{this.propertyName}`
|
||||
- `@{parent.propertyName}`
|
||||
- `@{widgetId.propertyName}` (where `widgetId` is the target widget's `id`)
|
||||
|
||||
It can be used to:
|
||||
|
||||
- concatenate strings: `/@{parent.id}/some_suffix`
|
||||
- define object value: `["@{parent.id}"]`
|
||||
|
||||
If the retreived property is an object (`[] / {}`), it can be used as is or one can retreive a specfic item from it: `@{parent.variables.0}` will try to return the first item of the parent's `variables` property.
|
||||
|
||||
!!! note ""
|
||||
The root panel's `id` is `root`.
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
# Remote control
|
||||
|
||||
All widgets that send osc messages respond to the same messages. Additionnaly, Open Stage Control responds to some general osc commands.
|
||||
|
||||
|
||||
## `/EDIT id options`
|
||||
|
||||
|
||||
Apply a set of options to an existing widget by replacing the old ones with the new ones.
|
||||
|
||||
|
||||
- `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_SOFT id options`
|
||||
|
||||
Apply a set of options to an existing widget by merging them to the widget's options.
|
||||
|
||||
|
||||
- `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
|
||||
|
||||
## `/TABS id id etc`
|
||||
|
||||
Open the tabs designated by the `id` parameters. The target tab link must be accesible (opening a tab located in a disabled tab won't work unless you specify the parent tab's `id` before; the safest way to go is to pass the whole tab tree to enable).
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
# Theming
|
||||
|
||||
Theming is as simple as writing a tiny css file that will override the default style variables defined in [_vars.scss](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/browser/scss/_vars.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.
|
||||
|
||||
Of course, regular css is also allowed :
|
||||
|
||||
```css
|
||||
.widget .input {
|
||||
display: none;
|
||||
}
|
||||
```
|
||||
|
||||
This will hide the widgets' value inputs.
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
# 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 |
|
||||
|
||||
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
resources/docs/fonts
Symbolic link
1
resources/docs/fonts
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../fonts
|
||||
|
|
@ -1,140 +0,0 @@
|
|||
# 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.
|
||||
|
||||
|
||||
## 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.
|
||||
|
||||
| Option | Description |
|
||||
|---|---|
|
||||
| -s, --send | default targets for all widgets (ip:port pairs)|
|
||||
| -l, --load | session file to load |
|
||||
| -b, --blank | load a blank session and start the editor |
|
||||
| -c, --custom-module | custom module file to load |
|
||||
| -p, --port | http port of the server (default to 8080) |
|
||||
| -o, --osc-port | osc input port (default to --port) |
|
||||
| -m, --midi | midi router settings (requires python-pyo) |
|
||||
| -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) |
|
||||
| -e, --examples | list examples instead of recent sessions |
|
||||
| --url-options | [url options](extras/url-options) (opt=value pairs) |
|
||||
| --disable-vsync | disable gui's vertical synchronization |
|
||||
| --read-only | disable session editing and session history changes |
|
||||
|
||||
Command-line only :
|
||||
|
||||
| Option | Description |
|
||||
|---|---|
|
||||
| -h, --help | print available options |
|
||||
| -v, --version | print version number |
|
||||
|
||||
**Examples**
|
||||
|
||||
```
|
||||
$ 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.
|
||||
|
||||
```
|
||||
$ 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.
|
||||
|
||||
## Run from sources
|
||||
|
||||
Running the app from the sources slightly differs from using built binaries : instead of running a binary, we'll launch the app with npm.
|
||||
|
||||
**1. Requirements**
|
||||
|
||||
- [Node.js >= 4](https://nodejs.org/)
|
||||
- [npm](https://www.npmjs.com/)
|
||||
|
||||
```
|
||||
$ sudo apt-get install nodejs npm # install nodejs & npm
|
||||
$ sudo npm install -g npm # update npm
|
||||
```
|
||||
|
||||
|
||||
**2. Download sources**
|
||||
|
||||
```
|
||||
$ git clone https://github.com/jean-emmanuel/open-stage-control
|
||||
$ cd open-stage-control/
|
||||
$ npm install
|
||||
```
|
||||
|
||||
**3. Run !**
|
||||
|
||||
```
|
||||
$ 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](https://nodejs.org/)
|
||||
- [npm](https://www.npmjs.com/)
|
||||
|
||||
```
|
||||
$ sudo apt-get install nodejs npm # install nodejs & npm
|
||||
$ sudo npm install -g npm # update npm
|
||||
```
|
||||
|
||||
**2. Build**
|
||||
|
||||
```
|
||||
$ git clone https://github.com/jean-emmanuel/open-stage-control
|
||||
$ cd open-stage-control
|
||||
$ npm install
|
||||
$ export PLATFORM=TARGET_PLATFORM # TARGET_PLATFORM can be linux, win32 (windows) or darwin (os x)
|
||||
$ export ARCH=TARGET_ARCH # TARGET_ARCH can be ia32, x64 or armv7l
|
||||
$ npm run build
|
||||
|
||||
# Do the following if you want a deb package for debian/ubuntu
|
||||
|
||||
$ npm run deb32
|
||||
|
||||
# or
|
||||
|
||||
$ npm run deb64
|
||||
|
||||
# or
|
||||
|
||||
$ 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`:
|
||||
|
||||
```
|
||||
$ 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) (v6 or higher) :
|
||||
|
||||
```
|
||||
$ node /path/to/packaged/open-stage-control/resources/app/ -n
|
||||
$ node /path/to/sources/open-stage-control/app/ -n
|
||||
```
|
||||
|
|
@ -1 +0,0 @@
|
|||
../../images/ardour-osc.png
|
||||
File diff suppressed because it is too large
Load diff
|
Before Width: | Height: | Size: 950 KiB |
|
|
@ -1 +0,0 @@
|
|||
../../images/logo-material.svg
|
||||
1
resources/docs/img/logo.svg
Symbolic link
1
resources/docs/img/logo.svg
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../images/logo.svg
|
||||
1
resources/docs/img/logo_nobadge.png
Symbolic link
1
resources/docs/img/logo_nobadge.png
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../images/logo_nobadge.png
|
||||
BIN
resources/docs/img/screenshots/client.png
Normal file
BIN
resources/docs/img/screenshots/client.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
BIN
resources/docs/img/screenshots/editor.png
Normal file
BIN
resources/docs/img/screenshots/editor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
BIN
resources/docs/img/screenshots/launcher.png
Normal file
BIN
resources/docs/img/screenshots/launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
BIN
resources/docs/img/screenshots/modal.png
Normal file
BIN
resources/docs/img/screenshots/modal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
1
resources/docs/img/sponsors
Symbolic link
1
resources/docs/img/sponsors
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../images/sponsors/
|
||||
|
|
@ -1,35 +1,10 @@
|
|||
# Open Stage Control
|
||||
---
|
||||
template: home.html
|
||||
title: Open Stage Control
|
||||
---
|
||||
|
||||
Open Stage Control is a libre desktop OSC bi-directionnal control surface application. It's built on web technologies and run as an [Electron](http://electron.atom.io/) web server that accepts any number of clients.
|
||||
|
||||
[Try the online demo (Chrome 50+ required)](http://demo.osc.ammd.net)
|
||||
|
||||
[Download the latest release](https://github.com/jean-emmanuel/open-stage-control/releases)
|
||||
|
||||
|
||||
<div style="width:70%; box-shadow: 0 0 5px 0 rgba(0,0,0,.45); border-radius:2px;overflow:hidden">
|
||||
<a href="img/ardour-osc.png" title="Controlling Ardour"><img alt="Controlling Ardour" src="img/ardour-osc.png" style="display:block"/></a>
|
||||
</div>
|
||||
|
||||
## Supported platforms
|
||||
|
||||
The server can run on all [platforms supported by Electron](https://electron.atom.io/docs/tutorial/supported-platforms/).
|
||||
The only supported client browsers are the one provided with the server and Chrome/Chromium version `50` or later. For iOS devices, the minimal version required is `9.3`.
|
||||
|
||||
## Need help ? Found a bug ?
|
||||
|
||||
Head over the github [issue tracker](https://github.com/jean-emmanuel/open-stage-control/issues) :)
|
||||
|
||||
## License & credits
|
||||
|
||||
Copyleft © Jean-Emmanuel @ [AMMD](http://ammd.net) 2017
|
||||
|
||||
This program is a free software released under the GNU/GPL3 license, it relies on the use of several other free softwares, including [Node.js](https://nodejs.org/), [Electron](http://electron.atom.io/), [osc.js](https://github.com/colinbdclark/osc.js), [socket.io](http://socket.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/), [source-map](https://github.com/mozilla/source-map), [mathjs](http://mathjs.org/)
|
||||
|
||||
----
|
||||
|
||||
<div style="width:300px">
|
||||
[](http://browserstack.com/)
|
||||
</div>
|
||||
|
||||
BrowserStack helps debugging Open Stage Control by providing a complete suite of browser emulators for Android, iOS and Windows, how awesome is that ? *Quite very much indeed !*
|
||||
<style>
|
||||
html {
|
||||
overflow-y: scroll
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
# User interface
|
||||
|
||||
## 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
|
||||
- Export: save the state of all widgets to a `.preset` file
|
||||
- Import: load a state from a `.preset` file
|
||||
|
||||
### 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
|
||||
|
||||
### Editor
|
||||
|
||||
See [Editing sessions](editing-sessions.md).
|
||||
|
||||
## Interactions
|
||||
|
||||
| Mouse | Touch | Description |
|
||||
|---|---|---|
|
||||
| Click | Tap | Handled at pressing time, not releasing. |
|
||||
| Double Click | Double Tap | Some widgets handle double click / tap events. |
|
||||
| Right-click | Long touch | Widgets that have only one value input will give focus to it when receiving this event. When the editor is enabled, Right-click / Long touch spawns the editor's context menu. |
|
||||
| Drag | | The widgets respond to mouse and touch drag gestures with a 1:1 precision ratio. By using two or more fingers, one can obtain higher precision gestures : each finger that touches the widget without moving will slow down the moving one. |
|
||||
|
|
@ -1,102 +0,0 @@
|
|||
# Buttons
|
||||
|
||||
Buttons are exactly what you think they are.
|
||||
|
||||
|
||||
|
||||
## Toggle
|
||||
```js
|
||||
{
|
||||
type:'toggle',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `doubleTap`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to make the button require a double tap to be toggled instead of a single tap
|
||||
|
||||
### `led`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to display the toggle's state with a led
|
||||
|
||||
### `on`
|
||||
- type: `string|number|object`
|
||||
- default: `1`
|
||||
- usage: defines which value is sent on `on` position
|
||||
- set to `null` to send send no argument in the osc message
|
||||
- can be an `object` if the type needs to be specified (see [preArgs](./widgets.md#preargs))
|
||||
|
||||
### `off`
|
||||
- type: `string|number|object`
|
||||
- default: `0`
|
||||
- usage: defines which value is sent on `off` position
|
||||
- set to `null` to send send no argument in the osc message
|
||||
- can be an `object` if the type needs to be specified (see [preArgs](./widgets.md#preargs))
|
||||
|
||||
|
||||
|
||||
|
||||
## Push
|
||||
```js
|
||||
{
|
||||
type:'push',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `on`
|
||||
- type: `string|number|object`
|
||||
- default: `1`
|
||||
- usage: defines which value is sent when pushing the button
|
||||
- set to `null` to send send no argument in the osc message
|
||||
- can be an `object` if the type needs to be specified (see [preArgs](./widgets.md#preargs))
|
||||
|
||||
### `off`
|
||||
- type: `string|number|object`
|
||||
- default: `0`
|
||||
- usage: defines which value is sent when releasing the button
|
||||
- set to `null` to send send no argument in the osc message
|
||||
- can be an `object` if the type needs to be specified (see [preArgs](./widgets.md#preargs))
|
||||
|
||||
### `norelease`
|
||||
- type: `bool`
|
||||
- default: `false`
|
||||
- usage: set to true to prevent sending any osc message when releasing the button
|
||||
|
||||
Setting the `push`'s value externally (via osc) will toggle it's inner light.
|
||||
|
||||
|
||||
|
||||
|
||||
## Switch
|
||||
```js
|
||||
{
|
||||
type:'switch',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `values`
|
||||
- type: `array|object`
|
||||
- default: `{"Value 1":1,"Value 2":2}`
|
||||
- usage:
|
||||
- `array` of possible values to switch between : `[1,2,3]`
|
||||
- `object` of `"label":value` pairs
|
||||
|
||||
## Dropdown
|
||||
```js
|
||||
{
|
||||
type:'dropdown',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `values`
|
||||
- type: `array|object`
|
||||
- default: `{"Value 1":1,"Value 2":2}`
|
||||
- usage:
|
||||
- `array` of possible values to switch between : `[1,2,3]`
|
||||
- `object` of `"label":value` pairs
|
||||
|
|
@ -1,157 +0,0 @@
|
|||
# Containers
|
||||
|
||||
Containers can contain any widgets.
|
||||
|
||||
|
||||
## Panel
|
||||
|
||||
Panels can contains tabs or widgets. These can be absolutely positioned and can overflow their parent's size (which will then display scrollbars). When a panel contains tabs, it can send and receive its active tab's index through osc.
|
||||
|
||||
|
||||
```js
|
||||
{
|
||||
type:'panel',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `scroll`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: set to `false` to disable scrollbars
|
||||
|
||||
### `border`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: 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.
|
||||
|
||||
### `widgets`
|
||||
- type: `array`
|
||||
- default: `[]`
|
||||
- usage: each element of the `array` must be a widget `object`. A panel cannot contain widgets and tabs simultaneously.
|
||||
|
||||
### `tabs`
|
||||
- type: `array`
|
||||
- default: `[]`
|
||||
- usage: each element of the `array` must be a tab `object`. A panel cannot contain widgets and tabs simultaneously.
|
||||
|
||||
|
||||
### `variables`
|
||||
- type: `*`
|
||||
- default: `@{parent.variables}`
|
||||
- usage: defines one or more arbitrary variables that can be inherited by children widgets.
|
||||
- examples:
|
||||
- `1` (`@{parent.variables}` will return `1`)
|
||||
- `{a: [1, 2], b: 2}` (`@{parent.variables.a}` will return `[1, 2]`)
|
||||
- `[1, 2]` (`@{parent.variables.0}` will return `1`)
|
||||
- `@{parent.variables}` useful when nesting containers
|
||||
|
||||
|
||||
### `layout`
|
||||
- type: `string`
|
||||
- default: `''`
|
||||
- usage: `layout` must be a valid [Visual Format Language](https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/AutolayoutPG/VisualFormatLanguage.html) expression. It accepts the [Extended Visual Format Language](https://github.com/IjzerenHein/autolayout.js#extended-visual-format-language-evfl) as well. Widgets are targeted using their `id` or their index prefixed with a `$` (`$0, $1, etc`), the latter method being incompatible with the [range spread operator](https://github.com/IjzerenHein/autolayout.js#view-ranges-spread-operator). Expressions can be tested and debugged with the online [Visual Format Editor](https://rawgit.com/IjzerenHein/visualformat-editor/master/dist/index.html).
|
||||
- note: this only applies when the panel contains widgets, not tabs
|
||||
|
||||
### `spacing`
|
||||
- type: `integer|array`
|
||||
- default: `0`
|
||||
- usage: spacing size used in `layout` expression, can be set as a `[vertical,horizontal]` array.
|
||||
- note: this only applies when the panel contains widgets, not tabs
|
||||
|
||||
|
||||
|
||||
## Strip
|
||||
|
||||
Unidirectionnal panel with stretching capability. By default, children widgets that don't have an explicit `width`/`height` set will be shrinked to respect the sizes specified by others. Adding `flex:1;` to a children's `css` will give it the ability the fill the remaining space. Multiple children can have a `flex:x;` css property (`x` will ponderate their expansion).
|
||||
|
||||
```js
|
||||
{
|
||||
type:'strip',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `horizontal`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to display widgets horizontally
|
||||
|
||||
### `stretch`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to stretch widgets evenly
|
||||
|
||||
### `spacing`
|
||||
- type: `integer`
|
||||
- default: `0`
|
||||
- usage: adds space between widgets
|
||||
|
||||
### `border`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: by default, widgets in panels/strip have their border disabled, except for panels and strips. Set to `false` to apply this rule to the strip too.
|
||||
|
||||
### `widgets`
|
||||
- type: `array`
|
||||
- default: `[]`
|
||||
- usage: each element of the `array` must be a widget `object`
|
||||
|
||||
|
||||
|
||||
|
||||
## Modal
|
||||
|
||||
Modals are buttons that turn into a centered popup panels when enabled. They can only contain widgets. They can send and receive their state via osc (1 to enable, 0 to disable).
|
||||
|
||||
```js
|
||||
{
|
||||
type:'modal',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `doubleTap`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to make the modal require a double tap to open instead of a single tap
|
||||
|
||||
### `popupWidth` / `popupHeight`
|
||||
- type: `number|percentage`
|
||||
- default: `100%`
|
||||
- usage: sets the modal's size once opened
|
||||
|
||||
### `popupLabel`
|
||||
- type: `string`
|
||||
- default: `empty`
|
||||
- usage: alternative label for the popup
|
||||
|
||||
### `options`
|
||||
- see panel's [`options`](#panel)
|
||||
|
||||
|
||||
## Clone
|
||||
|
||||
```js
|
||||
{
|
||||
type:'clone',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `widgetId`
|
||||
- type: `string`
|
||||
- default: `empty`
|
||||
- usage: `id` of the widget to clone
|
||||
|
||||
### `props`
|
||||
- type: `object`
|
||||
- default: `{}`
|
||||
- usage: cloned widget's properties to override
|
||||
- example:
|
||||
```json
|
||||
{
|
||||
"variables": { "n": 2 },
|
||||
"color": "orange"
|
||||
}
|
||||
```
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
# inputs
|
||||
|
||||
## Input
|
||||
|
||||
|
||||
```js
|
||||
{
|
||||
type:'input',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `widgetId`
|
||||
- type: `object`
|
||||
- default: `empty`
|
||||
- usage: a widget's `id` whose value will be linked to the input
|
||||
|
||||
### `editable`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: set to `false` to make the input non-editable
|
||||
|
||||
### `horizontal`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to display the input horizontally
|
||||
|
||||
### `unit`
|
||||
- type: `string`
|
||||
- default: `empty`
|
||||
- usage: `unit` will be appended to the displayed widget's value (it doesn't affect osc messages)
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
# Maths
|
||||
|
||||
Maths do the maths !
|
||||
|
||||
|
||||
|
||||
## Formula
|
||||
|
||||
Formula evaluates mathematical expressions over other widgets' values each one of these widgets changes.
|
||||
|
||||
```js
|
||||
{
|
||||
type:'formula',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### `formula`
|
||||
- type: `string`
|
||||
- default: `''`
|
||||
- usage: a [mathjs](http://mathjs.org/docs/expressions/syntax.html) expression in which
|
||||
- `${id}` will be replaced the `id`'s value
|
||||
- example: `${fader_1} * 2 + ${fader_2}`
|
||||
- **important note**: contrary to what is stated in *mathjs*' documentation, **matrix indexes are zero-based** here
|
||||
|
||||
### `condition`
|
||||
- type: `string`
|
||||
- default: `''`
|
||||
- usage:
|
||||
- a [mathjs](http://mathjs.org/docs/expressions/syntax.html) comparison expression that bypasses widget's osc sending when returning`false`
|
||||
- example: `${fader_1} > 0.5`
|
||||
|
||||
### `unit`
|
||||
- type: `string`
|
||||
- default: `empty`
|
||||
- usage: `unit` will be appended to the displayed widget's value (it doesn't affect osc messages)
|
||||
|
||||
### `split`
|
||||
- type: `object`
|
||||
- default: `[]`
|
||||
- usage: specify a different `address` for each item of the widget's value : `['/a', '/b']`
|
||||
- note: only use this is the formula return an `array`
|
||||
|
|
@ -1,184 +0,0 @@
|
|||
# Matrices
|
||||
|
||||
Matrices are special containers that only contain one type of widget. All contained widgets will be traversed by single dragging gestures.
|
||||
|
||||
## Multifader
|
||||
|
||||
Multifader creates a row of vertical faders that respond to the same gestures.
|
||||
|
||||
```js
|
||||
{
|
||||
type:'multifader',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `strips`
|
||||
- type: `integer`
|
||||
- default: `2`
|
||||
- usage: number of faders in the row, each fader will inherit its parent's properties and the following ones (where `i` is the fader's index in the row)
|
||||
- `id`: same as the widget's with `/i` appended to it
|
||||
- `label`: `i`
|
||||
- `address`: same as the widget's with `/i` appended to it
|
||||
|
||||
### `start`
|
||||
- type: `integer`
|
||||
- default: `0`
|
||||
- usage: first faders's index
|
||||
|
||||
### `traversing`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: enable traversing gestures
|
||||
|
||||
### `split`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: if `true`, the fader's index will be appended to the widget's osc `address`; if `false` it will be prepended to the widget's `preArgs`
|
||||
|
||||
### `color`
|
||||
- type: `string|array`
|
||||
- default: `auto`, inherited accent color
|
||||
- usage: can be an `array` of css color `strings`, which will be sequentially passed to the faders
|
||||
|
||||
### `options`
|
||||
- see fader's [`options`](sliders/#fader)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Multitoggle
|
||||
```js
|
||||
{
|
||||
type:'multitoggle',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `matrix`
|
||||
- type: `array`
|
||||
- default: `[2,2]`
|
||||
- usage: defines the number of columns and and rows. Each cell will contain a toggle button that will inherit its parent's properties and the following ones (where `i` is the fader's index in the row)
|
||||
- `id`: same as the widget's with `/i` appended to it
|
||||
- `label`: `i`
|
||||
- `address`: same as the widget's with `/i` appended to it
|
||||
|
||||
### `start`
|
||||
- type: `integer`
|
||||
- default: `0`
|
||||
- usage: first toggle's index
|
||||
|
||||
### `spacing`
|
||||
- type: `integer`
|
||||
- default: `0`
|
||||
- usage: adds space between widgets
|
||||
|
||||
### `traversing`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: enable traversing gestures
|
||||
|
||||
### `split`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: if `true`, the toggle's index will be appended to the widget's osc `address`; if `false` it will be prepended to the widget's `preArgs`
|
||||
|
||||
### `color`
|
||||
- type: `string|array`
|
||||
- default: `auto`, inherited accent color
|
||||
- usage: can be an `array` of css color `strings`, which will be sequentially passed to the toggles
|
||||
|
||||
|
||||
|
||||
### `options`
|
||||
- see toggle's [`options`](buttons/#toggle)
|
||||
|
||||
|
||||
|
||||
## Multipush
|
||||
```js
|
||||
{
|
||||
type:'multipush',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `matrix`
|
||||
- type: `array`
|
||||
- default: `[2,2]`
|
||||
- usage: defines the number of columns and and rows. Each cell will contain a push button that will inherit its parent's properties and the following ones (where `i` is the fader's index in the row)
|
||||
- `id`: same as the widget's with `/i` appended to it
|
||||
- `label`: `i`
|
||||
- `address`: same as the widget's with `/i` appended to it
|
||||
|
||||
### `start`
|
||||
- type: `integer`
|
||||
- default: `0`
|
||||
- usage: first push's index
|
||||
|
||||
### `spacing`
|
||||
- type: `integer`
|
||||
- default: `0`
|
||||
- usage: adds space between widgets
|
||||
|
||||
### `traversing`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: enable traversing gestures
|
||||
|
||||
### `split`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: if `true`, the push's index will be appended to the widget's osc `address`; if `false` it will be prepended to the widget's `preArgs`
|
||||
|
||||
### `color`
|
||||
- type: `string|array`
|
||||
- default: `auto`, inherited accent color
|
||||
- usage: can be an `array` of css color `strings`, which will be sequentially passed to the pushes
|
||||
|
||||
### `options`
|
||||
- see push's [`options`](buttons/#push)
|
||||
|
||||
|
||||
|
||||
## Keyboard
|
||||
|
||||
This one works pretty much like the multipush, excepts it looks like a piano keyboard ad
|
||||
|
||||
```js
|
||||
{
|
||||
type:'keyboard',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `keys`
|
||||
- type: `integer`
|
||||
- default: `24`
|
||||
- usage: defines the number keys
|
||||
|
||||
### `start`
|
||||
- type: `integer`
|
||||
- default: `60`
|
||||
- usage: MIDI note number to start with (default is C4)
|
||||
|
||||
|
||||
### `traversing`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: enable traversing gestures
|
||||
|
||||
### `split`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: if `true`, the note's midi code will be appended to the widget's osc `address`; if `false` it will be prepended to the widget's `preArgs`
|
||||
|
||||
### `options`
|
||||
- see push's [`options`](buttons/#push)
|
||||
|
||||
### `css`
|
||||
```
|
||||
--color-white:color; /* white keys color */
|
||||
--color-black:color; /* black keys color */
|
||||
```
|
||||
|
|
@ -1,156 +0,0 @@
|
|||
# Pads
|
||||
|
||||
Pads are multidimensional widgets that output multiple values.
|
||||
|
||||
|
||||
|
||||
## XY
|
||||
|
||||
```js
|
||||
{
|
||||
type:'xy',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `input`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: set to `false` to hide the built-in input
|
||||
|
||||
### `rangeX`
|
||||
- type: `object`
|
||||
- default:
|
||||
`{"min":0,"max":1}`
|
||||
- usage: defines the `min` and `max` values for the `x` axis. Same as fader's [`range`](sliders/#fader)
|
||||
|
||||
### `rangeY`
|
||||
- type: `object`
|
||||
- default:
|
||||
`{"min":0,"max":1}`
|
||||
- usage: defines the `min` and `max` values for the `y` axis. Same as fader's [`range`](sliders/#fader)
|
||||
|
||||
|
||||
### `logScaleX`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to use logarithmic scale for the `x` axis (log10)
|
||||
|
||||
### `logScaleY`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to use logarithmic scale for the `y` axis (log10)
|
||||
|
||||
### `snap`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: 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.
|
||||
|
||||
### `spring`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: when set to `true`, the widget will go back to its initial value when released.
|
||||
|
||||
### `doubleTap`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to make the xy reset to its initial value when receiving a double tap
|
||||
|
||||
### `split`
|
||||
- type: `boolean|object`
|
||||
- default: `false`
|
||||
- usage:
|
||||
- set to `true` to send separate osc messages for `x` and `y` axis. The `address` will be the same as the widget's with `/x` or `/y` appended to it
|
||||
- can be set as an object to specify a different `address` : `['/osc_address_x', '/osc_address_y']`
|
||||
- note: the widget will only respond to its original osc address, not to the splitted version
|
||||
|
||||
|
||||
|
||||
## MultiXy
|
||||
|
||||
```js
|
||||
{
|
||||
type:'multixy',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `points`
|
||||
- type: `integer|array`
|
||||
- default: `2`
|
||||
- usage: defines the number of points on the pad. Can be an `array` of `strings` that will be used as labels for the points (ex: `['A', 'B']`)
|
||||
|
||||
### `pointSize`
|
||||
- type: `integer`
|
||||
- default: `15`
|
||||
- usage: defines the points's size
|
||||
|
||||
### `rangeX`
|
||||
- type: `object`
|
||||
- default:
|
||||
`{"min":0,"max":1}`
|
||||
- usage: defines the `min` and `max` values for the `x` axis. Same as fader's [`range`](sliders/#fader)
|
||||
|
||||
### `rangeY`
|
||||
- type: `object`
|
||||
- default:
|
||||
`{"min":0,"max":1}`
|
||||
- usage: defines the `min` and `max` values for the `y` axis. Same as fader's [`range`](sliders/#fader)
|
||||
|
||||
|
||||
### `logScaleX`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to use logarithmic scale for the `x` axis (log10)
|
||||
|
||||
### `logScaleY`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to use logarithmic scale for the `y` axis (log10)
|
||||
|
||||
### `split`
|
||||
- type: `boolean|object`
|
||||
- default: `false`
|
||||
- usage:
|
||||
- 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`).
|
||||
- can be set as an object to specify a different `address` : `['/0/x', '/0/y', '/1/x', '/2/y']`
|
||||
- note: the widget will only respond to its original osc address, not to the splitted version
|
||||
|
||||
### `snap`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: by default, the points are dragged from their initial position; if set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates (one per touch).
|
||||
|
||||
|
||||
|
||||
## RGB
|
||||
|
||||
RGB is a variant of XY, it outputs rgb values between 0 and 255.
|
||||
|
||||
|
||||
```js
|
||||
{
|
||||
type:'rgb',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `input`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: set to `false` to hide the built-in input
|
||||
|
||||
### `precision`
|
||||
- default:`0`
|
||||
|
||||
### `snap`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: 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.
|
||||
|
||||
### `split`
|
||||
- type: `boolean|object`
|
||||
- default: `false`
|
||||
- usage:
|
||||
- set to `true` to send separate osc messages for `r` and `g` & `b`. The `address` will be the same as the widget's with `/r`, `/g` or `/b` appended to it
|
||||
- can be set as an object to specify a different `address` : `['/r', '/b', '/b']`
|
||||
|
|
@ -1,229 +0,0 @@
|
|||
# Plots
|
||||
|
||||
Plots are tools that display other widgets' state or incomming osc messages. They are not sensitive to mouse and touch interactions.
|
||||
|
||||
## Led
|
||||
```js
|
||||
{
|
||||
type:'led',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `widgetId`
|
||||
- type: `string`
|
||||
- default: `empty`
|
||||
- usage: a widget's `id` whose value will be mapped to the led's color opacity
|
||||
|
||||
### `range`
|
||||
- type: `object`
|
||||
- default: `{"min":0,"max":1}`
|
||||
- usage: defines the `min` and `max` value the led's intensity will be mapped to
|
||||
|
||||
### `logScale`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to true to use logarithmic scaling
|
||||
|
||||
## RgbLed
|
||||
|
||||
```js
|
||||
{
|
||||
type:'rgbled',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
This one is like the `led` except it takes either three arguments (red, green and blue values between 0 and 255) with an optionnal forth argument (alpha, between 0 and 1), or one argument (a valid css color name).
|
||||
|
||||
## Plot
|
||||
|
||||
The plot receives an array of [x,y] coordinates and draws them on a chart with linear or logarithmic interpolation.
|
||||
|
||||
```js
|
||||
{
|
||||
type:'plot',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `points`
|
||||
- type: `array|string`
|
||||
- default: `[]`
|
||||
- usage:
|
||||
- as a `string`: a widget's `id` whose multiple values will be displayed on the `y` axis, evenly spaced on the `x` axis (only *[matrices](matrices.md)* and *[pads](pads.md)* will work)
|
||||
- as an `array`: each element must be an `array` of `[x,y]` coordinates, where `x` and `y` can either be a:
|
||||
- `number`: constant values
|
||||
- `string`: a widget's `id` whose value will be used
|
||||
|
||||
### `range`
|
||||
- type: `object`
|
||||
- default:
|
||||
`{
|
||||
x:{"min":0,"max":1},
|
||||
y:{"min":0,"max":1}
|
||||
}`
|
||||
- usage: defines the `min` and `max` values for the `x` and `y` axis
|
||||
|
||||
### `logScaleX`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to use logarithmic scale for the `x` axis (log10)
|
||||
|
||||
### `logScaleY`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to use logarithmic scale for the `y` axis (log10)
|
||||
|
||||
### `smooth`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to true to make the line smooth. Float values are also acceptable (works fine between 0 and 0.5)
|
||||
|
||||
### `origin`
|
||||
- type: `number`
|
||||
- default: `auto`
|
||||
- usage: defines the y-axis origin. Set to `false` to disable it.
|
||||
|
||||
## Eq
|
||||
|
||||
The Eq receives an array of filter objects and draws their frequency response between 20Hz and 22050Hz.
|
||||
|
||||
```js
|
||||
{
|
||||
type:'eq',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `filters`
|
||||
- type: `array`
|
||||
- default: `[]`
|
||||
- usage:
|
||||
- each item must be an object of the form below
|
||||
- all filters parameters can be filled with widget ids, whose value will be used
|
||||
|
||||
```
|
||||
{
|
||||
type:[string], // "highpass", "highshelf", "lowpass", "lowshelf", "peak", "notch"
|
||||
freq:[number], //
|
||||
q:[number], //
|
||||
gain:[number], //
|
||||
on:[bool] // 1 or true = active, 0 or false = bypassed
|
||||
}
|
||||
```
|
||||
|
||||
### `resolution`
|
||||
- type: `number`
|
||||
- default: `128`
|
||||
- usage: defines the number of points used to compute the frequency response
|
||||
|
||||
### `rangeY`
|
||||
- type: `object`
|
||||
- default:
|
||||
`{"min":-20,"max":20}`
|
||||
- usage: defines the `min` and `max` values for the `y` axis (dB level)
|
||||
|
||||
### `logScaleX`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to use logarithmic scale for the `x` axis (log10)
|
||||
|
||||
### `smooth`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to true to make the line smooth. Float values are also acceptable (works fine between 0 and 0.5)
|
||||
|
||||
### `origin`
|
||||
- type: `number`
|
||||
- default: `auto`
|
||||
- usage: defines the y-axis origin. Set to `false` to disable it.
|
||||
|
||||
## Visualizer
|
||||
|
||||
The visualizer displays the evolution in time of a received value (through osc) *or* another widget's value.
|
||||
|
||||
```js
|
||||
{
|
||||
type:'visualizer',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `widgetId`
|
||||
- type: `string`
|
||||
- default: `empty`
|
||||
- usage: a widget's `id` whose value will be displayed (thus bypassing the incoming osc)
|
||||
|
||||
### `duration`
|
||||
- type: `number`
|
||||
- default: `1`
|
||||
- usage: window size in seconds
|
||||
|
||||
### `range`
|
||||
- type: `object`
|
||||
- default: `{"min":0,"max":1}`
|
||||
- usage: defines the `min` and `max` values for the `y` axis
|
||||
|
||||
### `logScale`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` use logarithmic scaling (log10)
|
||||
|
||||
### `smooth`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to true to make the line smooth. Float values are also acceptable (works fine between 0 and 0.5)
|
||||
|
||||
### `origin`
|
||||
- type: `number`
|
||||
- default: `auto`
|
||||
- usage: defines the y-axis origin. Set to `false` to disable it.
|
||||
|
||||
## Text
|
||||
|
||||
Text displays incoming values (via osc) as text. Sending a message with no argument to the widget will reset it to its default text.
|
||||
|
||||
```js
|
||||
{
|
||||
type:'text',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `widgetId`
|
||||
- type: `string`
|
||||
- default: `empty`
|
||||
- usage: a widget's `id` whose value will be displayed
|
||||
|
||||
### `vertical`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` display vertically
|
||||
|
||||
## Meter
|
||||
|
||||
Meter displays incoming numerical values (via osc) as a gauge level
|
||||
|
||||
```js
|
||||
{
|
||||
type:'meter',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `widgetId`
|
||||
- type: `object`
|
||||
- default: `empty`
|
||||
- usage: a widget's `id` whose value will be displayed
|
||||
|
||||
### `horizontal`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to display the meter horizontally
|
||||
|
||||
### `range`
|
||||
- see fader's [`range`](sliders/#fader)
|
||||
|
||||
### `logScale`
|
||||
- see fader's [`logScale`](sliders/#fader)
|
||||
|
|
@ -1,247 +0,0 @@
|
|||
# Sliders
|
||||
|
||||
Sliders are unidimensional widgets that output one value at a time.
|
||||
|
||||
|
||||
|
||||
## Fader
|
||||
```js
|
||||
{
|
||||
type:'fader',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `horizontal`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to display the fader horizontally
|
||||
|
||||
### `alignRight`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to invert the pip's and fader's position
|
||||
|
||||
### `pips`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: set to `false` to hide the scale
|
||||
|
||||
### `input`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: set to `false` to hide the built-in input
|
||||
|
||||
### `compact`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to display a compact alternative for the widget. Disables default mouse/touch focusing on the value display (right-click/long-touch still triggers it).
|
||||
|
||||
### `dashed`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to display a dashed gauge
|
||||
|
||||
### `range`
|
||||
- type: `object`
|
||||
- default: `{"min":0,"max":1}`
|
||||
- usage: `range` defines the breakpoints of the fader's scale
|
||||
- keys can be percentages and/or `min` / `max`
|
||||
- values can be `number` or `object` if a custom label is needed
|
||||
- example:
|
||||
```js
|
||||
range: {
|
||||
"min":0,
|
||||
"50%":1,
|
||||
"max": {"inf":10} // "inf" will be used as a custom label on the scale
|
||||
}
|
||||
```
|
||||
|
||||
### `origin`
|
||||
- type: `number`
|
||||
- default: `auto`
|
||||
- usage: `origin` defines the starting point's value of the fader's gauge
|
||||
|
||||
### `logScale`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` use logarithmic scaling between breakpoints (log10)
|
||||
|
||||
|
||||
### `unit`
|
||||
- type: `string`
|
||||
- default: `empty`
|
||||
- usage: `unit` will be appended to the displayed widget's value (it doesn't affect osc messages)
|
||||
|
||||
|
||||
### `snap`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: 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.
|
||||
|
||||
### `spring`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: when set to `true`, the widget will go back to its initial value when released.
|
||||
|
||||
|
||||
### `doubleTap`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to make the fader reset to its initial value when receiving a double tap
|
||||
|
||||
### `meter`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to true to display a vu-meter next in the fader
|
||||
- the meter's `id` will be the same as the widget's with `/meter` appended to it
|
||||
- the meter's `address `will be the same as the widget's with `/meter` appended to it
|
||||
|
||||
### `meterAddress`
|
||||
- type: `boolean`
|
||||
- default: `empty`
|
||||
- usage: overrides the `meter`'s osc address
|
||||
|
||||
### `css`
|
||||
```
|
||||
--color-gauge:color;
|
||||
--color-knob:color;
|
||||
--color-pips:color;
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Knob
|
||||
|
||||
```js
|
||||
{
|
||||
type:'knob',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### `pips`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: set to `false` to hide the scale
|
||||
|
||||
### `input`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: set to `false` to hide the built-in input
|
||||
|
||||
### `compact`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to display a compact alternative for the widget. Disables default mouse/touch focusing on the value display (right-click/long-touch still triggers it).
|
||||
|
||||
### `angle`
|
||||
- type: `number`
|
||||
- default: `270`
|
||||
- usage: `angle` defines the angle's width of the knob, in degrees
|
||||
|
||||
### `range`
|
||||
- type: `object`
|
||||
- default: `{"min":0,"max":1}`
|
||||
- usage: `range` defines the breakpoints of the fader's scale
|
||||
- keys can be percentages and/or `min` / `max`
|
||||
- values can be `number` or `object` if a custom label is needed
|
||||
- example:
|
||||
```js
|
||||
range: {
|
||||
"min":0,
|
||||
"50%":1,
|
||||
"max": {"inf":10} // "inf" will be used as a custom label on the scale
|
||||
}
|
||||
```
|
||||
|
||||
### `origin`
|
||||
- type: `number`
|
||||
- default: `auto`
|
||||
- usage: `origin` defines the starting point's value of the knob's gauge
|
||||
|
||||
### `logScale`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` use logarithmic scaling between breakpoints
|
||||
|
||||
|
||||
### `unit`
|
||||
- type: `string`
|
||||
- default: `empty`
|
||||
- usage: `unit` will be appended to the displayed widget's value (it doesn't affect osc messages)
|
||||
|
||||
|
||||
### `snap`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: by default, dragging the widget *vertically* will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position.
|
||||
|
||||
### `spring`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: when set to `true`, the widget will go back to its initial value when released.
|
||||
|
||||
### `doubleTap`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to make the knob reset to its initial value when receiving a double tap
|
||||
|
||||
### `css`
|
||||
```
|
||||
--color-gauge:color;
|
||||
--color-knob:color;
|
||||
--color-pips:color;
|
||||
```
|
||||
|
||||
## Encoder
|
||||
|
||||
An endless knob that only responds to rotative gestures.
|
||||
|
||||
```js
|
||||
{
|
||||
type:'encoder',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
### `ticks`
|
||||
- type: `number`
|
||||
- default: `360`
|
||||
- usage: defines the granularity / verbosity of the encoder (number of step for a 360° arc)
|
||||
|
||||
### `back`
|
||||
- type: `string|number|object`
|
||||
- default: `-1`
|
||||
- usage: defines which value is sent when rotating the encoder anticlockwise
|
||||
- can be an `object` if the type needs to be specified (see [preArgs](./widgets.md#preargs))
|
||||
|
||||
### `forth`
|
||||
- type: `string|number|object`
|
||||
- default: `1`
|
||||
- usage: defines which value is sent when rotating the encoder clockwise
|
||||
- can be an `object` if the type needs to be specified (see [preArgs](./widgets.md#preargs))
|
||||
|
||||
### `release`
|
||||
- type: `string|number|object`
|
||||
- default: `empty`
|
||||
- usage: defines which value is sent when releasing the encoder
|
||||
- set to `null` to send send no argument in the osc message
|
||||
- can be an `object` if the type needs to be specified (see [preArgs](./widgets.md#preargs))
|
||||
|
||||
|
||||
### `snap`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: 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.
|
||||
|
||||
### `doubleTap`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: set to `true` to make the encoder reset to its initial value when receiving a double tap
|
||||
|
||||
### `css`
|
||||
```
|
||||
--color-knob:color;
|
||||
```
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue