Resources used by timer to thin out responses vs allowing multiple outputs to occur when fader moves

I use fader movements to send LED on/off MIDI data. This causes the same LED data to be sent over and over as the fader moves. Would it be less resource intensive to use a timer to initiate the LED data transmission than to allow multiple transmission (I suppose up to 127 times for a full fader movement)?
The timer gets reset each time the fader movement is detected, so there are very few transmissions - sometimes only one.
A confounding factor is that the AKAI APC Mini’s seem sensitive to receiving loads of data, but I believe I have that under control.

Yes, the following example will convert CC to note on APC-MINI but will only output the Note when the timer trips (every 500ms).
Since the faders send 48-56, I convert the note numbers to 0-8. I use ga as the note number and gb as the note value and do not conversion on the value.

As long as you are turning the knob, no note is sent until you stop turning it for 500ms.

CC-to-Note-Timer.bmtp (1.4 KB)
Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz