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: Internal Parameters avalaible as Source #579

Closed
X-Raym opened this issue May 20, 2022 · 5 comments
Closed

FR: Internal Parameters avalaible as Source #579

X-Raym opened this issue May 20, 2022 · 5 comments
Labels
enhancement New feature or request high priority realearn Related to ReaLearn

Comments

@X-Raym
Copy link

X-Raym commented May 20, 2022

Hi,

It would be nice to be able to use some ReaLearn Internal Parameters as source of mapping, so we can create mapping to some "dummy" envelopes rather than using MIDI, with the advantage of being in the 0-100 scale and being able to have named ranges.
This would prevent the use of using dummy JSFX, for which one file needed to be created, which makes project portability (for collab for eg) more complex. A ReaLearn Bult-in solution would be more handy.
Not sure how many of these parameters we would need, maybe 16?

Thx!

@helgoboss
Copy link
Owner

helgoboss commented Jun 13, 2022

This will work in upcoming 1.13.0-pre.7. We have 100 parameters, one per compartment (the already existing ones). These parameters can be configured by right clicking the header panel and choosing "Compartment parameters" (name, optional discrete value count). If programmed via Lua, one can also assign labels to the discrete values.

I was a bit worried about infinite loops or stack overflow if someone accidentally routes e.g. "Parameter 1" source to "Parameter 1" target of the same instance. But turns out this is not a real issue because setting a parameter and reacting to the parameter change is decoupled (deferred). We get an infinite loop, but it's not a recursion (so no stack overflow) and it's async (so the GUI remains responsive). In practice, the parameter will start to flicker, but one can simply stop it by choosing another source or target parameter or disabling the mapping. It's not going to freeze REAPER or tear down ReaLearn. So no counter measures are necessary.

@X-Raym
Copy link
Author

X-Raym commented Jun 13, 2022

@helgoboss many thanks for your work on this, can't wait to try !

@X-Raym
Copy link
Author

X-Raym commented Jun 16, 2022

@helgoboss Hi ! can you send me a .rpp or a screenshot about to use this feature ? I successfully renamed internal paramter but I dont know how to link them to anuthing else. Thx !

@helgoboss
Copy link
Owner

pre.7 is not published yet

@X-Raym
Copy link
Author

X-Raym commented Jun 16, 2022

@helgoboss oh ok. Off topic, but I sent you some GUI bugs screenshots on discord. Cheers !

@helgoboss helgoboss added the realearn Related to ReaLearn label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high priority realearn Related to ReaLearn
Projects
None yet
Development

No branches or pull requests

2 participants