Hi Bernhard,

> Please show me how to deal with different tempo declarations on different 
> staves.

Here’s one way. (Note that I also <<>>'ed the \global variable into each 
*staff* context in the score, rather than into each note variable definition; 
personally, I think that is better coding style, for many reasons.)

Hope this helps!
Kieren.

\version "2.19.80"
\language "deutsch"

\header {
  % Voreingestellte LilyPond-Tagline entfernen
  tagline = ##f
}

\paper { #(set-paper-size "a4") }

global = {
  \key c \major
  \time 4/4
  \tempo 4=96
}

soprano = \relative c'' {
  c
}

alto = \relative c' {
}

tenor = \relative c' {
  c
}

bass = \relative c {
}

verse = \lyricmode { test }

right = \relative c'' {
  c
}

left = \relative c' {
  \clef bass
  c
}

pedal = \relative c {
  \clef bass
  c
}

choirPart = \new ChoirStaff <<
  \new Staff \with {
    \consists "Metronome_mark_engraver"
    instrumentName = \markup \center-column { "Sopran" "Alt" }
  } <<
    \new Voice = "soprano" << \global { \voiceOne \soprano } >>
    \new Voice = "alto"<< \global  { \voiceTwo \alto } >>
  >>
  \new Lyrics \with {
    \override VerticalAxisGroup #'staff-affinity = #CENTER
  } \lyricsto "soprano" \verse
  \new Staff \with {
    instrumentName = \markup \center-column { "Tenor" "Bass" }
  } <<
    \clef bass
    \new Voice = "tenor" << \global { \voiceOne \tenor } >>
    \new Voice = "bass" << \global { \voiceTwo \bass } >>
  >>
>>


organPart = <<
  \new PianoStaff \with {
    instrumentName = "Orgel"
    shortInstrumentName = "Org."
  } <<
    \new Staff = "right" \with { \consists "Metronome_mark_engraver" } << 
\global \right >>
    \new Staff = "left" << \global \left >>
    \new Staff = "pedal" << \global \pedal >>
  >>
>>


\score {
  <<
    \choirPart
    \organPart
  >>
  \layout {
    \context {
      \Score
      \remove "Metronome_mark_engraver"
    }
  }
}
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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

Reply via email to