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.

Syntax
Luau
voicechat.setspeed(speed: number) -> ()

Parameters

Function parameters
ParameterTypeDescription
speednumberFinite 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

Example
Luau
if voicechat.getstatus().available then
    voicechat.setspeed(1.25)
    print("Playback speed:", voicechat.getstatus().speed)
end
Kawaii documentation