Das archivierte Lilypond-Forum von 2017 ist hier als Lese-Archiv wieder verfügbar!

Hauptmenü

partCombine und Text

Begonnen von RiffHai, Donnerstag, 5. Februar 2026, 17:50

Vorheriges Thema - Nächstes Thema

RiffHai

Hallo,

ich möchte zwei Stimmen verschmelzen und dazu eine Text an der ersten Stimme ausgerichtet andrucken.
Allerdings wird der Text tatsächlich an der Combi ausgerichtet und läuft damit komplett aus dem Takt.

Gibt es da eine Lösung dafür?

Vielen Dank
Mandy

\version "2.22.2"

% 2026-01-31 MBra
% Beispiel für Combine mit Text

MelodieEins = \relative {
  \time 4/4
  c'4 d4 e4 f4 | g2 g2 |
}

MelodieZwei = \relative {
  c'4 d4 c2 | e8 d8 c4 c2|
}

StropheEins = \lyricmode {
  All -- e mei -- ne Ent -- chen


StropheZwei = \lyricmode {
  Und der al -- te Es -- el
}


\score {
  \new Staff
  \with {
    printPartCombineTexts = ##f
  }
  <<
    \partCombine \MelodieEins \MelodieZwei
  >>
 
  \addlyrics \StropheEins
  \addlyrics \StropheZwei
               
}

Lilysetter

#1
Schau mal im notation.pdf nach NullVoice und \lyricsto:
soprano = \relative { b'8( c d c) d2 }
alto = \relative { g'2 b8( a g a) }
aligner = \relative { b'8( c d c) b( a g a) }
words = \lyricmode { la __ la __ }
\new Staff <<
  \new Voice \partCombine \soprano \alto
  \new NullVoice = "aligner" \aligner
  \new Lyrics \lyricsto "aligner" \words
  >>

Oder halt ohne \addlyrics oder \lyricsto, indem man die Silbendauern im Lyric-Text angibt (Nachteil: dann gehen keine LyricExtender):
la=\once\override LyricText.self-alignment-X =#LEFT
\score {
  \new Staff\with { printPartCombineTexts = ##f }
  <<
    \partCombine \MelodieEins \MelodieZwei
    \new Lyrics\lyricmode{Al4 -- le mei -- ne\la Ent2 -- chen }
    \new Lyrics\lyricmode{Und4 der al -- te E2 -- sel }   
    >>
  }

RiffHai

Danke Lylisetter, der Hinweis auf nullVoice hat mich gerettet  :)