Mercurial > hg > webaudioevaluationtool
comparison ape.js @ 80:4c370a73f30f
Paper: Edit Intro with tool Justification
author | Dave Moffat <d.j.moffat@qmul.ac.uk> |
---|---|
date | Fri, 24 Apr 2015 00:11:20 +0100 |
parents | 3656025f2bfd |
children | 396ee95ad102 a948850f297b |
comparison
equal
deleted
inserted
replaced
79:a2fd892ab6b9 | 80:4c370a73f30f |
---|---|
404 if (id == i) { | 404 if (id == i) { |
405 this.audioObjects[i].outputGain.gain.value = 1.0; | 405 this.audioObjects[i].outputGain.gain.value = 1.0; |
406 this.audioObjects[i].play(audioContext.currentTime+0.01); | 406 this.audioObjects[i].play(audioContext.currentTime+0.01); |
407 } else { | 407 } else { |
408 this.audioObjects[i].outputGain.gain.value = 0.0; | 408 this.audioObjects[i].outputGain.gain.value = 0.0; |
409 this.audioObjects[i].stop(); | |
409 } | 410 } |
410 } | 411 } |
411 }; | 412 }; |
412 } | 413 } |
413 | 414 |