Skip to content

Add a monotonous behaviour to 'slowly approach if jump to big' #12

Closed
@jackmau

Description

@jackmau

Hi,

As much as I am fun of soft-takeover, I don't like the way it works in Realearn, I'd much prefer a situation in which target always follows the same direction of the source and converges to the source value. For example, suppose in 7-bit context, using the same notation as in realearn y = 63 and x=0. While increasing x, I'd expect y to increase as well, so that the two meet up at 127 (or before, I have no strong feelings on the topic). If I reverse the input direction while I am half way (suppose y = 95 and x = 63), I'd expect a mirror behaviour, so that x and y would meet at 0 or before.

In EEL2, I would expressed it as (I have not tested thoroughly, and it supposes the controller doesn't skip values, but it's just to get an idea of what I mean):

y_old != x_old ? (
  x > x_old ? (y = y_old + (127-y_old)/(127-x_old)) :
                    (y = y_old - y_old/x_old)
) : (y = x)

Unfortunately in the current EEL control transformation I don't have any way to access x_old, so I had to write my own EEL feedbacking realearn input, but I'd prefer a native implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrealearnRelated to ReaLearn

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions