mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 07:06:23 +01:00
WebSockets: add client getSurfaceManifest() example in mixer-demo
This commit is contained in:
parent
9fa7eb15ac
commit
83353b3125
5 changed files with 14 additions and 2 deletions
|
|
@ -38,6 +38,11 @@ import { Switch, DiscreteSlider, ContinuousSlider, LogarithmicSlider,
|
|||
main();
|
||||
|
||||
function main () {
|
||||
ardour.getSurfaceManifest().then((manifest) => {
|
||||
const div = document.getElementById('manifest');
|
||||
div.innerHTML = `${manifest.name} v${manifest.version}`;
|
||||
});
|
||||
|
||||
ardour.addCallback({
|
||||
onMessage: (msg) => {
|
||||
log(`↙ ${msg}`, 'message-in');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue