Le 18/11/2011 15:05, Sebastian Canagaratna disait :
I can write these part in different scores, but the midi comes in
different files.
If you'd like to have _all_ sections in one "concatenated" MIDI, you 
just have to create a "musical expression" indicating what is the 
sequence. Don't forget that when you type
\relative c'' { a b }

you mean there is a note A followed by a note B.

Try the idea bellow.

Cheers,
Jean-Charles

---8<--- snippet --->8---
global = {
   \key c \major
   \time 4/4
   }

MusicA = \relative c'' {
  a4 a a a }

MusicB = \relative c'' {
  b4 b b b }

WordsA = \lyricmode { A A A A }

WordsB = \lyricmode { B B B B }

\score { % FIRST printout
  \new Staff = "scoreA" {
    <<
      \new Voice = "singA" <<
        \global
        \clef treble
        \MusicA
      >>
      \new Lyrics \lyricsto "sing"A \WordsA
    >>
  }
  \layout { }
}

\score { % SECOND printout
  \new Staff = "scoreB" {
    <<
      \new Voice = "singB" <<
        \global
        \clef treble
        \MusicB
      >>
      \new Lyrics \lyricsto "singB" \WordsB
    >>
  }
  \layout { }
}

\score { % CONCATENATED MIDI
  \new Staff = "score" {
    <<
      \new Voice = "sing" <<
        \global
        \clef treble
        { \MusicA \MusicB } % A and B are sequential
      >>
      \new Lyrics \lyricsto "sing" { \WordsA \WordsB }
    >>
  }
  \midi { }
}

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to