Noeck <noeck.marb...@gmx.de> writes:

> Hi,
>
> is it possible somehow, to split contents of a music expression into
> two? I am asking for a piano staff which I would enter as follows:
> upper = { a4\f g f e\p }
> lower = { a,1 }
>
> Then use it with a Dynamics context between the staffs and put the
> dynamics there and the rest in the upper staff (with the
> self-explaining, non-existant functions \removeDynamics and \dynamicsOnly):
>   \new PianoStaff <<
>     \new Staff \removeDynamics \upper
>     \new Dynamics \dynamicsOnly \upper
>     \new Staff \lower
>   >>
>
> Is that possible? Would it be a good idea? Or should I approach this
> differently?

How about:

\version "2.17.29"
upper = { a4\f g f e\p }
lower = { a,1 }

\new PianoStaff <<
  \new Staff
  \new Voice \with { \remove "Dynamic_engraver" } \upper
  \new Dynamics \upper
  \new Staff \lower
>>

-- 
David Kastrup
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to