lilypond-user
[Top][All Lists]
Advanced

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

Re: What to do wanting a 4th order Bézier?


From: Kieren MacMillan
Subject: Re: What to do wanting a 4th order Bézier?
Date: Sat, 17 Sep 2016 14:45:14 -0400

Hi Simon,

> I’m attaching an excerpt from my current project, where I’d actually really 
> need a 4th order Bézier slur – but that’s impossible with Lily now. 
> Unfortunately I also lack an idea what else to do in this situation – I’d 
> like to avoid an extra staff…
> Any ideas?

What about something like this "compound slur"?
(Obviously, you could/should spend more time to really make the slur nice.)

%%%  SNIPPET BEGINS
\version "2.19.46"
\language "deutsch"

slurfixA = {
  \shape #'((1 . -2.625) (2 . 1) (-32 . -14) (-28.25 . -5)) Slur
}
slurfixB = {
  \shape #'((0 . 1.5) (4 . 6) (-4 . 2) (-0.5 . -3)) Slur
}

upper = \relative {
  \key d \major
  \clef bass
  s2 r8 d,16 g h d g h
  d8 r s2.
  s4 \voiceTwo h8.(-- c16-- h2--)
}
lower = \relative {
  \key d \major
  \clef bass
  r2 \slurfixA <d' h g=>~-^\=1(
  <<
    {
      <d h g>4 \slurfixB <c g e>\=2( <h g> \voiceOne cis
      \change Staff = upper
      \clef treble \voiceOne d e fis2\=1)\=2)\fermata
    }
    \new Voice {
      \voiceTwo
      s2. <g,= e>4 \oneVoice
      <fis h,> <g e> <fis dis>2\fermata
    }
  >>
}
\score {
  <<
    \new PianoStaff <<
      \new Staff = upper \upper
      \new Staff = lower \lower
    >>
  >>
}
%%%  SNIPPET ENDS

Hope that helps!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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