-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GridLY: Warning about missing Voice for lyrics #63
Comments
LilyPond issues that warning because the bass part for segments 3 and 4 has no notes, so LilyPond can't find notes to attach the lyrics to (even if there are no lyrics). As soon as a note is entered in one of those cells the warning disappears. So I think that this warning is quite appropriate. Since the output is OK and the warning is useful, I don't think we should suppress it. |
If for you is OK, @uliska , I'm going to close this as a |
Would it be possible to suppress the warning when no lyrics are present either? |
OK, I'll have a look at this. Maybe |
Am 23.03.2015 um 09:37 schrieb Matteo Ceccarello:
Maybe, but I'm not sure if that solves the problem. AFAICS it should |
The fact is that gridGetMusic does not produce directly a Voice, it just returns the music. So maybe this is something that should be addressed in the template file. |
Hm, you're right. vocalStaff =
#(define-music-function (parser location name props)
(string? ly:music?)
#{
\new Staff = #name <<
\new Voice = #name {
#props
\gridGetMusic #name
}
\new Lyrics \lyricsto #name {
\gridGetLyrics #name
}
>>
#}) so an explicit voice is created, but still when there's no content the warnings appear. |
When compiling the example file and specifying 3 or 4 (or
#'(3 . 4)
GridLY (or rather LilyPond) will complain about not finding a Voice for the Lyrics. Output is OK, however.Is it possible to somehow detect and suppress this condition?
The text was updated successfully, but these errors were encountered: