bug-lilypond
[Top][All Lists]
Advanced

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

Crescendi overlapping bars, should be able to stop at first note after t


From: gringer
Subject: Crescendi overlapping bars, should be able to stop at first note after the bar
Date: Mon, 26 May 2008 12:26:53 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hello,

I've noticed some odd behaviour with the location of crescendi where they
overlap a bar and end one note after the bar. In the code I have provided, 
there are six crescendi, here's where I expect them to start/end:

1) Starts on the left of the e, ends on the right of the c [actually barline]
2) Starts on the left of the d, ends on the right of the e [correct]
3) Starts on the left of the d, ends left/middle of the c [actually barline]
4) Starts right/middle of the c [actually left of the c], ends on the right of
   the e
5) Starts left of the c, ends left/middle of the d [correct]
6) Starts right/middle of the d, ends right of the e [correct]

What I'm seeing here is something that seems like a strange rule to me:
crescendi only stop on a barline when they are meant to stop one note after 
the barline. Is there a way I can get these to line up properly with the 
correct notes?

Cheers,

David Hall (gringer)

Here is some code to reproduce this bug:

% ****************************************************************
% Start cut-&-pastable-section 
% ****************************************************************

\paper {
  #(define dump-extents #t)
  
  indent = 0\mm
  line-width = 160\mm
  force-assignment = #""
  line-width = #(- line-width (* mm  3.000000))
}

\layout {
  
}

% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "crescendo-bar-overlap.ly"
\sourcefileline 0

\header {

  texidoc = "Crescendos that overlap bars should be able to stop at the first
note after the bar."
}

\version "2.10.0"
\layout {
  indent = 0\mm
  ragged-right = ##t
}
\relative
{
  c4 d e2 \<^"1" | c4 \! d \>^"2" e2 | c4 d \! e2 | 
  c4 d \<^"3" e2 | c4 \! \>^"4" d e2 \! | c4 \<^"5" d \! \>^"6" e2 \! \bar "||"
}

% ****************************************************************
% end ly snippet
% ****************************************************************






reply via email to

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