|
From: | Paul Scott |
Subject: | Re: Strange transposing effect |
Date: | Wed, 25 May 2011 17:27:40 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110402 Icedove/3.1.9 |
On 05/25/2011 04:57 PM, D'Arcy J.M. Cain wrote:
Check out the following code. Two odd things happen. First, if I transpose "\transpose a bf" without the commas it transposes two octaves higher than expected. Does this have something to do with the "relative a,," of the surrounding block? It certainly seems counterintuitive. More problematical, since I haven't figured out a workaround, is the output. In the key of A the D is above the A as I would expect since it is closer to go up than down. When it switches to Bb the Eb drops below the Bb even though that is a fifth down. The higher Eb is still only a fourth away from the Bb. What gives? LeftVerse must be \relative to be transposed with \tranpose HTH, Paul Scott \version "2.10.10" \include "english.ly" #(set-global-staff-size 35) \paper { #(set-default-paper-size "letter") before-title-space = 0 } \header { title = "Transpose test" } Common = { \time 4/4 \key a \major } LeftVerse = { should be: LeftVerse = \relative c { a4. a8 a2 a4. a8 a2 d4. d8 d2 a4. a8 a2 } LeftLine = \relative a,, { \Common \clef "bass_8" \LeftVerse \key bf \major \transpose a bf,, { \LeftVerse } } themusic = { << \tempo 4 = 160 \new Staff { \set Staff.midiInstrument = "acoustic bass" \LeftLine } >> } \score { \themusic \layout { } }_______________________________________________ lilypond-user mailing list address@hidden https://lists.gnu.org/mailman/listinfo/lilypond-user -- Paul Scott Librarian Southern Arizona Symphony Orchestra |
[Prev in Thread] | Current Thread | [Next in Thread] |