On 15 May 2011 11:58, Adrian Oehm <spa...@hinet.net.au> wrote:
>
> I'm sure I've read this in the manual somewhere, but cannot re-find it...
>
> I have a piece of music set for SATB with Organ accompaniment.  What
> I would like is to have the tempo (metronome) marks printed above both
> the SATB line (currently set using ChoirStaff) and above the Organ
> line (set with PianoStaff, with an extra line for pedals).
>
> If I set \tempo 4 = 100 in the organ part, it appears above the SATB
> part.
>
> How do I get a tempo mark above both the SATB line (ChoirStaff) and
> the Organ line (PianoStaff)?

You need to move "Metronome_mark_engraver" from "Score" to the
first Staff of your "ChoirStaff/PianoStaff".  There is now way to use
this method to add it to the StaffGroup itself.
And IIRC you'll need to change something with the
"Staff_collecting_engraver" too.

Something like that:

\score {
  <<
    \new ChoirStaff <<
      \new Staff  \with {
        \consists "Metronome_mark_engraver"
        \consists "Staff_collecting_engraver"
      } {
        \tempo "Foo"
        c'1
      }
      \new Staff {
        \tempo "Foo"
        d'1
      }
    >>
    \new PianoStaff <<
      \new Staff  \with {
        \consists "Metronome_mark_engraver"
        \consists "Staff_collecting_engraver"
      } {
        \tempo "Foo"
        c'1
      }
      \new Staff {
        \tempo "Foo"
        d'1
      }
    >>
  >>
  \layout {
    \context {
      \Score
      \remove "Metronome_mark_engraver"
      \remove "Staff_collecting_engraver"
    }
  }
}


Cheers,
Xavier

--
Xavier Scheuer <x.sche...@gmail.com>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to