> (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 _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond