Hallo, padawan12 hat gesagt: // padawan12 wrote:
You can try setting your key repeat to the lowest rate possible and the longest delay before it starts, on linux/unix
kbdrate -r 2 -d 1000
Hm, I don't have the kbdrate command on my machine, but alternatively you may use "xset" to set keyboard specifics. "xset -r" will switch off autorepeat altogether, "xset r" will switch it back on.
Attached is another way to get at keyboard data in Pd that is suited to be used to built a midi-keyboard from a standard PC keyboard. It involves an abstraction "keytrans.pd" which should be used with two argument as [keytrans <keyname> <midi note>] and will output a list of "<frequency> <keypress state as 0 or 1>" if the respective key passed as <keyname> is pressed or released. It's a good example for when an abstraction can save a lot of typing and connecting work.
Frank Barknecht _ ______footils.org_ __goto10.org__