Determine total sound playing length (ms)

BlitzMax Forums/BlitzMax Beginners Area/Determine total sound playing length (ms)

after a bit of investimigation:

SuperStrict

Local sample:TAudioSample = LoadAudioSample("battle.ogg")
Local spm:Float = sample.hertz * 60

Local timeSeconds:Float = (sample.length / spm) * 60
Print timeSeconds