lilypond-user
[Top][All Lists]
Advanced

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

Re: Help with espressivo adjustments


From: Thomas Morley
Subject: Re: Help with espressivo adjustments
Date: Fri, 12 Apr 2013 21:18:15 +0200

2013/4/12 SoundsFromSound <address@hidden>:
> Hello all,
>
> I'm trying to adjust the length (not /size/, per se) of the espressivo
> markings in this particular score and I can't figure out what I'm doing
> wrong.

Hi Ben,

try:

\version "2.17.15"
\language "english"

#(define ((longer-script x) grob)
  (let* ((stil (ly:script-interface::print grob)))
  (ly:stencil-scale stil x 1)))

scaleEspr =
#(define-event-function (parser location x-val)(number?)
#{
        \tweak #'stencil #(longer-script x-val)
        \espressivo
#})

\relative c'' {
  c4 e f\scaleEspr #2 g |
  f e g f |
}

HTH,
  Harm



reply via email to

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