Mercurial > hg > webaudioevaluationtool
diff mushra.js @ 762:01c026742e1e
MUSHRA: Checks enabled. MUSHRA & APE: Warning if check not supported. Core: checkMoved and checkPlayed now in interface and available to all interfaces.
author | Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk> |
---|---|
date | Thu, 17 Dec 2015 17:09:40 +0000 |
parents | 801e1977ab55 |
children | 43801b3d6131 |
line wrap: on
line diff
--- a/mushra.js Thu Dec 17 16:48:08 2015 +0000 +++ b/mushra.js Thu Dec 17 17:09:40 2015 +0000 @@ -269,7 +269,7 @@ // Check that the anchor and reference objects are correctly placed if (interfaceContext.checkHiddenAnchor() == false) {return;} if (interfaceContext.checkHiddenReference() == false) {return;} - /* + for (var i=0; i<checks.length; i++) { if (checks[i].type == 'check') { @@ -295,17 +295,20 @@ var checkState = interfaceContext.checkAllCommented(); if (checkState == false) {canContinue = false;} break; - case 'scalerange': + //case 'scalerange': // Check the scale is used to its full width outlined by the node - var checkState = interfaceContext.checkScaleRange(); - if (checkState == false) {canContinue = false;} + //var checkState = interfaceContext.checkScaleRange(); + //if (checkState == false) {canContinue = false;} + // break; + default: + console.log("WARNING - Check option "+checks[i].check+" is not supported on this interface"); break; } } if (!canContinue) {break;} } - */ + if (canContinue) { if (audioEngineContext.status == 1) { var playback = document.getElementById('playback-button');