lilypond-user
[Top][All Lists]
Advanced

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

Re: sharping naturals


From: Kieren MacMillan
Subject: Re: sharping naturals
Date: Fri, 24 Jul 2015 19:32:29 -0400

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: address@hidden




reply via email to

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