Jump to content

Ambitus: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 3: Line 3:
Accidentals only show up if they are not part of the key signature. <code>AmbitusNoteHead</code> grobs also have ledger lines.
Accidentals only show up if they are not part of the key signature. <code>AmbitusNoteHead</code> grobs also have ledger lines.


<lilypond version="2.24.0">
<lilypond version="2.24">
\layout {
\layout {
   \context {
   \context {
Line 28: Line 28:
</lilypond>
</lilypond>


[[Category:Vocal music]]
[[Category:Pitches]]
[[Category:Pitches]]
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Latest revision as of 04:42, 13 December 2025

Ambitus indicate pitch ranges for voices.

Accidentals only show up if they are not part of the key signature. AmbitusNoteHead grobs also have ledger lines.

\version "2.24"

\layout {
  \context {
    \Voice
    \consists "Ambitus_engraver"
  }
}

<<
  \new Staff {
    \relative c' {
      \time 2/4
      c4 f'
    }
  }
  \new Staff {
    \relative c' {
      \time  2/4
      \key d \major
      cis4 as'
    }
  }
>>