Status: Accepted
Owner: ----
Labels: Type-Defect Priority-High
New issue 1676 by [email protected]: Tremolo with change staff
produces false dotted note
http://code.google.com/p/lilypond/issues/detail?id=1676
With the following code:
\version "2.13.62"
csr = \change Staff = "right"
csl = \change Staff = "left"
global = {
\key c \major
\time 4/4
}
right = \relative c'' {
\global
\csl \repeat tremolo 4 { f,,16 \change Staff = "right" f'}\csl \repeat
tremolo 4 { f,16 \change Staff = "right" f'} |
\repeat tremolo 4 { f16 f'} \repeat tremolo 4 { f,16 f'} |
}
left = \relative c' {
\global
\stemDown d,,1|
d|
}
\score {
\new PianoStaff <<
\new Staff = "right" {
\right
}
\new Staff = "left" { \clef bass \left }
>>
}
the first tremolo is dotted, and shouldn't be. Reinhold commented:
Codewise, the problem lies in scm/music-functions.scm, function make-repeat,
line 281:
(length (ly:music-property main 'elements))
instead of checking whether all elements are really notes.
Attachments:
Moles.png 5.3 KB
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond