Previous: Automatic accidentals, Up: Displaying pitches


1.1.3.6 Ambitus

The term ambitus or ambit denotes a range of pitches for a given voice in a part of music. It may also denote the pitch range that a musical instrument is capable of playing. Ambits are printed on vocal parts so that performers can easily determine if it matches their capabilities.

Ambits are denoted at the beginning of a piece near the initial clef. The range is graphically specified by two note heads that represent the lowest and highest pitches. Accidentals are only printed if they are not part of the key signature.

     
     \layout {
       \context {
         \Voice
         \consists Ambitus_engraver
       }
     }
     
     \relative c'' {
       aes c e2 cis,2
     }

[image of music]

Selected Snippets

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

     
     \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
       }
     >>

[image of music]

If you have multiple voices in a single staff and you want a single ambitus per staff rather than per voice, add the Ambitus_engraver to the Staff context rather than to the Voice context.

     
     \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
         }
     >>
     

[image of music]

See also

Music Glossary: ambitus.

Snippets: Pitches .

Internals Reference: Ambitus, AmbitusLine, AmbitusNoteHead, AmbitusAccidental, Ambitus_engraver, Staff, Voice.

Known issues and warnings

There is no collision handling in the case of multiple per-voice ambitus.


Previous: Automatic accidentals, Up: Displaying pitches

Diese Seite ist für LilyPond-2.11.40 (Entwicklungszweig).

Fehler bitte an http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs melden.

Ihre Vorschläge für die Dokumentation sind willkommen.

Other languages: français, español.