Get

These are getters

Get TimeStamp

local timeStamp = exports['mx-surround']:getTimeStamp(soundId)

Parameters

  • soundId: string

Returns

  • number

    • Returns sound' timestamp in seconds


Get Max Duration

local maxDuration = exports['mx-surround']:getMaxDuration(soundId)

Parameters

  • soundId: string

Returns

  • number | nil

    • Returns sound' max duration in seconds

Last updated