[PD] Key-repeat makes keyboard-pianokeys impossible?

Mathieu Bouchard matju at artengine.ca
Tue Jul 18 01:24:16 CEST 2006


On Mon, 17 Jul 2006, Frank Barknecht wrote:

> Now what Garageband probably does is disable this key-repeat if
> Garageband has the focus, and enables it again, if the focus is lost
> or if an entry field gets the focus.

What it can also do, if the X11 server provides reliable timestamps (it 
normally does), is to keep a list of "on" keys and only consider "on" 
events that were not immediately preceded by an "off" event with the same 
timestamp.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada


More information about the Pd-list mailing list