News for hackers. Stuff that matters.
Re:I don’t know who the Web Audio API is designed for by _jal on Wednesday September 13, 2017 @11:31PM (#15244795)
> Fetching and playing the various audio formats is a bit outside the purview of Web Audio

Just looking at that clause makes me think perhaps the Web Audio API should have been called something else.

Can you imagine writing "fetching and displaying various image formats is a bit outside the purview of HTML"?

(I realize that's a bit apples 'n oranges.)

Re:I don’t know who the Web Audio API is designed for by AgentME on Thursday September 14, 2017 @04:12AM (#15245875)
I think it's more like "fetching and displaying various image formats is outside the purview of HTML5 canvas".

If you want to just show an image, you use an <img> tag, or just play an audio file you use <audio>. Canvas and the Web Audio APIs are for pages that want to make or mix their own images/audio. Though to be fair, html/javascript do make it easy to load image data from an image tag directly into a canvas; maybe there's a missing parallel for audio.