ayryq wrote:
I believe you can, I was going to clip your stuff, build it on my
machine, and build an example for you, but this example won't actually
build on my machine. Just as a hint, in the work I did for O Magnum
Mysterium, I combined several thing like this:
sopranoTotal = \simultaneous {
\new Staff = "soprano" {
\set Staff.instrumentName = "Soprano"
\set Staff.midiInstrument = "violin"
\clef "violin"
\new Voice="soprano"<<
\global
\sopranoMelody
>>
}
\context Lyrics = soprano \lyricsto soprano \sopranoLyrics
}
Is there any way to simply combine chords, lyrics, and melody sections into a
single LP "variable?" I am trying to create pop leadsheets and my score
sections look like this one:
%------------------------------
\score { <<
\new ChordNames { \transpose g g { \set chordChanges = ##t
\override ChordName #'font-series =#'bold
\override ChordName #'font-size = #1
\chorusharmonies
\verseharmonies
\chorusharmonies \postchorusharmonies
\bridgeharmonies
\chorusharmonies
\postchorusharmonies
}}
\new Voice = "melody" \relative c' { \transpose g g {
\clef treble \key g \major \time 4/4
\chorusmelody
\new Voice = "verse" \repeat volta 2
{\versemelody \chorusmelody
\postchorusmelody}
\bridgemelody
\repeat volta 3 {\mark \markup {\smaller \italic \bold
{Chorus (3X)}}
\chorusmelody}
\postchorusmelody \bar "|."
}}
\new Lyrics = "mainlyrics" \lyricsto melody {
\chorustext
%verseonetext/versetwotext chorustext postchorustext
\bridgetext
\chorustext
\postchorustext}
\context Lyrics = "mainlyrics" \lyricsto verse {
\verseonetext \chorustext \postchorustext}
\new Lyrics = "repeatlyrics" \lyricsto verse {
\versetwotext}
>>
%-------------------
The form is simple, but it is repeated three times for harmony, melody, and
lyrics. It would be nice to be able to say chorus=<<\chorusharmonies
\chorusmelody \chorustext >> and then just refer to \chorus in the score
block. Is this possible?
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user