Hi all,

I’m no Scheme expert, of course… but it seems there should be a relatively easy 
way to code a music function which says “take all pitches [entered as 
’naturals’] and add any accidentals which exist in the corresponding key 
signature entry for that pitch class”, no? i.e., if the input is ‘c’, and 
there’s a C# in the key signature, output cis; if the input is ‘d’, and there’s 
a Db in the key signature, output des; etc.

If this input were wrapped in a function, then the final input code would 
really be no less readable/manipulable than if it were wrapped in a \transpose.

Just a thought,
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to