On 07/10/2010 12:16 PM, Joseph Wakeling wrote: > In principle I can also use these to define custom cases for the notes > c, e, f, b as well; not sure if I should, since the whole point of the > naturalizeMusic function is to kill things like c-flats and e-sharps, > and tonal transposition is already taken care of by Lilypond's default > options.
On second thoughts, it seems like transposition constraints for the whole of LP could be set by four naturalize-limits: upper and lower limits respectively for c, e, f, b; and upper and lower limits for everything else. so (naturalize-limit > 1) (naturalize-limit < -1) (naturalize-limit > (/ 1 2)) (naturalize-limit < (/ -1 2)) should cover regular tonal transposition; make it >= and <= to get my naturalizeMusic function. _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel