lilypond-user
[Top][All Lists]
Advanced

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

Re: Problem with acciaccatura and articulation


From: Mats Bengtsson
Subject: Re: Problem with acciaccatura and articulation
Date: Fri, 04 Apr 2008 17:44:18 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)



Papa Eric wrote:
Hi,

In the following code I cannot solve two problems:

-----
\version "2.11.42"

{ \voiceTwo
    d'8
    \acciaccatura {\once \override Stem #'direction = #up c'8}  d'8
    \acciaccatura {\once \override Stem #'direction = #up c'8}  d'8-.
}

\layout {
  ragged-last = ##t
}
-----

1) the first acciaccatura has a nice slur, but the second one is too low because it tries to be lower than the staccato dot (I suppose). How to tell the slur it to ignore the dot?
You can use
   \once \override Script #'avoid-slur = #'outside d'8-.
the default setting for "'avoid-slur for articulations varies from articulation to articulation (and is defined in the file scm/script.scm) and for staccato, the default setting is #'inside.

2) If I remove the first d'8 note, the stem direction of the d note becomes up, as if the \once did not work well.
Ugly! Yet another problem with grace notes! Note that the problem remains the same even if you remove the \once \override setting within the acciaccatura, i.e. the problem is that you begin the
Voice context with a grace note.
One possible workaround is to move the \voiceTwo command so it comes after the acciaccatura.
Another workaround is to do all settings corresponding to \voiceTwo using
\new Voice \with{
 \override Stem #'direction = #DOWN
 \override Slur #'direction = #DOWN
 ...
}{
       \acciaccatura {\once \override Stem #'direction = #up c'8}
   d'8[ ...

However, the list of property settings is farly large and unfortunately the syntax does not allow you
to do \new Voice \with{ \voiceTwo } {...}.

  /Mats
More complete example:

\version "2.11.42"

\new Staff
    <<
    \new Voice { \voiceOne
        f''4
    }
    \new Voice { \voiceTwo
        % here insert d'8[ to make it work (remove next "[")
        \acciaccatura {\once \override Stem #'direction = #up c'8}
    d'8[
        \acciaccatura {\once \override Stem #'direction = #up c'8}
    d'8-. ]
    }
    >>
\layout {
  ragged-last = ##t
}

Thanks for any hint (especially with the staccoto dot, which annoys me more in the true score!)

Eric


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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