Note range resizer with computer mouse + keyboard
Does not work exactly as intended

DESCRIPTION
When the:
(XY) , button is pressed with computer mouse left click.
It should first send out a short impulse to enable using midi keyboard to first set the key for the lowest pitch and then using the midi keyboard to set the key for the highest pitch.
And then after a few milliseconds, when the pitch for both the lowest key and the highest key has already been set.
Reset the:
(XY) , button.
As if it was released by an event other than a:
(computer mouse) one.
And one more thing:
If the:
(XY) , button has already been pressed by the computer mouse left click.
Any successive later (computer mouse) left clicks, should not trigger the (Accumulator) switch (Modulo) ,
0, 1, 0, 1, 0, 1, loop.
Unless the reset event occurs that should always happen a few milliseconds after the low key and high key,
has already been set very recently.
Only then the:
(XY) , button is pressed with computer mouse left click.
Should work.
And not otherwise.
COMMENTS (2)