voicechat. setspeed Synchronous
Set how quickly the file clip advances during playback. One is normal speed; smaller values slow it down and larger values speed it up.
Luau
voicechat.setspeed(speed: number) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
speed | number | Finite multiplier from 0.25 through 4. |
Returns
()No values.
Usage notes
Changing speed does not alter the physical microphone rate. Values outside the range raise.
Example
Luau
if voicechat.getstatus().available then
voicechat.setspeed(1.25)
print("Playback speed:", voicechat.getstatus().speed)
end