-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
General, switchable „Make relative“ for fader/knob Sources #203
Comments
Sounds good. To be consequent with regard to the current design, the option "Make absolute" should be made available as a mapping-specific setting at first (there's a "Make relative" checkbox already). The second step would be to somehow make this (and not just this) overridable for the complete ReaLearn instance, controllable by a parameter, see #204 comments, #160 and #161. |
here is code that I used in a JSFX script for the purpose:
|
I will have a look. (Hopefully I find out this time how to install the beta - by the way I am on OSX.) Would be nice to also have "It should be a general switch, so I do not have to duplicate all my mappings.". |
If I accept duplicate mappings for the time being, how could I make it switchable? Using two ReaLearn instances (one with relative, one with absolute behavior), and then switching between them with either #109 or (workaround) writing two Lua scripts that do that. |
That would be possible. However, why do you want it switchable in the first place? If the "Takeover mode" is clever enough to figure out when and how to avoid jumps, why put this extra mental burden on you having to switch to an "Absolute to relative" mode? I'm sure there's some good reason (if Dave Smith synths implement that even in hardware!) I would just like to know about it.
Maybe, haven't thought about that. |
Dave Smith implements both modes in his (current) synths (and a third one, "Passthru", which I assume works as "pickup" in ReaLearn). They are switchable as global parameters. And I often wish they would be switchable with an explicit button.
|
I just noticed that the parallel takeover mode is at the moment only available for Main Mappings. |
Okay, got it.
This is not possible / doesn't really make sense if you think about it a bit deeper. We are talking about mappings with virtual targets. Virtual targets don't have any current value and don't have any particular information available that would let one make an educated decision about the value of "Jump Max". They are non-concrete because all kinds of targets can potentially be connected to it, also multiple ones at the same time. The solution is to make all jump settings on "Main mapping" side. They belong there. If that main preset is going to be used with a controller that provides encoders (instead of knobs), the jump settings will just be ignored. |
The simple „make relative“ that I would like (and I think has high value) is possible with the 10 lines of code that I copied higher up in the discussion. It does not need to know target values. |
Okay, then it definitely needs to be something else in addition to the current takeover modes. Because takeover modes need to know the current target value in order to detect jumps. |
How this could look in the GUI: (and the JSFX code above has been tested) |
@vonglan How about offering the mode "Normal - make relative" + a fourth mode |
Sounds good. I am not sure whether the full flexibility will be used, but I would be very happy if a switchable "make relative" is possible! Does it make sense to think ahead to the "zoom" request (#204 ) and how that could be implemented? It is lower priority for me, but it is somewhat similar. |
Two thoughts about implementation of this mechanism:
|
This is not really an implementation detail but a requirement. And I think this requirement is nothing else than #315. If #315 is implemented, you would be able to set a step size in the virtual controller mapping and it would travel all the way to the target. |
To sum it up: This issue only makes sense to you if #315 is implemented as well. This issue is just #203 (comment), nothing more. |
Would be super nice to use with my Sequential OB6 ! |
Ok, because something similar was requested in #457, here's the thing: Adding a "Normal - Make relative" absolute mode is something that I could implement in no time, very easy. It's just all the requested extras which scared me away from this FR so far (general switch between "Normal" and "Normal - Make relative", step size override, ...). So if there's anyone out there who would benefit of "Normal - Make relative" itself - without the extras - let me know. |
Hi Benjamin, let's drop the bit about switchability. However, the "relative" steps that are sent need to add up to 100% (100% movement of the controller : 100% movement of the target - if the start is at min or max of both). Could this be implemented similar to #457, where - technically - an absolute target value is sent? Should I open a new, separate issue for this simpler request? |
Would be good, yes. Could you post some examples in this new issue? The 100% movement scenario is good to know but it's also not very interesting because if it would be just that, #457 would be exactly the same. E.g. what happens if the mod wheel initially is at 0% and the target at 50%? What if the 100% of the target is reached? And so on. Just some values are enough to get the idea. E.g. like this:
|
#468 opened. |
Now that #468 is implemented, this can be closed. |
Another thought about this: |
Implemented with #468 . For the record, I implemented switching now with groups with modifiers. |
As user of a MIDI controller with faders or knobs, I would like to be able to switch easily between the default „absolute“ and a „relative“ mode, which simulates endless encoders.
It should be a general switch, so I do not have to duplicate all my mappings.
Background: Many Hardware synths have this feature, e.g. Dave Smith / Sequential (Pot Mode relative).
Limitation: Depending on the fader position and the parameter value, it will not be possible to reach all values on one side (min or max) at first. For small changes, or for the „better“ side, it works great, and avoids the parameter jumps of absolute mode.
Possible implementation (I think):
The switch should be connected to a ReaLearn parameter, and affect all fader/knob Sources of one ReaLearn instance.
There should be a new configuration possibility in the header:
„Relative mode for knobs/faders, switchable on/off with parameter“ and a selection box for the parameter (with default “).
(I am not 100% sure whether this should be for „Controller Mapping“ compartment only.)
The text was updated successfully, but these errors were encountered: