Mercurial > hg > webaudioevaluationtool
diff ape.js @ 1734:6b062200a412
Updating dev_main
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Fri, 01 May 2015 15:52:13 +0100 |
parents | 6ee92a6e1f40 |
children | 902f22e182f6 |
line wrap: on
line diff
--- a/ape.js Wed Apr 22 18:34:56 2015 +0100 +++ b/ape.js Fri May 01 15:52:13 2015 +0100 @@ -3,16 +3,6 @@ * Create the APE interface */ -/* - * - * WARNING!!! - * - * YOU ARE VIEWING THE DEV VERSION. THERE IS NO GUARANTEE THIS WILL BE FULLY FUNCTIONAL - * - * WARNING!!! - * - */ - var currentState; // Keep track of the current state (pre/post test, which test, final test? first test?) // preTest - In preTest state // testRun-ID - In test running, test Id number at the end 'testRun-2' @@ -150,7 +140,7 @@ if (titleAttr != undefined) { titleSpan.innerHTML = titleAttr.value; } else { - titleSpan.innerHTML = 'APE Tool'; + titleSpan.innerHTML = 'Listening test'; } // Insert the titleSpan element into the title div element. title.appendChild(titleSpan); @@ -416,6 +406,7 @@ this.audioObjects[i].play(audioContext.currentTime+0.01); } else { this.audioObjects[i].outputGain.gain.value = 0.0; + this.audioObjects[i].stop(); } } };