Don't count tied notes as syllables

This commit is contained in:
Matthias Neeracher 2007-04-25 13:14:25 +00:00
parent d03921abc2
commit c964bb0b00
2 changed files with 5 additions and 1 deletions

View File

@ -1471,7 +1471,9 @@ void VLSong::SetWord(size_t stanza, size_t measure, VLFraction at, std::string w
VLFraction now(0); VLFraction now(0);
while (note != meas.fMelody.end()) { while (note != meas.fMelody.end()) {
if (now >= at && note->fPitch != VLNote::kNoPitch) { if (now >= at && note->fPitch != VLNote::kNoPitch
&& !(note->fTied & VLNote::kTiedWithPrev)
) {
if (cleanup) { if (cleanup) {
// //
// Make sure that following syllable doesn't have // Make sure that following syllable doesn't have

View File

@ -570,10 +570,12 @@
2A37F4A9FDCFA73011CA2CEA /* Project object */ = { 2A37F4A9FDCFA73011CA2CEA /* Project object */ = {
isa = PBXProject; isa = PBXProject;
buildConfigurationList = 95D7BF740AA699C600D5E02C /* Build configuration list for PBXProject "Vocalese" */; buildConfigurationList = 95D7BF740AA699C600D5E02C /* Build configuration list for PBXProject "Vocalese" */;
compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1; hasScannedForEncodings = 1;
mainGroup = 2A37F4AAFDCFA73011CA2CEA /* Vocalese */; mainGroup = 2A37F4AAFDCFA73011CA2CEA /* Vocalese */;
projectDirPath = ""; projectDirPath = "";
projectRoot = ""; projectRoot = "";
shouldCheckCompatibility = 1;
targets = ( targets = (
8D15AC270486D014006FF6A4 /* Vocalese */, 8D15AC270486D014006FF6A4 /* Vocalese */,
955E595B0957C0FC0045FDA5 /* TVLChord */, 955E595B0957C0FC0045FDA5 /* TVLChord */,