lilypond-user
[Top][All Lists]
Advanced

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

Moving dynamics away from the staff


From: Phil Holmes
Subject: Moving dynamics away from the staff
Date: Fri, 12 Jul 2013 17:01:59 +0100

Is there a way of shifting dynamics away from the staff when you're using a dynamics context?

\new Score {
<<
 \new Staff \relative c'' {
   c4 c c c |
   c c c c |
 }
 \new Dynamics {
   \override DynamicLineSpanner.staff-padding = #20
   s4 s \f s s
   \override DynamicLineSpanner.staff-padding = #0
   s s \f s s
 }

}
\new Score {
 \relative c'' {
 \override DynamicLineSpanner.staff-padding = #20
   c4 c \f c c |
   \override DynamicLineSpanner.staff-padding = #0
   c c \f c c |
 }
}

--
Phil Holmes

Attachment: DynTest.png
Description: PNG image


reply via email to

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