Prime31 Audio Player - Library Music as AudioClip

Hey there,

I’ve purchased this plugin - was wondering if theres anyone out there who has gotten the sound to not only just play in the ipod player, but if theres a way to retrieve the file you are playing, and acess it in Unity and set it as an AudioClip.

Is this possible, or require some extra coding in Xcode that i could possibly look into with the right direction?

Thanks!

I need something like this too! But no idea :S

@Lujay, you cannot currently do this. There is a bug in Unity that does not let you load audio files using the WWW class.

Does the bug still exist into Unity?

Are we able to load music with the plugin and to access to the file working with sound functions from Unity’s documentation?

Or maybe someone know another way to do it?

Thanks! :slight_smile:

Is this still the case?

@joe, that bug was fixed in a previous Unity release.

@Mike
Thanks.

Do you offer anything similar for Android? (accessing music library, loading track as AudioClip)

@joe, not yet. Android poses some problems on this front so making a clean, easy to use package is taking some deep thought and time

Hi. The project that I am working on requires access to the music library on an Android device and I stumble upon this while searching the forum. Is there any new updates with regards to the Android music library plugin for Unity?

@fisyher, the Android media library has some distinct challenges with regard to audio formats and getting things working from Unity. We do not yet have an ETA for the release.

any developments on this front? Any ETA on when it could be out?

Hey just released an asset that accomplishes this task for iOS — access the music library, load a song to unity and control playback. You can get the package here http://partycircl.es/unity-assets/ios-music-library-access or on the asset store