BrechtDeMan / WebAudioEvaluationTool

A tool based on the HTML5 Web Audio API to perform perceptual audio evaluation tests locally or on remote machines over the web.
https://code.soundsoftware.ac.uk/projects/webaudioevaluationtool
GNU General Public License v3.0
115 stars 39 forks source link

Chrome 'autoplay' issue #276

Open BrechtDeMan opened 6 years ago

BrechtDeMan commented 6 years ago

Safari and Firefox are fine, Chrome which doesn't want to play fragments. Chrome's console shows this link: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#webaudio

How is this relevant, as this is regarding autoplay? Any fixes/explanations?

BrechtDeMan commented 6 years ago

Console:

core.js:138 The AudioContext was not allowed to start. It must be resume (or created) after a user gesture on the page. https://goo.gl/7K7WLu
onload @ core.js:138
core.js:258 document.xml validates

specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
specification.js:420 Empty survey node
specification.js:421 surveyNode
core.js:527 0,1,2,3,4,5,6,7
core.js:528 5,0,7,2,3,1,4,6
core.js:1345 Starting test...
core.js:2439 KeyboardEvent
core.js:3669 Requested save...
core.js:3685 Intermediate save: OK, written 22770B
core.js:3669 Requested save...
core.js:3685 Intermediate save: OK, written 22770B
core.js:3669 Requested save...
core.js:3685 Intermediate save: OK, written 22770B
core.js:2245 slider 2 played (0)
ape.js:380 slider 2 moved to 0.5782945736434109 (0)
ape.js:380 slider 0 moved to 0.7418604651162791 (0)
core.js:2245 slider 0 played (0)
core.js:2265 slider 2 played for (0)
ape.js:380 slider 1 moved to 0.703875968992248 (0)
core.js:2265 slider 0 played for (0)
core.js:2245 slider 1 played (0)
core.js:2439 KeyboardEvent
core.js:2439 KeyboardEvent
core.js:2439 KeyboardEventaltKey: truebubbles: truecancelBubble: falsecancelable: truecharCode: 0code: "KeyJ"composed: truectrlKey: falsecurrentTarget: nulldefaultPrevented: falsedetail: 0eventPhase: 0isComposing: falseisTrusted: truekey: "Ï"keyCode: 74location: 0metaKey: truepath: (6) [body, shadow, document-fragment, html, document, Window]repeat: falsereturnValue: trueshiftKey: falsesourceCapabilities: InputDeviceCapabilities {firesTouchEvents: false}srcElement: bodytarget: bodytimeStamp: 81562.29999999993type: "keydown"view: Window {postMessage: ƒ, blur: ƒ, focus: ƒ, close: ƒ, frames: Window, …}which: 74__proto__: KeyboardEvent

and

OSError: [Errno 2] No such file or directory: '../js/showdown.min.js.map'