To give you some understanding of what is going on:
Lilypond thinks in terms of hierarchical contexts. In these contexts you have so called engravers, which are responsible for creating things in the score. On the top you get a context called Global
, which then usually contains a Score
context, and in there you have contexts for Staves, Voices, Lyrics, ...
Each of these contexts has it’s own engravers, listening to music events and objects happening under this contexts. And these engravers then create things.
Tempo marks are created by the so called Metronome_mark_engraver
. This one reacts to tempo change events and creates a mark.
Now, you can freely remove and add engravers from and to contexts in \layout
or \with
blocks. So one thing to do would for example be to generally move the Metronome_mark_engraver from Score-level to say StaffGroup-level:
\layout {
\context {
\Score
\remove Metronome_mark_engraver
}
\context {
\StaffGroup
\consists Metronome_mark_engraver
}
}
global = {
\tempo "Andante" s1
}
<<
\new StaffGroup <<
\new Staff \with { instrumentName = "Flauti" } { \global }
\new Staff \with { instrumentName = "Oboi" } { \global }
\new Staff \with { instrumentName = "Clarinetti" } { \global }
\new Staff \with { instrumentName = "Fagotti" } { \global }
>>
\new StaffGroup <<
\new Staff \with { instrumentName = "Corni" } { \global }
\new Staff \with { instrumentName = "Trombe" } { \global }
\new Staff \with { instrumentName = "Timpani" } { \global }
>>
>>
It is also possible to have the Metronome mark engraver in multiple contexts (e.g. big for score and small ones for Staff Groups) or even selected contexts (using e.g. \new Staff \with { \consists Metronome_mark_engraver} ...
).
You can even ditch the Metronome mark engraver all together and create a custom engraver that formats everything in a completely different way.