lilypond-user
[Top][All Lists]
Advanced

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

adding note head to incompatible stem


From: 胡海鹏 - Hu Haipeng
Subject: adding note head to incompatible stem
Date: Tue, 9 Jun 2009 21:08:36 +0800 (CST)

Hello,
  I'm encountering an "adding notehead to incompatible stem" error when writing this oboes part. Why the "d d" one has no this problem but "e e" has?
\version "2.13.0"
moltocr = {
  \set crescendoText = \markup { \italic "Molto cresc." }
  \set crescendoSpanner = #'text
  \override DynamicTextSpanner #'style = #'dotted-line
}
offCr = {
  \unset crescendoText
  \unset crescendoSpanner
  \revert DynamicTextSpanner #'style
}
stemBoth = #(define-music-function (parser location mone mtwo) (ly:music? ly:music?)
#{ << \voiceOne $mone \new Voice { \voiceTwo $mtwo } >> \oneVoice #})
\score { \new Staff {
  \relative c''' {
  \clef treble \key d \major \time 3/4
  <a ees>8\mf <a ees>16 <a ees> <a ees>8-. <g ees>16( <a ees>) << { bes4( |
  b8) } \\ { d,8 d | f } >> <b f>16 <b f> <b f>8-. <a f>16( <b f>) << { c4( } \new Voice \voiceTwo { e,8 e } >> |
  \oneVoice <g cis,>)\f\< <g cis,>16( <g d> <g e>8-.)\! <g cis,>16(\p d-.^"a2" \moltocr e\< fis g gis) |
  a\! ais b cis <e a,>4(\fz\> \stemBoth d8)\! d r \offCr
  } }
  \layout { }
  \midi { }
}
If I use << { } \\ { } >> for e e, the enclosed slur will not be correctly ended according to the error in older versions. Also, if I span the second voice to <g cis,>, the hairpin will not be ended. Does the warning matter? How to solve it?
Regards
Haipeng


 



网易全新推出企业邮箱

reply via email to

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