diff --git a/webapp/live.html b/webapp/live.html index c259f35..8bb496e 100644 --- a/webapp/live.html +++ b/webapp/live.html @@ -13,7 +13,7 @@

PocketSphinx.js live demo

- +

Recognition Output

@@ -61,9 +61,9 @@

Status

document.getElementById('current-status').innerHTML += "
" + newStatus; }; - // A not-so-great recording indicator + // A great recording indicator function displayRecording(display) { - if (display) document.getElementById('recording-indicator').innerHTML = "     "; + if (display) document.getElementById('recording-indicator').innerHTML = "00"; else document.getElementById('recording-indicator').innerHTML = ""; }; diff --git a/webapp/live_kws.html b/webapp/live_kws.html index d11a591..2ea9a29 100644 --- a/webapp/live_kws.html +++ b/webapp/live_kws.html @@ -13,7 +13,7 @@

PocketSphinx.js live demo for keyword spotting

- +

Number of spotted keywords

@@ -61,9 +61,9 @@

Status

document.getElementById('current-status').innerHTML += "
" + newStatus; }; - // A not-so-great recording indicator + // A great recording indicator function displayRecording(display) { - if (display) document.getElementById('recording-indicator').innerHTML = "     "; + if (display) document.getElementById('recording-indicator').innerHTML = "00"; else document.getElementById('recording-indicator').innerHTML = ""; }; diff --git a/webapp/live_zh.html b/webapp/live_zh.html index 9dad144..25972c2 100644 --- a/webapp/live_zh.html +++ b/webapp/live_zh.html @@ -13,7 +13,7 @@

PocketSphinx.js live demo for Chinese language

- +

Recognition Output

@@ -63,9 +63,9 @@

Status

document.getElementById('current-status').innerHTML += "
" + newStatus; }; - // A not-so-great recording indicator + // A great recording indicator function displayRecording(display) { - if (display) document.getElementById('recording-indicator').innerHTML = "     "; + if (display) document.getElementById('recording-indicator').innerHTML = "00"; else document.getElementById('recording-indicator').innerHTML = ""; };