[WIP] iOS and Android Audio Player Plugin

This plug-in plays on an Android and iOS device.

On iOS, it loads-up the Albums, Artists, Songs, Playlists from the Music app.

  • Select Album to play - done
  • Select Artist to play - done
  • Select Playlists to play - done
  • Select Songs to play - done

On Android, it loads a simple interface to Play Music’s Song List.

  • Select Song to play

Both of them have:

  • Play,
  • Skip to next song,
  • Go back to start of song,
  • Progress bar
  • Skip to previous song

Ready to use UIs:

  • Traditional OnGUI
  • 2D GUI (4.3)
  • NGUI prefab
  • DF-GUI prefab
  • (any more – please request)
  • Source-code integration in Boo, JS and C#.
  • Ready-made demo/example scenes.

Applicable uses:

  • Play alternative music from the gamer’s music already on his Android or iPad, iPhone or iPod touch device.
  • Provide an interface for playing music from the player’s Android or iPad, iPhone, iPod touch device.

More infos and screenshots to follow

Select a track from iTunes (on an IPad)

I’m thinking of putting this on the Asset Store after this is finished.

More coming soon

  • Microphone, Audio, Text to Speech added.
  • Ability to record audio, scan a QR code for music lookup added.

More coming soon.

I would pay for this, or even for a stripped down version of this which gets me hooks into the iOS and Android music player subsystems. Any update?

We’re delivering a MMO for another company. This asset is part of their game.

It’s all done, gone under QA several times.
It’s currently missing the demos and more documentation is needed before it’s ready.

Hi there, any new updates for your plugin? I’m looking for a good plugin to load a song from Android Music library to an Audio-Source but found nothing but yours.

Doesn’t support android but I published an iOS plugin that allows users to access their music library.

1 Like

Hunterleaman - I just checked out your asset. I’m interested but I’m pretty hesitant due to lack of m4a support. Why can’t you just instruct iTunes to play that file or playlist in the background instead of having unity decode/play the file?

Thats a great suggestion. Ill see if I can rework it to simply play the music through the device.

The reason is the plugin reads, copies, and sends the song as audio data to unity and then Unity reads the audio data to play the song — the original reason for this was so that I could access the audio data for other uses like triggering visual effects.

Ah, cool, makes sense. I mostly just want a good music picker to appear as a modal view. And work in landscape mode. And android, if possible later :slight_smile:

Just wanted to update you — I took your suggestions and now M4As as well as multiple song queues are supported. Im working on resolving one issue and then Im republishing to the asset store.