[Top][All Lists]

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

Key Signature name in Markup

From: brob2684
Subject: Key Signature name in Markup
Date: Sat, 31 Mar 2018 13:55:56 -0700 (MST)


Just wondering if the following is possible or not, and am happy to be told
it's way too complex and not to bother.

Is it possible to extract the name of the first key signature in a piece
(single staff) after adjusting for any transposition to use in text markup?
(e.g. looking to get the phrase "C major" if there is no key signature
before the first note (i.e. default key)).

I have come across, but have no idea
where to even begin modifying it (some of the changes are obvious - I can
tell I don't need the rescaling bits, but I don't know enough
scheme/lilypond internals to work out how to change it to give me just

If anyone has some pointers, they'd be much appreciated. If I'm trying to do
something a bit too foolish, let me know and I'll give up on that.


Sent from:

reply via email to

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