aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs/unicens.html
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-05-26 18:45:56 +0200
committerFulup Ar Foll <fulup@iot.bzh>2017-05-26 18:45:56 +0200
commitd2e42029ec04c3f224580f8007cdfbbfe0fc47a6 (patch)
treead2ccf167cf7997c84191d41e6ba55cb2efd6bed /htdocs/unicens.html
parent18e393e1443fd4c38b34979888fb55d30448cf31 (diff)
Initial Commit
Diffstat (limited to 'htdocs/unicens.html')
-rw-r--r--htdocs/unicens.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/htdocs/unicens.html b/htdocs/unicens.html
new file mode 100644
index 0000000..fc56b06
--- /dev/null
+++ b/htdocs/unicens.html
@@ -0,0 +1,28 @@
+<html>
+<head>
+ <title>Hello world test</title>
+
+ <script type="text/javascript" src="AFB-websock.js"></script>
+ <script type="text/javascript" src="AudioBinding.js"></script>
+
+
+<body onload="init();">
+ <h1>Hello world test</h1>
+ <button id="connected" onclick="init()">Binder WS Fail</button></li>
+ <br>
+ <ol>
+ <li><button onclick="callbinder('unicens','initialise', {filename:'data/config.ucsx'})">Parse Config.ucsx</button></li>
+ <li><button onclick="callbinder('unicens','setvol', {channel:'master', volume: 255})">Set Master Volume to 255</button></li>
+ <li><button onclick="callbinder('unicens','setvol', {channel:'master', volume: 200})">Set Master Volume to 200</button></li>
+ <li><button onclick="callbinder('unicens','setvol', [[0,200], [1,255]])">Set left=200 right=250</button></li>
+ <li><button onclick="callbinder('unicens','setvol', [[0,255], [1,200]])">Set right=250 left=200</button></li>
+ <li><button onclick="callbinder('unicens','setvol', [[0,255], [1,255]])">Set right=255 left=255</button></li>
+ </ol>
+ <br>
+ <div id="main" style="visibility:hidden">
+ <ol>
+ <li>Question <div id="question"></div>
+ <li>Response <div id="output"></div>
+ <li>Events: <div id="outevt"></div>
+ </ol>
+ </div>