lilypond-user
[Top][All Lists]
Advanced

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

Re: chord


From: David Kastrup
Subject: Re: chord
Date: Thu, 18 Jan 2024 18:23:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Leo Correia de Verdier <leo.correia.de.verdier@gmail.com> writes:

> <\tweak duration-log 3 e, b, g e’>2

How about

apparent =
#(define-music-function (note) (ly:music?)
  (let ((duration (ly:music-property note 'duration)))
    (tweak '(Dots dot-count) (ly:duration-dot-count duration)
    (tweak '(duration-log) (ly:duration-log duration) note))))

{ <\apparent e,4 b, f e'>2 }

Of course it doesn't work to change the dotcount when the chord as such
has no dots scheduled.  I am also not convinced that this interface is
the best approach.

-- 
David Kastrup



reply via email to

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