[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inserting lyrics in a global situation
From: |
karl |
Subject: |
Re: Inserting lyrics in a global situation |
Date: |
Mon, 13 May 2019 17:09:48 +0200 (CEST) |
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