Hacker News new | ask | show | jobs
by 9999 5372 days ago
"Oops! Your browser doesn't support Web Audio."

Meanwhile, Adobe just announced that the Unreal Engine runs in Flash Player 11. That's AAA quality 3d gaming in the browser (and not just Chrome). I am so bored with "HTML 5" game (that aren't even HTML 5 official spec) announcements getting such a ridiculous amount of play.

Imagine if someone went out to E3 in 2011 and announced that they just came up with this crazy TV game concept called Pong, but it only works on Magnavox TVs. Absolutely no one would care.

4 comments

The Quake Engine has been running inside browsers for ages.

Also if you speak about portability. Flash really isn't very portable when you compare it with the platforms supported by Webkit. Flash has always been a huge mess when it comes to this. Webkit and Gecko are pretty much up to date, but many people hardcode browser checks instead of just asking whether the browser supports certain stuff. I think that's the biggest problem - well, besides the market share of outdated IE versions of course.

What portability. I mean, Web Audio API is supported by only Chrome and Safari (so that's not "webkit". Sure Flash ain't better. But hey! None of this is standardized.

And why should Gecko support Web Audio API? You see, they got Web Audio Data instead. Not compatible of course. None are standard.

So flash does beat them and HTML5 on that very topic.

The Gecko API is very basic, it just gives you access to sample buffers in Javascript, so everything must be processed in Javascript.

The Web Audio API is a much more fleshed out API, built on the higher level audio APIs used in professional sound apps. You can use it to process raw buffers, but you can also use it sequence and compose many effects on audio buffers with very low latency timing requirements without having to write time critical javascript DSP code and hope for the best that no delays or scheduling skew creep in.

Meh. As if that matters. It’s not really a common use case and I don’t see it becoming one. Flash will die and then rot in its niche.
Is the adobe demo playable by the public? I was under the impression that they showed a video but I can't find a way to actually try it.

Until then Adobe still has to fix all the issues that the browser vendors are working on. We will have to see but I'm going to wait until it's released and usable, right now it's just a tech demo.

In fact, just yesterday someone had code up to display TF2 levels and he also built a demo capable of displaying the Rage IOS levels in WebGL a few months ago. So there your example of AAA games.

in the main JS file, you can see an error thrown creating the main audio-context object triggers that message:

  audioContext = new webkitAudioContext();
IIRC, Firefox has their own mozXxx versions of these audio APIs. I guess both will be updated to standard names (ex: AudioContext) once everyone is on board.