bug-lilypond
[Top][All Lists]
Advanced

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

Re: More than 5 nested tuplets of large value hangs Lilypond permanently


From: Urs Liska
Subject: Re: More than 5 nested tuplets of large value hangs Lilypond permanently
Date: Sun, 13 Nov 2016 15:57:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0


Am 13.11.2016 um 07:28 schrieb mclaren:
> \version "2.18.2"
>
> <<
>
> \new Staff {
>     \clef "treble"
>
> % This is a Nancarrow-style 1% acceleration. It hangs Lily permanently with
> message "Preprocessing graphical objects..."
> % One fewer nested tuplet runs without error. To prove this, comment out
> next line, and uncomment the line after that.
>  \tuplet 100/99{a8 \tuplet 100/99{a8 \tuplet 100/99{a8  \tuplet 100/99{a8
> \tuplet 100/99{a8 \tuplet 100/99{a8}}}}}}  
>
>
> %\tuplet 100/99{a8 \tuplet 100/99{a8 \tuplet 100/99{a8  \tuplet 100/99{a8
> \tuplet 100/99{a8}}}}} 
> }    
>

I have reformatted the example to make it more accessible and readable.
I have the impression this actually hits an internal calculating limitation.

Could please someone check this?
And if that's so:
a) should this be documented (in
http://lilypond.org/doc/v2.19/Documentation/notation/writing-rhythms#tuplets)
b) is there a way to catch this type of issue and abort with an error
instead of hanging?

Urs

\version "2.18.2"

\new Staff {
  \clef "treble"

  % This is a Nancarrow-style 1% acceleration. It hangs Lily permanently
with
  % message "Preprocessing graphical objects..."
  % One fewer nested tuplet runs without error. To prove this, comment out
  %next line, and uncomment the line after that.
  \tuplet 100/99 {
    a8 \tuplet 100/99 {
      a8 \tuplet 100/99 {
        a8 \tuplet 100/99 {
          a8 \tuplet 100/99 {
% Prepend the next line with an additional percent to uncomment the
fifth tuplet
%{
              a8 \tuplet 100/99{
                a8
              }
%}
          }
        }
      }
    }
  }
}


>
>
>
>
> --
> View this message in context: 
> http://lilypond.1069038.n5.nabble.com/More-than-5-nested-tuplets-of-large-value-hangs-Lilypond-permanently-tp196556.html
> Sent from the Bugs mailing list archive at Nabble.com.
>
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-lilypond




reply via email to

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