lilypond-user
[Top][All Lists]
Advanced

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

Re: Learning how to use "\change Staff"; don't get it yet, obviously


From: Kenneth Wolcott
Subject: Re: Learning how to use "\change Staff"; don't get it yet, obviously
Date: Sun, 31 Jul 2022 17:29:42 -0700

Thank you, Mark.  I will start a new email thread on this topic
starting with a more basic \change Staff query.

On Sat, Jul 30, 2022 at 7:02 PM Mark Stephen Mrotek
<carsonmark@ca.rr.com> wrote:
>
> Kenneth,
>
> If you want, send your code to me and I shall try to achieve what you want 
> with an explanation.
>
> Mark
>
> -----Original Message-----
> From: Kenneth Wolcott [mailto:kennethwolcott@gmail.com]
> Sent: Saturday, July 30, 2022 6:45 PM
> To: Mark Stephen Mrotek <carsonmark@ca.rr.com>
> Cc: Lily Pond <lilypond-user@gnu.org>
> Subject: Re: Learning how to use "\change Staff"; don't get it yet, obviously
>
> Hi Mark;
>
>   Thank you for the help.
>
>   I'm still having trouble wrapping my head around this.
>
>   I think that the problem (in general) with my being able to apply examples 
> from the documentation to my engraving attempts is that the example is not 
> large enough (not enough notes, too minimal) to require its own variable to 
> contain the notes, so that gets in the way of the Lilypond feature that I 
> want to use.
>
>   I will try removing the variables and just place the notes for the first 
> measure only to see if I can finally make this work, and generalize it later.
>
> Thanks,
> Ken
>
> On Sat, Jul 30, 2022 at 3:04 PM Mark Stephen Mrotek <carsonmark@ca.rr.com> 
> wrote:
> >
> > 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
> >
>



reply via email to

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