[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
\alternative behaving incorrectly, and causing unending loop
From: |
Leo Adamson |
Subject: |
\alternative behaving incorrectly, and causing unending loop |
Date: |
Mon, 23 Apr 2012 23:10:12 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
> I'm not top posting.
% The snippet below is a minimal representation of a fairly common type of
% 17th century English dance.
% Two closely related issues:
% 1. The combination of mismatched \alternative blocks, a time signature change,
% and the Completion_heads_engraver causes an unending loop.
% 2. If you skip the \layout section and use the default Note_heads_engraver,
% or miss-out the time signature change, compilation completes,
% but bar-lines appear in the wrong places.
% This may be expected behaviour for mismatched \alternative blocks,
% and therefore not a bug. If so, please accept as a feature request that
% on entering 2nd and later \alternative blocks the beat count within the
% bar should be reset to where it was at the start of the first block.
% A complete workaround is to use \cadenzaOn inside the \alternative blocks.
% But it would be better if \alternative blocks behaved correctly on their own,
% with no workaround needed.
\version "2.14.2"
\layout {
\context {
\Voice
\remove "Note_heads_engraver"
\consists "Completion_heads_engraver"
}
}
\relative c'' {
\partial 8
\repeat volta 2 { c8 c2~c4. }
\repeat volta 2 { b8 }
\alternative { { b2~b4. } { b1 } }
\repeat volta 2 { \time 3/4 c2. }
}
- \alternative behaving incorrectly, and causing unending loop,
Leo Adamson <=