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!
Do audio formats still matter for Ren'Py? [Solved]
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Do audio formats still matter for Ren'Py? [Solved]
Last edited by XenoStaR on Wed Jun 24, 2020 8:35 am, edited 1 time in total.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Do audio formats still matter for Ren'Py?
The short explanation is that MP3 used to require a license and the file size of LPCM wav is too large to make sense.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Do audio formats still matter for Ren'Py?
I'd recommend opus for new audio, if you can support it. Otherwise, ogg vorbis and mp3 are both good choices.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Do audio formats still matter for Ren'Py?
Thanks for the clarification!
-
- Newbie
- Posts: 22
- Joined: Wed Jul 08, 2015 6:34 am
- Contact:
Re: Do audio formats still matter for Ren'Py?
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.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Do audio formats still matter for Ren'Py? [Solved]
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.
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.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Newbie
- Posts: 22
- Joined: Wed Jul 08, 2015 6:34 am
- Contact:
Re: Do audio formats still matter for Ren'Py? [Solved]
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).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.
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