2018-03-31 22:55 GMT+02:00 brob2684 <[email protected]>: > 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
Hi, obviously I don't understand what you want. Could you explain why the lsr-snippet doesn't fit your needs? May be some (not working) pseude-code with the syntax you want to use may be helpful as well. Cheers, Harm _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
