lilypond-user
[Top][All Lists]
Advanced

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

Re: strip dynamics for Piano music


From: David Kastrup
Subject: Re: strip dynamics for Piano music
Date: Fri, 06 Dec 2013 14:48:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Noeck <address@hidden> 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

reply via email to

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