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