Page 1 of 1

Do audio formats still matter for Ren'Py? [Solved]

Posted: Tue Jun 23, 2020 6:33 pm
by XenoStaR
Hey all,

So before ogg was always best to use for Ren'Py and to use any other audio format was not recommended, is this still the case? If so then could someone give an explanation as to why this is the case and the negatives of using other formats such as wav or mp3, if it is not the case then are formats such as mp3 or wav entirely fine now?

I have looked at the documentation which says mp3 and wav are supported, yet I have seen many times over the years that you should only use ogg which puzzled me.

Obviously I am not a music composer of any kind and the last post I could find that actually explained why only ogg could be used was 8 years ago so I was hesitant to rely on the information.

Any help would be greatly appreciated, thenks!

Re: Do audio formats still matter for Ren'Py?

Posted: Tue Jun 23, 2020 7:03 pm
by Imperf3kt
The short explanation is that MP3 used to require a license and the file size of LPCM wav is too large to make sense.

Re: Do audio formats still matter for Ren'Py?

Posted: Tue Jun 23, 2020 11:39 pm
by PyTom
I'd recommend opus for new audio, if you can support it. Otherwise, ogg vorbis and mp3 are both good choices.

Re: Do audio formats still matter for Ren'Py?

Posted: Wed Jun 24, 2020 8:32 am
by XenoStaR
Thanks for the clarification! :)

Re: Do audio formats still matter for Ren'Py?

Posted: Sun Aug 30, 2020 8:11 am
by BlackRose4eva
PyTom wrote: Tue Jun 23, 2020 11:39 pm I'd recommend opus for new audio, if you can support it. Otherwise, ogg vorbis and mp3 are both good choices.
I've just tried converting one of the mp3 tracks we're using in our project to ogg vorbis but it's much heavier (mp3 = 2mb & ogg = 5mb)

The game that we're making has a lot of music in it so what would be recommend in our circumstance? Is the sound quality of .ogg worth it? Or can we still manage with mp3? I just found it a little odd as I thought the advantage to ogg was that the file size would be smaller?

Also what is meant but "opus for new audio"?

Thanks for your help on this.

Re: Do audio formats still matter for Ren'Py? [Solved]

Posted: Sun Aug 30, 2020 5:15 pm
by Imperf3kt
You converted a lossy file to a lossy file. That's not recommended, only really convert lossless to lossy unless you have no other source.

One reason the ogg file may have been larger would be your settings, how much you want to compress the file and how the bits are distributed from the bit rate.
The main advantage of ogg is not file size, but patent free file format.
MP3s patent expired some time ago though, so it's probably your better choice now.

Re: Do audio formats still matter for Ren'Py? [Solved]

Posted: Mon Aug 31, 2020 5:29 am
by BlackRose4eva
Imperf3kt wrote: Sun Aug 30, 2020 5:15 pm You converted a lossy file to a lossy file. That's not recommended, only really convert lossless to lossy unless you have no other source.

One reason the ogg file may have been larger would be your settings, how much you want to compress the file and how the bits are distributed from the bit rate.
The main advantage of ogg is not file size, but patent free file format.
MP3s patent expired some time ago though, so it's probably your better choice now.
I see, I may have been mixing the advantages of ogg with the opus then. I just assumed everything was mp3 (although I have played some VNs with those audio file types too).

Thank you very much for clarifying though that mp3 is still fine. I just wanted to make sure that I wasn't compromising on anything audio wise. MP3 is definitely easier now that the patent has expired so I'll stick to that.

Thanks again :)