[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    RE: Learning how to use "\change Staff"; don't get it yet, obviously
From:       "Mark Stephen Mrotek" <carsonmark () ca ! rr ! com>
Date:       2022-07-30 22:03:57
Message-ID: 006b01d8a460$454bc980$cfe35c80$ () ca ! rr ! com
[Download RAW message or body]

Kenneth,

Not dense at all.
Change staff works within a single voice. You split it between rh and lh. Might \
suggest you use "upper" and "lower" for staff designation if you use rh and lh as \
variable names.

Assuming you start in "lower" with lh.
Then 
\tuplet 3/2 { b,8(d b }
  \change Staff = "upper"   %% now continue with what you want in "upper"
{ d'8 fs' b' } \tuplet 3/2 { d''8 b' fs' }
  \change Staff = "lower"   %% and so on.

Note: that rh must contain spacers all the while so that the voice can move back and \
forth without collisions.

Mark

-----Original Message-----
From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org] On \
                Behalf Of Kenneth Wolcott
Sent: Saturday, July 30, 2022 2:49 PM
To: Lily Pond <lilypond-user@gnu.org>
Subject: Learning how to use "\change Staff"; don't get it yet, obviously

Hi;

  I'm learning how to engrave music that changes from one staff to another.

  I, obviously, do not understand yet how to do this, even after reading the \
pertinent section in the Notation Reference.

  My attempt to engrave the first three bars of the harp score of Swan Lake fails \
with the following:

Swan_Lake.ly:40:3: warning: cannot find context to change to: Staff = RH

  \change Staff = "RH"
Swan_Lake.ly:22:3: warning: cannot find context to change to: Staff = LH

  \change Staff = "LH" <> s4                                    | % m01

  I have attached a screenshot of the first three bars of the harp score of Swan \
Lake, my LIlypond source code and the result of my engraving attempt.

  I don't think that there's anything wrong with Lilypond, and there's nothing wrong \
with the documentation, but this Lilypond user is a bit dense.

  If I can just get the first bar engraving correctly, I think I can make it the rest \
of the way :-)

Thanks,
Ken Wolcott


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic