bug-lilypond
[Top][All Lists]
Advanced

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

Re: automatic accidental style voice: too many written accidentals


From: Frédéric Bron
Subject: Re: automatic accidental style voice: too many written accidentals
Date: Mon, 26 Oct 2009 23:22:27 +0200

> (display local-key-sig) will output the current value if you don't
> want to debug using guile-debugger.ly.

Thanks for that clue.

> The second voice appears, but localKeySignature returns an empty list.
> You can't set a context property on a child context that doesn't exist
> (i.e., the newly instantiated voice), so a workaround would be to
> explicitly instantiate all the voices at the point the key signature
> is set.

This is too constraining. I have plenty of locations where I switch
from one voice to two voices or from two voices to one voice.
The solution would be to be able to get the key signature of the
current Staff context instead of current context (Voice or Staff). But
how to do that?

Frédéric




reply via email to

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