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

will...@williamrehwinkel.net
https://williamrehwinkel.net


Reply via email to