Possible to import WWW Object (AudioClip) as 2d sound?

How do you force an audioclip to import as a 2d sound using WWW?

I’m importing music into the game at runtime from a custom folder after building but it always imports as a 3d sound. It seems like AudioImporter.threeD is for use in the Editor but doesn’t apply for runtime WWW Object importing?

AssetBundles don’t seem to be the answer here either, I need a custom folder for users to drop audio into so they could play their own music ingame for example.

code is something like this jibberish:

`

    public string url;
    
    private string urlPrefix = "file://"+Application.dataPath+"/";
    
     
    
    public void GetWww();
    
    {
    
    wwwObject = new WWW(urlPrefix+url.Value);
    
    storeAudio.Value = wwwObject.audioClip;
    
    //now magically set the clip to 2d
    
    }
    
    ...

`

Thanks

use

wwwObject.GetAudioClip(false);

I’m not sure you can load sounds as 2D sounds using www, but you could set your audio source at the same position as your audio listener(main camera by default) so the sound would behave just like a 2D sound even if it isn’t.