lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beam direction with \new Voice


From: Kieren MacMillan
Subject: Re: Beam direction with \new Voice
Date: Fri, 7 Aug 2009 13:05:41 -0400

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 }
  >>
}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]