lilypond-user
[Top][All Lists]
Advanced

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

Re: dynamics (and hairpins) attached to rests vs dynamics attached to no


From: eluze
Subject: Re: dynamics (and hairpins) attached to rests vs dynamics attached to notes
Date: Thu, 16 Aug 2012 07:03:06 -0700 (PDT)

Tiresia Giuno wrote
> 
> 
> 
> The attached examples are quite simple, in my score with more complex
> music, such behavior leads to quite strange situations.
> 
> Am I right and if so, which would be the easiest solution?
> 
> 

probably the simplest is to use dynamic contexts and withdraw the dynamic
engraver in the normal staff:

musicOne = { a'4 \< ~ a'\pppp ~ a'\> r4 \! }

<<
  \new Staff \musicOne
  \new Dynamics \musicOne
>>

\layout {
  ragged-right = ##f
  \context {
    \Voice
    \remove New_dynamic_engraver
  }
}


this way you can reuse the same voice/staff with the dynamics in it (of
course you can also use a separate voice with spacers for the dynamics…)

hth
Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/dynamics-and-hairpins-attached-to-rests-vs-dynamics-attached-to-notes-tp130716p130718.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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