lilypond-user
[Top][All Lists]
Advanced

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

Re: Question about \afterGrace


From: Pierre Perol-Schneider
Subject: Re: Question about \afterGrace
Date: Thu, 15 Jan 2015 20:21:54 +0100

Hi Cynthia, Hi Jay,

A little off-topic :

\version "2.19.15"

\markup\italic "I'd right it so:"

\score {
  <<
  \new Staff \relative c'' {
    #(define afterGraceFraction (cons 15 16))
    d1~\afterGrace
    d1\startTrillSpan { c32([\stopTrillSpan d]) }
    c2 r2
  }
  \new Staff \relative c'' {
  \repeat unfold 16 d8
    d8 r8 r4 r2
  }
  >>
  \layout {}
  \midi {}
}

\markup\italic "Rather than:"

\score {
  <<
  \new Staff \relative c'' {
    #(define afterGraceFraction (cons 15 16))
    d1~\afterGrace
    d1\startTrillSpan { c32[ d]\stopTrillSpan }
    c2 r2
  }
  \new Staff \relative c'' {
  \repeat unfold 16 d8
    d8 r8 r4 r2
  }
  >>
  \layout {}
  \midi {}
}


Does anybody knows what Elaine Gould says about that?

2015-01-15 20:04 GMT+01:00 Jay Anderson <address@hidden>:
On Thu, Jan 15, 2015 at 11:22 AM, Cynthia Karl <address@hidden> wrote:
> The following snippet is based on the afterGrace snippet on p.136 of the 2.19.15 Notation manual:
>
> \version "2.19.15"
>
> \score {
>   <<
>       \new Staff \relative c'' {
>                              d1~\afterGrace
>                              d1\startTrillSpan { c32[ d]\stopTrillSpan }
>                              c2 r2
>       }
>       \new Staff \relative c'' {
>                              \repeat unfold 16 d8
>                              d8 r8 r4 r2
>       }
>   >>
>   \layout {}
>   \midi {}
> }
>
> This snippet produces the attached output, showing that the two grace notes occur after beat 3 and before beat 4 of the second measure; the midi file also shows this.  This doesn't seem right to me.  I think they should occur much later in the second measure.  Is this output correct?  Is there a way to slide them to just before the bar line at the end of measure 2?


It's in the docs (look for afterGraceFraction):
http://lilypond.org/doc/v2.19/Documentation/notation/special-rhythmic-concerns

Essentially the implementation of afterGrace is a workaround to make
the grace show before the bar line (see music-functions-init.ly).

-----Jay

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


reply via email to

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