Jump to content

Adding ambitus per voice: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Ambitus can be added per voice. In this case, the ambitus must be moved manually to prevent collisions.
Ambitus can be added per voice. In this case, the ambitus must be moved manually to prevent collisions.


<lilypond version="2.24.0">
<lilypond version="2.24">
\new Staff <<
\new Staff <<
   \new Voice \with {
   \new Voice \with {
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
  }
>>