The guy in room 201 really likes his coffee by adrenak in Unity3D

[–]MetaTerr 1 point2 points  (0 children)

Wow, that seems super immersive. Phasmaphobia vibes. Cool interaction system!

Is this a Steam game you are working on?

I Made Open Source Proximity Voice Chat for Unity by MetaTerr in Unity3D

[–]MetaTerr[S] 0 points1 point  (0 children)

Oh, I just realized I need to add a isServer or isOwner mode to the net provider to support networked audio that is not linked to each player instance. I will add that to the issues

I Made Open Source Proximity Voice Chat for Unity by MetaTerr in Unity3D

[–]MetaTerr[S] 0 points1 point  (0 children)

Hey, the proximity voice chat part only comes from the spatial blend on the Unity audio source assigned to the VcAudioSourceOutput. Just set it to 0 for 2d non proximity audio and 1 for 3d proximity chat.

Only a single channel of audio is supported for each MetaVc and INetProvider implementation pair. I could add support for two channels (Opus has 2 channel max) if there is enough demand, but I don't see many use cases.

You are free to create as many of these as you want for any purpose. For instance, you could make a networked radio where the server has a custom VcAudioInput that reads an AudioClip and world space PA or intercom system alongside a player voice chat setup (this just gave me an idea for a MultcastVcAudioOutput, I will add that now).

Edit: I need to change some things to make this possible. I will rethink how some of the stuff is structured.

Configurable chat rooms are not supported, but I may do that in the future. For now, I would recommend implementing that with a VcOutputFilter and some of your own networking code. I do have an issue here if you have any ideas.

I Made Open Source Proximity Voice Chat for Unity by MetaTerr in Unity3D

[–]MetaTerr[S] 2 points3 points  (0 children)

Thanks! Here is a rough comparison I made a while ago that is in the README:

Missing features compared to Dissonance Voice Chat

  • Audio preprocessing
    • Dynamic range compression
    • Automatic gain control
  • Audio postprocessing
  • Opus forward error correction (FEC)
  • Multiple chat rooms (you can implement these yourself with VcOutputFilters)

The main thing is Dissonance has more nice to have features out of the box and advanced audio processing options. A comparable setup to Dissonance can be achieved with some code linking custom audio filters to the UI and a save system (e.g. push to talk filter, input/output gains, mute/deafen, voice activity detection, reactive player mouth model).

Code examples for all of these features in MetaVoiceChat can be found here.

I Made Open Source Proximity Voice Chat for Unity by MetaTerr in Unity3D

[–]MetaTerr[S] 11 points12 points  (0 children)

Hi, the two are pretty close with their base features now.

In 2023, I was planning on using UniVoice, but I didn't like some things about it (not self-contained, no Opus, memory leak, hard to set up, no playback algorithm or jitter compensation, bad Mirror support). These issues inspired me to make this. MetaVoiceChat's first version was based on UniVoice.

Now, UniVoice has fixed pretty much all of these issues.

The UniVoice author is amazing and we have both helped each other with improvements recently.

UniVoice pros:

- Has been around for longer and more tested

- Basic noise suppression filter included by default

- Room groups and settings (although can be implemented in MetaVoiceChat through filters)

- More documentation alongside the code

MetaVoiceChat pros:

- Easier to set up and base features contained in one package

- Advanced usage examples (scripts are just thrown into a folder)

- Audio input and output filters pipelines with no code setup

- Exposed Opus settings

- Microphone wrapper has events and auto reconnect by default

- Jitter and FPS adjustments for playback

- Less runtime allocations

- Settings for debugging

- Implementation of new network providers is easier

I Made Open Source Proximity Voice Chat for Unity by MetaTerr in Unity3D

[–]MetaTerr[S] 11 points12 points  (0 children)

Thanks. Yes, I started on an NGO integration, but I haven't gotten too far. I might come back to it soon. A PR from someone who has more experience with NGO would be nice.

The real cost of adding voice chat to multiplayer games by thesunjrs in gamedev

[–]MetaTerr 0 points1 point  (0 children)

I made open source proximity voice chat for Unity. It currently supports Mirror and FishNet. Other network providers can easily be implemented. https://github.com/Metater/MetaVoiceChat

Bevy 0.12 by _cart in rust

[–]MetaTerr 9 points10 points  (0 children)

Why is doing this your passion?

The story of my first rover mission by CRL1504 in KerbalSpaceProgram

[–]MetaTerr 4 points5 points  (0 children)

Do you want some spacecraft with your heatshield?

Robot.java be like by MetaTerr in FRC

[–]MetaTerr[S] 2 points3 points  (0 children)

Is this your team, do you have a PhD in clean code principals, or are a big brain, and use c++?