Jump to content

Slur with two turning points: Difference between revisions

From LilyPond wiki
m New category
Tags: Mobile edit Mobile web edit
m Update OLL link
 
Line 1: Line 1:
A slur normally can only have one turning point. In special situations, one may need two or more turning points, however. This can be achieved by linking two (or more) slur stencils together. The control points need to be specified manually: for two segments this is a set of seven points, of which the fourth is shared by both segments. To ease working with the function, the control points are shown as light blue crosses if the second argument is ##t.<br />
A slur normally can only have one turning point. In special situations, one may need two or more turning points, however. This can be achieved by linking two (or more) slur stencils together. The control points need to be specified manually: for two segments this is a set of seven points, of which the fourth is shared by both segments. To ease working with the function, the control points are shown as light blue crosses if the second argument is ##t.<br />
For a more refined solution to the problem, see [https://github.com/openlilylib/snippets/tree/compound-slur/notation-snippets/shaping-bezier-curves Shaping Bezier Curves], needing version 2.19.48 or higher.
For a more refined solution to the problem, see [https://github.com/openlilylib/snippets/tree/master/notation-snippets/compound-slurs Shaping Bezier Curves], needing version 2.19.48 or higher.


<lilypond version="2.24">
<lilypond version="2.24">

Latest revision as of 18:14, 13 March 2026

A slur normally can only have one turning point. In special situations, one may need two or more turning points, however. This can be achieved by linking two (or more) slur stencils together. The control points need to be specified manually: for two segments this is a set of seven points, of which the fourth is shared by both segments. To ease working with the function, the control points are shown as light blue crosses if the second argument is ##t.
For a more refined solution to the problem, see Shaping Bezier Curves, needing version 2.19.48 or higher.

LilyPond rendering error

No release of LilyPond 2.24 found.