[Top][All Lists]

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

Re: Simplify the NullVoice context (issue 117050043 by address@hidden)

From: David Kastrup
Subject: Re: Simplify the NullVoice context (issue 117050043 by address@hidden)
Date: Tue, 09 Sep 2014 08:07:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

"Keith OHara" <address@hidden> writes:

> On Mon, 08 Sep 2014 16:28:24 -0700, Dan Eble <address@hidden> wrote:
>> How about placing the voices inside a VoiceGroup context, moving the
>> Accidental_engraver there, and leaving the NullVoice outside, like
>> in my recent partcombine experiments?
> Usually, accidentals are reported up the context hierarchy.
> We can do things like this
>     %% Cautionary accidentals to cancel accidentals anywhere on the score
>      \set Score.localAlterations = #'()
>      \set Score.autoCautionaries   % 0 -> current measure only
>          = #`(Score ,(make-accidental-rule 'any-octave 0))
> If reports of accidentals do not penetrate your VoiceGroup, it would
> be an exception to the general rule.  I think it might be because
> localAlterations is not initialized in VoiceGroup.

Then it should be inherited from above.  But explicit initialization to
##f should stop updates to it.  Or if it doesn't, it's a perfectly
reasonable change to make it do that.

Probably should work without an extra VoiceGroup though.

David Kastrup

reply via email to

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