Skip to content

[VoiceChatLib] Setting up the settings

Sh1zok edited this page Apr 25, 2026 · 1 revision

All library settings values ​​are stored in the root of the library itself: voiceChat


hostVoiceVolumeRefreshRateTicks

The time interval in ticks between sending pings for synchronizing voiceChat.get.hostVoiceVolume

voiceChat.hostVoiceVolumeRefreshRateTicks = 5 -- Now the interval between pings is a quarter of a second

Tip

Default value hostVoiceVolumeRefreshRateTicks: 2 Ticks


voiceSmoothingStrenght

Smoothing strength smoothHostVoiceVolume, affects the speed of mouth closing/opening when used in this example.

voiceChat.voiceSmoothingStrenght = 40 -- Now the speed of closing/opening the mouth is twice as fast

Tip

Default value voiceSmoothingStrenght: 20


voiceCutoffThreshold

The value below which the voice is cut off in order to save pings.

voiceChat.voiceCutoffThreshold = 0.1

Tip

Default value voiceCutoffThreshold: 0.05

Clone this wiki locally