On 6/23/20 2:23 PM, David Kastrup wrote:
Paul Scott <[email protected]> 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