Get the length of *.wav file in seconds

Is there any way to get length of *.wav file in seconds as integer?

Global.SoundDuration

Thanks. I’m currently from my phone, but I’ll test it out later. Is the argument is path to sound I guess?

Thanks a lot, problem is now solved. Next time I’d use the “Questions that don’t need their own thread” thread.