lilypond-user
[Top][All Lists]
Advanced

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

Scaling of non-text dynamic signs


From: Marten Visser
Subject: Scaling of non-text dynamic signs
Date: Sun, 03 Oct 2010 15:30:34 +0200

Hello,

I've typeset a score for two instruments, and now I'd like to make a dedixated score for each instrument, that has the score for the other instrument scaled down.

This works, but I can't figure out the correct \override to scale down the graphical dynamics, like \< and \>.

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
                }
        >>
}




reply via email to

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