lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #1493 Problem


From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #1493 Problem with horizontal beams
Date: Sat, 10 Feb 2018 12:08:13 -0000

issue #1493: Problem with horizontal beams

file: lily/beam-quanting.cc

In spite of infinite damping, due to numeric precision problems
(rounding/adding) the resulting beams arbitrarily still had a
remaining non-zero slope, sometimes even in the "wrong" direction.

In good TeX manner and in line with concaveness (already implemented),
we'll use a threshold value of 10000 for forcing horizontal beams.

http://codereview.appspot.com/337560043


[issues:#1493] Problem with horizontal beams

Status: Started
Created: Wed Jan 26, 2011 12:21 PM UTC by Anonymous
Last Updated: Sat Feb 10, 2018 12:08 PM UTC
Owner: Torsten Hämmerle
Attachments:

Originally created by: *anonymous

Originally created by: address@hidden

James Lowe :
There seems to be an inconsistency with setting horizontal beams.

We have a snippet where we state that

\override Beam #'damping = #+inf.0

Should generate horizontal beams in all cases.

However the simple example attached shows some odd inconsistencies.

   \version "2.13.40"

\relative c''  {
    \override Beam #'damping = #+inf.0
     f16 g a b    a c d g,    a b a c   d e f g, % all beams horizontal
     f16 g a b    a c d g,    a b a c   d e f g, % all beams horizontal
     f16 g a b    a c d g,    a b a c   d e f g, % 2nd and 4th group not Horizontal
     f16 g a b    a c d g,    a b a c   d e f g, % 2nd and 4th group not Horizontal
}

\relative c''  {
    \override Beam #'damping = #+inf.0
     f16 g a b    a c d g,    a b a c   d e f g, \break % 4th group not Horizontal
     f16 g a b    a c d g,    a b a c   d e f g, \break % 2nd and 4th group not Horizontal
     f16 g a b    a c d g,    a b a c   d e f g, \break % 2nd and 4th group not Horizontal
     f16 g a b    a c d g,    a b a c   d e f g, \break % 2nd and 4th group not Horizontal
}

Phil Holmes :

I'd suggest the snippet is worth sorting out, too.  What do you reckon - adding the commands

   \override Beam #'details #'damping-direction-penalty = #0
   \override Beam #'details #'round-to-zero-slope = #0

to the existing snippet, or a new one pointed to by the old one, that says "if  \override Beam #'damping = #+inf.0 doesn't do what you want, add the other commands too, as shown here"?


Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

reply via email to

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