bug-lilypond
[Top][All Lists]
Advanced

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

Re: Non default tuplet error with 2.21


From: Thomas Morley
Subject: Re: Non default tuplet error with 2.21
Date: Fri, 20 Sep 2019 09:23:30 +0200

Am Fr., 20. Sept. 2019 um 02:19 Uhr schrieb Andrew Bernard
<address@hidden>:
>
> Using 2.21 from git, the non-default tuplet example in the NR throws an
> error.
>
>
> \relative c'' {
>    \once \override TupletNumber.text =
>      #(tuplet-number::non-default-tuplet-denominator-text 7)
>    \tuplet 3/2  { c4. c4. c4. c4. }
>    \once \override TupletNumber.text =
>      #(tuplet-number::non-default-tuplet-fraction-text 12 7)
>    \tuplet 3/2  { c4. c4. c4. c4. }
>    \once \override TupletNumber.text =
>      #(tuplet-number::append-note-wrapper
>        (tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
>    \tuplet 3/2  { c4. c4. c4. c4. }
>    \once \override TupletNumber.text =
>      #(tuplet-number::append-note-wrapper
>        tuplet-number::calc-denominator-text "4")
>    \tuplet 3/2  { c8 c8 c8 c8 c8 c8 }
>    \once \override TupletNumber.text =
>      #(tuplet-number::append-note-wrapper
>        tuplet-number::calc-fraction-text "4")
>    \tuplet 3/2  { c8 c8 c8 c8 c8 c8 }
>    \once \override TupletNumber.text =
>      #(tuplet-number::fraction-with-notes "4." "8")
>    \tuplet 3/2  { c4. c4. c4. c4. }
>    \once \override TupletNumber.text =
>      #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
>    \tuplet 3/2  { c4. c4. c4. c4. }
> }
>
> 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: "8".
> Exited with return code 1.
>
>
> The code compiles fine in 2.19.83.
>
> Has the syntax changed?
>
>
> Andrew

Yep, \note espects a duration in 2.21.0:
\markup \note {4..} #UP
See the example in the markup-command's definition or the 2.21.-docs
(if you build them)
2.21.-convert-ly should cope with it.

Cheers,
  Harm



reply via email to

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