Robot Roller-Derby Disco Dodgeball

Robot Roller-Derby Disco Dodgeball

Custom Music MP3 Support?
So, I noticed that for the custom music on your own machine has to be in .wav format apparently for the game to detect it. Most people as far as I know don't use .wav format these days for many things and most use .mp3 filetype. Would it be possible or put into consideration for the added support of the .mp3 files?
< >
Showing 1-15 of 15 comments
Erik Asmussen  [developer] May 22, 2015 @ 5:21am 
It can also be in .ogg, which is a compressed format. (.wavs are huuuuge file).

You can convert mp3 to ogg with VLC. It's one of the few trusted, free, conversion programs available: http://www.videolan.org/index.html I use it and have had great luck with it.

However, I completely agree it's inconvenient and not ideal. Sadly Unity doesn't support .mp3 playback from your hard drive. I believe it is a licensing issue. But I think some games have managed to pull it off, so I will be looking into more possible solutions in the future.

I had decided that a 75% solution was better than not having it in at all or delaying other critical features, so that's why the feature was built to its current state.
Battle00333 May 22, 2015 @ 6:05am 
Well, .ogg is just as compatible as mp3, if not more.

VLC Plays .ogg just like it plays .mp3, so practically there is no difference. However Media Player is much more accessible than VLC in terms of playlists, libraries etc ( VLC only plays songs you add to the list in it, Media Player finds songs on your Harddrive ).

So essentially you could just play the songs in mp3 format on Media Player in the background while playing the game, Or convert them through VLC if you want to have them synced with the visualizers ingame.

Either way, when you convert a .mp3 to .ogg in VLC, it keeps both the originally .mp3 file and saves the converted file separately so if you have an album you want to convert, you end up with a .mp3 version and .ogg version of this album after converting.

I can understand why games uses .ogg instead of .mp3 though.
A .ogg file is about 2 times smaller than an .mp3 file of the same length. I checked an album of 18 songs up against the .ogg converted one. and the .ogg version of the album was at 64.8MB vs 128MB. So I could actually have had 2 copies of the .ogg songs ( 36 songs ) for the same space as the .mp3 album ( 18 songs )
Last edited by Battle00333; May 22, 2015 @ 6:09am
PIECEofTOAST May 22, 2015 @ 3:03pm 
You can also convert files with Audacity, which I found to be much more convenient since you can convert multiple files at once.
Makobeats May 22, 2015 @ 9:28pm 
Another great tool for converting stuff is foobar2000. Get that and the encoder pack for it, and conversion is super easy. Just load up a playlist with what you want to convert, select all of it (a simple ctrl+a should work), then right click on one of the selected tracks > convert > "..."

Your output settings would look like this (they don't have to be as high quality, I'm just super picky and I convert almost exclusively from lossless down, plus you don't need to use the complicated tags like I do - those are a carryover from one of my other conversion presets. You can really customize the destination file settings however you wish, the encoder settings are the most important) - https://www.dropbox.com/s/jn4dkveixwh5vd4/RRDDD%20Conversion%20example.png?dl=0

It makes it super easy to batch convert stuff, but be warned that foobar will do conversions using as much CPU as possible to speed up the process, so if you're converting a lot of stuff, you may have a hard time doing other stuff for a little while. It doesn't delete the original files either, so you don't need to worry about losing those.
Ginghis Ken Dec 23, 2015 @ 8:38pm 
when i try to add custom music, i copy and paste the path of the folder / song then hit enter, and it boots me out of the options menu? not sure what im doing wrong, the song is also in .wav format
Erik Asmussen  [developer] Dec 28, 2015 @ 6:42pm 
I had to recently change some things about menus & input, what if you don't hit enter but instead just tab out of the field? It's possible 'Enter' is triggering the default menu button, which is 'Back'.
Ozzuneoj Dec 30, 2015 @ 4:57pm 
I would definitely like to have more broad music support if possible... specifically FLAC, but mp3 would be good too.

If that's totally not possible, it might be worth it to look into a different method. Since a lot of people don't have music converters (and searching for "free ogg converter" is probably the second best way to get malware), I wonder if there'd be some way to include a converter with the game. I'm sure there's a free converter that can convert FLAC or MP3 files to OGG. It'd just be a matter of getting permission to include it in the game.

Personally, I use foobar, but I'll admit... I've been playing the game with the default music since it came out. :)
Last edited by Ozzuneoj; Dec 30, 2015 @ 5:00pm
Nudl Supp'n Mar 16, 2017 @ 3:28am 
Originally posted by Erik Asmussen:
It can also be in .ogg, which is a compressed format. (.wavs are huuuuge file).

You can convert mp3 to ogg with VLC. It's one of the few trusted, free, conversion programs available: http://www.videolan.org/index.html I use it and have had great luck with it.

However, I completely agree it's inconvenient and not ideal. Sadly Unity doesn't support .mp3 playback from your hard drive. I believe it is a licensing issue. But I think some games have managed to pull it off, so I will be looking into more possible solutions in the future.

I had decided that a 75% solution was better than not having it in at all or delaying other critical features, so that's why the feature was built to its current state.
Hi,
are there any news regarding mp3 support?

has the game engine added support for mp3 files yet?

(all my music files are in mp3, converting them would take a long time)
joshfryup Mar 18, 2017 @ 10:49am 
You should allow .mp3s and maybe Spotify songs!
PIECEofTOAST Mar 18, 2017 @ 12:56pm 
Originally posted by Your Younger Brother's Pug:
You should allow .mp3s and maybe Spotify songs!


Unfortunately if I remember correctly mp3s are a restriction of unity engine itself, so cannot be changed by Erik. Spotify also I think would be hard to implement, but even besides that I'm guessing it could result in some copyright issues.

A bit of a pain to have to convert files, but at least we can still play our own music with just a bit of work.
joshfryup Mar 19, 2017 @ 12:29am 
maybe allow steam music which contains mp3s but has a playlist feature
Erik Asmussen  [developer] Mar 20, 2017 @ 6:25am 
Toast is correct, steaming mp3s from within the game is not possible due to a Unity licensing issue.

But I have heard about Steam music, at the very least I'll look into that and see if it's possible to link to your Steam music library so you can trigger audio tracks from within game. I don't think I could run the light-responsive audio analysis on that, but we'll see what features Steam music provides.
joshfryup Mar 20, 2017 @ 8:31am 
at the moment, i am just muting the game music and playing my own through spotify
Nudl Supp'n May 17, 2017 @ 9:05am 
We might get MP3 Support afterall.
as it seems, there are no license fees necessary anymore.

https://www.iis.fraunhofer.de/en/ff/amm/prod/audiocodec/audiocodecs/mp3.html
joshfryup May 17, 2017 @ 9:19am 
ok
< >
Showing 1-15 of 15 comments
Per page: 1530 50