Hey all!

Can anyone explain what's going wrong here? [The scores are intended/expected 
to have identical output, i.e., the first version.]
Is it the q "function" that's messing me up, or my \split function?

Thanks,
Kieren.
_________________

\version "2.13.22"
\include "english.ly"

qTheMusic = \relative c' {
  << { \voiceOne <bf' d ef! a>2 ~ q8 d, a' bf } \context Voice = "2" { 
\voiceTwo <d, ef g>2 ~ q8 d4. } >> \oneVoice
}

\score { \new Staff \qTheMusic }

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

qTheMusicAgain = \relative c' {
  \split { <bf' d ef! a>2 ~ q8 d, a' bf } { <d, ef g>2 ~ q8 d4. }
}

\score { \new Staff \qTheMusicAgain }
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to