How to get audio file as an AudioClip from its path

Before my question, i would like to say that i am NOT going to use Resources or WWW in my code…

now… my question is: Is there any way of getting an audio file as an AudioClip with its path?

i have no idea on where to start from… so I’ve tried using System.Media.SoundPlayer, but I get this error that says,

“The type or namespace name ‘Media’ does not exist in the namespace ‘System’. Are you missing an assembly reference?”

I know it’s not allowed to ask for a script but i might need a hint on where to start. or at least on how to fix that System.Media problem thing.


Maybe really simple but do you have

using System.Media;

at the top of your file, then throughout your code you should be able to say “new SoundPlayer”