03-22-2021, 03:46 PM
Hi Tim.
I know how to debounce a physical switch with an Arduino-style code; no idea how to code that for a web app.
From a logical point of view, the solution could be: in the case you detect a touch requiring raising the volume more than (or equal) the volume step limit, raise just once the volume by the volume step limit value, and then stay idle for, say, 50 ms, so disregarding any other possible touch detection.
Regards
I know how to debounce a physical switch with an Arduino-style code; no idea how to code that for a web app.
From a logical point of view, the solution could be: in the case you detect a touch requiring raising the volume more than (or equal) the volume step limit, raise just once the volume by the volume step limit value, and then stay idle for, say, 50 ms, so disregarding any other possible touch detection.
Regards