Mercurial > hg > webaudioevaluationtool
diff js/loudness.js @ 2436:25c1436706af
Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool
author | www-data <www-data@sucuk.dcs.qmul.ac.uk> |
---|---|
date | Thu, 02 Jun 2016 14:20:55 +0100 |
parents | aca96a5183be |
children | 464c6c6692d6 |
line wrap: on
line diff
--- a/js/loudness.js Fri May 27 15:20:59 2016 +0100 +++ b/js/loudness.js Thu Jun 02 14:20:55 2016 +0100 @@ -19,7 +19,9 @@ // timescale -> M or Momentary (returns Array), S or Short (returns Array), // I or Integrated (default, returns number) // target -> default is -23 LUFS but can be any LUFS measurement. - + if(navigator.platform == 'iPad' || navigator.platform == 'iPhone') { + buffer.ready(); + } if (buffer == undefined) { return 0;