I haven't looked at Mumble's actual implementation, but I imagine it's possible with the web audio APIs.
[0]: https://wiki.mumble.info/wiki/Positional-Audio [1]: https://www.raftmodding.com/mods/mumble-link
As for webapps, I think Mozilla Hubs does this: https://hubs.mozilla.com/#/
...as does Freeswitch I believe, though I've had a heck of a time trying to get that up and running: https://freeswitch.org/confluence/display/FREESWITCH/mod_con...
Edit: in some ways, this might be totally off-base since it does involve a game and participant self-arrangement. Hopefully it's somewhat relevant, though!
[0] https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_A...
I'm actually going to put a feature back in to let you select the audio "spatialization" model, because some folks have had trouble with PannerNode not working right. I used to have a selection between volume scaling, StereoPannerNode, and PannerNode. Been a little too busy at the day job to do it lately.
[1]: https://venturebeat.com/2009/09/04/dolby-launches-axon-surro...
Currently re-writing it to be actually decent code. Basically, it takes up streams on the page and arranges speakers in a semi-circle in front of you, letting you adjust the radius (I've found for particular numbers of speakers there's an optimal radius for speaker separation).
If anyone knows of such a thing please let me know. Would be perfect for socialising during quarantine and beyond.
Patents long expired, nowadays smallest $2 microcontroller can run it in real time.
I know it's not really what you are asking for, but it's some very cool spatial audio work, letting you separate out where folks are in a virtual space.
[disclaimer, I know some of the folks working on it]
and see their iOS app: https://appsto.re/us/jrj3hb.i and the web app: https://cb.virtualairwaves.com/channel/1
They have several patents on "3D Audio" style techniques to give distance cues via the signal:
See:
Crazy Feature request: One of the things I've wanted for years out of a software based walkie-talkie like this is manual audio spacial diversity control (a.k.a. 3D audio). That way I can have multiple simultaneous channels, but be able to change the position (left/right/forward/45deg/etc) and the volume of each feed so I can have situational awareness with all channels while being able to use my brain to separate and focus on a particular channel.
These kinds of systems are often marketed to dispatch agencies, mission control, government/military customers, etc, and are super expensive[0]. I've never seen a consumer-grade version of 3D audio like this, but that would be super beneficial to ad-hoc communicators in disasters, scanner enthusiasts, public event coordinators, county/city-level EOCs that can't afford expensive systems.
[0]:https://www.thedrive.com/the-war-zone/24741/new-3d-audio-wil...