How to get information about a sound file

I was a novice, how to get a sound file length of time, and related information, for example, set a sound as 3D or 2D, set up a sound loop, how can I get this class to edit, thank you know the Great God tell me!

If you are in Unity and you’re loading Studio Events, all this information is set at design time in our tool.