Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: simulate encoders (rotary knobs) acceleration #715

Open
DaveInDev opened this issue Oct 16, 2022 · 1 comment
Open

FR: simulate encoders (rotary knobs) acceleration #715

DaveInDev opened this issue Oct 16, 2022 · 1 comment
Labels
enhancement New feature or request realearn Related to ReaLearn

Comments

@DaveInDev
Copy link

For controllers that do not implement encoder acceleration, it would be nice to have such a feature.
It would be based on the delta time between two consecutive sends from the controller on the same CC (encoder).
There could be a Sensitivity threashold in milliseconds, and a max number of acceleration (i.e. max number of times that the corresponding action should be triggered).
Here is an example in JSFX :

bbh_encoder_acceleration_simulator.zip

Put it on an armed track and just move a controller that send a CC, from slow to fast.

@helgoboss helgoboss added the enhancement New feature or request label Oct 17, 2022
@helgoboss helgoboss added the realearn Related to ReaLearn label Jul 25, 2024
@helgoboss helgoboss added this to the 2.16.12 milestone Oct 26, 2024
@helgoboss helgoboss moved this from Todo to In Progress in Helgobox Development Oct 28, 2024
helgoboss added a commit that referenced this issue Oct 29, 2024
helgoboss added a commit that referenced this issue Oct 29, 2024
- calculate timestamp based on audio callbacks
- respect the frame offset for MIDI events
@helgoboss helgoboss moved this from In Progress to Todo in Helgobox Development Oct 30, 2024
@helgoboss helgoboss removed this from the 2.16.12 milestone Oct 30, 2024
@helgoboss
Copy link
Owner

In 2.16.12, this will be possible by writing control transformations. However, control transformations can - so far - only process absolute control values coming from the source (see signal flow). This was enough to add encoder acceleration to the Softube Console 1 in native mode (which produces absolute control values only, see #1287).

Adding acceleration to existing relative control values is therefore not possible yet. Unless you set "Source character" to "Range control" and handle the typical MIDI relative modes somehow in the control transformation (which sounds ugly though ... plus, you would have to deal with normalized values between 0.0 and 1.0).

Therefore I leave this open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request realearn Related to ReaLearn
Projects
Status: Todo
Development

No branches or pull requests

2 participants