Simple Voice Chat
6 nodes in this category.
SVC Is Connected
voicechat/is_connected
Returns true if a player has Simple Voice Chat connected and active.
In: player
Out: connected
SVC Get Group
voicechat/get_group
Returns the name of the voice group a player is currently in.
In: player
Out: groupName, inGroup
SVC Is Speaking
voicechat/is_speaking
Returns true if the player spoke into Simple Voice Chat within the last 500 ms.
In: player
Out: speaking, decibels, volume
SVC Speaking Trigger
voicechat/speaking_trigger
Fires when a player speaks into Simple Voice Chat. Debounced to at most once every 250 ms per player so graphs are not flooded with audio packets.
Out: exec, player, decibels, volume
SVC Detection Chance
voicechat/detection_chance
Calculates the probability (0.0 – 1.0) that a voice is audible at a given distance, with configurable min/max range and a falloff curve.
In: distance, minRange, maxRange
Out: detectionChance, canHear
SVC Voice Range
voicechat/voice_range
Calculates the effective voice hearing range in blocks based on the current audio level. Louder voices carry further.
In: decibels, baseRange
Out: effectiveRange