Base class: Asset

Lua
C++
Edit

Sound

A sound file stores a waveform that can be used to play noises.

Property Type Description
GetLength Method returns the length of the sound, in seconds
Play Method plays the sound once
LoadSound Function loads a sound from a file or stream
Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation