Fix bug in lily representation of tied triplets

This commit is contained in:
Matthias Neeracher 2007-05-04 05:26:53 +00:00
parent 39f81a1a24
commit cbf758784c

View File

@ -1349,6 +1349,11 @@ void VLSong::LilypondNotes(std::string & notes) const
notes.erase(trip, 15);
while ((trip = notes.find("} ~ \\times 2/3 { ")) != std::string::npos)
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)
notes += "\n"