MichaelPilyavskiy / ReaScripts

Scripts for REAPER written by MichaelPilyavskiy (mpl)
131 stars 46 forks source link

RS5k manager: Macro | Conflict between negative linking range and Macro scaling #45

Open IOphonics opened 2 years ago

IOphonics commented 2 years ago

Being able to set the minimum linking parameter value down to -100% conflicts with the concept of using the lower range of the 'Macro' control for decreasing the initial offset values. If you move the 'Macro' knob to 0% and the 'Min' link range to -100% you end up with -200%, if I understand it correctly.

We'll have to think about the scaling a bit more.

MichaelPilyavskiy commented 1 year ago

Nothing we can do here without external tools like custom jsfx slider or stuff like that. Linking feature is played around REAPER possibilities which are very limited

IOphonics commented 1 year ago

Is this linking through API feature documented somewhere already? I'd like to understand better where the restrictions are. I trust your expertise when you say it isn't possible, I just want to learn a bit more, so I don't ask you to do stuff which is not possible...

MichaelPilyavskiy commented 1 year ago

Parameters are roughly limited to 0...1. With 'Macro' knob to 0% and the 'Min' link range to -100% you end up with 0. I think it is something like out_value = macro_value + (offset * scale)