bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1764 in lilypond: \displayLilyMusic causes error with \addFing


From: lilypond
Subject: Re: Issue 1764 in lilypond: \displayLilyMusic causes error with \addFingering from LSR 768
Date: Thu, 14 Jul 2011 18:09:14 +0000

Updates:
        Status: Invalid

Comment #1 on issue 1764 by address@hidden: \displayLilyMusic causes error with \addFingering from LSR 768
http://code.google.com/p/lilypond/issues/detail?id=1764

The LSR snippet is really at fault here; it shouldn't set 'tweaks to #f.

Note that there are many ways to cause \displayLilyMusic to crash if you fiddle with music properties; things like 'articulations and 'tweaks are expected to be (possibly empty) lists.

\displayMusic \addFingering a #"-5"

(make-music
  'EventChord
  'elements
  (list (make-music
          'NoteEvent
          'articulations
          (list (make-music
                  'FingeringEvent
                  'digit
                  5
                  'direction
                  -1
                  'tweaks ;; this is bad
                  #f))
          'elements
          '()
          'duration
          (ly:make-duration 0 0 1 1)
          'pitch
          (ly:make-pitch -1 5 0))))

If there are no tweaks to set, it shouldn't set the property (or if that's too difficult, set it to the empty list).




reply via email to

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