florian
2016-02-02 11:28:50
A user asks if this is possible: basically: X+Y=Z.
florian
2016-02-02 11:28:50
florian
2016-02-02 11:45:30
Code: Select all
[x] Translator 0.0: Down X
Options: swallow
Incoming: Note On X
Note On on channel 1 with note:60 (0x3C) set 'pp' to velocity
Rules:
// remember that this key is down
g0=1
// if key "Y" is not down, ignore this message
if g1==0 then exit rules, skip Outgoing Action
// otherwise execute outgoing action
Outgoing: Note On Z
Note On on channel 1 with note:64 (0x40) and velocity:pp
[x] Translator 0.1: Up X
Options: swallow
Incoming: Note Off X
Note Off on channel 1 with note:60 (0x3C) set 'pp' to velocity
Rules:
// remember that this key is up
g0=0
// if key "Y" is not down, ignore this note off
if g1==0 then exit rules, skip Outgoing Action
// otherwise execute outgoing action
Outgoing: Note Off on channel 1 with note:64 (0x40) and velocity:pp
[x] Translator 0.2: Down Y
Options: swallow
Incoming: Note On Y
Note On on channel 1 with note:62 (0x3E) set 'pp' to velocity
Rules:
// remember that this key is down
g1=1
// if key "X" is not down, ignore this message
if g0==0 then exit rules, skip Outgoing Action
// otherwise execute outgoing action
Outgoing: Note On Z
Note On on channel 1 with note:64 (0x40) and velocity:pp
[x] Translator 0.3: Up Y
Options: swallow
Incoming: Note Off Y
Note Off on channel 1 with note:62 (0x3E) set 'pp' to velocity
Rules:
// remember that this key is up
g1=0
// if key "X" is not down, ignore this note off
if g0==0 then exit rules, skip Outgoing Action
// otherwise execute outgoing action
Outgoing: Note Off Z
Note Off on channel 1 with note:64 (0x40) and velocity:pp
4225jon
2016-02-02 22:04:34