We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-> https://mdn.github.io/webaudio-examples/decode-audio-data/
does not work on safari (Version 11.0.2 (11604.4.7.1.6) on OSX 10.11.6)
request.onload = function() { var audioData = request.response; audioCtx.decodeAudioData(audioData, function(buffer) { myBuffer = buffer; songLength = buffer.duration; source.buffer = myBuffer; source.playbackRate.value = playbackControl.value; source.connect(audioCtx.destination); //source.loop = true; loopstartControl.setAttribute('max', Math.floor(songLength)); loopendControl.setAttribute('max', Math.floor(songLength)); }, function(e){"Error with decoding audio data" + e.err}); //<-- null is not an object }
In fact the error callback gets a null parameter.
null
The text was updated successfully, but these errors were encountered:
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
Sorry, something went wrong.
Sorry, did not recognize that I filed this issue in the wrong project. Filed again in mdn/webaudio-examples#5
No branches or pull requests
-> https://mdn.github.io/webaudio-examples/decode-audio-data/
does not work on safari (Version 11.0.2 (11604.4.7.1.6) on OSX 10.11.6)
Steps to reproduce
In fact the error callback gets a
null
parameter.The text was updated successfully, but these errors were encountered: