Risto
You have put the notes and dynamics in different Voice contexts, hence the
slight displacements. To work correctly they must be in the same Voice.
Try this:
%%% Start %%%
\version "2.11.65"
melody = \relative c'
{
\time 3/4
f8._\> f16\! f8 f8_\< f f\!
f8. f16 f8 f8 f f
f8. f16 f8 f8 f f
f4_\f f f
}
dynamics =
{
\time 3/4
s2.
s8._\> s16\! s8 s_\< s8 s\!
s8._\> s16\! s8 s_\< s8 s\!
s4 s_\f s
}
words = \lyricmode
{
Tral -- la -- la tral -- la -- lah!
Tral -- la -- la tral -- la -- lah!
}
<<
\new Voice = "mel"
<<
\melody
\dynamics
>>
\new Lyrics \lyricsto "mel" \words
Trevor
----- Original Message -----
From: "Risto Vääräniemi" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, December 05, 2008 8:49 AM
Subject: Spacer rests, dynamics and lyrics don't mix
Dear All,
I just noticed that if I use spacer rests to position dynamics
everything works well until I add some lyrics to the soup. With lyrics
the dynamics attached to the spacer rests adjust themselves with the
lyrics instead of the notes.
In the attached image in the first bar the dynamics are attached to
the notes - in the next two ones to the spacer rests. The middle bar
has the problematic cocktail and the dynamics get screwed. Something
strange also happens without lyrics. In the last bar I've attached the
first 'f' to the note and the second one to a spacer rest. The second
one is aligned differently (a bit more to the left).
Can you tell me if these are bugs or a features?
-Risto
%%% Start %%%
\version "2.11.65"
melody = \relative c' \context Voice = "mel"
{
\time 3/4
f8._\> f16\! f8 f8_\< f f\!
f8. f16 f8 f8 f f
f8. f16 f8 f8 f f
f4_\f f f
}
dynamics =
{
\time 3/4
s2.
s8._\> s16\! s8 s_\< s8 s\!
s8._\> s16\! s8 s_\< s8 s\!
s4 s_\f s
}
words = \lyricmode
{
Tral -- la -- la tral -- la -- lah!
Tral -- la -- la tral -- la -- lah!
}
<<
\new Staff
<<
\melody
\dynamics
>>
\new Lyrics \lyricsto "mel" \words
%%% END %%%
--------------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user