bug-lilypond
[Top][All Lists]
Advanced

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

Issue 1676 in lilypond: Tremolo with change staff produces false dotted


From: lilypond
Subject: Issue 1676 in lilypond: Tremolo with change staff produces false dotted note
Date: Mon, 30 May 2011 13:38:13 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect Priority-High

New issue 1676 by address@hidden: 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




reply via email to

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