Hallo, padawan12 hat gesagt: // padawan12 wrote:
There is no general solution to the problem, apart from stopping the key repeat. There is no way to distinguish between typomatic key-up events and the genuine thing.**
** actually it can be done with an awkward system of timers and spigots in the style of a monostable switch debouncer, but afaics it would cause all keys to hold for a minimum period of one typomatic cycle thus spoiling the user input timimg. Furthermore you would need one such circuit for each key number.
You could differentiate between automatic and manual keyups by measuring the time between keyups: Automatic keyups happen instantly.
However most systems have a delay before autorepeat sets in, which would have to be taken into account as well. All this IMO is too much work to do in Pd when you can just switch off autorepeat temporarily for the time of a performance.
Frank Barknecht _ ______footils.org_ __goto10.org__