bug-lilypond
[Top][All Lists]
Advanced

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

Let \partial 1*0 set TimingMeasurePosition to 0


From: Dan Eble
Subject: Let \partial 1*0 set TimingMeasurePosition to 0
Date: Sat, 13 Sep 2014 16:57:35 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

>I'm not top posting.
\version "2.19.0"

music = \relative b' {
  \time 3/4
  b4 b b | b2 \bar "||" \break
  
  % This adjustment to measurePosition is required to suppress
  % the warning "\time in mid-measure...."
  % 
  % The notation reference says,
  %
  %     \partial duration can also be written as:
  %       \set Timing.measurePosition -duration
  %
  % Assuming that the warning should remain because it is helpful
  % more often than not, can this workaround be improved upon?
  % I tried \partial 1*0, but it doesn't seem to be equivalent
  % as the notation reference would have me believe.
  \set Timing.measurePosition = #(ly:make-moment 0) % suppress warning
  \time 4/4
  \partial 4
  f4 | f f f f |
}

\layout {
  indent = 0
  ragged-right = ##t
}

\score {
  \new Staff {
    \set Score.barNumberVisibility = #all-bar-numbers-visible
    \override Score.BarNumber.break-visibility = #end-of-line-invisible

    \music
  }
}





reply via email to

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