A low-latency audio streaming optimization mod for Resonite using ResoniteModLoader.
TurboAudioStream significantly reduces audio streaming latency in Resonite by patching the default audio stream settings. The mod applies optimized buffer configurations and Opus codec settings to minimize delay between your microphone input and what other users hear in the virtual world.
- Reduced Latency: Optimizes audio buffer settings to minimize streaming delay
- Configurable Settings: Customizable buffer delay, encoder delay, and Opus application type
- Local User Only: Only affects your outgoing audio stream, not incoming audio from others
- Start-time Configuration: Settings are applied before outgoing audio input is bound
The mod creates a configuration file that allows you to customize the audio settings:
-
MinimumBufferDelay (0.001-1.0s): Audio buffer delay in seconds
- Default: 0.2s
- Recommended: 0.02s (significantly reduced latency)
- Lower values reduce latency but may drop audio
-
BufferSize (legacy compatibility key): Buffer capacity in samples
- Default: 24000 samples
- Version 0.2.0 preserves this config value but does not write it to the stream
- Note: This is circular buffer capacity. It is not a packet latency setting and does not fix decoder frame-size mismatches.
-
ApplicationType: Opus encoder mode
- Default: Audio
- Recommended: RestrictedLowDelay (lowest latency mode)
- Options: Audio (high quality), VoIP (voice optimized), RestrictedLowDelay (lowest latency)
-
EncoderDelay: Opus frame delay for latency vs. quality (2.5ms - 60ms)
- Default: Delay20ms (20ms)
- Recommended: Delay20ms (balanced latency and quality)
⚠️ WARNING: Changing this setting may break the audio stream- Options: Delay2dot5ms (2.5ms), Delay5ms (5ms), Delay10ms (10ms), Delay20ms (20ms), Delay40ms (40ms), Delay60ms (60ms)
Configuration changes do not require restarting Resonite, but active audio streams may need to be rebound or recreated before start-time settings take effect.
- Install the ResoniteModLoader.
- Place the TurboAudioStream.dll into your
rml_modsfolder. This folder should be located atC:\Program Files (x86)\Steam\steamapps\common\Resonite\rml_modsfor a standard installation. You can create it if it's missing, or if you start the game once with the ResoniteModLoader installed it will create this folder for you. - Launch the game. If you want to check that the mod is working you can check your Resonite logs.
Version 0.2.0 is built and verified against Resonite 2026.8.27.1094.
Release builds use the matching locked Resonite.GameLibs package; local builds prefer an installed Resonite copy when one is available.
- .NET 10 SDK or later
- Visual Studio 2022 or Visual Studio Code
- ResoniteHotReloadLib for hot reloading during development (optional but recommended)
- dotnet SDK (Recommended version: 10.0 or later)
- Clone this repository
- Set up your Resonite installation path:
- The project will automatically detect common Steam installation paths
- Alternatively, set the
ResonitePathproperty when building:dotnet build -p:ResonitePath="Path\To\Your\Resonite"
- Build the project:
dotnet build
Optional: enforce formatting locally
- Check formatting:
dotnet format --verify-no-changes - Apply formatting:
dotnet format
The project includes a custom target Install for development convenience:
dotnet build -t:InstallFor hot reload development with DEBUG builds, ensure you have ResoniteHotReloadLib installed in your Resonite installation.