lmms icon indicating copy to clipboard operation
lmms copied to clipboard

Make automation nodes return outValue to handle discrete jumps without delay.

Open Jan125 opened this issue 2 months ago • 4 comments

Note slides had a 1 tick delay which desynchronized them. This may be a breaking change.

Compare these two audio files: commbuoy_noteslide_old.mp3 commbuoy_noteslide_new.mp3

Jan125 avatar Oct 23 '25 06:10 Jan125

I've not noticed any regressions so far.

Jan125 avatar Oct 23 '25 09:10 Jan125

I have just found an issue where for discrete automation only, it triggers 1 tick too early.

Jan125 avatar Oct 25 '25 22:10 Jan125

It seems to happen for all interactions except outvalues. This needs a rewrite to instead check if the current position is a node and has an outvalue, and then set it to the value of the outvalue instead of the invalue for that tick.

Jan125 avatar Oct 25 '25 22:10 Jan125

valueAt now returns the outValue for a node instead on an inValue by default. For future UI usage, a bool toggle has been added to valueAt to return the inValue instead.

Jan125 avatar Oct 26 '25 08:10 Jan125