lilypond-user
[Top][All Lists]
Advanced

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

Bug concerning acciaccatura and \time?


From: Thomas Ruedas
Subject: Bug concerning acciaccatura and \time?
Date: Wed, 25 Apr 2012 19:48:15 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:12.0) Gecko/20120420 Thunderbird/12.0

Hi,
please consider the code snippet below, which is part of a larger piece. It compiles without errors on my machine, but the output is incorrect in that it produces the time signature 1/4 twice in the second bar, namely first correctly at the beginning of the bar but also after the acciaccatura. I have similar passages which are typeset correctly, so I think it may be a bug.
Thomas

\version "2.14.2"

\paper {
  #(set-paper-size "a4")
}

u = { \change Staff = "right" \stemDown }
U = { \change Staff = "right" \stemUp }
l = { \change Staff = "left" \stemUp }

%%%%%%% 3rd movement
scoreCGlobal = {
  \key c \major
  \numericTimeSignature
  \time 2/4
}

scoreCFlute = \relative c'' {
e4\mf ~ e16 fis,\( b c
% bar 17
\time 1/4 cis8. d16\)
}

scoreCRight = {
  \scoreCGlobal
<< { \relative { c''16\! e,\(\< a ais b8. cis16\) } } \\
{ <d'' fis''>2 } >>
% bar 17
\time 1/4 << { f'''8 fis''\! } \\
{ <gis'' b''>4 } >>
}

scoreCLeft = {
  \scoreCGlobal
<c bes e'>2
% bar 17
\time 1/4 \clef treble \acciaccatura fis8 < fis fis' b' d''>4
}

scoreCFlutePart = \new Staff \with {
  instrumentName = "Flöte"
  midiInstrument = "flute"
} \scoreCFlute

scoreCPianoPart = \new PianoStaff \with {
  instrumentName = "Klavier"
} <<
  \new Staff = "right" \with {
    midiInstrument = "acoustic grand"
  } \scoreCRight
  \new Staff = "left" \with {
    midiInstrument = "acoustic grand"
  } { \clef bass \scoreCLeft }
>>

\score {
  <<
    \scoreCFlutePart
    \scoreCPianoPart
  >>
  \layout { }
  \midi {
    \context {
      \Score
      tempoWholesPerMinute = #(ly:make-moment 48 4)
    }
  }
}
--



reply via email to

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