lilypond-user
[Top][All Lists]
Advanced

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

Re: Help with espressivo adjustments


From: SoundsFromSound
Subject: Re: Help with espressivo adjustments
Date: Fri, 12 Apr 2013 12:38:14 -0700 (PDT)

Thomas:

That works beautifully!  

When you get a free moment, could you please break down that code for me
piece by piece so I can understand how I may be able to edit it in the
future, if need be (for further adjustments / size changes)?

Thank you again,

Ben



Thomas Morley wrote
> 2013/4/12 SoundsFromSound <

> soundsfromsound@

> >:
>> 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
> 
> _______________________________________________
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user





-----
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Help-with-espressivo-adjustments-tp144373p144376.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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