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. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user