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

List:       lilypond-user
Subject:    Re: slurs across voices
From:       Jim Cline <jcline () physics ! mcgill ! ca>
Date:       2022-07-27 17:56:07
Message-ID: alpine.DEB.2.20.2207271348280.61466 () laxmi ! home
[Download RAW message or body]


Hi William and Knute,
Thanks for your suggestions.  It's nice to have two options.  I like 
Knute's since I'm not very knowledgable about the engraver functions,
which are a black box to me, while the method Knute proposes is
easily understandable and only requires tweaking the measure in question.
best regards, Jim


On Wed, 27 Jul 2022, William Rehwinkel wrote:

> Hey Jim,
>
> A little while ago I found this email which describes enabling the slur 
> engraver on the staff level instead of voice level. Did you see this before, 
> or give it a try?
>
> https://lists.gnu.org/archive/html/bug-lilypond/2012-03/msg00663.html
>
>
> \version "2.15.33"
>
> \score {
>   \new Staff {
>     \time 2/4
>     <<
>       \new Voice {
>         \relative c'' {
>           \voiceOne
>           d16( c8. a16( g8.
>         }
>       }
>       \new Voice {
>         \relative c'' {
>           \voiceTwo
>           g8 g') c,,8 c'8)
>         }
>       }
>     >>
>   }
>   \layout {
>     \context {
>       \Voice
>       \remove "Slur_engraver"
>       \remove "Slur_performer"
>     }
>     \context {
>       \Staff
>       \consists "Slur_engraver"
>       \consists "Slur_performer"
>     }
>   }
> }
>
> On 7/27/22 11:28, Jim Cline wrote:
>> I would like to create slurs between alternating notes across two voices in 
>> this example:
>> 
>> \version "2.20.0"
>> lower =
>>   \relative c {
>>    \time 3/4
>>   \clef bass
>>   <<{\stemUp e''16\rest cis4 bis ais8~ais16}\\{\clef treble\stemDown 
>> \slurDown e4 dis cis}>>|
>> }
>> \score {
>>     \new Staff = "lower" \lower
>> 
>> The documentation provides an example in 
>> http://lilypond.org/doc/v2.21/Documentation/snippets/expressive-marks 
>> ("creating slurs across voices") but it only works in the case where beats 
>> are missing in each voice.  In my case, each voice has the full number of
>> beats to make a measure.  It seems like this issue was last discussed in 
>> 2015, 
>> https://lists.gnu.org/archive/html/lilypond-devel/2015-03/msg00288.html
>> unless I missed something.  Has this limitation been addressed since then?
>> 
>> regards, Jim
>> 
>> 
> -- 
> William Rehwinkel
>
> william@williamrehwinkel.net
> https://williamrehwinkel.net
>

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

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