Jump to content

Adding ambitus per voice: Difference between revisions

From LilyPond wiki
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 21: Line 21:
</lilypond>
</lilypond>


[[Category:Vocal music]]
[[Category:Contexts and engravers]]
[[Category:Pitches]]
[[Category:Pitches]]
[[Category:Staff notation]]
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Staff notation]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Latest revision as of 09:16, 10 December 2025

Ambitus can be added per voice. In this case, the ambitus must be moved manually to prevent collisions.

\version "2.24"

\new Staff <<
  \new Voice \with {
    \consists "Ambitus_engraver"
  } \relative c'' {
    \override Ambitus.X-offset = 2.0
    \voiceOne
    c4 a d e
    f1
  }
  \new Voice \with {
    \consists "Ambitus_engraver"
  } \relative c' {
    \voiceTwo
    es4 f g as
    b1
  }
>>