lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tempo Marks


From: Xavier Scheuer
Subject: Re: Tempo Marks
Date: Sun, 15 May 2011 12:20:59 +0200

On 15 May 2011 11:58, Adrian Oehm <address@hidden> 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 <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]