Detect inactivity
Posted: 11 Dec 2017 12:58
Hi,
I have a 4 by 4 pad where each button in the pad triggers a midi note. I'd now like to detect inactivity and do one of the following;
1. If none of the pad buttons are touched, a timer starts. If the timer reaches 30 seconds then a midi note is sent out (note 100).
2. If any of the pads are touched then the timer is reset and a midi note is sent out (note 101).
Any help appreciated. Thanks.
I have a 4 by 4 pad where each button in the pad triggers a midi note. I'd now like to detect inactivity and do one of the following;
1. If none of the pad buttons are touched, a timer starts. If the timer reaches 30 seconds then a midi note is sent out (note 100).
2. If any of the pads are touched then the timer is reset and a midi note is sent out (note 101).
Any help appreciated. Thanks.