Hi all, > What's left now is to isolate this function and put it into the other > code we already have.
I just had a go at it and am running into problems left and right. If I call (myrootpitch (ly:context-property somecontext 'tonic)) I need a context as input. The usual context names (like Staff) don't work. The original function got the context from the ly:translator-context function. This one, however, requires a translator object as input. In the documentation, I haven't found a proper explanation what exactly constitutes a translator object. So I just don't know enough about Lilypond's internals to make any headway here. Maybe somebody can elucidate? Kind regards, Amy _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user