[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: transpose pitch by semitones
From: |
David Kastrup |
Subject: |
Re: transpose pitch by semitones |
Date: |
Tue, 01 Dec 2015 16:13:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Urs Liska <address@hidden> writes:
> Am 01.12.2015 um 15:48 schrieb Gilles THIBAULT:
>>> OK, this one is more straightforward...
>> ...but your idea was probably the best :
>
> :-)
>
> Thank you for your input and sorry I didn't have time to reply earlier.
> Maybe "best" is also a matter of use case here, but I have the
> impression that in this case a simple lookup *is* the most
> straightforward solution. In the light of your suggestions I would add a
> second lis producing flats instead of sharps, though.
>
> Still I think there should be a built-in solution. When LilyPond does
> transpositions and similar operations doesn't it work on semitones
> either, converting to and from?
Not really. \transpose c bis' is a non-trivial transposition whereas it
does not change the semitone.
LilyPond does transposition by strictly maintaining the scale steps,
then fixing up accidentals and octaves to match.
--
David Kastrup