lilypond-user
[Top][All Lists]
Advanced

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

Re: dynamics seperatate from the notes entry


From: Karl Hammar
Subject: Re: dynamics seperatate from the notes entry
Date: Tue, 1 Jan 2013 12:35:15 +0100 (CET)

James Bailey:
> On Dec 31, 2012, at 3:22 PM, Karl Hammar <address@hidden> wrote:
> > How do I merge Ds and Ms below so it will behave as if I wrote the
> > dynamics together with the notes?
... [ ly code for Ms and Ds ] ...
> > If I use << \Ms \\ \Ds >> the dynamics will come out to the left
> > (compared to the in the notes version), probably since the dynamics
> > are centered under the notes and a skip doesn't have a width (?).
> > 
> > If I use \new Dynamics the dynamics will come out fine but the markups
> > comes out int the wrong line place (since it doesn't belong to the notes
> > staff any longer) and the dynamics comes too close to the lyrics
> > just below.
...

> I use almost exactly your configuration for vocal music with just a few 
> modifications.
> 1) \new Dynamics
> 2) (as needed) alignAboveContext
> 
> A simple example would be:
> \version "2.16.0"
> global = { \tempo 4=120 }
> vocal = \relative c' { c4 d e f }
> vocalDynamics = { s4\f s8\<  s\! s\> s\! s4\p }
> vocalText = \lyricmode { This is some text }
> \score {
>    <<
>       \new Staff = "vocal" <<
>          \new Voice = "vocal" << \global \vocal >>
>          \new Dynamics \with {alignAboveContext = "vocal" } \vocalDynamics
>       >>
>       \new Lyrics \lyricsto "vocal" \vocalText
>    >>
>    \layout {}
> }

You can simplify the above \score part to:

\score {
   <<
      \new Dynamics \vocalDynamics
      \new Staff = "vocal" \new Voice = "vocal" << \global \vocal >>
      \new Lyrics \lyricsto "vocal" \vocalText
   >>
   \layout {}
}

///

Yes, you can place the dynamics above the staff, but I don't really see the 
point of that. Now your forte collides with the tempo mark. And in choir notes 
it would only solve any potential collisions between dynamics and lyrics for 
one staff only.

And it doesn't solve the << \Ms \Ds >> bug, merely avoids it by using
\new Dynamics.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57





reply via email to

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