From 5c3e5f9afb4ab2f9938491a55915ca7a0767af80 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 28 Jun 2021 08:30:22 -0600 Subject: [PATCH] fix handling of SMF files with consecutive noteOn events We no longer store nascent notes when noteOn is received, but wait till noteOff arrives. We also ignore all other noteOn events between the earliest received and the noteOff. Potentially we may want to use the _overlap_pitch_resolution member at some point to offer control of this behavior. --- libs/evoral/Sequence.cc | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/libs/evoral/Sequence.cc b/libs/evoral/Sequence.cc index 2ba0b0bb24..bbc7d5684a 100644 --- a/libs/evoral/Sequence.cc +++ b/libs/evoral/Sequence.cc @@ -1004,10 +1004,7 @@ Sequence