Hi Kieren, hi James,

Thank you very much to both of you, that was exactly what I was looking for!

Heike

Quoting Kieren MacMillan <kieren_macmil...@sympatico.ca>:

Hi Heike,

You'll need \voiceOne and \voiceTwo (and \oneVoice) for this construction.
You may also need to name your second Voice context.
For reference, you'll want to re-read section 1.5.2 of the Notation Reference, Multiple Voices.

Here's a function that might help.

Cheers,
Kieren.

___________________________

\version "2.13"
#(ly:set-option 'point-and-click #f)

split = #(define-music-function (parser location upper lower)
(ly:music? ly:music?)
#{ << { \voiceOne $upper } \context Voice = "2" { \voiceTwo $lower } >>
\oneVoice #})

splitMusic = \relative
{
  c'4 b a b \split { c1 b4( a) g2 } { c,4 d e f g1 }
}

theWords = \lyricmode {
  This is how we split mu -- sic!
}

\score
{
  <<
    \new Voice = "melody" \splitMusic
    \new Lyrics \lyricsto "melody" { \theWords }
  >>
}





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

Reply via email to