Hello, Tao Tao Cumplido wrote: > you can define a named voice context here: > upper = { << \new Voice = "melody" \upperA \\ \upper B >> } > > for whatever reason the \voiceOne property gets lost though, so you have to > assign it explicitly to upperA like this: > upperA = { \voiceOne ..music.. } > > to place the lyrics above the staff you have to define the lyrics in score > block after the PianoStaff like this: > > \new Lyrics \with { alignAboveContext = "upper" } > { > \lyricsto "melody" > \song > } > > the alignAboveContext hast to be a named Staff in this case because lyrics > are attached to a Staff. > > I hope it's clear.
Well, I am not yet sure how it works, but it works!! Thank you :) My best regards, Alberto > > Regards, > > Tao > > -------- Original-Nachricht -------- >> Datum: Sun, 04 Jan 2009 18:08:47 +0000 >> Von: "Alberto Simões" <al...@alfarrabio.di.uminho.pt> >> An: lilypond <lilypond-user@gnu.org> >> Betreff: Adding lyrics to a "piano" score. > >> Hello. >> >> I have a Piano score (three voices) organized in the following way: >> >> upperA = { ... melody ... } >> upperB = { ... melody ... } >> upper = { ... << \upperA \\ \upperB >> } >> lower = { ... melody ... } >> >> and >> >> \score { >> << >> \new PianoStaff << >> \new Staff = "upper" \upper >> \new Staff = "lower" \lower >> >> >> >> >> ... >> } >> >> Now, I added a variable named "song": >> >> song = \lyricmode { Song to be re- ad. } >> >> But I can't find a suitable way to associate this lyrics to the upperA >> melody (and if possible above the staff). >> >> Can anybody give me a hint? >> >> TIA, >> Alberto >> >> -- >> Alberto Simões - Departamento de Informática - Universidade do Minho >> Campus de Gualtar - 4710-057 Braga - Portugal >> >> >> _______________________________________________ >> lilypond-user mailing list >> lilypond-user@gnu.org >> http://lists.gnu.org/mailman/listinfo/lilypond-user > -- Alberto Simões - Departamento de Informática - Universidade do Minho Campus de Gualtar - 4710-057 Braga - Portugal _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user