lilypond-user
[Top][All Lists]
Advanced

[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)

Hi,

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 http://lsr.di.unimi.it/LSR/Item?id=856, 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
text).

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.

Thanks,
brob



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html



reply via email to

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