News for hackers. Stuff that matters.
Re:Show HN: Squawk – Walkie Talkie for Teams by ryukafalz on Wednesday June 03, 2020 @06:20PM (#23409564)
I could be wrong, but based on the README this looks like it just sets speaker volume based on position - which is neat, but is not quite positional audio.
Re:Show HN: Squawk – Walkie Talkie for Teams by jka on Wednesday June 03, 2020 @06:24PM (#23409618)
I wondered about that too, and found https://github.com/capnmidnight/Calla/commit/abc851b49bd1801... before commenting which seemed to indicate that there's at least stereo positioning. It's possible I'm mistaken though.
Re:Show HN: Squawk – Walkie Talkie for Teams by ryukafalz on Wednesday June 03, 2020 @06:34PM (#23409733)
Oh interesting, it looks like you're right! They do appear to be using a StereoPannerNode rather than the full 3D PannerNode[0], but that is more than just speaker attenuation.

[0] https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_A...

Re:Show HN: Squawk – Walkie Talkie for Teams by moron4hire on Thursday June 04, 2020 @11:10PM (#23424690)
That's an old commit. It's had spatialized audio for the last month, at least.

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.