bug-lilypond
[Top][All Lists]
Advanced

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

Re: What's the deal with this "programming error"?


From: David Kastrup
Subject: Re: What's the deal with this "programming error"?
Date: Fri, 04 Jun 2010 17:52:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> When compiling
>
> \new Voice \with {\consists "Ambitus_engraver"}
> {<<\new Voice { c } s>> { c } }
>
> I get the following two "programming error"s.  What's up?

A simpler test case is

\new Voice \with {\consists "Ambitus_engraver"} { \new Voice { c'' } }

The key point appears to be that the music written in the inner voice
apparently is sufficient for triggering some processing that would
require the c'' to be actually in the voice with the Ambitus_engraver.

The error occurs even if there are any notes after the inner voice.  It
does not occur when any music (including just s) is placed before the
inner voice.  This seems to depend on both timing as well as notes:

\new Voice \with {\consists "Ambitus_engraver"} { s4 \new Voice { c''4 }  }

creates no error.

\new Voice \with {\consists "Ambitus_engraver"} { c4*0 \new Voice { c''4 }  }

creates no error.

\new Voice \with {\consists "Ambitus_engraver"} { s4*0 \new Voice { c''4 }  }

creates the above errors.

-- 
David Kastrup




reply via email to

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