lilypond-devel
[Top][All Lists]
Advanced

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

Re: Chromatic transposition -- a very small starting step


From: Joseph Wakeling
Subject: Re: Chromatic transposition -- a very small starting step
Date: Sat, 10 Jul 2010 12:25:02 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100528 Thunderbird/3.0.5

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.



reply via email to

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