[Top][All Lists]

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

Re: Removing dynamics from PartCombined staff

From: Aaron Hill
Subject: Re: Removing dynamics from PartCombined staff
Date: Fri, 17 Sep 2021 09:06:46 -0700
User-agent: Roundcube Webmail/1.4.9

On 2021-09-17 8:44 am, Peter Toye wrote:
I'm using PartCombine for the first time to produce a piano reduction,
and have found a slight problem. Because the dynamics are a bit
complex I want to remove them from the piano part, but adding \remove
"Dynamic_engraver" to each piano staff has no effect. What am I doing
wrong please?

Not sure what's up with the engraver, but you could filter out events:

noDynamics =
#(define-music-function (music) (ly:music?)
  (define ((is-not type) music)
   (not (music-is-of-type? music type)))
  (music-filter (is-not 'dynamic-event) music))

asdf = { b'4\p b'4\mp b'4\ff b'4\sfz }

{ \asdf \noDynamics \asdf }

-- Aaron Hill

reply via email to

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