lilypond-user
[Top][All Lists]
Advanced

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

Re: Nested transposition


From: Silvain Dupertuis
Subject: Re: Nested transposition
Date: Sat, 13 Mar 2021 11:34:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0

I have nearly always used relative pitches.
I always use variables to build up the music in a logical way.
Transpose always worked right for me.

As for enharmonic transposition, it does work well
Here is an example :

 m = \relative c' { \key des \major des4 es f as des2. r4}
 \score {
   {
   \m
   \transpose des cis \m
   }
 }
There might be a way to write a function which would transpose in way so that
when transposing music with different keys,
if a part happens to have more than 6 or 7 flats or sharps
it will apply enharmonic transposition...

Le 13.03.21 à 02:16, Valentin Petzel a écrit :
As far as I know transpose should only really be used with absolute pitches, 
as it would be quite impossible to do it otherwise. Think of it like this:
Say we are in relative mode and have c' f. Then f will be above c. If you then 
do c' \transpose f a f, then the transposed a would be above the c – so it 
would need an octave indication. But the octave the music has to be put into 
depends of the previous note. So a single transpose function cannot provide 
this.

So, always use absolute pitch with transpose!

And by the way: Lilypond transposes you example correctly. Your main problem 
is that usually there should not be a C# in C tonality. Usually it is easier 
to go from C to Db, which is a minor 2nd instead of an augmented prime.

Cheers,
Valentin


--
Silvain Dupertuis
Route de Lausanne 335
1293 Bellevue (Switzerland)
tél. +41-(0)22-774.20.67
portable +41-(0)79-604.87.52
web: silvain-dupertuis.org

reply via email to

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