lilypond-user
[Top][All Lists]
Advanced

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

Re: Scaling of non-text dynamic signs


From: Vicente Solsona
Subject: Re: Scaling of non-text dynamic signs
Date: Sun, 03 Oct 2010 18:22:51 +0200
User-agent: Opera Mail/10.61 (Linux)

On Sun, 03 Oct 2010 15:30:34 +0200, Marten Visser <address@hidden> wrote:
Hello,
[...]
In the following example, everything has been properly scaled down, except for the crescendo. Thanks for looking!

==============================

%{
Example:
  graphical dynamics do not scale
%}

\version "2.13.32"

% ------------------- Notes ----------------------

musicalContent = #(define-music-function (parser location) ()
#{
        e4 c' c8 c a4 |
        s4\p s s\< s\f |
#}) % End of musicalContent


% ---------------- Typesetting -------------------

\parallelMusic #'(MusicalData DynamicalData)
        \musicalContent

\score { <<
        \new Staff
        \with {
                instrumentName = "small"
                fontSize = #-3
                \override StaffSymbol #'staff-space = #(magstep -3)
                }
                {
                \relative c' \MusicalData
                }
        \new Dynamics
        \with {
                fontSize = #-3
                \override StaffSymbol #'staff-space = #(magstep -3)
                \override DynamicText #'font-size = #-3
                \override DynamicLineSpanner #'font-size = #-3
                }
                {
                \DynamicalData
        }
        \new Staff
        \with {
                instrumentName = "normal"
                }
                {
                \relative c' \MusicalData
                }
        \new Dynamics
                {
                \DynamicalData
                }
        >>
}


your example works fine in 2.12.3 by defining the Dynamics context as in the template Learning Manual "A.2.4 Piano centered dynamics"

http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Piano-templates#Piano-templates

In 2.13, it is internally pre-defined, but I guess the definition is quite similar. perhaps a regression?

greetings,

Vicente




reply via email to

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