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.

Resonance Audio: Multi-platform spatial audio at scale

41 pointsby jamestover 7 years ago

4 comments

minus7over 7 years ago
Please, Google, I don't care about related articles while I'm reading this one, bugger off.
评论 #15643094 未加载
ndarilekover 7 years ago
I&#x27;m poking the docs, can&#x27;t find an answer for this, so am hoping someone smarter than me can help. For years I&#x27;ve wanted to build audio games on the web (see <a href="http:&#x2F;&#x2F;audiogames.net" rel="nofollow">http:&#x2F;&#x2F;audiogames.net</a> for examples of what I mean.) The resource requirements for these just aren&#x27;t that intense, so JS&#x2F;the web seems like an interesting delivery platform, but the Web Audio API&#x27;s support for what I&#x27;d need to do this is...disappointing is the nicest way I&#x27;d put it.<p>My biggest missing feature is a listener&#x2F;sound source API that renders to 5.1&#x2F;7.1 surround. Does Resonance do that? Yes I understand that headphones&#x2F;binaural rendering is ideal, but I have a decent surround system and sometimes I want to put it through its paces. :)<p>The Getting Started section demonstrates stereo downmixing. Peeking at the API indicates I can pass something called an ambisonic order into some functions, but even the constant for the default gives me no obvious indication of what this means. So maybe this is something audio developers know, but as someone trying to evaluate Resonance, it seems like they&#x27;ve just handwaved around this concept.<p>And if Resonance doesn&#x27;t do this, does <i>anything</i>? Even if I compiled to wasm, which is certainly something I&#x27;m open to, it looks like the only wasm options are SDL-based, meaning simple stereo and no spatialization. But maybe I&#x27;ve just picked terrible keywords to search for.
评论 #15638193 未加载
评论 #15638734 未加载
science404over 7 years ago
guess this superceeded Songbird: <a href="https:&#x2F;&#x2F;google.github.io&#x2F;songbird&#x2F;" rel="nofollow">https:&#x2F;&#x2F;google.github.io&#x2F;songbird&#x2F;</a>, previously on HN: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15031828" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15031828</a><p>edit: indeed, <a href="https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;songbird" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;songbird</a> now redirects to <a href="https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;resonance-audio" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;resonance-audio</a>
评论 #15638198 未加载
smustinover 7 years ago
nice work!