Search Unity

[Released] Music Player

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

  1. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    969

    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:
    223
    What audio file format it can support ? Wav, mp3, ogg ?
     
  3. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    969
    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:
    969
    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:
    969
    Yes, just set it to play on scene load in the inspector or through script, and it will happily play in the background.
     
  9. LykenTech

    LykenTech

    Joined:
    Jan 9, 2018
    Posts:
    1
    Hi Steego, does the player continue to play music even after the phone is locked?
     
  10. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    969
    No it does not.