I learned that the mp3 codec will always add a few milliseconds of silence to the beginning and end of the file when it compresses. You can have a perfect seamless loop as a WAV file but it will no longer be perfect when it's turned to mp3.
As a composer how do you deal with this issue? Do you just not use mp3 or other lossy codecs? Do you use an application to trim it in the export?
See the two files above should be identical but you will see the Green Mp3 file has a few seconds of deadspace added to it.(Help)It is impossible to make a Loop with mp3
- Zephy
- Regular
- Posts: 25
- Joined: Tue Aug 01, 2017 6:20 pm
- Completed: Witches's Tea Party, Dreamfarer, Fairy in a Jar, Shell of Permafrost
- Soundcloud: https://soundcloud.c
- itch: https://zephysonas.i
- Location: California
- Contact:
(Help)It is impossible to make a Loop with mp3
Composer
Audio Engineer
Sound Designer
https://soundcloud.com/zephysounds
https://thezephy.wixsite.com/andrewbarrellamusic
Audio Engineer
Sound Designer
https://soundcloud.com/zephysounds
https://thezephy.wixsite.com/andrewbarrellamusic
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3807
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: (Help)It is impossible to make a Loop with mp3
I've never experienced this, it's not part of the LAME codec as far as I am aware.
What program are you using to do the conversion?
What program are you using to do the conversion?
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
- Zephy
- Regular
- Posts: 25
- Joined: Tue Aug 01, 2017 6:20 pm
- Completed: Witches's Tea Party, Dreamfarer, Fairy in a Jar, Shell of Permafrost
- Soundcloud: https://soundcloud.c
- itch: https://zephysonas.i
- Location: California
- Contact:
Re: (Help)It is impossible to make a Loop with mp3
The LAME codec is one of the codecs that does not do this. Im doing my conversions in Izotope Ozone when I master the tracks.
Composer
Audio Engineer
Sound Designer
https://soundcloud.com/zephysounds
https://thezephy.wixsite.com/andrewbarrellamusic
Audio Engineer
Sound Designer
https://soundcloud.com/zephysounds
https://thezephy.wixsite.com/andrewbarrellamusic
- FulminisIctus
- Regular
- Posts: 32
- Joined: Sun May 21, 2017 1:30 pm
- Projects: Mycorrhiza, LoveSick Darlings, Human Reignition Project, Episicava, Caladria Chronicles, Ah My Girlfriend is a Demon Summoned from the Depths of Hell, Cautionary Tale, Visual Novel Audio Pack Vol 1 and Vol 2
- Contact:
Re: (Help)It is impossible to make a Loop with mp3
The standard audio format that's usually used is .ogg (not just because it loops seamlessly but also because you don't have to worry about license stuff, as opposed to .mp3). You'd need an encoder that tells the decoder when the actual audio starts, as well as a decoder that can read and execute those instructions if you really want to use mp3.As a composer how do you deal with this issue? Do you just not use mp3 or other lossy codecs? Do you use an application to trim it in the export?
LAME adds silence as well as far as I know (my info might be old on that), but adds a tag for decoders so they know how to skip/trim the silence (that's called "gapless playback"). I don't think renpy supports gapless playback, but don't quote me on that.I've never experienced this, it's not part of the LAME codec as far as I am aware.
There's software out there that can trim MP3 files like mpTrim https://www.mptrim.com/ but there isn't usually really a reason to use mp3s instead of oggs.
I'm a composer and sound designer! You can find more info about my services - and if I'm free to take on a job at the moment - by viewing my commission doc (https://docs.google.com/document/d/1i0Z ... sp=sharing)!
Re: (Help)It is impossible to make a Loop with mp3
Yes, I had the same issue on a loop track I saved in MP3, and after saved in .ogg this was fixed. ![Smile :)](./images/smilies/icon_smile.gif)
![Smile :)](./images/smilies/icon_smile.gif)
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3807
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: (Help)It is impossible to make a Loop with mp3
Just clearing this up that the MP3 format has not required licensing since 2017 when the patent expired and was not renewed.FulminisIctus wrote: ↑Mon Jan 11, 2021 8:39 am you don't have to worry about license stuff, as opposed to .mp3
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
- FulminisIctus
- Regular
- Posts: 32
- Joined: Sun May 21, 2017 1:30 pm
- Projects: Mycorrhiza, LoveSick Darlings, Human Reignition Project, Episicava, Caladria Chronicles, Ah My Girlfriend is a Demon Summoned from the Depths of Hell, Cautionary Tale, Visual Novel Audio Pack Vol 1 and Vol 2
- Contact:
Re: (Help)It is impossible to make a Loop with mp3
Oh dang, that's great. Thank you for the correction!
I'm a composer and sound designer! You can find more info about my services - and if I'm free to take on a job at the moment - by viewing my commission doc (https://docs.google.com/document/d/1i0Z ... sp=sharing)!
Who is online
Users browsing this forum: No registered users