Simple Voice Chat voicechat/speaking_trigger

SVC 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.

Note: Requires Simple Voice Chat to be installed and running. Only fires when the audio level exceeds -40 dB — background noise / silence is ignored. The trigger fires at most once every 250 ms per player (debounced). For a polled check use **SVC Is Speaking** instead. Use the `decibels` or `volume` outputs to drive volume-dependent logic such as range scaling.

Outputs

NameTypeDescription
exec exec Execution flow out.
player player The player who is speaking.
decibels number Audio level in dB. Range: -127 (silence) to 0 (maximum).
volume number Normalised volume from 0.0 (silence) to 1.0 (maximum).

Examples

Play a sound when a player starts talking

Trigger a visual or audio cue whenever someone starts speaking.

  1. SVC Speaking Trigger → exec → Play Sound At Player
  2. SVC Speaking Trigger → player → Play Sound At Player (player input)

Volume-based range check

Combine with SVC Voice Range to react only when someone speaks loudly enough to be heard from a distance.

  1. SVC Speaking Trigger → decibels → SVC Voice Range (decibels)
  2. SVC Voice Range → effectiveRange → Compare Number (≥ threshold)
  3. Compare Number → true branch → <your logic>