lilypond-user
[Top][All Lists]
Advanced

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

Re: Elongating Measures


From: William Rehwinkel
Subject: Re: Elongating Measures
Date: Sat, 7 Sep 2024 17:33:11 -0400
User-agent: Mozilla Thunderbird

Dear Greg,

This looks like a good solution, but personally, when I have to tweak things like minimum length in Lilypond, I like to make it apply all the time, which you can do with context like this:

\layout {
    \context {
        \Score
        \override Hairpin.minimum-length = 10
    }
}

-William

On 9/7/24 11:12, Greg Lindstrom wrote:
Kieren (and friends) -

Thank-you. This works great. And since I want to use it in a number of locations I made a couple of functions:

    % Length Crescendo - Specify a minimum length for the crescendo
    lCresc = #(define-music-function(parser location minLen) (integer?)
                 #{
                   -\tweak minimum-length #'numLen -\<
                 #})


    % Length Decrescendo - Specify a minimum length for the decrescendo
    lDcresc = #(define-music-function(parser location minLen) (integer?)
                 #{
                   -\tweak minimum-length #'numLen -\>
                 #})


Which cleans things up a bit:

       \time 3/2 af bf(c)\!|
       \time 2/2 df1\f \lDcresc 7 \breathe|
       c2\mf af|


Thanks for the help!

--greg


On Fri, Sep 6, 2024 at 7:55 PM Kieren MacMillan <kieren@kierenmacmillan.info <mailto:kieren@kierenmacmillan.info>> wrote:

    Hi Greg,

     > I would like it to be longer so the decrescendo is a bit more
    prominent.
     > [snip]
     > Is there a way I can specify the length of the measure or
    otherwise make it longer?

    Here’s one option:

    %%%  SNIPPET BEGINS
    \version "2.25.11"

    {
       df2\mf df\<  |
       \time 3/2 df df( f)\!  |
       \time 2/2 f1\f -\tweak minimum-length 12 -\> \breathe  |
       f2\mf c  |
       c ef\<  |
    }
    %%%  SNIPPET ENDS

    Hope that helps!
    Kieren.
    ______________________________________________

    My work day may look different than your work day. Please do not
    feel obligated to read or respond to this email outside of your
    normal working hours.


--
William Rehwinkel (any pronouns)
Juilliard School '26 - Oberlin Conservatory '24
william@williamrehwinkel.net - https://williamrehwinkel.net
PGP Public Key: https://ftp.williamrehwinkel.net/pubkey.txt

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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