ohmbox
2014-03-31 21:32:23
Hey,
a simple question, i like to divide a timer value in a new translator?
So what i wannted to do is to grab the velocity value at a certain value and convert it to (xy) Keystrokes.
To check the total amount, i started at first with this two simple translator...
Translator:Midi Income:
incoming: B0 53 pp
Rules:if pp!=20 then exit rules, skip Outgoing Action
outcome=active timer / timer name = Timer / multiple times * pp
translator:Timer outcome
incoming: Timer:timer
outgoing:Keystrokes "Z"
so far so good everything works fine...
when my knob velocity reaches the value of 20 then 20 letter "Z" appears in my notepad (i used that to check)
but when i like to divide the timer value in the second translator (Timer outcome) it doesn´t work
i tryed many ways like:
example Rules: pp=pp/2
Check->the outcome are 20 Keystrokes instead of 10
maybe i has to label variable of the timer income in a different way?
thanks
a simple question, i like to divide a timer value in a new translator?
So what i wannted to do is to grab the velocity value at a certain value and convert it to (xy) Keystrokes.
To check the total amount, i started at first with this two simple translator...
Translator:Midi Income:
incoming: B0 53 pp
Rules:if pp!=20 then exit rules, skip Outgoing Action
outcome=active timer / timer name = Timer / multiple times * pp
translator:Timer outcome
incoming: Timer:timer
outgoing:Keystrokes "Z"
so far so good everything works fine...
when my knob velocity reaches the value of 20 then 20 letter "Z" appears in my notepad (i used that to check)
but when i like to divide the timer value in the second translator (Timer outcome) it doesn´t work
i tryed many ways like:
example Rules: pp=pp/2
Check->the outcome are 20 Keystrokes instead of 10
maybe i has to label variable of the timer income in a different way?
thanks