diff options
author | fulup <fulup.arfoll@iot.bzh> | 2017-07-30 21:36:54 +0200 |
---|---|---|
committer | fulup <fulup.arfoll@iot.bzh> | 2017-07-30 21:36:54 +0200 |
commit | 39384e722d9fd7d162012b682aed41b35d16d003 (patch) | |
tree | 1406da7376c88b530a7b0525d7b5ba78451fe9ac /htdocs | |
parent | 94a12b24d1712573607b78cd78f47e998a0323d4 (diff) |
Fix HTML5 demo with Volume Ramping
Diffstat (limited to 'htdocs')
-rw-r--r-- | htdocs/alsa-hal.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/htdocs/alsa-hal.html b/htdocs/alsa-hal.html index 7377bd4..f1d5aaf 100644 --- a/htdocs/alsa-hal.html +++ b/htdocs/alsa-hal.html @@ -37,6 +37,12 @@ <li><button onclick="callbinder(sndcard,'ctl-set', [{tag:4, val:25},{tag:5, val:25}])">Set[{tag:4, val:25},{tag:5, val:25}]</button></li> <li><button onclick="callbinder(sndcard,'ctl-set', [{tag:4, val:[55,45]},{tag:5, val:[45,55]}])">Set[{tag:4, val:[55,45]},{tag:5, val:[45,55]}]]</button></li> <br> + + <li> + <label for="volramp">Volume Ramp</label> + <input id="volramp" type="number" min=0 max=100 step=10 maxlength=3 placeholder="Enter 0-100" onChange="callbinder(sndcard,'ctl-set', {label:'Volume_Ramp', val:this.value})"> + </li> + <br> </ol> <div id="main" style="visibility:hidden"> |