[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.21 note definition change
From: |
Paul Scott |
Subject: |
Re: 2.21 note definition change |
Date: |
Tue, 23 Jun 2020 15:43:32 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 |
On 6/23/20 2:23 PM, David Kastrup wrote:
Paul Scott <waterhorse@ultrasw.com> writes:
The 1st argument for note is now a duration rather than a string.
I had some scheme definitions which were variations on \tempo.
I used (string?) for this value before. What is the new scheme
equivalent? (duration?)
ly:duration?
Thank you, David.
I believe I had tried that.
Here's my MWE which hopefully will show someone what dumb mistake I'm
making:
\version "2.21.2"
#(define-markup-command (notetest layout props dur) (ly:duration?)
interpret-markup layout props
(markup
#:note dur #up
))
{
\tempo \markup{ Allegro \notetest #4 }
c'1
}
Thank you,
Paul