13
0
Commit Graph

50 Commits

Author SHA1 Message Date
Luciano Iam
7118eff7eb
WebSockets: transport surface implementation 2020-04-20 22:59:16 +02:00
Luciano Iam
33fdd023ab
WebSockets: improve plugin params layout in mixer-demo 2020-04-20 22:59:16 +02:00
Luciano Iam
1d84cc0046
WebSockets: add transport methods to client JS 2020-04-20 22:59:16 +02:00
Luciano Iam
5105219076
WebSockets: rename *_desc nodes to *_description 2020-04-20 22:59:15 +02:00
Luciano Iam
28dd253231
WebSockets: make the mixer-demo look good on small screens 2020-04-17 20:15:11 +02:00
Luciano Iam
1a6997e0c8
WebSockets: change mixer-demo color palette to look closer to Ardour's default skin 2020-04-17 20:15:10 +02:00
Luciano Iam
50ba8dea96
WebSockets: improve JS client and demo
add methods to callback.js
automatically reconnect js client on disconnection
mixer-demo do not recreate UI on reconnection
NO-OP: indentation in message.js
make client JS reconnection optional
fix mixer-demo scrolling
minor JS client refactor
improve mixer-demo readability
2020-04-17 20:15:10 +02:00
Luciano Iam
2ba8dab95e
WebSockets: update JS client and demo
avoid hardcoded node name strings in mixer-demo
improve mixer-demo design
split ardour.js client into control and metadata mixins
rename JS client class Ardour to ArdourClient
JS client improve mixin implementation
JS client improve manifest parser
NO-OP whitespace and comments
NO-OP update websurface manifest versions
add Ardour icon in mixer-demo
improve mixer-demo scrolling on touch screens
2020-04-17 20:15:10 +02:00
Luciano Iam
83353b3125
WebSockets: add client getSurfaceManifest() example in mixer-demo 2020-04-13 16:29:42 +02:00
Luciano Iam
9fa7eb15ac
WebSockets: avoid hardcoding node names in mixer-demo, fix typo in message.js 2020-04-13 16:29:41 +02:00
Luciano Iam
da670aa186
WebSockets: improve support for callbacks in JS client lib 2020-04-13 16:29:41 +02:00
Luciano Iam
1f3b40f4bd
WebSockets: improve wording in latest commit instructions 2020-04-13 16:29:41 +02:00
Luciano Iam
e700e640c0
WebSockets: display usage instructions when loading index.html from a local file 2020-04-13 16:29:41 +02:00
Luciano Iam
eead6f9cac
WebSockets: make mixer-demo import ardour.js instead of lower level channel.js 2020-04-13 16:29:41 +02:00
Luciano Iam
1f0dfddde1
WebSockets: split channel.js into channel.js and message.js 2020-04-13 16:29:41 +02:00
Luciano Iam
1e3084d760
WebSockets: detect channel drop in ardour.js 2020-04-13 16:29:41 +02:00
Luciano Iam
236ba5c1c4
WebSockets: NO-OP update some code comments 2020-04-13 16:29:41 +02:00
Luciano Iam
8c2f7d42b8
WebSockets: improve mixer-demo look 2020-04-13 16:29:40 +02:00
Luciano Iam
a8dce60eb5
WebSockets: rename Node to ANode to avoid shadowing DOM Node class 2020-04-13 16:29:40 +02:00
Luciano Iam
b8f52a519a
WebSockets: add support for a message callback in ardour.js 2020-04-13 16:29:40 +02:00
Luciano Iam
c5366427d0
WebSockets: NO-OP update comments in mixer-demo code 2020-04-13 16:29:40 +02:00
Luciano Iam
bfcba85336
WebSockets: throw error if trying to send() before open() in MessageChannel 2020-04-13 16:29:40 +02:00
Luciano Iam
7aca159017
WebSockets: remove test code from ardour.js 2020-04-13 16:29:40 +02:00
Luciano Iam
089a4958ca
WebSockets: complete ardour.js client APIs 2020-04-13 16:29:40 +02:00
Luciano Iam
de7b76e77d
WebSockets: fix node+addr hash when addr is undefined 2020-04-13 16:29:39 +02:00
Luciano Iam
3fd7be9aba
WebSockets: NO-OP add a comment in mixer-demo code that explains approach 2020-04-13 16:29:39 +02:00
Luciano Iam
50fc366eeb
WebSockets: add mixer APIs in ardour.js 2020-04-13 16:29:39 +02:00
Luciano Iam
dbbd3b0eaf
WebSockets: export Node constants in channel.js 2020-04-13 16:29:39 +02:00
Luciano Iam
2b8e9ceb89
WebSockets: make Message.fromJsonText() a ES6 static method 2020-04-13 16:29:39 +02:00
Luciano Iam
feeda2c19d
WebSockets: avoid duplicated node+addr hash function in JS code 2020-04-13 16:29:39 +02:00
Luciano Iam
22199e8845
WebSockets: decouple Message from MessageChannel 2020-04-13 16:29:39 +02:00
Luciano Iam
a51ce18334
WebSockets: rename ArdourMessageChannel to MessageChannel 2020-04-13 16:29:39 +02:00
Luciano Iam
198590bc94
WebSockets: update index page JS to reflect latest two commits changes 2020-04-13 16:29:38 +02:00
Luciano Iam
e7f22cf989
WebSockets: rename resource index.json to more meaningful surfaces.json 2020-04-13 16:29:38 +02:00
Luciano Iam
17cbd65603
WebSockets: rename all occurrences of 'disk path' to 'filesystem path' 2020-04-13 16:29:38 +02:00
Luciano Iam
fef1ed81ed
WebSockets: improve index page design 2020-04-13 16:29:38 +02:00
Luciano Iam
320233b075
WebSockets: add surface version numbers to index page 2020-04-13 16:29:38 +02:00
Luciano Iam
b66b2858b1
WebSockets: add version field in manifests and update loader 2020-04-13 16:29:37 +02:00
Luciano Iam
d709d8b868
WebSockets: cleanup index page JS 2020-04-13 16:29:37 +02:00
Luciano Iam
68ecf6c0b3
WebSockets: add method for retrieving surface manifest in ardour.js 2020-04-11 22:30:42 +02:00
Luciano Iam
3d8e430324
WebSockets: remove unnecessary .. in module import 2020-04-11 22:30:42 +02:00
Luciano Iam
5c78c85ef5
WebSockets: rename Channel to ArdourMessageChannel 2020-04-11 22:30:41 +02:00
Luciano Iam
02cdd5b52d
WebSockets: re-add close callback in channel.js 2020-04-11 22:30:41 +02:00
Luciano Iam
ece0bcde8b
WebSockets: make mixer-demo use ardour lib and remove duplicated code 2020-04-11 22:30:41 +02:00
Luciano Iam
40a03e4cf5
WebSockets: update index page to use JS client lib, cleanup code 2020-04-11 22:30:41 +02:00
Luciano Iam
01e25a3199
WebSockets: shared JS client initial implementation 2020-04-11 22:30:41 +02:00
Luciano Iam
b7acaf1193
WebSockets: update web index to handle latest index.json format and show surface paths on disk 2020-04-11 22:30:41 +02:00
Luciano Iam
c96e392f0f
WebSockets: prepare for developing a shared JS API client 2020-04-11 22:30:40 +02:00
Luciano Iam
d219cde926
WebSockets: better handle errors in web-based surfaces index 2020-04-11 22:30:40 +02:00
Luciano Iam
891c63fe89
Update HTML/CSS/JS frontend 2020-04-09 20:56:46 +02:00