VoiceChat RollOffDistance

Does anyone know if VoiceChatService has a in-built RollOffMinDistance or RollOffMaxDistance property that I can edit?

The default spatial voice radius is pretty large, so I want to minimize it a bit.
There might be something that I’m missing in ROBLOX’s new Audio API, but I’m not sure.

Thanks!

1 Like

Hey @astrovue; in the new audio API, both audio files (played by AudioPlayer) and voices (streamed by AudioDeviceInput) reuse the same AudioEmitter type to accomplish 3d spatialization. You can change the rolloff by using the AudioEmitter:SetDistanceAttenuation(curve) method; it takes a table with distance keys and volume values, and there is a visual editor for it

1 Like

I never even knew there was a DevForum post for this. Thanks so much!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.