mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Still need to skip tied notes
This commit is contained in:
parent
b8206f9f13
commit
d16a8be705
|
@ -1388,11 +1388,12 @@ void VLSong::SetWord(size_t stanza, size_t measure, VLFraction at, std::string w
|
|||
VLFraction now(0);
|
||||
|
||||
while (note != meas.fMelody.end()) {
|
||||
if (note->fPitch != VLNote::kNoPitch
|
||||
&& !(note->fTied & VLNote::kTiedWithPrev)
|
||||
)
|
||||
switch (state) {
|
||||
case kFindFirst:
|
||||
if (now < at || note->fPitch == VLNote::kNoPitch
|
||||
|| (note->fTied & VLNote::kTiedWithPrev)
|
||||
)
|
||||
if (now < at)
|
||||
break; // Not yet there, skip this note
|
||||
state = kOverwrite;
|
||||
// Fall through
|
||||
|
|
Loading…
Reference in New Issue
Block a user