Search Unity

  1. Unite Berlin 2018 schedule is now updated with talks on real-time ray-tracing, upcoming 2D features & many more. Check it out!
    Dismiss Notice
  2. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  3. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  4. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

[Released] Music Player

Discussion in 'Assets and Asset Store' started by steego, Jul 2, 2015.

  1. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    826

    Music Player
    is a scripting plugin for Unity that allows for easy playing of music in your projects.

    It lets you configure playlists, for example for different parts of your game or different levels, and easily change between these at appropriate times. For example by having one playlist for the main menu, and a different one in game.

    It is also possible to create playlists at runtime, if your audio clips are not available when you are editing or you are downloading the music at runtime.

    Playlists can be played in order or shuffled, and tracks can be disabled. This can let users choose which tracks they want to hear.


     
    Last edited: Jul 22, 2015
    theANMATOR2b likes this.
  2. narf03

    narf03

    Joined:
    Aug 11, 2014
    Posts:
    207
    What audio file format it can support ? Wav, mp3, ogg ?
     
  3. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    826
    It supports any audio format that Unity supports, it's meant for creating and managing playlists inside your unity projects and not as a standalone music player for arbitrary files.
     
  4. devdreamstudio

    devdreamstudio

    Joined:
    Dec 13, 2016
    Posts:
    5
    Hello , please i'm making a game for android and the most important aspect is music , does this asset supports android and can the player switch between music and how much CPU is used at runtime , thank you
     
  5. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    826
    Yes it supports Android as well as any other platform that Unity supports.

    The asset makes it easy to create and play playlists, but these must be created in the Unity editor, it does not play music from the users device.

    It has the same CPU usage as playing an audio clip in Unity, normally very little CPU is needed.
     
  6. devdreamstudio

    devdreamstudio

    Joined:
    Dec 13, 2016
    Posts:
    5
    Yes yes i know it should be created in the unity editor , thanks i will be buying it for sure soon , good luck
     
  7. luozude

    luozude

    Joined:
    Dec 26, 2017
    Posts:
    1
    Hello, is it possible to play music in the background of android project?For example, when the screen closes or the home button hits
     
  8. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    826
    Yes, just set it to play on scene load in the inspector or through script, and it will happily play in the background.