TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Web Audio API Is a W3C Recommendation

71 pointsby chrisloalmost 4 years ago

5 comments

joshstrangealmost 4 years ago
And I'm sure iOS Safari will still keep annoying restrictions on using it. I 100% understand the reasoning behind not allowing sound to play unless it's "user initiated" but it's really frustrating how small that window is and/or how you can't ask for that "permission". I have a web app that uses the camera for scanning (don't get me started on how Chrome/FF/etc on iOS can't use the camera for streaming) and in Safari I want to play little beep noise (toggleable on/off) after a successful scan but that's impossible.
评论 #27542107 未加载
评论 #27542657 未加载
评论 #27542043 未加载
评论 #27542368 未加载
评论 #27542638 未加载
wcarssalmost 4 years ago
I really wish you could access audio data from across an origin. Preventing that access seems to me like it&#x27;s mostly just nice for YouTube, Spotify, SoundCloud et al to not have others do things with their audio&#x2F;video data. Why should my browser care to help them like that?<p>For example, I have built a few music visualizers and have had to run a local youtube-dl server that disables cors, just to be able to visualize music for a youtube video. I just want to draw patterns on my screen while some music plays, I&#x27;d even be fine with the ads! But I have to engage in some form of piracy to do this.<p>The music is <i>already playing through my speakers</i>, so I should be able to <i>access that data!</i><p>(edit: I want to clarify: I know that one <i>can</i> set cors options on audio elements to enable cross-origins references, but it requires the <i>server</i> to allow you to -- which is what I&#x27;m doing with the youtube-dl server. <i>That</i> is the real problem: CORS is being used by youtube for copyright protection, not for user-safety. <i>I</i> know that accessing a youtube video across origins from a page I <i>wrote myself</i> is safe, but CORS enables youtube to stop me from accessing that data, in the name of safety.)
评论 #27541941 未加载
评论 #27541964 未加载
NHQalmost 4 years ago
Please please put the ScriptProcessorNode back in the spec.
评论 #27544340 未加载
评论 #27545279 未加载
rackjackalmost 4 years ago
What effect will this have on the web, for somebody out of the loop?
评论 #27541481 未加载
评论 #27541549 未加载
chrisseatonalmost 4 years ago
What practical difference does the ceremony of ‘recommending’ make?
评论 #27541890 未加载
评论 #27544354 未加载
评论 #27541865 未加载