|
From: | Ziad Gholam |
Subject: | Re: Voice and lyrics momentary separation |
Date: | Mon, 3 Oct 2016 18:00:29 +0200 |
PierreCheers,Here's another possibility. Liltlle hacky though. Needed v2.19:(Please be sure to repond to the list)Hi Ziad,
%%%%%%%%%%%
\version "2.19.48" %% <= needed!
\score {
\new Staff = "sopranoStaff" <<
\new Voice = "melody" {
\relative a' {
a1 % common note for Sop.1 and Sop.2
<<
{
\voiceOne
fis2. fis4 fis1 % Sop.1
}
\new Voice {
\voiceTwo
b,1 cis4 cis cis2
}
\new Devnull = "divisiStaff"
\with {
\consists Drum_notes_engraver
\hideNotes
} { b,1 cis4 cis cis2 } %% <= re-copy
\new Lyrics \with { alignAboveContext = #"sopranoStaff" }
\lyricsto "divisiStaff" { oh oh oh oh }
>>
\oneVoice
d'1
}
}
\new Lyrics \lyricsto "melody" {
ah ah ah ah ah
}
>>
}
%%%%%%%%%2016-10-02 18:35 GMT+02:00 Ziad Gholam <address@hidden>:Merci encore, PierreUnfornutately, although your solution "does work" when i copy it into a new file and compile it,when i use the same \with { alignAboveContext = "staff" } ...the solution "does not work" ...Perhaps i forgot o mention that before the spliting of the soprani voice,there are many many measures where the soprani are not split into Sop.1 and Sop.2 ...The lyrics must printed BELOW the staff, as it is usually done ...The same thing applies after the 4 measures split, i.e. thera are still 3 or 4 measureswhere the soprani voices are re-united ...In fact, it is ONLY for 4 measures that the Sop.1 lyrics should be ABOVE the staff,and the Sop.2 lyrics BELOW the staff, then, after allthis "turmoil ;-) " the soprani common lyrics should be printed BELOW the staff ...I am really sorry to bother the Lillypond community" for that (small ?) issue ...Regards,Ziad2016-10-01 18:50 GMT+02:00 Pierre Perol-Schneider <address@hiddencom >:PierreCheers,e.g;Sure Ziad,It's in the same doc:
http://lilypond.org/doc/v2.18/Documentation/notation/techniq ues-specific-to-lyrics#placing -lyrics-vertically
\version "2.18.2"
\score {
\new Staff = "staff" <<
\new Voice = "melody" {
\relative a' {
<<
{
\voiceOne
a1 % common note for Sop.1 and Sop.2
fis2. fis4 fis1 % Sop.1
}
\new Voice = "splitpart" {
\voiceTwo
s1 % skip 1
b,1 cis4 cis cis2
}
>>
\oneVoice
d1
}
}
\new Lyrics \with { alignAboveContext = "staff" } \lyricsto "melody" {
ah ah ah ah ah
}
\new Lyrics \lyricsto "splitpart" {
oh oh oh oh
}
>>
}2016-10-01 11:31 GMT+02:00 Ziad Gholam <address@hidden>:Merci Pierre,That really, really helped me ! !To complete my "happyness", ... , could you please tell me :how to put the Sop.1 lyrics (when soprano voice is split) ABOVE the staffand Sop.2 lyrics BELOW (as usual) the staff ?i.e. using your example (cf. infra) : put the "ah ah ah ah ah" above the staffand the "oh oh oh oh" BELOW the staff (as it is done usually) ...\version "2.18.2"
\score {
<<
\new Voice = "melody" {
\relative a' {
<<
{
\voiceOne
a1 % common note for Sop.1 and Sop.2
fis2. fis4 fis1 % Sop.1
}
\new Voice = "splitpart" {
\voiceTwo
s1 % skip 1
b,1 cis4 cis cis2
}
>>
\oneVoice
d1
}
}
\new Lyrics \lyricsto "melody" {
ah ah ah ah ah
}
\new Lyrics \lyricsto "splitpart" {
oh oh oh oh
}
>>
}2016-10-01 7:55 GMT+02:00 Pierre Perol-Schneider <address@hiddencom >:E.g.:
\version "2.18.2"
\score {
<<
\new Voice = "melody" {
\relative a' {
<<
{
\voiceOne
a1 % common note for Sop.1 and Sop.2
fis2. fis4 fis1 % Sop.1
}
\new Voice = "splitpart" {
\voiceTwo
s1 % skip 1
b,1 cis4 cis cis2
}
>>
\oneVoice
d1
}
}
\new Lyrics \lyricsto "melody" {
ah ah ah ah ah
}
\new Lyrics \lyricsto "splitpart" {
oh oh oh oh
}
>>
}Does that help?Cheers,Pierre2016-10-01 0:24 GMT+02:00 Pierre Perol-Schneider <address@hiddencom >:PierreCheers,Hi Ziad,Too tired right now to help you.
Please provide a compilable example:
http://lilypond.org/tiny-examples.html 2016-09-30 16:53 GMT+02:00 Ziad Gholam <address@hidden>:______________________________Hello Lillypond usersI am facing a small problem ...I'd like to mometarely ( i.e. for 4 mesures only) separate the Soprani voice into 2 voices,- either on the same stave or- on 2 different staves ...Unfortunately, there are different lyrics on each voice, in these 4 mesures !!!I tried this :a1 % common note for Sop.1 and Sop.2<<{\voiceOnefis2. fis4fis1}\new Voice{\voiceTwob1cis4 cis cis2}>>\oneVoiced1 % common note for Sop.1 and Sop.2...but the lyrics are not "in the right place" ...Can anyone help ?thanksZ._________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |