[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hairpin position
From: |
Andrew Bernard |
Subject: |
Re: Hairpin position |
Date: |
Sat, 11 Jan 2020 23:18:17 +1100 |
Hi Paolo,
You have not told us what you are trying to achieve in clear terms.
But if you want to move dynamics, the following function I use works
fine, and the hairpin naturally adapts.
But show us a diagram of what you need.
Andrew
%====
\version "2.21.0"
% dynamics offset
doff =
#(define-music-function (offsetX offsetY)
(number? number?)
#{
\once \override DynamicText.X-offset = $offsetX
\once \override DynamicLineSpanner.Y-offset = $offsetY
#})
{
\doff 2 0
a'\p\< a' a'
\doff 3 0
a'\ff
}
%====