Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 10-21-2021, 08:09 AM   #1
AlbertoV5
Human being with feelings
 
Join Date: Feb 2020
Posts: 39
Default Request: LAST_TOUCHED_FX_PARAM_NUMBER

Hello. This is the current last touched fx section:

LAST_TOUCHED_FX_TRACK_NAME s/fx/last_touched/track/name
LAST_TOUCHED_FX_TRACK_NUMBER s/fx/last_touched/track/number/str
LAST_TOUCHED_FX_NAME s/fx/last_touched/name
LAST_TOUCHED_FX_NUMBER s/fx/last_touched/number/str
LAST_TOUCHED_FX_PARAM_NAME s/fxparam/last_touched/name
LAST_TOUCHED_FX_PARAM_VALUE n/fxparam/last_touched/value s/fxparam/last_touched/value/str

This is the existing FX number message:
LAST_TOUCHED_FX_NUMBER s/fx/last_touched/number/str

This is what the section is missing:
LAST_TOUCHED_FX_PARAM_NUMBER s/fxparam/last_touched/number/str

This would allow the controller to access the second to last touched parameter by index, assuming that the focused fx remains the same, with this message:

FX_PARAM_VALUE n/fxparam/@/value

This stops me from finishing an XY last touched control:
https://imgur.com/djqgr6Y
https://drive.google.com/file/d/1mDD...ew?usp=sharing

It all works, the code stores the last_touched values correctly, I am just missing the message to obtain the index of the second to last touched parameter (which is what I am asking about). The axes "rotate" every time a new fx param is touched, so X is the future last touched by default. They reset once "fx/last_touched/name" changes which means the focused FX changed.

----

So, is it possible to index the last touched fx param on the focused fx? If so, can the message be implemented, is it worth it?

Thanks.

Last edited by AlbertoV5; 10-21-2021 at 08:14 AM.
AlbertoV5 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:16 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.