lilypond-user
[Top][All Lists]
Advanced

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

Re: Elongating Measures


From: Greg Lindstrom
Subject: Re: Elongating Measures
Date: Sat, 7 Sep 2024 10:21:08 -0500

There are a couple typos in my last post. It should be minLen, of course.

On Sat, Sep 7, 2024 at 10:12 AM Greg Lindstrom <gslindstrom@gmail.com> 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> 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.


reply via email to

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