lilypond-user
[Top][All Lists]
Advanced

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

Re: Making espressivo longer


From: Ben
Subject: Re: Making espressivo longer
Date: Tue, 22 Jan 2019 19:51:56 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 1/22/2019 7:45 AM, Andrew Bernard wrote:
What is the current best practice for scaling espressivo indicators, making them longer?

There's a scale function in the archives from Harm, but I wonder if there is a mechanism built in to 2.19.82 and so on?

Andrew

Hi Andrew,

I had asked that question a while back on the mailing list in 2013, and I've still been using this - it's worked fine so far - fwiw.

Not sure if another approach exists but so far so good here :)

http://lilypond.1069038.n5.nabble.com/Help-with-espressivo-adjustments-td144373.html

%%%%%%%%%%%%%%

\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 #1.1 g |
  f_\scaleEspr #2 f_\scaleEspr #2
  f_\scaleEspr #2
  f_\scaleEspr #2
  f\scaleEspr #2 f\scaleEspr #2 e\espressivo e\espressivo e\espressivo
}



reply via email to

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