[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Denemo-devel] Lyrics
From: |
Nils Gey |
Subject: |
[Denemo-devel] Lyrics |
Date: |
Thu, 10 Mar 2011 14:32:50 +0100 |
1) If you join two staffs, upper without lyrics, lower with lyrics, to one
staff with 2 voices the lyrics disappear.
Before the joining the lower staff looks like this.
MvmntIVoiceII = {
f'4 e' d' c' \EndMovementBarline
}
MvmntIVoiceIILyricsVerseI = \lyricmode {
Lo -- rem Ip -- sum
}
MvmntIStaffII = \new Staff << {
\MvmntIVoiceIIContext
}
\lyricsto VoiceIIMvmntI \new Lyrics \MvmntIVoiceIILyricsVerseI
>>
score {
<< <<
\MvmntIStaffI
\MvmntIStaffII
>>
>>
[...]
After joining the lyrics are still defined but not used anywhere. Instead the
staff now looks like this.
MvmntIStaffI = \new Staff << {
\MvmntIVoiceIContext
}
\new Voice {
\MvmntIVoiceII
}
>>
Solution: The staff which becomes the voice must keep the lyrics. There is a
simper Lilypondsyntax available to add lyrics. The defining stays the same but
insertion is done like this. The lyrics can be added right after the other
items:
MvmntIStaffI = \new Staff << {
\MvmntIVoiceIContext
}
\new Voice {
\MvmntIVoiceII
\addlyrics {\MvmntIVoiceIILyricsVerseI}
}
>>
2) I figured out how to manipulate the font, e.g. size, of the lyrics. Right
now its possible to add a lilypond instruction like:
\override LyricText #'font-size = #-0.5
directly to Denemos lyrics pane. Obviously this conflicts with Denemos own
lyrics-alignment.
We need a lyrics directive which can insert text like this before and after the
actual lyrics. Or is there another possible entry-point for directives other
than the lyrics themselve?
3) Creating, accessing and modifying lyrics from Scheme would be a nice
addition to Denemo. Spelling correction, creating tests and bug-report scripts,
and even fun things like generating lyrics would become possible.
Nils
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Denemo-devel] Lyrics,
Nils Gey <=