lilypond-user
[Top][All Lists]
Advanced

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

Re: Arpeggio travels to the left and dot disappears with \harmonic (2 it


From: Nick Payne
Subject: Re: Arpeggio travels to the left and dot disappears with \harmonic (2 items).
Date: Wed, 03 Dec 2014 15:58:33 +1100
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 03/12/2014 09:15, Thomas Morley wrote:
2014-12-02 11:43 GMT+01:00 Peter Terpstra <address@hidden>:
Dear people,
In the next score i encountered two problems. The arpeggio travels to the left 
when fingerorientations left or right is used.
Seems to be:
https://code.google.com/p/lilypond/issues/detail?id=556

You may want to workaround with:

\version "2.18.2"

global = {
   \key g \major
   \time 6/8
  }

upper = \relative c' {
   \global
    \repeat unfold 2 {
      \set fingeringOrientations = #'(left)
      \set stringNumberOrientations = #'(down)
     %%%%%%%%%%%%%% /arpeggio deleted
     <d-2>8. <e-0\1\harmonic>16<d-3\2\harmonic>8<b-4\3\harmonic >4.\fermata
    }    \bar "||"

}

lower = \relative c {
   \global
   \repeat unfold 2 {
     \set fingeringOrientations = #'(left)
     %%%%%%%%%%%%%%%%% inserted:
     \override Arpeggio.positions = #'(-5 . 1)
     \override Arpeggio.Y-offset = #0.5
     %%%%%%%%%%%%%%%%%
     <g-1 d'-0 b'-3>2.\arpeggio |
    }

}

\score {
   \new Staff \with {
      \consists "Span_arpeggio_engraver"
     } { \clef "treble_8" << \upper \\ \lower >> }
   \layout {
     %%%%%%%%%%%%%%%%% inserted:
     \set Staff.harmonicDots = ##t
   }
}


Hopefully others may find a better solution.

I've always circumvented the arpeggio problem by setting the arpeggio direction to RIGHT and setting a negative padding. I use a small music function to automate this somewhat:

%==============================
\version "2.19.15"

arpf = #(define-music-function (parser location pad) (number?) #{
  \once \override Staff.Arpeggio.direction = #RIGHT
  \once \override Staff.Arpeggio.padding = #pad
          #})

melody = \relative c'' {
  \voiceOne
  \set fingeringOrientations = #'(left)
  \arpf #-3.7 <g-0 c-1>2\arpeggio
  \set fingeringOrientations = #'(right)
  \arpf #-2.7 <g-0 c-1>\arpeggio
  \set fingeringOrientations = #'(up)
  <g-0 c-1>1\arpeggio
}

bass = \relative c' {
  \voiceTwo
  \set fingeringOrientations = #'(left)
  <c-3>2\arpeggio
  \set fingeringOrientations = #'(right)
  <c-3>\arpeggio
  \set fingeringOrientations = #'(down)
  <c-3>1\arpeggio
}

\score {
  \context Staff \with {
    \consists "Span_arpeggio_engraver"
  }
  <<
    \set Staff.connectArpeggios = ##t
    \context Voice = "melody" { \melody }
    \context Voice = "bass"   { \bass   }
  >>
}
%==============================

Nick




reply via email to

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