Garry's Mod Wiki

SoundDuration

Description

Returns the duration of the sound specified in seconds.

This only works properly for .wav files.

Arguments

1 string soundName
The sound file path.

Returns

1 number
Sound duration in seconds.

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 5
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 12