Custom ambitus ?

Pierre-Luc Gauthier <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <CAPkan7dZ2Hm09HuBbAFWM+4XSAenUFsPBN3r=MDX7Gf5+=wRaQ@mail.gmail.com>
Hi everyone,

Is there a way to inject specific notes in the "Ambitus_engraver" ? I
guess then it would be trivial to gather all the different notes in a
music expression.

Take this timpani example :

\version "2.27.2"

\new Staff \with {
  instrumentName = "Timpani"
  \consists "Ambitus_engraver"
  \clef bass
} {\key d \major cis f g b}

\new Staff \with {
  \omit Clef
  \omit TimeSignature
} {
  \omit Stem
  \clef bass
  <>^"↓Expected ambitus"
  <cis! e! f! b!>4
}

Thanks for pointers on the subject :-)
-- 
Pierre-Luc Gauthier
manualAmbitusInjection.jpg (image/jpeg, 85.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.