lilypond-user
[Top][All Lists]
Advanced

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

Re: transpose, transposition, and relative


From: Anthony W. Youngman
Subject: Re: transpose, transposition, and relative
Date: Wed, 2 Feb 2005 22:07:21 +0000
User-agent: Turnpike/6.02-U (<kadi9FnjOBL6XNAiRMnYuwUxdX>)

In message <address@hidden>, Paul Scott <address@hidden> writes
Graham King wrote:

Try specifying transposition before relative.  The following (not quite
minimal) example works for me:

That's exactly what the 2.4.2 manual says: If you want to use both |\transpose| and |\relative|, you must put |\transpose| outside of |\relative|, since |\relative| will have no effect music that appears inside a |\transpose|.

Okay. Let's change it.

\version "2.4.0"
voiceTromboneI = \transposition bf \relative c' {
   bf2\ff bf | df df | c df | ef1 | bf2 bf | df df | c df | ef1 |
}

This (a) makes no difference to the notes, and (b) because I do

\score {
   \clef "bass"
   <<
   \voiceMarkup
   \voiceTrombone
   \voiceOtherStuff
   >>
}

just that one little change of moving the "transposition" completely screws the layout. So much so that "voiceTrombone" is printed in treble clef, and then the clef changes to bass for the rest of the stuff.

I'll have to play and try and work out some more clues as to what is going on - I notice that Graham did the equivalent of declaring "voiceTromboneBb", and then applying "transposition" to that - I'll have to try that ...

Cheers,
Wol
--
Anthony W. Youngman - wol at thewolery dot demon dot co dot uk
HEX wondered how much he should tell the Wizards. He felt it would not be a
good idea to burden them with too much input. Hex always thought of his reports
as Lies-to-People.
The Science of Discworld : (c) Terry Pratchett 1999




reply via email to

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