mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
Fix bug in lily representation of tied triplets
This commit is contained in:
parent
39f81a1a24
commit
cbf758784c
|
@ -1349,6 +1349,11 @@ void VLSong::LilypondNotes(std::string & notes) const
|
||||||
notes.erase(trip, 15);
|
notes.erase(trip, 15);
|
||||||
while ((trip = notes.find("} ~ \\times 2/3 { ")) != std::string::npos)
|
while ((trip = notes.find("} ~ \\times 2/3 { ")) != std::string::npos)
|
||||||
notes.replace(trip, 17, "~ ", 2);
|
notes.replace(trip, 17, "~ ", 2);
|
||||||
|
//
|
||||||
|
// Swap ties into correct order
|
||||||
|
//
|
||||||
|
while ((trip = notes.find("} ~")) != std::string::npos)
|
||||||
|
notes.replace(trip, 3, "~ } ", 4);
|
||||||
|
|
||||||
if (fGoToCoda == measure+1)
|
if (fGoToCoda == measure+1)
|
||||||
notes += "\n"
|
notes += "\n"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user