Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.sound.duration

S๐Ÿท๏ธ Sound

Part of StarfallEx namespace

๐Ÿ”— External
sound.duration(path)
View on GitHub|lua/starfall/libs_sh/sound.lua:110
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Returns the sound duration in seconds. May not work for all file-types on linux/macos

Parameters

NameTypeDescription
pathstringString path to the sound file

Returns

TypeDescription
numberNumber duration in seconds

Examples

No examples available.

Used In

No usages found in the codebase.