AudioStream:getDuration

Returns the duration of the sound data in seconds.

duration = AudioStream:getDuration()

Arguments

None

Returns

NameTypeDescription
durationnumberThe duration of the sound.

See also