This would be a useful function in determining the length of a sound file.
float llGetSoundLength(key sound)