According to
https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/buffer
AudioBufferSourceNode.buffer is now deprecated. What is the new alternative? I can't seem to find it.
Pretty sure this is just mislabeled on the MDN. To the best of my knowledge, AudioBufferSourceNode.buffer
has not been deprecated. The most recent version of the W3C draft still has it in there.
There has been some talk (https://github.com/WebAudio/web-audio-api/issues/288) of deprecating the ability to reassign the value of buffer
once it's been set. So maybe the person who marked buffer
as deprecated was referring to that.