lilypond-user
[Top][All Lists]
Advanced

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

Re: transpose help - piano staves


From: Reinhold Kainhofer
Subject: Re: transpose help - piano staves
Date: Sun, 31 Jan 2010 19:23:00 +0100
User-agent: KMail/1.12.4 (Linux/2.6.31-17-generic; KDE/4.3.4; i686; ; )

Am Sonntag, 31. Januar 2010 19:09:19 schrieb Avram Aelony:
>    \new PianoStaff <<
>     \new Staff = "rh" \rh
>                 \transpose c d \rh
>                 \transpose c e \rh

Here the two \transpose commands are outside the staff! The staff contains 
just the immediately following expression, which is \rh in this case... 
So, your code is effectively the same as 

     \new Staff = "rh" \rh
     \new Staff \transpose c d \rh
     \new Staff \transpose c e \rh


What you rather want is that the two \transpose commands are also inside the 
staff's music expression. For this you have to put all the content for the 
staff inside curly brackets:

     \new Staff = "rh" {
                 \rh
                 \transpose c d \rh
                 \transpose c e \rh
      }

Now the staff contains the transpose commands as well, and your score should 
work.

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org




reply via email to

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