Sound duration: SoundDuration vs bass getLength
Why does bass sound :getLength() return the wrong length for a wav
SoundDuration and Bass:getLength are different systems (Source audio vs IGmodAudioChannel music player). SoundDuration doesn't return correct duration on MacOS/Linux or non-.wav on Windows; for approximate duration of mp3s multiply by ~4.5 (unreliable). Alternatives: store durations in a table/filename, use ffprobe -show_entries format=duration, or port a glua soundduration library. Wavs also don't work well with bass - convert to ogg/mp3.