lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spacer rests, dynamics and lyrics don't mix


From: Trevor Daniels
Subject: Re: Spacer rests, dynamics and lyrics don't mix
Date: Fri, 5 Dec 2008 09:35:12 -0000

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" <address@hidden>
To: <address@hidden>
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
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user






reply via email to

[Prev in Thread] Current Thread [Next in Thread]