Several parts to one piece?
Sorry to be barraging the list; but I have several pieces) that consist of several parts, and I need to compile them as a whole piece, but have each part end and begin separately. How, can I accomplish this? -- In Christ, Michael D \version "2.12.2" \include "english.ly" \include "gregorian.ly" \header { title = "Octoëchos ~ Hynns of the Resurrection" subtitle = "Stichera on ''Lord, I Call'' ~ Tone 2" composer = "Great Vespers/Matins" poet = "Kievan Chant" } global = { \key g \major \override Staff.TimeSignature #'stencil = ##f \override Staff.BarLine #'stencil = ##f } move = { \bar "" \break } sopranoOne = \relative c'' { \global % Music follows here. a4 a a a a a a2 \divisioMinima a4 b b a g2 a g fs1 \finalis } sopranoTwo = \relative c'' { \global % Music follows here. a4(b) a4 a a a c b2 b4 a2 \divisioMinima a4 a a a a a a a a a g2(a b) a2 \divisioMinima a4 b c2 b4 a a a a b2 g \divisioMinima g4 g a b2 a4 g g g g g g g g g g2(fs) g a2 \divisioMaior a4 a g2 a4 b a2 \divisioMaxima a4 g b2 a4 a g2(a2) g f1 \finalis } altoOne = \relative c' { \global % Music follows here. } altoTwo = \relative c' { \global % Music follows here. } tenorOne= \relative c' { \global % Music follows here. } tenorTwo= \relative c' { \global % Music follows here. } bassOne = \relative c { \global % Music follows here. d4 d d d d d d2 \divisioMinima d4 g g d g2 fs2 g4 e d1 \finalis } bassOne = \relative c { \global % Music follows here. d2 d4 d d d d g2 g4 d2 \divisioMinima d4 d d d d d d d d d g2(fs4 g) d2 \divisioMinima a4 g c2 d4 d d d d g2 g \divisioMinima g4 g g g2 g4 g g g g g g g g g g2(d4) d d2 \divisioMaior d4 d g2 g4 g d2 \divisioMaxima d4 d g2 fs4 fs g2(fs) g4(e) d1 \finalis } verseOne = \lyricmode { % Lyrics follow here. Bring my soul out of pri -- son, that I may give thanks to Thy Name. } \verseTwo =\lyricmode { %Lyrics follow here. Come, __ let us wor -- ship the Word of God, be -- got -- ten of the Fa -- ther before all a -- ges; and in -- car -- nate of the Vir -- gin Ma -- ry; of His own will He suf -- fered the Cross and sub -- mit -- ted to bu -- ri -- al, then He rose from the dead; and saved me who had gone __ a -- stray! } \score { \transpose g f \new ChoirStaff << \new Staff \with { midiInstrument = " string ensemble 1 " instrumentName = \markup \center-column { "S" "A" } } << \new Voice = "soprano" { \voiceOne \sopranoOne } \new Voice = "alto" { \voiceTwo \altoOne } >> \new Lyrics \lyricsto "soprano" \verse \new Staff \with { midiInstrument = " string ensemble 1 " instrumentName = \markup \center-column { "T" "B" } } << \clef bass \new Voice = "tenor" { \voiceOne \tenorOne } \new Voice = "bass" { \voiceTwo \bassOne } >> >> \layout { ragged-last=##f } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 120 4) } } } \score { \transpose g f \new ChoirStaff << \new Staff \with { midiInstrument = " string ensemble 1 " instrumentName = \markup \center-column { "S" "A" } } << \new Voice = "soprano" { \voiceOne \sopranoTwo } \new Voice = "alto" { \voiceTwo \altoTwo } >> \new Lyrics \lyricsto "soprano" \verse \new Staff \with { midiInstrument = " string ensemble 1 " instrumentName = \markup \center-column { "T" "B" } } << \clef bass \new Voice = "tenor" { \voiceOne \tenorTwo } \new Voice = "bass" { \voiceTwo \bassTwo } >> >> \layout { ragged-last=##f } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 120 4) } } }___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Several parts to one piece?
Michael, It looks like you're going in the right direction by using 2 \score blocks. However, it would be helpful if you could post a score that compiles. Please could you correct the naming errors in this one? -- Phil Holmes - Original Message - From: Michael Dykes To: lilypond-user@gnu.org Sent: Saturday, January 22, 2011 12:21 PM Subject: Several parts to one piece? Sorry to be barraging the list; but I have several pieces) that consist of several parts, and I need to compile them as a whole piece, but have each part end and begin separately. How, can I accomplish this? -- In Christ, Michael D -- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Several parts to one piece?
Michael, First of all, please reply-all to keep responses on the mailing list. That way others may benefit and more experienced users can chime in with help if necessary. My response to your request is going to seem harsh. You could not have tried very hard, since I asked you to look at the errors at 12:27 and you said you couldn't fix them less than 5 minutes later. It's really best to try to learn how the program works by working through and fixing the errors rather than getting others to do it for you. The log file I get has this contents: GNU LilyPond 2.13.46 Processing `Directory/02_licstich_02_kiev.ly' Parsing... Directory/02_licstich_02_kiev.ly:97:0: error: unknown escaped string: `\verseTwo' \verseTwo =\lyricmode { Directory/02_licstich_02_kiev.ly:122:36: error: unknown escaped string: `\verse' \new Lyrics \lyricsto "soprano" \verse Directory/02_licstich_02_kiev.ly:122:36: error: syntax error, unexpected STRING \new Lyrics \lyricsto "soprano" \verse Directory/02_licstich_02_kiev.ly:113:2: error: errors found, ignoring music expression \transpose g f Directory/02_licstich_02_kiev.ly:143:13: error: syntax error, unexpected LYRICS_STRING, expecting NOTENAME_PITCH or TONICNAME_PITCH \transpose g f Directory/02_licstich_02_kiev.ly:152:36: error: unknown escaped string: `\verse' \new Lyrics \lyricsto "soprano" \verse Directory/02_licstich_02_kiev.ly:152:36: error: syntax error, unexpected STRING \new Lyrics \lyricsto "soprano" \verse Directory/02_licstich_02_kiev.ly:144:2: error: errors found, ignoring music expression \new ChoirStaff << Directory/02_licstich_02_kiev.ly:169:0: error: syntax error, unexpected '}' }error: failed files: "Directory\\02_licstich_02_kiev.ly" Program finished Let's look at the first - "97:0: error: unknown escaped string: `\verseTwo'" So on line 97 we have an error of that unknown string. Let's look at line 97: \verseTwo =\lyricmode { Compare it to the line above it: verseOne = \lyricmode { See a difference? Please work through the log file and correct the errors in this manner, and see where you get. -- Phil Holmes - Original Message ----- From: Michael Dykes To: Phil Holmes Sent: Saturday, January 22, 2011 12:31 PM Subject: Re: Several parts to one piece? Phil, I want to say that this fixes the naming errors, but it still does not compile; so I am obviusly overlooking some. On Sat, Jan 22, 2011 at 7:27 AM, Phil Holmes wrote: Michael, It looks like you're going in the right direction by using 2 \score blocks. However, it would be helpful if you could post a score that compiles. Please could you correct the naming errors in this one? -- Phil Holmes - Original Message - From: Michael Dykes To: lilypond-user@gnu.org Sent: Saturday, January 22, 2011 12:21 PM Subject: Several parts to one piece? Sorry to be barraging the list; but I have several pieces) that consist of several parts, and I need to compile them as a whole piece, but have each part end and begin separately. How, can I accomplish this? -- In Christ, Michael D -- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- In Christ, Michael D ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Several parts to one piece?
On Jan 22, 2011, at 1:21 PM, Michael Dykes wrote: > Sorry to be barraging the list; but I have several pieces) that consist of > several parts, and I need to compile them as a whole piece, but have each > part end and begin separately. How, can I accomplish this? You can have more than one \score block in a file. Does that accomplish what you are looking for? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user