But there must be some solution, because other software applictations make use of this feature successfully (i.e., Ableton Live, Reaktor, et al). What is it in their supersecret proprietary $$$ code that allows this to happen?
~Kyle
On 10/11/06, padawan12 padawan12@obiwannabe.co.uk wrote:
Interesting non-solution* :)
If it's any consolation I also failed twice, in two very different ways to solve this from inside Pd.
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.**
- interesting and creative use of the table!
** 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.
On Tue, 10 Oct 2006 15:54:19 +0200 Steffen Leve Poulsen slagmark@worldonline.dk wrote:
hi,......... a little delayed solution to the keyrepeat problem. o-o
noKeyRepeat.pd
#N canvas 0 0 812 395 12; #X obj 86 13 table norepeat 256; #X obj 144 137 tabread norepeat; #X obj 109 110 t f f; #X obj 144 162 == 0; #X obj 109 190 pack; #X obj 109 241 route 1; #X msg 109 215 $2 $1; #X msg 109 267 $1 ; norepeat $1 1 ;; #X obj 109 315 pack f 1; #X obj 304 316 pack f 0; #X obj 262 351 print; #X msg 304 267 $1 ; norepeat $1 0 ;; #X obj 109 51 key; #X obj 304 210 keyup; #X obj 304 236 select 0; #X obj 109 76 select 0 8 27; #X text 225 78 <--some keys send 0 , Esc and backspace don't send keyup (8; #X text 703 78 27).; #X msg 269 51 ON win23:; #X connect 1 0 3 0; #X connect 2 0 4 0; #X connect 2 1 1 0; #X connect 3 0 4 1; #X connect 4 0 6 0; #X connect 5 0 7 0; #X connect 6 0 5 0; #X connect 7 0 8 0; #X connect 8 0 10 0; #X connect 9 0 10 0; #X connect 11 0 9 0; #X connect 12 0 15 0; #X connect 13 0 14 0; #X connect 14 1 11 0;
#X connect 15 3 2 0;
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list