justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: For a control surface and using `bool GetTouchState(MediaTrack *media_track, int is_pan)` tousch automation, this will only work for volume and pan. Is there a way to make it also work for any other param? As these now work in Latch mode
Asked by Navelpluisje (77.171.69.x) on December 4 2025, 4:54pm
Reply on December 4 2025, 10:32pm:
    for FX parameters I don't think it's supported, we need to add the ability to end the touch I think.


Comments:
  • Posted by Navelpluisje (77.171.69.x) on December 5 2025, 7:50am:
    That would be great if that could be possible, but beside the FX parameters I also can not find a way to make it work with any other parameter beside volume and pan/left pan as these are the only 2 options passed for the second argument. But as a possible solution wouldn't it make sense to let the control surface control both? So when in touch mode and touch starts, the control surface tells REAPER touch is starting and the other way around. Possible arguments should be `track`, `envelope name`, `on/off`.

  • Posted by Navelpluisje (77.171.69.x) on December 5 2025, 7:50am:
    That way it would be possible to add touch automation for any param, which would be really welcoming for both me as all other control surface users

  • Posted by Justin on December 6 2025, 2:07am:
    For width/dualpan-r, is_pan=2, you can implement that. for FX parameters, will look at extending some API for "done"-ing.

  • Posted by Justin on December 6 2025, 2:14am:
    oops the "done" state change already exists, obviously I missed it, TrackFX_EndParamEdit etc

  • Posted by Navelpluisje (62.45.86.x) on December 6 2025, 3:04pm:
    TrackFX_EndParamEdit indeed did the trick. Thanks for that. is_pan==2 is not working somehow, tried it with bot stereo pan and dual pan. Added a ShowConsoleMessage in GetTouchState, but no 2 showing up. Beside this would is make sense also have a TrackSend_EndEdit for at leaste volume and pan?


Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2025 Justin Frankel. | RSS