From ec27e877b071c0d36dc347c879594ffe8f9a2c3f Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Tue, 13 Sep 2011 04:15:38 +0200 Subject: [PATCH] Handle swing 8th/16ths --- Sources/VLModel.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Sources/VLModel.cpp b/Sources/VLModel.cpp index a8de82d..1c1e2c3 100644 --- a/Sources/VLModel.cpp +++ b/Sources/VLModel.cpp @@ -367,6 +367,12 @@ void VLMeasure::DecomposeNotes(const VLProperties & prop, VLNoteList & decompose // if (!prevTriplets) p.fVisual &= ~VLNote::kTupletMask; + } else if (swing16 && p.fDuration == sw24 && !((at+sw12) % grid4)) { + // + // Swing 8th *16th* 16th (16th triplet -> 16th) + // + if (!prevTriplets) + p.fVisual &= ~VLNote::kTupletMask; } else if ((p.fDuration > kMinDuration) && ((at % p.fDuration != VLFraction(0)) || (p.fDuration != c.fDuration