the title say it all:
i want to use [key] and [keyup] in a combo to use like a midi key: one bang on noteon, one bang on noteoff. but when i hold down a key on my computerkeyboard [key] sends many bangs while the key is pressed.
does someone know how to avoid that behaviour?
-
How to avoid iterative bangs with \[key\]
-
You can use [change] to filter out repetitive numbers.
-
after receiving the value from [key], close your message flow with a [0 ( message to a [spigot], then after receiving a [keyup] message for that key, send a [1 ( to the spigot to re-open the connection.
if you want to be able to use several keys at once, you might need to make individual parts for each key.
-
thank you guys!
-
on gnu/linux in a terminal do xset -r to turn off keyrepeat.
xset r to turn it on again. -
Hey.
is there anyway I could do something like this for OSC. I have a monome which works with OSC. however i cannot get some of the OSC symbols to work, [dumpOSC] the main culprit.
all I want to do is have one button for one bang, an another button for a slider and another button for another bang.
example;
[button1] [button2] [button3] these buttons are the controlled by the OSC
| | | hardware
| | |
[bang\ [ H slider 0-10] [bang\ these in turn control soundworking with midi is not really an option. I just need a bit of help with some code, or a external
library for OSC.x that works.help, this is beginning to get really frustrating.
thanks
C -
hey craigam2005, what in fact is you problem with the osc objects?
i never use osc objects and i have no hardware or another computer for testing purposes, so i can only connect the osc objects via a localhost connection, but this works pretty fine to me.
what is your problem with dumpOSC, do you get error messages or what?
check out my attached patch, maybe it helps you further somehow?