Jump to content

Adding ambitus per voice: Difference between revisions

From LilyPond wiki
No edit summary
m New category
Tags: Mobile edit Mobile web edit
Line 25: Line 25:
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Staff notation]]
[[Category:Staff notation]]
[[Category:Included in the official documentation]][[Category:Snippet]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Revision as of 23:37, 21 November 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
  }
>>