Is there a way to stop the processing of delayed outgoing actions. e.g. I trigger an action that is delayed by 2 seconds, but if I trigger another action within that 2 seconds, the first action is cancelled.
Use Case:
I have a pad on my launchPad Mini that triggers multiple translators inside preset A. One of which is to deactivate preset A and activate Preset B. Also with a translator that then, after 2 seconds, reactivates preset A and deactivates preset B. In affect a delayed reset.
I would like the ability to cancel that reset if I execute a command within that 2 seconds.
Hey Steven,
I tried the âwatchdogâ thing but the timer kept processing. I tried with different pads and I also tried with a translator in the preset that I am deactivating to trigger the watchdog but still no luck. I attached an example.
Cheers,
OK, the trick here is that you after activating the preset you set a timer to put it back but then give yourself a way to cancel the timer. The following example does this. Also I use a little trick that within each preset I deactivate the other preset upon preset activation.
Everything starts with A active (set by Init).
Press note zero and it Activativates preset B and starts a 2 second timer.
B is activated which deactivates A.
If no more notes within 2 seconds, the timer fires and Activates A again.
Activate A - Translator deactivates B
If you press a note within 2 seconds after first press, the Return timer never fires and you stay on B.
Pressing note 1 in this example takes you back to A.
Remember the timer is called a âwatchdogâ as it only trips if nothing happens after it is started (no additional not pressed to kill the timer).
Hi Steven,
That took a little time to get my head around, but I got it eventually. I realised that I do indeed need a preset called âPreset Managementâ as I initially had the One-Shot Timer in the Preset that I was deactivating and on deactivation it seems that the timer is then disabled.
Many thanks for the help.
Yes, I always keep one preset always active when activating and de-activating other presets. Too many unplanned side affect otherwise. Glad you have it working now!
Steve Caldwell
Bome Customer Care
Also available for paid consulting services: bome@sniz.biz