lilypond-user
[Top][All Lists]
Advanced

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

Re: placing crescendo and decrescendo markings within span of a whole no


From: David Kastrup
Subject: Re: placing crescendo and decrescendo markings within span of a whole note
Date: Thu, 07 Jan 2016 00:26:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Simon Albrecht <address@hidden> writes:

> Oh, interesting idea! Never heard of. It seems like a fine and
> sensible thing to do, except that normally I would have created the
> voices explicitly in my score block, and I am using \context only when
> referencing already existing contexts – isn’t that kind of a policy?

Sort of, yes.

> But I see, you probably mean putting it inside the music function:

Correct.  It was not intended for user-controlled input.

> after =
> #(define-music-function (t e m) (ly:duration? ly:music? ly:music?)
>    #{
>      \context Bottom <<
>        #m
>        { \skip $t <> -\tweak extra-spacing-width #empty-interval $e }
>      >>
>    #})
>
> There’s nothing wrong with that, and it prevents any problems indeed.

Good to hear.

-- 
David Kastrup



reply via email to

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