Thanks Paul. What I have just realised that this is actually from page 18 of the snippets.pdf manual. I have been using it for sometime and forgot its origin.
The trouble is that the Scheme code takes no account of the key signature so that a gflat in transposed music can remain even if the new key key contains fsharp. I am trying (without much success) to extract the key signature maybe as list of sharps or flats that can be used to further modify the transposed music. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user