[SOLVED] Lookahead Limiter adds extra silence to the start

Having trouble with LMMS? Ask about it here.

EDIT: This is solved in a later post. The delay was caused by a lookahead limiter on the master track that I forgot about. It naturally adds computational latency, which is normal.

BACKGROUND:

I use manually trimmed audio files (48 kHz IEEE float WAVs, stereo or mono) for drum sounds that I sequence in LMMS. At 196 BPM, I'm getting an extra 5 milliseconds of silence added to the beginning of the rendered audio pattern which is spoiling the precise timing for when I copy and paste the resulting audio file in other DAWs.

For example, if I use LMMS to generate a drum loop I get a noticeable timing error if I repeat the loop 4 or more times (5 x 4 = 20 milliseconds, which starts to become noticeable). Also, visual editing becomes less precise even though I specifically am trying to start audio exactly on the downbeat when aligned to the tempo grid. Again, if I repeat the imported from LMMS WAV loop more than 4 times, then I get timing errors, first subtle, but getting progressively worse.

My manual workaround for this is to trim the audio on the grid of the other DAW right after 1st import, but I figured I would report this LMMS error as it might affect other users as well who require super-accurate timing.

This issue naturally will be more of an issue at higher BPMS and for people sensitive to rhythm errors (which is somewhat subject). However, statistically, the just noticeable difference for most people tends to start at around 20 milliseconds or more.

I've been using a recent Nightly version of the Linux AppImage.
I'll re-download a more up to date version and re-check it again soon.

*NOTE: Again, this is solved already. Sorry about that.

mjolnir wrote: ↑
November 21st, 2026, 3:37 am

I'm getting an extra 5 milliseconds of silence added to the beginning of the rendered audio pattern

Do you use a Sampletrack or AFP?
Can you screenshoot how the spectrum looks in the start?

I'll re-download a more up to date version and re-check it again soon.

Yes, please try Alpha.2

Sorry for the long delay.
Well, i can't download the nightly from lmms.io; I'm getting an error page.

The last version i downloaded was:
Version 1.3.0-alpha.2.30+6b00eab (Linux/x86_64, Qt 5.15.3, GCC 11.4.0)

OK, I think I might have figured out what was causing the delay...
I have a lookahead limiter on the master track of the mixer in the project template (on for my default).

I think the lookahead limiter is adding 5 milliseconds of latency.
Yep, that's what the problem was. I just tested and checked.
Removing the limiter removed the unwanted latency


Sorry about all the fuss over my user error.
I'll mark the OP as [SOLVED].