Bad performance of key and keyup objects
Hey whats up.
I´m working on a patcher that interacts with my keyboard entries via the "key" and "keyup" objects. The thing is that when I press 2 or more keys at the same time, they get stuck. For example, I press the "Y" and "U" keys toghether and when I release them "Y" is still pressed for MAX.
Is there any solution to get a better performance?
Could you send along a simple patch to show us what you mean? Also, always good to have your OS, computer model and version of Max...
-Ben
I dont have the file with me right now, but i will be posting it soon.
I´m running MAX 5 (i dont remember wich exact version) on windows XP. My computer is a Dell Studio 1535 Laptop, 3GB RAM (and dont remember the CPU, but will be posting the missing info).
Does it happen with all keys (any combo of 2 or more at once)? I remember having issues with the X and Y keys when Max Toolbox was running, as it uses them for object distribution in your patch. If you have it running, try it with it turned off and see if it makes a difference.
otherwise, the C74 folks will have to take it from there...
are you using one keyup object per key?
ok, this is the patcher:
im gonna look for key and keyup references in max help to see if is there any way to put one object per key as Roman says.
i´ve tryed this:
...and doesnt make any diference.
any ideas?
no one with the same issue?
could it be a problem on my computer only?
im running max 5.0.7 in windos XP
Ok, i'll be upgrading but i don't think it'll solve anything.
Ben, are you running max in a mac?
I run it all. Its like an OS museum over here.
-Ben
It could be that your keyboard has a crappy n-key rollover algorithm. Is there another USB keyboard you could try to see if the behavior is any different?
> "It could be that your keyboard has a crappy n-key rollover algorithm. "
> "Is there another USB keyboard you could try to see if the behavior is any different?"
I second this possibility. I tried few keyboards when i wanted to make polyphony on piezo-mic augmented computer keyboards, a while ago. Not a good idea, thru it can depend about the keyboard. On some keys/keyboards i had 5 voices of polyphony, on some others, it was weird, two special keys where not working together.
> " Its like an OS museum over here. "
Wow, can we visit it ?