From 8dbbc195676e15c7d8ce6a17de3d370c90b8184e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 30 Jul 2019 21:17:15 +0200 Subject: Update MIDI Event precedence A patch-change that is concurrent with a note-on event should be sent before the given Note-on event. As follow up: CCs also need to be prioritize to send bank-select first. see also https://discourse.ardour.org/t/midi-strangeness-patch-setting-and-first-notes/101415 --- libs/evoral/src/Sequence.cpp | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) (limited to 'libs/evoral') diff --git a/libs/evoral/src/Sequence.cpp b/libs/evoral/src/Sequence.cpp index 99d5d1448c..6db79be6ae 100644 --- a/libs/evoral/src/Sequence.cpp +++ b/libs/evoral/src/Sequence.cpp @@ -238,30 +238,40 @@ Sequence