Reset parameter to specific value while using midi controll

Hi there!
I am currently working on a project where I am controlling parameters of a TOP with a midi endless potentiometer which can be turned to the left and right.

My problem:
I want to reset the parameters value, controlled by my midi controller, back to a specific value after 60 sec.
Which means after 60 sec, I am starting from the same specified values of the beginning, when I turn my button again…

Is there a script which can help me? (I dont have any experience with python)

It would help me a lot if someone as any ideas! :slight_smile:

Is the endless controller giving you a continuously increasing and decreasing value when you turn the knob up and down (IE 1, 2, 3, 4, 5, 4, 3, 4, 5, 6, 7, etc)? if so the value is being kept track of in the MIDI controller and so you will have to read up on how to send a MIDI message to said controller to reset the value (usually send a value to the same MIDI note / chan it came in on, though some controllers differ)

If you are instead getting instantaneous values when you turn that knob (+1, +1, +1, +1, +1, -1, -1, +1, +1, +1, etc) then you can keep track of the value in a table DAT or Constant CHOP (or a custom parameter) and then you decide when to reset the value because you are already interpreting the + and - values to increase or decrease your own counter.

If none of that makes sense to you, maybe take a deeper dive into MIDI and how it’s messages usually work. The second way of dealing with MIDI is probably better since it gives you more control, but that will involve a lot of Python. Even the first way involves Python - really any time you deal with stateful / UI stuff… Python is your friend.