"Keith OHara" <k-ohara5...@oco.net> writes: > On Mon, 08 Sep 2014 16:28:24 -0700, Dan Eble <d...@faithful.be> 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 _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel