Re: Inserting lyrics in a global situation
Vicente Sanches: > I'm editing the Mozart's Ave Verum for a college work. Nice. > As there are many instruments and voices, i tried to organize things > separating notes from staff and layout information, That is good, but I suggest that you (well really it's my preferences) separate things into separate files. I use a . header file, since I might set the header in latex/openoffice/etc. . file for the music without any layout thingies, so that I can have different "top" files for different uses, e.g. one instrument/voice only, full partiture, chor partiture, scores with different clefs, transpositions, and thoose all use the same "music" file . data file I generate staff etc from, since the staff, voice etc things all looks the same except some name here and there examples in http://aspodata.se/git/musik/anonymous/o_maria_mater_pia/ http://aspodata.se/git/musik/JohannPachelbel/magnificat/ http://aspodata.se/git/musik/WAMozart/requiem/ > but i don't know how to > insert lyrics in such organizational structure. the doc is really your friend here: http://lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-vocal-music But basically you define your lyrics and music, and use it in the score (others have shown you other ways to do the same thing): %%% lyrA = \context Lyrics = lyrA \lyricmode { zzz } musA = \relative a' { b1 } voiceA = \context Voice = voiceA { \musA } nameA = {} staffA = \new Staff \with \nameA << \voiceA ... >> %%% \score { << \new ChoirStaff << \staffA \lyricsto voiceA \lyrA ... >> ... >> } Regards, /Karl Hammar ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Inserting lyrics in a global situation
Am 2019-05-13 um 04:20 schrieb Vicente Sanches : > Hi, > I'm editing the Mozart's Ave Verum for a college work. > As there are many instruments and voices, i tried to organize things > separating notes from staff and layout information, but i don't know how to > insert lyrics in such organizational structure. > textI = \lyricmode { %\set stanza = "1. " la la la la } > > \book { > \score { > \new StaffGroup << > \new GrandStaff << > \new Staff \with { instrumentName = #"Violino I." } << \global > \vlnOne >> > \new Staff \with { instrumentName = #"Violino II." } << \global > \vlnTwo >> > >> > \new Staff \with { instrumentName = #"Viola." } << \global \vla >> \context Staff = VioIc << \global \context Voice = "VioIv" \vlnOne >> \lyricsto "VioIc" \new Lyrics { \textI } HTH Greetlings, Hraban --- fiëé visuëlle Henning Hraban Ramm https://www.fiee.net ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Inserting lyrics in a global situation
Hi Vicente, try simply: ... lyr = \lyricmode { A -- ve, a -- ve ve -- rum } ... \new StaffGroup << \new Staff \with { instrumentName = \markup {\bold #"Soprano." }} << \global \sop \addlyrics \lyr >> \new Staff \with { instrumentName = \markup {\bold #"Alto." }} << \global \alt \addlyrics \lyr >> \new Staff \with { instrumentName = \markup {\bold #"Tenore." }} << \global \ten \addlyrics \lyr >> \new Staff \with { instrumentName = \markup {\bold #"Basso." }} << \global \bass \addlyrics \lyr >> >> ... etc HTH Cheers, Pierre Le lun. 13 mai 2019 à 07:02, Vicente Sanches a écrit : > > Hi, > I'm editing the Mozart's Ave Verum for a college work. > As there are many instruments and voices, i tried to organize things > separating notes from staff and layout information, but i don't know how to > insert lyrics in such organizational structure. > > the skeleton of the doc looks like this: > > \version "2.18.2" > > \header { > title = "Ave Verum" > composer = "W. A. Mozart" > > } > > global = { > \key d \major > \time 2/2 > \tempo "Adagio." > > \repeat unfold 18 { s1*2/2 | } > > \bar "|" > } > > vlnOne = \relative c'' { > > } > > vlnTwo = \relative c'' { > > } > > vla = \relative c'' { > \clef alto > > } > > sop = \relative c''{ > > } > > alt = \relative c''{ > > } > > ten = \relative c''{ > \clef "treble_8" > > } > > bass = \relative c' { > > } > > dbo = \relative c' { > \clef bass > } > > \book { > \score { > \new StaffGroup << > \new GrandStaff << > \new Staff \with { instrumentName = #"Violino I." } << \global > \vlnOne >> > \new Staff \with { instrumentName = #"Violino II." } << \global > \vlnTwo >> > >> > \new Staff \with { instrumentName = #"Viola." } << \global \vla >> > > > \new StaffGroup << > \new Staff \with { instrumentName = \markup {\bold #"Soprano." }} > << \global \sop >> > \new Staff \with { instrumentName = \markup {\bold #"Alto." }} << > \global \alt >> > \new Staff \with { instrumentName = \markup {\bold #"Tenore." }} << > \global \ten >> > \new Staff \with { instrumentName = \markup {\bold #"Basso." }} << > \global \bass >> > >> > > \new Staff \with { instrumentName = #"Basso ed Organo." } << > \global \dbo >> > > >> > } > } > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Inserting lyrics in a global situation
Hi, I'm editing the Mozart's Ave Verum for a college work. As there are many instruments and voices, i tried to organize things separating notes from staff and layout information, but i don't know how to insert lyrics in such organizational structure. the skeleton of the doc looks like this: \version "2.18.2" \header { title = "Ave Verum" composer = "W. A. Mozart" } global = { \key d \major \time 2/2 \tempo "Adagio." \repeat unfold 18 { s1*2/2 | } \bar "|" } vlnOne = \relative c'' { } vlnTwo = \relative c'' { } vla = \relative c'' { \clef alto } sop = \relative c''{ } alt = \relative c''{ } ten = \relative c''{ \clef "treble_8" } bass = \relative c' { } dbo = \relative c' { \clef bass } \book { \score { \new StaffGroup << \new GrandStaff << \new Staff \with { instrumentName = #"Violino I." } << \global \vlnOne >> \new Staff \with { instrumentName = #"Violino II." } << \global \vlnTwo >> >> \new Staff \with { instrumentName = #"Viola." } << \global \vla >> \new StaffGroup << \new Staff \with { instrumentName = \markup {\bold #"Soprano." }} << \global \sop >> \new Staff \with { instrumentName = \markup {\bold #"Alto." }} << \global \alt >> \new Staff \with { instrumentName = \markup {\bold #"Tenore." }} << \global \ten >> \new Staff \with { instrumentName = \markup {\bold #"Basso." }} << \global \bass >> >> \new Staff \with { instrumentName = #"Basso ed Organo." } << \global \dbo >> >> } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user