bug-lilypond
[Top][All Lists]
Advanced

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

tuplet bracket maximum slope


From: Gilberto Agostinho
Subject: tuplet bracket maximum slope
Date: Sat, 9 Jul 2016 14:53:25 -0700 (MST)

Hi all,

LilyPond's tuplet bracket algorithm seems to not have a specific maximum
slope for its brackets, and can produce things like this:

\version "2.19.37"

{    
  \tuplet 5/4 { <f'' c'''>16 d'4 }  
  \tuplet 5/4 { <f'' d'''>16 d'4 }  
  \tuplet 5/4 { <f'' e'''>16 d'4 }
  \tuplet 5/4 { <f'' f'''>16 d'4 }
  \tuplet 5/4 { <f'' g'''>16 d'4 }
  \tuplet 5/4 { <f'' a'''>16 d'4 }
  \tuplet 5/4 { <f'' b'''>16 d'4 }
  \tuplet 5/4 { <f'' c'''''>16 d'4 }
}

<http://lilypond.1069038.n5.nabble.com/file/n192503/22.png> 

If there would be a maximum slope, the results could be something like this:

\version "2.19.37"

{    
  \once \override TupletBracket.positions = #'(6 . 4)
  \tuplet 5/4 { <f'' c'''>16 d'4 }  
  \once \override TupletBracket.positions = #'(6.5 . 4.5)
  \tuplet 5/4 { <f'' d'''>16 d'4 }  
  \once \override TupletBracket.positions = #'(7 . 5)
  \tuplet 5/4 { <f'' e'''>16 d'4 }
  \once \override TupletBracket.positions = #'(7.5 . 5.5)
  \tuplet 5/4 { <f'' f'''>16 d'4 }
  \once \override TupletBracket.positions = #'(8 . 6)
  \tuplet 5/4 { <f'' g'''>16 d'4 }
  \once \override TupletBracket.positions = #'(8.5 . 6.5)
  \tuplet 5/4 { <f'' a'''>16 d'4 }
  \once \override TupletBracket.positions = #'(9 . 7)
  \tuplet 5/4 { <f'' b'''>16 d'4 }
  \once \override TupletBracket.positions = #'(13 . 11)
  \tuplet 5/4 { <f'' c'''''>16 d'4 }
}

<http://lilypond.1069038.n5.nabble.com/file/n192503/21.png> 

Elaine Gould writes in her Behind Bars (pp. 196--197):

"Angle of brackets
Groups without beams
Brackets may slant in the direction of the tuplet's outer pitches
The angle of slant should not be too acute; match an equivalent beam slant
Alternatively, brackets may remain horizontal. For a line of undulating
groups this avoids the visual distraction of many sloping brackets"

So what do you think about adding a maximum slope value to TupletBracket?
Maybe something similar to the slope of beams?

Originally discussed here:
http://lilypond.1069038.n5.nabble.com/tuplet-bracket-slope-td192294.html

Cheers,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/tuplet-bracket-maximum-slope-tp192503.html
Sent from the Bugs mailing list archive at Nabble.com.



reply via email to

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