Allgemein > Fragen zu Funktionen

Gelöst: Text ausrichten / Wechsel Sopran - Alt / Text unschön verschoben

<< < (2/2)

harm6:
Warum nicht 'associatedVoice'?


--- Code: ---\version "2.18.2"

\header {
  title = "O Haupt voll Blut und Wunden"
  subtitle = ""
  composer = "Johann Crüger (1598–1662)"
  arranger = ""
  poet = ""
  tagline = ""
  copyright = ""
}

\paper{
  top-margin = 10
  left-margin = 10
  right-margin = 10
  bottom-margin = 10
  #(set-paper-size "a4")
}

global = {
  \key c \major
  \time 5/2
  \hide Staff.BarLine
  \hide Staff.BarLine
  s2*19 s
  % the final bar line is not interrupted
  \undo \hide Staff.BarLine
  \bar "|."
}

Sopran = \relative c'{
 
  e2 a4 g f e d2 e
  b' c4 c b b a1
  e2 a4 g f e d2 e
  \time 4/2
  b' c4 c b b a2
  \time 8/2
  c2 b4  g  a b c2 c4 g a  g f f e2
  \time 9/4
  c'2  b4 d  c b a2 b4 |
  \time 13/4
  e,4 f e d d e1~ e
}

Alt = \relative c' {
 
  g2 a4 c a8 b c4.( b16 a b4) c2
  d2 e4 e e e e1 |
  g,2 a4 c a8 b c4.( b16 a b4) c2
  d2 e4 e e e e2 |
  e2  g4 c,4  c d e2 e4 e f e d d cis2
  r4  e g g e d d2 d4
  c4 d c c b  c4
  c a b c c b2
}

Tenor = \relative c' {
 
  \clef "treble_8"
 
  c2 c4 c  d g, g2 g |
  g g4  a a gis a1
  c2 c4 c  d g, g2 g |
  g g4  a a gis a2
 
  r4 a d c a f g2 g4  c c c a a a2
  r4 a g g g g2 fis4 g
  g bes  g g g g a  c b a a gis2
}

Bass = \relative c {

  \clef "bass"
 
  c2 f4 e d c g2 c
  g2 c4 a e' e a,1
  c2 f4 e d c g2 c
  g2 c4 a e' e a,2
 
  a' g4 e f d c2 c4 c f c d d a2 |
  a e'4 b c g d'2 g,4
  c bes c g g c a a gis a a e2
}

StropheEins = \lyricmode {
 
  \set stanza = #"1."
 
  O Haupt voll Blut und Wun -- den,
  Voll Schmerz und vol -- ler Hohn,
  O Haupt, zum Spott ge -- bun -- den
  Mit ei -- ner Dor -- nen -- kron;
  O Haupt, sonst schön ge -- zie -- ret
  Mit höch -- ster Ehr' und Zier,
  Jetzt a -- ber höchst schimp -- fie -- ret:
  Ge -- grü -- ßet sei'st du
  \set associatedVoice = "Alt"
  mir
  Ge -- grü -- ßet sei'st du mir
}

\score {
  \new StaffGroup
  <<
    \new Staff
    <<
      \new Voice = "Sopran" << \global \voiceOne \Sopran >>
      \new Voice ="Alt" << \global   \voiceTwo \Alt >>
      \new Lyrics \lyricsto "Sopran" \StropheEins
    >>
    \new Staff
    <<
       \new Voice = "Tenor"<< \global \voiceOne \Tenor >>
       \new Voice = "Bass" << \global  \voiceTwo \Bass >>
    >>
  >>
 
  \layout {
    \context {
       \Staff
       \remove "Time_signature_engraver"
    }
  }
  \midi {
    \tempo 2 = 80
  }
}

--- Ende Code ---

HTH,
  Harm

fliesenburner:
Das funktioniert super! Vielen Dank! :)

Navigation

[0] Themen-Index

[*] Vorherige Sete

Zur normalen Ansicht wechseln