lilypond-user
[Top][All Lists]
Advanced

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

Re: \transposition does nothing?


From: caagr98
Subject: Re: \transposition does nothing?
Date: Wed, 31 May 2017 19:18:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

\transposition doesn't affect the generated score, it only affects the midi output. To transpose the score, do \new Staff { \transposition f \transpose f c {...} }. (In your case, the << >> can replace the inner {}.)

On 05/31/17 19:09, Jérôme Plût wrote:
I am typing a horn part in F. In the attached file, \transposition
does nothing. Where should I put it: at the voice, Staff, Score level?
The documentation 
(http://lilypond.org/doc/v2.19/Documentation/notation/displaying-pitches#instrument-transpositions)
 is very unclear about this.

The file itself:


\version "2.19"

Ig = \relative {
   \time 4/4 \key g \major \partial 4
}
IcA = \transpose c g \relative {
   r4 R1 r8. c'16\f c4 r2 R1 d4\f r r2 R1*2 e2\p(^"soli" d) c4 r r2 R1*2 R1*5
}
\bookpart { \header { instrument = "Cor I (Fa)" }
\score { { \new Staff { \transposition f << \Ig \transposition f \IcA >> } } }
}
% note that this outputs a score in g major and not, as it should,
% in d major



Thanks,




reply via email to

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