mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Handle swing 8th/16ths
This commit is contained in:
parent
1ae5e20426
commit
ec27e877b0
|
@ -367,6 +367,12 @@ void VLMeasure::DecomposeNotes(const VLProperties & prop, VLNoteList & decompose
|
||||||
//
|
//
|
||||||
if (!prevTriplets)
|
if (!prevTriplets)
|
||||||
p.fVisual &= ~VLNote::kTupletMask;
|
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) &&
|
} else if ((p.fDuration > kMinDuration) &&
|
||||||
((at % p.fDuration != VLFraction(0))
|
((at % p.fDuration != VLFraction(0))
|
||||||
|| (p.fDuration != c.fDuration
|
|| (p.fDuration != c.fDuration
|
||||||
|
|
Loading…
Reference in New Issue
Block a user