bug-lilypond
[Top][All Lists]
Advanced

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

Re: tuplet bracket maximum slope


From: James
Subject: Re: tuplet bracket maximum slope
Date: Mon, 11 Jul 2016 10:53:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

Hello Gilberto,

On 09/07/16 22:53, Gilberto Agostinho wrote:
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
I have created https://sourceforge.net/p/testlilyissues/issues/4928/ for this enhancement request.

James



reply via email to

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