Page 1 of 1
Silence at end of exported song
Posted: Thu Dec 15, 2011 2:36 am
by dark_oppressor
So I've just recently started using LMMS, and I am making some music for a game I'm working on. It needs to loop, as it is background music for levels. I've got the notes all worked out, so it loops perfectly, but when I export it, there is a second or two silence inserted at the end. Is there a way around this?
Re: Silence at end of exported song
Posted: Fri Dec 16, 2011 10:41 am
by musikbear
this silence is when you loop inside your game -right?
and .. you exported your file as mp3 -right?
If so, post here again, and i will try to aid you, but the issue is an mp3 problem, not lmms
-if you use flash, its really difficult
Re: Silence at end of exported song
Posted: Sat Dec 17, 2011 8:36 am
by dark_oppressor
No, the silence is in the file itself. I'm looking at it in Audacity. It is exported as an ogg. My engine is just C++ and SDL, so no flash.
Any ideas?
Re: Silence at end of exported song
Posted: Sat Dec 17, 2011 10:36 am
by musikbear
is exported as an ogg
so that eradicates all the mp3 issues - hmmmm..
afaik ogg does not insert lead-in /out-silence (as mp3 does

How does oggs from the net behave ? Does they loop correct in your game?
Try an ogg not made in lmms, and see how that behave
-at least that will give the answer to who's the baddie: lmms or game-engine
post result here
Re: Silence at end of exported song
Posted: Sat Dec 17, 2011 9:23 pm
by dark_oppressor
Well, like I said, it's in the file itself, not the way my engine loads/plays it.
Here it is in Audacity:
It looks like it is exactly one second at the end there.
Re: Silence at end of exported song
Posted: Sun Dec 18, 2011 11:53 am
by musikbear
true -i would call it a glitch, not a bug, but you can cut the silence away in audacity, and then re-export from audacity as ogg.
but lmms has a glitch in export, because that silence is also inserted in wave-export - dont think it did that in 0.4.11, but not sure.
Re: Silence at end of exported song
Posted: Sun Dec 18, 2011 8:55 pm
by dark_oppressor
I'm currently using 0.4.12 on Windows 7 if it matters. So, this is not intended? I wasn't even sure if it was a bug or anything, just wanted to know if there was some hidden command to not do it haha. Anyway, I can certainly get what I want by using Audacity to trim the songs, I was just hoping I wouldn't have to.