bug-lilypond
[Top][All Lists]
Advanced

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

Issue 1701 in lilypond: default accidental style prints too many 'extra'


From: lilypond
Subject: Issue 1701 in lilypond: default accidental style prints too many 'extra' naturals
Date: Sun, 19 Jun 2011 01:37:06 +0000

Status: Started
Owner: ----
Labels: Type-Defect Priority-Medium Patch-review

New issue 1701 by address@hidden: default accidental style prints too many 'extra' naturals
http://code.google.com/p/lilypond/issues/detail?id=1701

\relative c'' {\key a\major ges gis geses ges}

In 19th century (common-practice period) style the final ges gets a natural to cancel the preceding double-flat. But Lilypond places extra naturals before the other notes with no justification.

Some discussion at
<http://lists.gnu.org/archive/html/lilypond-user/2011-06/msg00168.html>

Has anyone seen well-engraved music with these extra extra naturals?
If not, around 1 July I will push the trivial patch :

./scm/music-functions.scm
@@ -1095,5 +1095,5 @@
                (if (and (not (= this-alt 0))
-                        (or (< (abs this-alt) (abs prev-alt))
-                            (< (* prev-alt this-alt) 0)))
+                        (and (< (abs this-alt) (abs prev-alt))
+                            (> (* prev-alt this-alt) 0)))
                    (set! need-restore #t))))))

Attachments:
        excessive.png  1.9 KB




reply via email to

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