Playing music from a playlist type set up made easy. This system allows you to skip forward and backwards through songs and to randomly play songs from the list. It is fairly easy to set up and supports displaying of song titles and so forth.
The free version of JukeBox has gotten a fair (for me) amount of interest and downloads. I have since decided to work on a pro version that will be available for super cheap and will as of this moment support loading .ogg/.mp3 (depending on the platform) from a folder on the user’s device. This will allow you to have user music within your game.
I looked into offering a realtime mp3 to ogg converter in order to allow users to place mp3’s within the folder. However, this isn’t fast enough for any kind of realtime offering. I have since thought of including a console app that can be included with your Unity program that you or the end user will run to convert the mp3s in the folder to ogg while retaining the mp3s.
If you have any other suggestions for the pro or free version, feel free to add them.
It could be used for that. But perhaps it is more suited for a Need For Speed/Sports games and so forth, where there is just a random playlist of music. The pro version is a step towards a GTA style radio system. However, not quite there yet.
hi i got it set up to play music but what do i need to do to show some sort of display and i might upgrade to jukebox pro does that have a slider etc like media player/itunes etc so players can scroll skip etc? also im planning on having them as like radios/cd players (eg metal radio contains 10 songs player can hear but they swap to techno etc by equip a new player) so i need some sort of interface is there anyway of getting interface on ether basic/pro?
Currently it doesn’t support seeking through individual AudioClips but that is on the todo list. Currently the system is set up to allow only one instance of the Jukebox. However, if you rip out most of that code it would be possible to have more than one instance of the jukebox in a scene at a time, then allowing you to disable certain ones while a single one is being used.
If you take a look at SongDisplay, it sets up a callback that enables the song title to be displayed at the bottom of the screen. That can be used as a start into building a music player. JukeBox has public methods for skipping forward/backwards, stopping and playing. So you could add those to a GUI though buttons.
The pro version uses an event based system which is similar to the callback system.
The current todo list for the pro version is:
Allow multiple instances of JukeBox, but only one active
Allow seeking through songs
Allow multiple playlists
Make a Player that shows off the capability of the new features and old.
Enable pausing of songs.
The free version will be updated with the new event system, pausing and multiple instances of JukeBox. These will be done once the pro version has been updated,
looks great once i will probably get the pro one since ill need multiple and the music player setup and do you think you can make a small button to toggle the visibility of the player like a minimize button