Ambitus with multiple voices: Difference between revisions
Appearance
Import snippet from LSR |
m New category Tags: Mobile edit Mobile web edit |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Adding the <code>Ambitus_engraver</code> to the <code>Staff</code> context creates a single ambitus per staff, even in the case of staves with multiple voices. | Adding the <code>Ambitus_engraver</code> to the <code>Staff</code> context creates a single ambitus per staff, even in the case of staves with multiple voices. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
\new Staff \with { | \new Staff \with { | ||
\consists "Ambitus_engraver" | \consists "Ambitus_engraver" | ||
| Line 22: | Line 22: | ||
[[Category:Vocal music]] | [[Category:Vocal music]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:37, 21 November 2025
Adding the Ambitus_engraver to the Staff context creates a single ambitus per staff, even in the case of staves with multiple voices.
\version "2.24"
\new Staff \with {
\consists "Ambitus_engraver"
}
<<
\new Voice \relative c'' {
\voiceOne
c4 a d e
f1
}
\new Voice \relative c' {
\voiceTwo
es4 f g as
b1
}
>>