When in Points mode and a value is sent to the Reset (either through effect commands, meta device or the API), the full range of the envelope is not taken into account. In this example, each of the points should be hit with the first five values, but this can’t happen since the end of the envelope is at CC instead of FF. The correct behaviour occurs for Lines and Curves modes.
It’s quite unexpected behaviour, but it was added a long time ago as a fix for some other problem:
In points mode, the played/applied length of the envelope is actually one step longer than in line/curve mode, so the last point in the envelope (the one at the right edge) plays one more steps.
To see this, activate the points mode in the LFO and use a relatively low LPC value, e.g. 64.00.
In points mode, the last playback position is held for a full step before repeating. In lines and curves mode, it immediately jumps back to the start. If it would not do this, the lines and curves modes would not loop correctly.
A proper fix for this would be not allowing to set the value of the very last point in point mode. In linear and cubic mode not the very last point should be assignable, but should not be at the last fractional value before the last point.
In other words, the length should be applied as 0-L excluding L (where L = length of the envelope), not including as it is now.
This will require a new LFO device, as such a change isn’t backwards compatible.
As a workaround for now, assume the LFO in points mode has a length of 6 instead of 5 in your example.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.