How Spokes' Physical Rooms feature eliminates echo, microphone bleed, and headset delay when two or more people share a voice channel from the same room.
Sometimes I build a feature because it is obviously needed. Sometimes because a user requested it and it makes sense. Other times I build it simply because I personally need it and/or think it would be cool.
The following is an example of the third option.
What problem am I trying to solve?
At home, I have 1 room where all computers live. Me and my girlfriend sit side by side and, in the future, I will add another desk behind us for the kids.
When it's only us playing a game, everything is fine, we play game audio on speakers and simply talk to each other. However, we are usually playing with other friends. Friends that are not in the same room. Therefore, we need to use a voice chat.
2 people in the same room connected to the same Discord channel is not a great experience.
- You can hear your own echo coming from the other person's microphone.
- The latency makes it so you hear the real sound in the room before the Discord audio reaches your headset.
- Other people in the call hear all the echoes.
In short, it is basically unusable.
My solution for the last few years has been to set up 1 good microphone in the room and then use Nvidia Broadcast to clean up the audio. This works decently well, but you need to play game audio on speakers, voice chat audio is only coming out of 1 computer and it's hard to adjust for 1 person speaking louder than the other.
How the new Physical Rooms feature of Spokes (a self-hosted Discord alternative) solves this problem
When connected to a voice channel in Spokes, you can now open the settings and create a physical room. Once the room is created, you can tell Spokes which users are actually in that room. Rooms apply per device, so if you join a call later from your phone or a laptop in another room, it won't think you are still in the gaming room.
Here's what happens under the hood for users in the same physical room :
- Direct LAN connection. When using the Spokes desktop client, Spokes establishes a direct LAN connection between the 2 users and then directs their voice traffic through it. Meaning latency is usually under 20ms. This makes it so the sound you hear in your headphones and the sound in the room arrive to your ears pretty much at the same time. (Direct LAN mode only works on the desktop client. If someone in the room is on web or mobile, Spokes automatically falls back to doing the audio cleanup on the server instead.)
- Echo cancellation. Spokes looks at the waveform entering user 1's microphone and suppresses it from user 2's microphone. (And vice-versa). This removes the echo and makes the call's audio super clean.
- Clean audio feed for other users. On a parallel track, Spokes takes the clean physical room audio and sends it to the server so it can be distributed to all other remote users in the channel.
There is also a Mute users in my room toggle if you prefer to just hear the people next to you naturally without their voice coming through your headphones. Everyone else in the call will still hear all of you cleanly.
How to try it for yourself
Spokes is a self-hosted alternative to Discord (GitHub). To try this feature, you need to set up your own Spokes instance on your own server.
- Connect to a voice channel in Spokes.
- Open the Voice Settings dialog. (Right next to the disconnect button in the blue voice bar at the top.)
- Scroll down to the Physical Rooms section and create a new room.
- Have other users join the Physical Room you just created. (Admins can also simply assign rooms to other users.)
For full setup details, audio modes, and built-in room diagnostics, see the Physical Rooms documentation.
Top comments (0)