From 7995e47aa889e813bd15831fc42dfac9bf0a289f Mon Sep 17 00:00:00 2001 From: Stefano Date: Tue, 30 Oct 2018 15:51:51 +0100 Subject: [PATCH] call MidiMerge() between input scanning too Let's see if calling MidiMerge() 2 more times will bring back latency to an acceptable value --- D9-drawbars-controller.ino | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/D9-drawbars-controller.ino b/D9-drawbars-controller.ino index 54825e7..96df857 100644 --- a/D9-drawbars-controller.ino +++ b/D9-drawbars-controller.ino @@ -301,10 +301,16 @@ void loop() { // Scan Drawbars getAnalogData(); - + + /* MIDI merge and thru */ + MidiMerge(); + // Scan Buttons getDigitalData(); - + + /* MIDI merge and thru */ + MidiMerge(); + // Set Leds setLeds(); @@ -761,4 +767,3 @@ void MidiMerge(){ */ } -