lilypond-user
[Top][All Lists]
Advanced

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

Re: midi dynamics


From: Mats Bengtsson
Subject: Re: midi dynamics
Date: Wed, 17 Sep 2008 23:10:36 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

Kieren MacMillan wrote:

p.s. Mats: is there any way to avoid having the \dynX tweak? Unfortunately, I've never found a way to code the alignment within the dynamic script itself…
One alternative is "Solution 6" in the snippet "Horizontally aligning ..." at http://lilypond.org/doc/v2.11/input/lsr/lilypond-snippets/Expressive-marks#Expressive-marks

  /Mats

%%%%%%%%%%%
\version "2.11.57"

dynX = { \once \override DynamicText #'X-offset = #-1 }
pEspr = #(make-dynamic-script (markup #:hspace 0 #:raise -1 #:line(#:dynamic "pp" #:hspace -0.3 #:normal-text #:italic "espr." )))

theMusic = \relative
{
    c'2 \dynX e4(\pEspr d) c1
}

\score
{
    \theMusic
}
%%%%%%%%%%%


--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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