Deutsches Lilypond Forum (Archiv)
Allgemein => Fragen zu Funktionen => Thema gestartet von: Joei am Mittwoch, 17. Dezember 2014, 08:11
-
Moin :)
nach langer Pause melde ich mich mal wieder mit einer Frage.
Ich setze einen mehrstimmigen Psalm eines Evensongs aus und habe eine klare Idee, wie
das werden soll - nämlich so:
(http://joeigraphie.de/lily/psalm.jpg)
Also mit umbrechenden Texten auch bei nur einer Strophe (roter Pfeil)
und linksbündig ausgerichteten Texten.
Ich bekomms nicht hin:
\version "2.18.2"
\header {
title = "Psalm 107"
composer = "E.C.Bairstow"
}
global = {
\time 4/4
\key d \major
}
soprano = \relative g' {
\global
b1 | cis2 d | g,1 | \bar "||"
g1 | a2 b | cis, d | e1 | \bar "||"
a1 | g2 c | b1 | \bar "||"
b1 | e2 d | a cis, | d1 | \bar "|."
}
alto = \relative c'' {
\global
g1 | a2 a | d,1 | \bar "||"
d1 | e2 d | cis b | b a | \bar "||"
d1 | d2 g | fis1 | \bar "||"
e1 | b'2 a | d, cis | a1 | \bar "|."
}
tenor = \relative a {
\global
d1 | e2 d | b1 | \bar "||"
b1 | cis2 d | g, g | g1 | \bar "||"
fis1 | g2 e' | dis1 | \bar "||"
b1 | cis2 d | b g | fis1 |\bar "|."
}
bass = \relative c' {
\global
g1 | g2 fis | e1 | \bar "||"
e1 | g2 fis | e d | cis1 | \bar "||"
c1 | b2 a | a'1 | \bar "||"
g1 | g2 fis | e a, | d1 | \bar "|."
}
verseOne = \lyricmode {
\set stanza = "1."
"O give thanks unto the Lord for" he is gracious:
"and his" mercy en- dureth for e ver
"Let them give thanks whom the" Lord "hath re-" deemed:
"and delivered from the" hand _ of the enemy
}
verseTwo = \lyricmode {
\set stanza = "2."
_ _ _ _ _ _ _ _ _ _ "And gathered them out of the lands * from the east and" from the west: from the north and "from the" south.
}
verseThree = \lyricmode {
\set stanza = "3."
"They went astray in the wilderness" "out of" the way:
"and found" no _ city to dwell in;
Hungry and _ thirsty:
their soul _ fainted in them.
}
\score {
\new ChoirStaff <<
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = \markup \center-column { S A }
} <<
\new Voice = "soprano" { \voiceOne \soprano }
\new Voice = "alto" { \voiceTwo \alto }
>>
\new Lyrics \with {
\override VerticalAxisGroup #'staff-affinity = #CENTER
} \lyricsto "alto" \verseOne
\new Lyrics \with {
\override VerticalAxisGroup #'staff-affinity = #CENTER
} \lyricsto "soprano" \verseTwo
\new Lyrics \with {
\override VerticalAxisGroup #'staff-affinity = #CENTER
} \lyricsto "alto" \verseThree
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = \markup \center-column { T B }
} <<
\clef bass
\new Voice = "tenor" { \voiceOne \tenor }
\new Voice = "bass" { \voiceTwo \bass }
>>
>>
\layout {\context {
\Staff
\remove "Time_signature_engraver"
} }
\midi { }
}
(http://joeigraphie.de/lily/psalm107b.jpg)
Irgendwelche Tips?
Dank & Gruß
Joei
-
Hallo,
zwar keine Lösung, aber ein paar Gedanken dazu:
- die betroffenen Text-Elemente als \markup (innerhalb des Liedtextes) definieren.
- bei diesen Elementen für linksbündige Ausrichtung sorgen.
- gegebenenfalls mit \column mehrzeilig
- bei mehrzeiligen Textelementen ist wahrscheinlich noch der Zeilenabstand anzupassen sowie eine Veschiebung in Y-Richtung
Arnold
-
Danke, Arnold - dann muss ich "nur noch" die Takte manuell verlängern bzw. auch der ganzen Note "sagen" dass sie eher im linken Bereich des Taktes beliebn soll oder?
-
Hallo Joei
meinst du so etwas?
version "2.18.2"
mus = \relative c' {
c4 c4 c4
}
txt = \lyricmode {
Hier
\markup {
\column {
\line { ein sehr sehr sehr sehr sehr sehr sehr, }
\line { aber sehr sehr sehr sehr sehr sehr langer Text!}
}
}
Ende
}
\score {
<<
\new Staff \mus
\lyrics { \txt }
>>
}
Liebe Grüsse
Eugenio
-
ja Eugenio - allerdings muss ich auch da noch lösen, wie ich die ganze Note links ausrichte...
-
Zur Gestaltung der Repercussa als Balkennote: siehe Re: Wie geht Sekunde und höhere Note zuerst (links)? (https://liarchiv.joonet.de/index.php?topic=1732.msg9584#msg9584)
Gruß, Robert
-
Danke Robert für den Tip - hab ich gleich gespeichert. Allerdings würde ich es erst ohne Repercussa als Balkennote setzen - und schaffe es nicht meine beiden Hauptprobleme in den Griff zu bekommen:
1) Die Position der Noten im ersten Takt so zu modifizieren, dass sie am linken Rand landet und
2) den Text soweit nach rechts zu bringen, dass er mit dem Taktstrich beginnt und nicht vorher.
Im Prinzip möchte ich Text und Akkord linksbündig am Taktanfang haben. Es sieht aber so aus:
(http://joeigraphie.de/lily/107.jpg)
\version "2.18.2"
\header {
title = "Psalm 107"
composer = "E.C.Bairstow"
}
global = {
\time 4/4
\key d \major
}
soprano = \relative g' {
\global
b1 | cis2 d | g,1 | \bar "||"
g1 | a2 b | cis, d | e1 | \bar "||"
a1 | g2 c | b1 | \bar "||"
b1 | e2 d | a cis, | d1 | \bar "|."
}
alto = \relative c'' {
\global
g1 | a2 a | d,1 | \bar "||"
d1 | e2 d | cis b | b a | \bar "||"
d1 | d2 g | fis1 | \bar "||"
e1 | b'2 a | d, cis | a1 | \bar "|."
}
tenor = \relative a {
\global
d1 | e2 d | b1 | \bar "||"
b1 | cis2 d | g, g | g1 | \bar "||"
fis1 | g2 e' | dis1 | \bar "||"
b1 | cis2 d | b g | fis1 |\bar "|."
}
bass = \relative c' {
\global
g1 | g2 fis | e1 | \bar "||"
e1 | g2 fis | e d | cis1 | \bar "||"
c1 | b2 a | a'1 | \bar "||"
g1 | g2 fis | e a, | d1 | \bar "|."
}
verseOne = \lyricmode {
\set stanza = "1."
"O give thanks unto the Lord for" he is gracious:
"and his" mercy en- dureth for e ver
\markup \column { {"Let them give thanks whom the Lord hath redeemed:"}}
"and delivered from the" hand _ of the enemy
}
verseTwo = \lyricmode {
\set stanza = "2."
_ _ _ _ _ _ _ _ _ _ "And gathered them out of the lands * from the east and" from the west: from the north and "from the" south.
}
verseThree = \lyricmode {
\set stanza = "3."
"They went astray in the wilderness" "out of" the way:
"and found" no _ city to dwell in;
Hungry and _ thirsty:
their soul _ fainted in them.
}
\score {
\new ChoirStaff <<
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = \markup \center-column { S A }
} <<
\new Voice = "soprano" { \voiceOne \soprano }
\new Voice = "alto" { \voiceTwo \alto }
>>
\new Lyrics \with {
\override VerticalAxisGroup #'staff-affinity = #CENTER
} \lyricsto "alto" \verseOne
\new Lyrics \with {
\override VerticalAxisGroup #'staff-affinity = #CENTER
} \lyricsto "soprano" \verseTwo
\new Lyrics \with {
\override VerticalAxisGroup #'staff-affinity = #CENTER
} \lyricsto "alto" \verseThree
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = \markup \center-column { T B }
} <<
\clef bass
\new Voice = "tenor" { \voiceOne \tenor }
\new Voice = "bass" { \voiceTwo \bass }
>>
>>
\layout {\context {
\Staff
\remove "Time_signature_engraver"
} }
\midi { }
}
-
[...] Im Prinzip möchte ich Text und Akkord linksbündig am Taktanfang haben. [...]
Siehe http://lilypond.org/doc/v2.18/Documentation/notation/techniques-specific-to-lyrics.de.html#placing-syllables-horizontally (http://lilypond.org/doc/v2.18/Documentation/notation/techniques-specific-to-lyrics.de.html#placing-syllables-horizontally)
\version "2.18.2"
\header {
title = "Psalm 107"
composer = "E.C.Bairstow"
}
global = {
\time 4/4
\key d \major
}
soprano = \relative g' {
\global
b1 | cis2 d | g,1 | \bar "||"
g1 | a2 b | cis, d |
\break
e1 | \bar "||"
a1 | g2 c | b1 | \bar "||"
b1 | e2 d | a cis, | d1 | \bar "|."
}
alto = \relative c'' {
\global
g1 | a2 a | d,1 | \bar "||"
d1 | e2 d | cis b | b a | \bar "||"
d1 | d2 g | fis1 | \bar "||"
e1 | b'2 a | d, cis | a1 | \bar "|."
}
tenor = \relative a {
\global
d1 | e2 d | b1 | \bar "||"
b1 | cis2 d | g, g | g1 | \bar "||"
fis1 | g2 e' | dis1 | \bar "||"
b1 | cis2 d | b g | fis1 |\bar "|."
}
bass = \relative c' {
\global
g1 | g2 fis | e1 | \bar "||"
e1 | g2 fis | e d | cis1 | \bar "||"
c1 | b2 a | a'1 | \bar "||"
g1 | g2 fis | e a, | d1 | \bar "|."
}
verseOne = \lyricmode {
\set stanza = "1."
\once \override LyricText.self-alignment-X = #LEFT
"O give thanks unto the Lord for" he is gracious:
"and his" mercy en- dureth for e ver
\once \override LyricText.self-alignment-X = #LEFT
"Let them give thanks whom the Lord hath redeemed:"
"and delivered from the" hand _ of the enemy
}
verseTwo = \lyricmode {
\set stanza = "2."
_ _ _ _ _ _ _ _ _ _
\once \override LyricText.self-alignment-X = #LEFT
"And gathered them out of the lands * from the east and"
from the west: from the north and "from the" south.
}
verseThree = \lyricmode {
\set stanza = "3."
\once \override LyricText.self-alignment-X = #LEFT
"They went astray in the wilderness" "out of" the way:
"and found" no _ city to dwell in;
Hungry and _ thirsty:
their soul _ fainted in them.
}
\score {
\new ChoirStaff <<
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = \markup \center-column { S A }
} <<
\new Voice = "soprano" { \voiceOne \soprano }
\new Voice = "alto" { \voiceTwo \alto }
>>
\new Lyrics \with {
\override VerticalAxisGroup.staff-affinity = #CENTER
} \lyricsto "alto" \verseOne
\new Lyrics \with {
\override VerticalAxisGroup.staff-affinity = #CENTER
} \lyricsto "soprano" \verseTwo
\new Lyrics \with {
\override VerticalAxisGroup.staff-affinity = #CENTER
} \lyricsto "alto" \verseThree
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = \markup \center-column { T B }
} <<
\clef bass
\new Voice = "tenor" { \voiceOne \tenor }
\new Voice = "bass" { \voiceTwo \bass }
>>
>>
\layout {
\context {
\Staff
\omit TimeSignature
}
}
\midi { }
}
Gruß,
Pierre
-
:o na super - klassischer Fall von "Blind beim suchen" 8)
VIELEN DANK!