lilypond-user
[Top][All Lists]
Advanced

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

Re: fraction-with-notes problem as of version 2.21.0


From: Jacques Menu
Subject: Re: fraction-with-notes problem as of version 2.21.0
Date: Wed, 10 Apr 2019 07:31:36 +0200

Hello Harm,

Thanks for your answer. I mistakenly used 2.19.82’s convert-ly… The second version is more explicit, by the way.

Sorry for the noise, and a nice day!

JM

Le 9 avr. 2019 à 20:52, Thomas Morley <address@hidden> a écrit :

Am Di., 9. Apr. 2019 um 07:42 Uhr schrieb Jacques Menu <address@hidden>:

Hello folks,

This snippet taken from LPNR 2.19.82 is handled alright by the latter, but fails with 2.21.0:

%%%%%%%
\version "2.21.0"

\relative c'' {
 \once \override TupletNumber.text = #(tuplet-number::fraction-with-notes "4." "8")
 \tuplet 3/2  { c4. c4. c4. c4. }
}
%%%%%%%

Starting lilypond 2.21.0 [foo.ly]...
Processing `/home/user/libmusicxml-git/files/samples/musicxml/foo.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
fatal error: make-note-markup: Invalid argument in position 1.  Expect: duration, found: "4.".
Exited with return code 1.

Has something changed in that area in 2.21.0?

Yes, with https://sourceforge.net/p/testlilyissues/issues/5156/

Did you try convert-ly from 2.21.0? Make sure your file has the
\version-statement according to LSR, i.e. 2.18.2
You would get:

\relative c'' {
 \once \override TupletNumber.text =
   #(tuplet-number::fraction-with-notes
     (ly:make-duration 2 1)
     (ly:make-duration 3 0))
 \tuplet 3/2  { c4. c4. c4. c4. }
}

But this works as well:

\relative c'' {
 \once \override TupletNumber.text =
   #(tuplet-number::fraction-with-notes #{ 4. #} #{ 8 #})
 \tuplet 3/2  { c4. c4. c4. c4. }
}

Cheers,
 Harm


reply via email to

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