lilypond-user
[Top][All Lists]
Advanced

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

Re: ties and cross staff beaming


From: Rachel Knight
Subject: Re: ties and cross staff beaming
Date: Wed, 13 Mar 2019 01:45:24 -0700

Thanks! This worked. I don’t have a good reason for stemUp, so I’ll switch to 
using voiceOne. (I’m still a pretty new Lilypond user.)
Rachel

> On Mar 5, 2019, at 12:01 PM, Lukas-Fabian Moser <address@hidden> wrote:
> 
> 
> Am 05.03.19 um 19:27 schrieb Rachel Knight:
>> That idea should have worked, but the ties don’t look quite right. Below is 
>> a compilable example.
> 
> Yes, that's why working with hidden extra notes is a bit messy: We have to 
> prevent those from taking up space. (Omit the \hideNotes to understand what's 
> happening here.)
> 
> What works for me here is:
> 
> \version "2.19.81"
> 
> down = { \change Staff = "bass" \stemUp }
> up = {\change Staff = "treble" \stemDown}
> 
> \language "english"
> 
> Treble = {
>   <<
>     \relative c'
>     {
> 
>       \set tieWaitForNote = ##t
>       \down c,8~[ \up <g' bf e>~]
>       \down
>       c,4
>     }
> 
>     \new Voice
>     \relative c'
>     {
>       \stemDown
>       s8 \hideNotes
>       \once \override NoteColumn.force-hshift = -1
>       \once \omit Flag
>       <g bf e>8~
>       \unHideNotes
>       <g bf e>4
>     }
>   >>
> }
> 
> Bass = {
>   \clef bass
>   s2*4
> }
> 
> 
> \score {
> 
>   \new GrandStaff
>   <<
>     \new Staff = treble { \Treble }
>     \new Staff = bass { \Bass }
>   >>
> }
> 
> 
> Just as an aside: The use of \stemDown and \stemUp is discouraged in most 
> cases - in almost all situations that come up, \voiceOne, \voiceTwo etc. 
> should be preferred. But probably you already knew this and use 
> \stemDown/\stemUp here for some good reason.
> 
> Lukas
> 




reply via email to

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