[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strip dynamics for Piano music
From: |
Kieren MacMillan |
Subject: |
Re: strip dynamics for Piano music |
Date: |
Thu, 2 Jan 2014 07:40:57 -0500 |
Hi Valentin,
> What you’re describing is actually exactly what I do in my own scores:
> http://git.savannah.gnu.org/cgit/opus-libre.git/tree/lib/libdynamics.scm#n22
> The advantage of the code I use is that it takes the dynamics from
> either the upper or the lower staff:
> \new PianoStaff <<
> \new Staff \removeDynamics \upper
> \new Dynamics \filterDynamics << \upper \lower >>
> \new Staff \removeDynamics \lower
> >>
> However, all dynamics that have an explicit direction will be ignored
> (c^\f, c-\f or c_\f), which allows you to keep the ability of
> attaching some dynamics to one of the staves whenever you need to.
This is a wonderful function/extension, which — in my opinion — should be in
the regular distro.
Thanks!
Kieren.